Skip to main content
1-Visitor
January 20, 2015
Solved

cli tm testcases return Missing end ')' error

  • January 20, 2015
  • 2 replies
  • 1260 views

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!

    Best answer by jgorsline

    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.

    2 replies

    jgorsline1-VisitorAnswer
    1-Visitor
    February 3, 2015

    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.

    ikeri1-VisitorAuthor
    1-Visitor
    March 19, 2015

    Thank you, Jeremy it helped. 😄