Forum Discussion
Mahesh_Narayana
16 years agoOccasional Contributor
Hi Ole
I worked around this reporting problem by setting up a custom listener (cloned from JUnitReportCollector), and it solves my problem. In my custom JUnitReportCollector, I am adding to the reports map in the afterStep method, and I do this only for the 'Request' test step(s). In the afterRun method, I save the report files (Junit report xmls). Since my SoapUI is running under Hudson, I let Hudson consolidate and do the JUnit reporting & trending.
One other advantage of the custom report is that now I have the ability to print out more information in the 'Sysout' section of the JUnit report (e.g., properties). Regarding properties, is there an API to retrieve all properties used in the test case / test steps ... I would like to write a generic 'print properties' so that my custom reporting is not tied to this particular test case alone.
I did run into another problem. I am now seeing some out of memory errors. My request / response XMLs are fairly large. I find that these OOM problem starts happening only when the number of failures increases. I have bumped up the Heap to 1024M, but that just delays the OOM error. I saw your blog on the Max Results option in the Test CAse options. Is that option available in 2.0.2? Is there any other way in 2.0.2 to release all test results for prior iterations of the data source loop?
Thanks
Mahesh
I worked around this reporting problem by setting up a custom listener (cloned from JUnitReportCollector), and it solves my problem. In my custom JUnitReportCollector, I am adding to the reports map in the afterStep method, and I do this only for the 'Request' test step(s). In the afterRun method, I save the report files (Junit report xmls). Since my SoapUI is running under Hudson, I let Hudson consolidate and do the JUnit reporting & trending.
One other advantage of the custom report is that now I have the ability to print out more information in the 'Sysout' section of the JUnit report (e.g., properties). Regarding properties, is there an API to retrieve all properties used in the test case / test steps ... I would like to write a generic 'print properties' so that my custom reporting is not tied to this particular test case alone.
I did run into another problem. I am now seeing some out of memory errors. My request / response XMLs are fairly large. I find that these OOM problem starts happening only when the number of failures increases. I have bumped up the Heap to 1024M, but that just delays the OOM error. I saw your blog on the Max Results option in the Test CAse options. Is that option available in 2.0.2? Is there any other way in 2.0.2 to release all test results for prior iterations of the data source loop?
Thanks
Mahesh
Related Content
- 3 months agoasantev2
- 3 years agoMarkSchofer
- 6 years agoDL
Recent Discussions
- 6 days agoemoya