https://github.com/sterlp/load-runner
Simple HTTP/REST load tool
https://github.com/sterlp/load-runner
cli command-line http java load-test load-tool rest
Last synced: 3 months ago
JSON representation
Simple HTTP/REST load tool
- Host: GitHub
- URL: https://github.com/sterlp/load-runner
- Owner: sterlp
- License: other
- Created: 2020-11-16T19:48:23.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-12-17T17:17:08.000Z (over 2 years ago)
- Last Synced: 2025-02-14T09:57:09.838Z (about 1 year ago)
- Topics: cli, command-line, http, java, load-test, load-tool, rest
- Language: Java
- Homepage:
- Size: 87.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/sterlp/load-runner/actions/workflows/maven.yml)
[](https://central.sonatype.com/artifact/org.sterl.loadrunner/load-runner)
# LoadRunner
```
-b,--basic Use basic authentication user:password - will be
encoded.
-c,--clients Amount of concurrent threads to use (default 100)
-m,--method HTTP method to use (GET/POST/PUT).
-p,--payload String payload to send.
-r,--requests Amount of requests to send (default 10.000)
-u,--url URL to load test
```
## Examples
### GET on Google
- URL: https://google.de
- Method: GET
- Clients: 100
- Requests: 10.000
#### Request
`java -jar target/load-runner.jar https://google.de`
#### Result
```
-- Counters --------------------------------------------------------------------
200.GET.https://google.de
count = 5881
429.GET.https://google.de
count = 4119
failed.GET.https://google.de
count = 0
-- Timers ----------------------------------------------------------------------
GET.https://google.de
count = 10000
mean rate = 124,85 calls/second
1-minute rate = 110,95 calls/second
5-minute rate = 93,35 calls/second
15-minute rate = 87,46 calls/second
min = 88,43 milliseconds
max = 6727,60 milliseconds
mean = 832,39 milliseconds
stddev = 723,81 milliseconds
median = 661,30 milliseconds
75% <= 888,01 milliseconds
95% <= 2183,26 milliseconds
98% <= 3446,39 milliseconds
99% <= 4382,18 milliseconds
99.9% <= 5909,52 milliseconds
```
### POST
- URL: http://localhost:8080/foo
- Method: POST
- Clients: 250
- Payload: fooooo
- Requests: 10.000
`java -jar target/load-runner.jar -c 250 -u http://localhost:8080/foo -m post -p "fooooo"`