200 test cases execution job is getting failed/error for headless mode due signal lost or session inactive

200 test cases job execution is getting failed/error for headless mode due signal lost or session inactive. How to resolve this issue?

2022-04-06 16:11:44.427 INFO EventThread i.t.a.b.c.a Signal disconnected - transport error

1 Like

Hi @Chellappan.Ramesh,
First of all, I advise you not to use that large jobs as they may potentially create issues.
The best thing to do is to split your job.

To fix your issue try the following:
Quit the TestProject Agent and then clean these folders:

coded-tests, data-sources, addons, apps, executions, logs, temp, workers-executions

also, delete the following file:

lock

You can find them here:

Windows

Open the Start menu, type %appdata%\TestProject\Agent\ and hit enter.

macOS

Open Files Finder and choose Go form the top menu, select Go to Folder and type:
~/Library/Application Support/TestProject/Agent

Linux
Navigate to ~/.testproject/agent/

Then start your agent again and let me know if that works.

Yeah Understand but Project management expects all the test cases in single report that is why I created a large job.

Splitting the job is only way to avoid the execution error?

I don’t know your exact issue right now, but having huge jobs usually leads to problems, so splitting your job should help avoid these issues.