Skip to main content
1-Visitor
Jan 20, 2015 2:04 PM UTC
Solved

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!

    jgorslineAnswer
    1-Visitor
    Feb 3, 2015 9:29 PM UTC

    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
    Feb 3, 2015 9:29 PM UTC

    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.

    Translate
    ikeri1-VisitorAuthor
    1-Visitor
    Mar 19, 2015 2:18 PM UTC

    Thank you, Jeremy it helped. 😄

    Translate