question

Nick12 avatar image
Nick12 asked drakesh answered

iTest: Reestablishing Connection to Landslide

During an iTest execution, we are running a Landslide test script. iTest uses the Query:queryMeasurementsMultiple command in a loop to pull information. For some tests, iTest loses connection to Landslide and returns the error message, "Lost connection to the remote session". A couple of questions: 1. Is there any reasoning behind the lost of connection? I can't narrow it down to a specific command or environment because it does not occur every test. 2. Is there a way to prevent this from happening? 3. If it does occur, what would be the best way to reestablish the connection to Landslide? I've attempted to close and open the Landslide session again, but that caused more issues, most notably, iTest would hang on these commands and the test would not properly run. Thanks, Nick
iTestLandslideNTAF
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

·
drakesh avatar image
drakesh answered
I have tried in house by keeping the same step in loop and not able to reproduce. In general when we get this error "Lost connection to the remote session" from iTest, there could be a connection lost between TAS and ts server due to network issues or using same session with same interfaces. Make sure that when we lost the connection from iTest, check whether we are able to run the same testcase from landslide server (outside of iTest). If we get this error while executing the testcase, We have to forcefully stop the testcase execution and run it again.
10 |950

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

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.