Is it possible run data driven test cases concurrently in Parasoft web test?

venkivenki Posts: 4

Hi All,
I have created two test suites with separate data source. Each suite have set of web test cases.

I have configured execution options for both suites as shown in above image. And All test cases got passed.

I have selected "Test run concurrently" option and tried with test relationship option as "Test run as group/Test run all sub-groups as part of this group " but I am not able to execute test cases concurrently with both options.

Also when I am running test suite with test relationship option as "Test run all sub-groups as part of this group " Test Suite becomes scenario. is there specific meaning for that?

Could you please suggest me how to run data driven test cases concurrently in Parasoft web test.

Thanks for your help.

Tagged:

Comments

  • jakubiakjakubiak Posts: 306 ✭✭✭

    It sounds like you have two different test suites, each of which is parameterized with a data source. You would like those two test suites to run concurrently. Unfortunately this is not possible. SOAtest's browser testing only supports running a single browser at a time, since different browser instances would end up sharing session data and would possibly interfere with each other.

    Why are you attempting to run the test suites concurrently? Perhaps there is a different way to solve the problem you are trying to solve.

  • venkivenki Posts: 4

    Hi ,
    Is it possible to run single test suite ( Which contains 100 test cases ) Concurrently?

    I am trying to run concurrently because test case steps for 100 test cases are common. i.e launching bowser and fill test data using from data source ( here data source contains columns like NavigateURL, Element XPATH , Element Value) .

    Could you please suggest me solution for above problem.

    Thanks for your help.

  • jakubiakjakubiak Posts: 306 ✭✭✭

    Could you provide a more concrete example of how your tests are structured? I'm still having a hard time understanding exactly which part you would like to be concurrent.

  • venkivenki Posts: 4

    Hi,

    I have created web functional test case in test suite with below data source.

    And I have created two test cases as shown in below image

    1. To launch browser with navigate URL from data source

    2..To type text into search field using Xpath and Value from data source

    Above two steps are common for test cases so I have created data driven test cases using data source.

    I am able to execute test cases sequentially but not concurrently.

    Could you please suggest me how to execute test cases parallelly to reduce test case execution time.

    Thanks for your help .

  • jakubiakjakubiak Posts: 306 ✭✭✭

    Unfortunately you will not be able to execute in parallel with that kind of setup, for the reason mentioned previously that browser tests can only run a single browser instance at a time. The main suggestion I have here is that if it takes too long to run those tests, then split up the data source into smaller data sources, and run the same test with a different data source on different machines, effectively getting parallelization using multiple instances of SOAtest on multiple machines.

Sign In or Register to comment.