cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

cli tm testcases return Missing end ')' error

ikeri
1-Visitor

cli tm testcases return Missing end ')' error

Hello,

I'm new in this, so I have tried to do basic things. I have tried to fetch a testcase using the tm testcase command this way:

tm testcases --hostname=ims-pss-test1 --port=8102 --queryDefinition=field[ID]="54468"

The result is:

Connecting to ims-pss-test1:8102 ...

Enter username for ims-pss-test1:8102 (kerii):

Enter password for kerii on ims-pss-test1:8102 (*****):

Connecting to ims-pss-test1:8102 as kerii ...

*** Missing end ')'

I have tried with several other existing test case ID, but the result was the same.

Thanks in advance!

ACCEPTED SOLUTION

Accepted Solutions
jgorsline
1-Visitor
(To:ikeri)

Istavan,

Are you remembering to include a SessionID in the tm testcases command?

As you have provided, your command will not work. A working example would be:

tm testcases --hostname=ims-pss-test1 --port=8102 --queryDefinition=field[ID]="54468" XXXXX

Where XXXXX is the numeric SessionID.

View solution in original post

2 REPLIES 2
jgorsline
1-Visitor
(To:ikeri)

Istavan,

Are you remembering to include a SessionID in the tm testcases command?

As you have provided, your command will not work. A working example would be:

tm testcases --hostname=ims-pss-test1 --port=8102 --queryDefinition=field[ID]="54468" XXXXX

Where XXXXX is the numeric SessionID.

ikeri
1-Visitor
(To:ikeri)

Thank you, Jeremy it helped. 😄

Announcements


Top Tags