Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 jmeter
Octocat-spinner-32 app.ru
Octocat-spinner-32 config.ru
Octocat-spinner-32 control_tower.jmx
Octocat-spinner-32 gui_ct
Octocat-spinner-32 gui_thin
Octocat-spinner-32 readme.md
Octocat-spinner-32 thin.jmx
readme.md

Webserver Test Plan

Simple test plan to benchmark a webserver using JMeter.

How to start the server:

$ control_tower start config.ru

The server now runs on http://localhost:8080

Benchmarks

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:

$ ./gui_ct

JMeter

If you are not familiar with JMeter here are some pointers:

  1. 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

  2. To clear the results, go to Run > Clear All

  3. Request default settings are available in the HTTP Request Defaults Section.

  4. The amount of threads (simultaneous connections) can be changed in the Thread Group.

  5. You also don't need the GUI, you can run the test from the command line:

    $ jmeter/bin/jmeter -n -t control_tower.jmx

Something went wrong with that request. Please try again.