Forum Discussion
rupert_anderson
Valued Contributor
Hi,
Yeah, it does create an XML JUnit style report, which CI tools like Jenkins etc can read.
I just ran:
./testrunner.sh -sGetInvoiceTestSuite -r -a -j -J -f/Users/test/reports "/Users/test/soapui projects/SOAPDBMock-Reporting-soapui-project.xml"
And I got the following output in the console:
....
6:22:10,849 INFO [log] <TestSuite name="GetInvoiceTestSuite"> <TestCases> <TestCase name="GetInvoiceTestCaseFail" status="FINISHED"> <TestSteps> <TestStep name="getInvoice2" status="OK"> <Messages/> </TestStep> </TestSteps> </TestCase> <TestCase name="GetInvoiceTestCasePass" status="FINISHED"> <TestSteps> <TestStep name="getInvoice1" status="OK"> <Messages/> </TestStep> <TestStep name="getInvoice3" status="OK"> <Messages/> </TestStep> </TestSteps> </TestCase> </TestCases> </TestSuite> 16:22:10,856 INFO [SoapUITestCaseRunner] TestSuite [GetInvoiceTestSuite] finished with status [FINISHED] in 657ms SoapUI 5.2.1 TestCaseRunner Summary ----------------------------- Time Taken: 1352ms Total TestSuites: 1 Total TestCases: 2 (0 failed) Total TestSteps: 3 Total Request Assertions: 6 Total Failed Assertions: 0 Total Exported Results: 3
And the folowing files created in the /Users/test/reports folder:
GetInvoiceTestSuite-GetInvoiceTestCaseFail-getInvoice2-0-OK.txt
GetInvoiceTestSuite-GetInvoiceTestCasePass-getInvoice1-0-OK.txt
GetInvoiceTestSuite-GetInvoiceTestCasePass-getInvoice3-0-OK.txt
TEST-GetInvoiceTestSuite.xml (The JUnit one)
Cheers,
Rupert
rupert_anderson
9 years agoValued Contributor
Ok, for an HTML report I tend to use another tools e.g. Jenkins.
SoapUI Pro/Ready API can do HTML reports, but the open source SoapUI can out-of-the-box.
Cheers,
Rup
Related Content
- 3 years agoKarelHusa
- 4 years agojasmeet13
- 4 years agoLarsenrw22
- 2 years agoarmygrad
Recent Discussions
- 13 hours agoruchisingh