Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mattetti/webserver-test-plan
https://github.com/mattetti/webserver-test-plan
Last synced: about 11 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/mattetti/webserver-test-plan
- Owner: mattetti
- Created: 2010-06-25T21:36:57.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2010-06-26T01:02:31.000Z (over 14 years ago)
- Last Synced: 2024-11-27T13:12:19.649Z (2 months ago)
- Language: Shell
- Homepage:
- Size: 14.5 MB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# 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 section2. 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