Functional Web Services Testing Made Easy with SoapUI - Part 3
2. JUnit Reports
Adding the -j switch in the Ant task arg above produces XML reports. SoapUI maps TestSuites to report-packages and TestCases to report TestCases. The XML reports generated from the Ant task can be further transformed using the junitreport Ant task:
<target name="generate-report" description="creates JUnit-compatible xml reports">
<junitreport todir="${reports}">
<fileset dir="${reports}">
<include name="TEST-*.xml"/>
</fileset>
<report format="frames" todir="${reports}\\html"/>
</junitreport>
</target>
This produces output like this:
- Login or register to post comments
- 19280 reads
- Printer-friendly version
(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)










Comments
David Sills replied on Mon, 2008/05/19 - 8:46am
SumaBS replied on Mon, 2008/05/19 - 1:34pm
Sreekant replied on Thu, 2008/05/22 - 3:32pm
hi
I would like to know whether SOAPUI support complextype as input values.
2. whether it provides UI based support of testing Webservices
3. whether it generate test result in the report fasion.
if you have any product which support all these let me know.
Sreek
Meera Subbarao replied on Thu, 2008/05/22 - 4:10pm
Hi Sreekant,
Everything you have asked above is what SoapUI is. Also, the AccountManagerBean code shown in this page has all the methods except remove method return a complex type, which in my case is the Account entity object. And the create method does take Account as its input as shown below.
srimaan replied on Sun, 2008/07/20 - 2:12pm
arazauci@gmail.com replied on Fri, 2008/08/01 - 8:49pm
hi,
I am trying to specify my Test Report XML from soapui
as
C:\Results\2008-08-01_17-32-28\28\report.xml
and I get teh following error in hudson.
What am I doing wrong. why am I getting this error when the report.xml file exists.
tommy.van.mella... replied on Thu, 2008/09/04 - 6:37am
in response to: arazauci@gmail.com
If it is the same cause as in the Test case setup script, then it is the slash.
You used a "backward" slash. It should be a "forward" slash "/" .
Tommy
arazauci@gmail.com replied on Thu, 2009/04/23 - 1:22pm
samanthayan replied on Tue, 2009/06/16 - 9:23pm
sunrise1 replied on Fri, 2009/10/23 - 5:53am
sunrise1 replied on Fri, 2009/10/23 - 5:53am
sunrise1 replied on Sun, 2009/10/25 - 8:48am