apacheperformancewebserverload-testingmeter

Apache JMeter - find out how many requests are possible


I am searching for a solution to test, how many requests my webserver could handle, until causing a load-time of more than 5s. Is there a possibility to manage this with Apache jMeter?

Server: SLES OS running a WordPress blog(Apache Webserver, MySQL)

Best regards Andy


Solution

  • It is. Example action plan:

    1. Record anticipated test scenario using HTTP(S) Test Script Recorder or JMeter Chrome Extension
    2. Perform correlation (handle dynamic values) and parametrization (if required)
    3. Add virtual users. It is recommended to configure users to arrive gradually, like starting with 1 and adding 1 each second. You can use Ultimate Thread Group which provides an easy visual way of defining ramp-up and ramp-down.
    4. Add Duration Assertion with the value of 5000 ms so it will fail the request if it takes > 5 seconds
    5. Use Active Threads Over Time and Response Times Over Time listeners combination to determine what maximum amount of users which can be served providing response time < 5 seconds.