I want to create a script in JMeter that simulates e.g. 100 users accessing our site over a period of 3-4 minutes.
We need to test whether our application can allow 25.000 users/day - that is 1.100 per hour.
For that i have made this Jmeter test:
and here is the result
and here is the graph
I want to know what this result is exactly telling us, if my test pass or fails, if yahoo.com (for which we have run this test for our example) can allow 25.000 users/day and if i am inputting my criteria / requirements correctly?
Thanks
JMeter is an open source desktop Java application that is designed to load test and measure performance. It can be used to simulate loads of various scenarios and output performance data in several ways, including CSV and XML files, and graphs.
Step 1 – First, you have to create your own Test Plan in JMeter. Step 2 – Insert a Thread Group and add an HTTP request with the server name of your website on which you want to perform stress testing. Step 3 – Next, you need to add a listener inside the thread group and view the test results.
Steps to test a SOAP Web service using JMeter-Right Click on Thread Group -> Hover over Add -> Sampler -> SOAP/XML-RPC Request. Specify the SOAP Web Service WSDL URL. If SOAPAction is required then – Check the SOAPAction checkbox and specify its value. Otherwise, you can keep the checkbox unchecked and field blank.
1. I would advise to use better some custom samplers from jmeter-plugins instead:
2. In addition to the @Qwe comment above: test not the single HTTP request but user's transactions: each test-thread should simulate a kind of real-user browsing activity: login (if any), navigating through the site, search, accessing/editing personal settings, logout, etc.
To emulate real-user add also "think-time" timer between transaction steps.
3. Control responses, at least the following:
4. Look into corresponding JMeter documentation:
5. Some step-by-step guidelines about Jmeter setup and usage for load-testing you can find here:
UPD.
Please find, use and feel free to extend this Awesome JMeter collection continued on github.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With