ATF Automated Test Framework - running multiple tests at once

tufa4311a
Kilo Explorer

1. Can you run multiple tests at once with ATF?

2. Can server agents be used to run multiple tests or test suites at once?

The idea is if I have 400 tests to run I don;t have the time to wait for tests to run one at a time. Using other automation systems I can create "agents" on a server, basically virtual machines, that can all take a test case out of a queue at the same time, constantly taking the next available test case.

 I know Istanbul could not do this, can't find updated content for Madrid.

https://docs.servicenow.com/bundle/istanbul-application-development/page/administer/auto-test-framew...

11 REPLIES 11

Hi Mithilesh

Apologies for missing your question earlier (2 years is quite a time). Hope the issue is solved. 

The feature is OOB enabled. There is a restriction on how many parallel runs an instance can support. The maximum numbers of the parallel runs are calculated by the formula:

Number of parallel tests = max(1, number of worker threads - 2)


--
Best regards
Ankush

Hi Ankush,

We are in Rome. I have opened two agents with different browsers. So how can I run test suites in parallel? From where do I need to enable it?

Hi @Ankit Rastogi 

The feature is OOB enabled. There is a restriction on how many parallel runs an instance can support. The maximum numbers of the parallel runs are calculated by the formula:

Number of parallel tests = max(1, number of worker threads - 2)

Please find more read here: https://docs.servicenow.com/bundle/sandiego-application-development/page/administer/auto-test-framework/concept/parallel-testing.html

--
Best regards
Ankush

Priya164
Tera Contributor

Hi,

If you have implemented running of ATF test suites through Virtual machine, please help me how to do.

Thank you!

 

 

Brad Tilton
ServiceNow Employee
ServiceNow Employee

You can run parallel tests starting in NY, but you don't necessarily need a VM. That being said, many customers do spin up VMs and leave their scheduled client test runners open in the VM so they don't have to deal with browser throttling issues.