Forum Discussion

TonyM's avatar
TonyM
Occasional Contributor
8 years ago
Solved

Running TestCases in parallel and saving results to same DataSink Excel file.

Hi,

 

I am trying to execute in parallel, 2 test cases in 1 test suite.  This is how both Test Cases are designed:

Step 1: DataSource

Step 2: Send REST request by collecting data from DataSource.

Step 3: Groovy: Validate response.

Step 4: DataSink

 

The DataSink in both TestCases use 1 Excel file to save results for the 2 testcases.

 

Problem is if TC1 finishes first, I only see results of TC2, which finishes last.  I want to be able to execute 2 Test Cases in parallel and save results in the same excel file.

 

Please help!

  • Fail!

     

    But I saved the test results from each test case into different excel files.

     

    At the end of the test execution, I took all the individual result sheets, from different excel files, generated by each test case, and combined them into 1 final result file.

     

    Wondering if anyone can give me a more professional/smoother solution.

     

2 Replies

  • TonyM's avatar
    TonyM
    Occasional Contributor

    Fail!

     

    But I saved the test results from each test case into different excel files.

     

    At the end of the test execution, I took all the individual result sheets, from different excel files, generated by each test case, and combined them into 1 final result file.

     

    Wondering if anyone can give me a more professional/smoother solution.