ATF Execution Stuck

Sumit_x_kamde
Kilo Contributor

I am trying to execute ATF script. But its stuck on Preparing Test Run box and on client runner its saying waiting for a test to run for long time.

3 REPLIES 3

Dr Atul G- LNG
Tera Patron

 @Sumit_x_kamde 

 

https://www.servicenow.com/docs/r/application-development/automated-test-framework-atf/atf-test-runn...

****************************************************************************************
Regards
Dr Atul G. - Learn N Grow Together ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
******************************************************************************************

Tanushree Maiti
Tera Patron

Hi @Sumit_x_kamde 

 

Refer:

https://www.servicenow.com/community/developer-forum/atf-getting-stuck-and-timed-out/m-p/1971781

https://www.servicenow.com/community/itsm-forum/atf-tests-running-extremely-slow-after-zurich-upgrad...

Waiting/running test runs 

Working with client test runners 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

Sardash
Tera Guru

@Sumit_x_kamde  - 

ServiceNow indicates that this ATF test is either already running or has a pending execution. As a result, a new test run cannot be queued, causing the "Preparing the test run..." dialog to remain at "Job is not in the queue yet", while the Client Test Runner displays "Waiting for a test to run."

 

To resolve this,

1. Close the current Client Test Runner tab completely.

2. Then, return to the test, click Run Test, and select Start a new test runner to establish a fresh connection between the test and the runner.

 

You can also review the list of queued or active test executions in the Waiting/Running Test Runs module to identify any pending or stuck test runs that may be preventing the new execution from starting.

---------------------------------------------------------------------------------------------------------------------------------------------------

If my response helped, please mark it by selecting "Accept as Solution" and " Helpful."