Forum Discussion

Sean_Cohan's avatar
Sean_Cohan
Occasional Contributor
16 years ago

[SOLVED]Reporting on Load Tests in Separate Test Cases

Hello,

I'm keeping separate test cases for each test case we have in our documentation.  I set them up so they can be run with a load test separately.  Now I want to run them all in a load test and get an overall jasper report for them.

I could not find a way to run them all from thier separate test cases.  I was able to create a single test case and add the test steps from each individual test into the single test case.  It gets a single report, but its rather unwieldy and I have to make changes to the tests to get it to work that way.  It makes maintenance difficult in that I have to make updates to two places in the project.

I tried the LoadTestRunner to do this with the -R -F as follows:
command: cmd.exe /C loadtestrunner.bat -r -fC:\sb\myapp-Performance -R'LoadTest Report' -FPDF C:\sb\myapp-Performance\myapp_4.2.1_myproject-soapui-project.xml
But I only get the csv files, no pdf report.

Is there a way to create a single load test report for multiple test cases?

Thanks for any help!

6 Replies

  • Hi Sean,

    unfortunately there isn't an easy way to do this, but the creation of PDF reports from the command-line should work as you are trying to.. can you give the nightly build a go to see if it works better?

    http://www.eviware.com/nightly-builds

    let me know!

    regards,

    /Ole
    eviware.com
  • Sean_Cohan's avatar
    Sean_Cohan
    Occasional Contributor
        I moved to the overnight build and I was able to get a report for the load testing using the R and F command line switches, but there is a problem if you use more than a single load test.  The report file it creates is alway named the same, so it is overwriting itself for each test.  This means I only get the report for the last load test case run.  The txt files do not have this problem, as they are named after the load test name, but the Jasper report is always named LoadTest Report.pdf.

        So is there a way to get SoapUI to rename the file for each load test?
  • Hello,

    I've fixed this behavior now. Please download the latest nightly build and see if that solves your problem.

    Regards,
    Dain
    eviware.com
  • Prudential_UK_A's avatar
    Prudential_UK_A
    Frequent Contributor
    Coincidentally we need the same functionality so I tried out the latest nightly build: Build 3.0-pro-daily-build-2009-11-24-[1], Build Date 2009/11/24 05:20 and I am still getting the LoadTest Report overwritten when running multiple loadtests.
     
    Peter
  • Ahh, oops. It seems I started the wrong build (just core, not pro). I have now rebuild pro as well, so now try it and it should work!

    Regards,
    Dain
    eviware.com
  • Sean_Cohan's avatar
    Sean_Cohan
    Occasional Contributor
    I moved to the nightly build 2009-12-02 05:20.  I'm finally getting each report in its own folder.

    Just a note for the commandline GUI interface, you don't have to put quotes around the report type.  I had to do that before with single quotes, but now it works without them.  But, on the command line, if you have spaces in any switch argument, you have to place them in double quotes "".

    Thanks!