Forum Discussion

jbuttimer's avatar
jbuttimer
Contributor
10 years ago

Testrunner - exported data for reports

We have our Ready! API suites automated and they run every night. The available data that we have been able to ferret out has been less than helpful. 

 

I'm hoping someone can take a look at our testrunner call and can help us out. 

 

Here's the data we are able to extract:

1. Environment

2. Version

3. SuiteName

4. TotalTests

5. PassCount

6. FailCount

7. TotalSteps

8. RequestsAssertions

9. FailAssertions

 

In addition to the above, we would like to have the following:

 

1. TestCase Name (although the column is created, there is currently no data in it)

2. TestCase Steps

3. Number of Assertions in test step

4. If failed, the assertion that failed

 

I can create an Excel Workbook with pretty much this info if I pull a report when executing from the ReadyAPI! application and I would like to do the same with our automated Testrunner scripts.

 

Thanks in advance for help

 

J.

 

 

2 Replies

    • jbuttimer's avatar
      jbuttimer
      Contributor

      This is a nice option, but we are looking to get this information in a csv or xml file after running through testrunner in our nightly batch run (ReadyAPI is not used to execute)

       

      We want to be able to import the output into excel so that we can slice and dice to get numbers we need, so we're not looking for an actual report, just the data. 

       

      Here's an example of our command line:

       

      "C:\Program Files\SmartBear\ReadyAPI-1.4.1\bin\testrunner.bat" -s("B-07
      251/B-07526 Marketing Referral Contact Test Suite") -R("Data Export") -FCSV -f("
      C:\soapReports\v0100-1302") -r -E"QA" "C:\Development\AutomatedTesting\SoapUI\S
      oapUIProjects\QA\v0100-1302\v0100-1302-ReferenceData-soapui-project.xml"