jkrier
12 years agoRegular Contributor
Reporting with requirements pass and fail by by testStep
I have a project with the hierarchy testSuite>testCase>testSteps(With many testSteps). I have added requirements to the project and then linked them to the testCase. When I create a report after a run the report generates and includes the requirement data but there is nothing to say that they passed based on the testStep results. Is there a way to do this? Specifically is there any way to tie assertions and results directly to an individual requirement and then print a report that will show this? I’ve tried reading some of the report documentation on the site and have browsed the forums but I don’t see any help on this particular question.
I did find a page on the site called Customizing Templates here http://www.soapui.org/Reporting/customizing.html which seems to be either outdated or not complete. I've tried following the steps but an error is always returned.
Fri Nov 15 12:48:29 MST 2013:ERROR:net.sf.jasperreports.engine.design.JRValidationException: Report design not valid :
1. Parameter not found : RequirementLinkedTestCases
net.sf.jasperreports.engine.design.JRValidationException: Report design not valid :
1. Parameter not found : RequirementLinkedTestCases
at net.sf.jasperreports.engine.design.JRAbstractCompiler.verifyDesign(JRAbstractCompiler.java:258)
at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:140)
at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:215)
at com.eviware.soapui.reporting.engine.jasper.GenerateJasperReport.createReport(SourceFile:460)
at com.eviware.soapui.reporting.engine.jasper.GenerateJasperReport$ReportFillWorker.construct(SourceFile:428)
at com.eviware.soapui.support.swing.SwingWorkerDelegator.construct(SwingWorkerDelegator.java:46)
at com.eviware.soapui.support.swing.SwingWorker$2.run(SwingWorker.java:149)
at java.lang.Thread.run(Unknown Source)
I tried going step by step through the walkthrough for Customizing Templates and the behavior in my instance of soapUI Pro does not match the instructions.
For example;
Step 6. None of my Project properties are displayed. I do see the "null properties" text above "Name" but there is nothing listed underneath it. I added the same property as in the example Name = Some property Value = with a value and it is not generated.
Step 7. When I go to the tab Subreports next to Available Reports in the Project it is blank. There is nothing to chose from.
I've tried adding my own Subreport for this but I saw no change in behavior.
I did find a page on the site called Customizing Templates here http://www.soapui.org/Reporting/customizing.html which seems to be either outdated or not complete. I've tried following the steps but an error is always returned.
Fri Nov 15 12:48:29 MST 2013:ERROR:net.sf.jasperreports.engine.design.JRValidationException: Report design not valid :
1. Parameter not found : RequirementLinkedTestCases
net.sf.jasperreports.engine.design.JRValidationException: Report design not valid :
1. Parameter not found : RequirementLinkedTestCases
at net.sf.jasperreports.engine.design.JRAbstractCompiler.verifyDesign(JRAbstractCompiler.java:258)
at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:140)
at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:215)
at com.eviware.soapui.reporting.engine.jasper.GenerateJasperReport.createReport(SourceFile:460)
at com.eviware.soapui.reporting.engine.jasper.GenerateJasperReport$ReportFillWorker.construct(SourceFile:428)
at com.eviware.soapui.support.swing.SwingWorkerDelegator.construct(SwingWorkerDelegator.java:46)
at com.eviware.soapui.support.swing.SwingWorker$2.run(SwingWorker.java:149)
at java.lang.Thread.run(Unknown Source)
I tried going step by step through the walkthrough for Customizing Templates and the behavior in my instance of soapUI Pro does not match the instructions.
For example;
Step 6. None of my Project properties are displayed. I do see the "null properties" text above "Name" but there is nothing listed underneath it. I added the same property as in the example Name = Some property Value = with a value and it is not generated.
Step 7. When I go to the tab Subreports next to Available Reports in the Project it is blank. There is nothing to chose from.
I've tried adding my own Subreport for this but I saw no change in behavior.