Forum Discussion

torus's avatar
torus
Contributor
6 months ago
Solved

Running api tests in parallel

I am used to creating api tests using nunit and specflow. With this setup, the tests can run in parallel. Tests can be grouped so that, although you are running your tests in parallel, the tests in t...
  • richie's avatar
    6 months ago
    Hey torus,

    ReadyAPI has native sequencing functionality that enable you to execute either serially or in parallel.

    The serial/parallel settings are set on both testsuite level (if you select the 'Functional tests' object within your project, you can then set the testsuites to run in series or in parallel) and testcase level (if you select a testsuite, you can then set either the series or parallel buttons).

    So using a combination of these allows you to handle most straightforward stuff (by leaving all the testsuites to run in series, but then select specific testsuites to execute their testcases in parallel).

    You can extend this using groovyscript/Java in various different options - setup scripts (testsuite and testcase level), event handlers, etc., but for the most part just using the native functionality has allowed me to do what i needed without any scripting being required.

    Cheers,

    Rich

    The sequence of the testsuites within the projec