Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pquerna/hurl
hurl: hurt a url.
https://github.com/pquerna/hurl
Last synced: about 1 month ago
JSON representation
hurl: hurt a url.
- Host: GitHub
- URL: https://github.com/pquerna/hurl
- Owner: pquerna
- License: apache-2.0
- Created: 2014-01-19T03:12:45.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-12-07T22:36:20.000Z (almost 10 years ago)
- Last Synced: 2024-10-14T16:41:15.735Z (about 1 month ago)
- Language: Go
- Homepage:
- Size: 328 KB
- Stars: 15
- Watchers: 3
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hurl, a tool to hurl traffic at URLs
`hurl` provides a suite of network benchmarking and result analytic tools.
You can start using `hurl` with commands similar to Apache Bench `ab`, but as your needs grow, it exposes a framework for more complicated and large scale test plans, including distributing work across many machines.
## Installation
go install github.com/pquerna/hurl/hurl
## Running
`hurl http` supports most of the basic arguments from Apache Bench. A simple example:
```sh
# hurl http -c 100 -n 10000 http://127.0.0.1/Concurrency Level: 100
Time Taken: 867.486578ms
Document Length: 612Percentage of the requests served within a certain time (ms)
Min 2.318614ms
Mean 7.947689ms
50% 6.629707ms
66% 7.162523ms
75% 7.548412ms
80% 7.784365ms
90% 8.542364ms
95% 10.286918ms
98% 13.771837ms
99% 16.87096ms
100% 1.083432462s (longest request)```
Would run 100 concurrent clients until 10,000 requests have been completed against `http://127.0.0.1/`.
## Not just HTTP!
`hurl` also can benchmark other services, like MongoDB:
```sh
hurl swift -u ${SWIFT_USER} -k ${SWIFT_APIKEY} load
```## Available Tasks:
* `http`
* `etcd`
* `swift`## Improving, adding features, taking hurl new directions!
Please [open issues in Github]() for ideas, bugs, and general thoughts. Pull requests are of course preferred :)
## License
`hurl` is licensed under the [Apache License, Version 2.0](./LICENSE)