Simple test plan to benchmark a webserver using JMeter.
$ control_tower start config.ru
The server now runs on http://localhost:8080
The test plan is JMeter test plan. JMeter is vendored in this repo so you just to have Java installed on your machine.
To open JMeter you can do it manually:
$ JVM_ARGS="-Xms512m -Xmx512m" jmeter/bin/jmeter -t control_tower.jmx
Or just use the shortcut:
If you are not familiar with JMeter here are some pointers:
To run the plan, click on Run > Start Look at the Summary Report to see how many samples were received, the % of errors etc... Results are available in the View Results Tree section
To clear the results, go to Run > Clear All
Request default settings are available in the HTTP Request Defaults Section.
The amount of threads (simultaneous connections) can be changed in the Thread Group.
You also don't need the GUI, you can run the test from the command line:
$ jmeter/bin/jmeter -n -t control_tower.jmx