question

Nick12 avatar image
Nick12 asked Nick12 commented

Landslide API: Number of Sessions

Is there a way through the Landslide API to configure the number of sessions of an existing test session/test case? I am able to edit the NumLinksOrNodes child under the MobileNodeAddr parameter, but that did not affect how many sessions are created. I see a line that reads, "ls::create Sessions -under $p_ -Value "1"; #Test Configuration - Sessions". Is there any way to edit this line, specifically through iTest? I've tried recreating this line and returned an error that stated "Member sessions already exists" (Possibly a timing problem?) and I attempted to use the config command and it returned "Invalid handle" (which was kind of expected.) Thanks
iTestapiLandslideNTAF
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Yaseen avatar image
Yaseen answered Nick12 commented
Hello Nick, Below screen shot would provide you the exact syntax to achieve this. ![alt text][1] The screen shows two ways of configuring or editing the required line in parameters. First is using the direct config command and other one using the TclAPI command. I have also included the get command with respect to both method for your reference. Note: java0x70 is the session handle and I have used the dotted notation to reach to the required object instead of using multiple commands. Hope it helps! [1]: /storage/temp/4401-command.jpg

command.jpg (83.9 KiB)
1 comment
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Nick12 avatar image Nick12 commented ·
Yaseen, That worked perfectly, thank you for all of the answers you have given me the past couple of weeks.
0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.