Data driven tests reporting
I have written data-driven tests (excel file data source) with one SOAPUI test case, This test case loops through each excel row (which is a test case) iteratively and executes the test steps. However, when I look at the report it shows one test case was executed with 'n' number of test steps.
For example:
My SOAP-UI test has 4 test steps.
Test Step 1 - Groovy Script
Test Step 2 - POST
Test Step 3 - GET (This step has multiple assertions on Response)
Test Step 4 - DELETE
Say, My excel data source has 3 test cases, say (testcase.xlsx) file looks like this.
TestCase Parm1 Parm2
This is Test Case 1 P1-A P2-A
This is Test Case 2 P1-B P2-B
This is Test Case 3 P1-C P2-C
and as my SOAP-UI Test is looping and executing these tests... I want my report to look like this...
Test Case 1
test step 1 was executed - Passed - in ##ms
test step 2 was executed - Passed - in ##ms
test step 3 was executed - Passed - in ##ms
Assertion 1 - Passed
Assertion 2 - Passed
test step 4 was executed - Passed - in ##ms
Test Case 2
test step 1 was executed - Passed - in ##ms
test step 2 was executed - Passed - in ##ms
test step 3 was executed - Passed - in ##ms
Assertion 1 - Passed
Assertion 2 - Passed
test step 4 was executed - Passed - in ##ms
Test Case 3
test step 1 was executed - Passed - in ##ms
test step 2 was executed - Passed - in ##ms
test step 3 was executed - Passed - in ##ms
Assertion 1 - Passed
Assertion 2 - Passed
test step 4 was executed - Passed - in ##ms
How can I get report output for data-driven tests?
Your help is much appreciated.
Thanks