Designing advanced load tests
In this recipe, we'll look at the ways in which you can create more varied tests that we can use to more closely replicate realistic user loads.
Getting ready
You will need to install Oracle SOA Suite 11g for this recipe.
You'll need to complete the Installing Apache JMeter recipe . We'll also be reusing the JMeter test from the Creating a web service test using JMeter recipe, which you can reload for this recipe. We'll use a CSV dataset, which you can get from the book's website, or you can create your own.
How to do it…
These steps will demonstrate some of the more advanced features of JMeter testing:
Start JMeter with
$JMETER_HOME/bin/jmeterw.cmd
on Windows, orjmeter.sh
on Linux.Open the saved test plan from the Creating a web service test by using JMeter recipe, or load the sample provided with the book source code. Modify the test, if required, to use the correct hostname and port information in the WebService(SOAP) Request.
Right-click on Response Assertion...