Hello Simona,
Since the problem is intermittent it makes it hard to address. To help isolate the root cause, systematically let's test starting outside the pipeline.
A) After a reboot follow these steps:
1-validate in "Task Manager" that TestExecute is not running (it is not expected after reboot)
2-using windows shortcut run TestExecute (should run)
3-select a sample test and run it, view results, and exit TestExecute
Repeat these steps until you reproduce the problem. Could you reproduce? if yes, I suggest you contact SmartBear support providing such details.
B) If you could not reproduce, proceed with testing:
1-validate in "Task Manager" that TestExecute is not running
2-using windows console issue TestExecute command line to run a sample test
[start /wait "TestExecute" TestExecute.exe "C:\Work\My Projects\MySuite.pjs" /run /exit]
Repeat these steps until you reproduce the problem. Could you reproduce? if yes, I suggest you contact SmartBear support providing such details.
Note: TestExecute waits until the specified project suite, project, test and so on is executed. However, the command line is ready to receive new commands right after TestExecute has been launched. If you want the command line to wait until the test (project and so on) execution is over, you can use the START command.
C) If you could not reproduce, proceed with testing:
Using windows scheduler perform the same above steps of command line
Repeat these steps until you reproduce the problem. Could you reproduce? if yes, I suggest you contact SmartBear support providing such details.
D) If you could not reproduce, proceed with pipeline testing:
1-validate in "Task Manager" that TestExecute is not running
2-in VSTest run the task (first try without start /wait "TestExecute")
Repeat these steps until you reproduce the problem. Could you reproduce? if yes, add start /wait "TestExecute" to your configuration to try again.
If still you reproduced the problem we would have narrowed it down. What is the exact error message you get? Screen shot also helps. Intermittent connection issues can stem from various factors, including CPU usage causing timeout, network problems, firewall restrictions, proxy server hiccups, or conflicts with other applications example antivirus.