13 years ago
LoadUI load test and report generation
Hi all,
I am new to SoapUI, LoadUI, and software testing in general.
Here's what I'd like to do:
I want to continuously monitor how the performance of my website changes over the span of six months (baseline testing). I want to know if the system becomes slower if there are changes in the number of users, the database becomes larger, etc. I am thinking that the approach is to design a test case that runs once a day and generates a report - then some number in the report (say average time taken) is indicative of the performance and then a trend curve can be made.
Here's what I've done so far:
In SoapUI, I've made a test suite with a number of test cases that represent actual usage. I have exported this test suite to LoadUI. Here, I add an assertion that average time taken should not exceed 1000ms for each request. I run the test for 60 seconds with a load of 5 req/sec, and I have no assertion failures (although I do get assertion failures at 20 req/sec).
Now, I want to set up automated testing such that, for instance, once per day a test is performed and a report generated.
I would also like this report to contain the average time taken value for each request, so I can snatch it and use it to plot a trend curve in for Excel for instance.
Perhaps there's a smarter way to do what I'm trying to do. Any help is welcome.
Daniel
I am new to SoapUI, LoadUI, and software testing in general.
Here's what I'd like to do:
I want to continuously monitor how the performance of my website changes over the span of six months (baseline testing). I want to know if the system becomes slower if there are changes in the number of users, the database becomes larger, etc. I am thinking that the approach is to design a test case that runs once a day and generates a report - then some number in the report (say average time taken) is indicative of the performance and then a trend curve can be made.
Here's what I've done so far:
In SoapUI, I've made a test suite with a number of test cases that represent actual usage. I have exported this test suite to LoadUI. Here, I add an assertion that average time taken should not exceed 1000ms for each request. I run the test for 60 seconds with a load of 5 req/sec, and I have no assertion failures (although I do get assertion failures at 20 req/sec).
Now, I want to set up automated testing such that, for instance, once per day a test is performed and a report generated.
I would also like this report to contain the average time taken value for each request, so I can snatch it and use it to plot a trend curve in for Excel for instance.
Perhaps there's a smarter way to do what I'm trying to do. Any help is welcome.
Daniel