5065b8c55e
Finally deciding on using project names with branch name
golang-builds/hey/pipeline/pr-master This commit looks good
golang-builds/hey/pipeline/head This commit looks good
2021-06-15 22:20:14 +02:00
c53c2cb4ed
Fix using build tag
golang-builds/hey/pipeline/head This commit looks good
2021-06-15 22:09:40 +02:00
c2e02ec78e
Fix sonar issues
golang-builds/hey/pipeline/head This commit looks good
2021-06-15 22:01:08 +02:00
5987c465de
Adding jenkins file for sonaqube checking
golang-builds/hey/pipeline/head There was a failure building this commit
2021-06-15 21:55:26 +02:00
f5090815c9
Adding a jenkins file for ci/cd
golang-builds/hey/pipeline/head This commit looks good
2021-06-06 15:09:09 +02:00
Christopher Page
898582754e
Updated User-Agent header ( #87 )
2021-03-23 16:39:03 -07:00
rui
718efda205
Upgrade deps ( #178 )
...
* Bump to go v1.13 for travis
* Upgrade deps to the latest
2021-03-23 16:38:00 -07:00
Tim Straley
01fa416297
Fix DNS dialup detailed output in print.go ( #207 )
...
This addresses a bug that had the default 'Details' output showing the total fastest and total slowest request times in the DNS dialup min / max categories.
2021-03-23 16:37:14 -07:00
JBD
33a965eeeb
Fix the broken download URLs
2020-12-18 19:26:43 -08:00
Justin J. Novack
cd86a706d7
Create Dockerfile ( #226 )
...
Added Dockerfile
2020-11-24 18:27:55 -08:00
Tom Payne
af177063f8
Add Work.RequestFunc ( #149 )
...
* Remove unused variable in test
* Add Work.RequestFunc
With this commit, people using hey as a library can generate different
requests, rather than repeating the same request each time. This can be
useful for simulating a variety of requests or replaying traffic.
2020-08-05 19:32:57 -07:00
Ashley
f3676ef133
Update README.md ( #191 )
2020-01-22 19:04:26 -08:00
Ashley
36f181ad99
Clarify -c and -q flag description ( #190 )
2020-01-17 22:52:17 -08:00
JBD
e409613c17
Fix installation
2019-10-15 11:04:14 -07:00
chenrui
e6a0e49fa7
Add Homebrew installation option ( #160 )
2019-10-15 11:02:47 -07:00
JBD
22735a3bf7
Bump Go CI version to 1.12
2019-09-27 12:59:11 -07:00
JBD
4c765ce16d
Fix formatting on README
2019-08-01 13:50:24 -07:00
JBD
1a1cc26b65
Add release script and publish binaries
2019-08-01 13:33:11 -07:00
JBD
01803349ac
Switch to Go modules
2018-10-17 15:00:06 -07:00
Erwin van Eyk
3dd84216e7
Add request offset to csv ( #126 )
2018-09-18 11:44:53 -07:00
Erwin van Eyk
9fdda5aed1
Print status code of each request in csv output ( #122 )
2018-09-04 17:18:46 -07:00
Egon Elbre
f3e8979c77
Improve hey on Windows ( #108 )
...
Fixes #107 .
2018-04-27 10:19:23 -07:00
Daniel López
61cf9920ea
Custom output formatter ( #97 )
2018-03-12 12:26:25 -07:00
Cyril David
356507962d
Add server name to TLS parameters ( #69 )
...
In certain cases when you're requesting against a proxy or load balancer
that does TLS it's required to also pass in the `ServerName` in order
for the TLS handshake to work correctly.
This PR simply uses `Request.Host` to transfer that knowledge, which
ultimately comes from `-host <host>`.
2018-02-08 12:35:40 +01:00
Vincent Thiery
ba48068138
Reorganize the imports in hey.go to be more go-style compliant ( #84 )
2017-12-30 18:31:51 +01:00
mdakin
b633e22873
On reused connections do not use connStart because GetConn is never called. Fixes issue #38 ( #79 )
2017-12-26 20:57:38 +01:00
mdakin
c2c7035fae
Actually set the hey user agent in the request. ( #78 )
2017-12-26 20:03:03 +01:00
mdakin
0e59549516
Add a duration parameter z. If specified hey sends requests until giv… ( #75 )
...
* Add a duration parameter z. If specified hey sends requests until given time period is passed, then stops and exits.
* Change expectations, Currently q is only upper limit and per worker.
* Update readme with new parameters.
2017-12-26 15:58:29 +01:00
mdakin
aae813562e
Minor shuffle. Throttle only if we are sending somthing, remove message. ( #77 )
2017-12-26 15:21:40 +01:00
Erwin van Eyk
d6f8b187de
Allow QPS to be less than 1 ( #52 )
2017-12-26 14:33:26 +01:00
mdakin
59fcb3294a
Make result channel bounded by a reasonable value, not N. Incremental… ( #74 )
...
* Make result channel bounded by a reasonable value, not N.
* Incrementally update latency metrics, also only present histogram / latency values for a maximum number of values.
* Initialize latency lists with correct capacity.
* Use a single transport object that is shared by all workers.
* Gracefully stop workers in case of an interrupt and print partial report.
Fixes #73 , #31 and #67
2017-12-21 13:57:30 +01:00
presbrey
32f75cf068
preset ContentLength in first http.Request ( #48 )
...
`http.NewRequest(url, method, body)` usually handles req.CL, but we must calculate it since body is initially passed as nil for cloneRequest to handle later on.
Fixes #36 .
2017-12-19 18:13:35 +01:00
JBD
ed20a4b681
travis: add go1.9 and remove the tip
2017-12-13 15:18:10 -08:00
Michael Biven
12f99f323d
Remove references to -more option to enable tracing. ( #57 )
2017-11-25 09:55:52 -08:00
Jaana Burcu Dogan
6b333f056c
add newline
2017-08-19 16:27:39 -07:00
Jaana Burcu Dogan
816cc9a681
more compact output
2017-08-19 16:24:46 -07:00
Jaana Burcu Dogan
55673919c2
various readability improvements
2017-08-19 16:06:26 -07:00
Jaana Burcu Dogan
7f5f712aea
doc: use svg build status badge
2017-07-29 00:25:04 -07:00
Jaana Burcu Dogan
79ff6f9937
doc: reorg readme
2017-07-29 00:24:00 -07:00
Jaana Burcu Dogan
d5dbb20e73
doc: add logo
2017-07-29 00:22:48 -07:00
Jaana Burcu Dogan
886125b9f2
enable trace all the times
2017-06-01 15:18:42 -07:00
Jaana Burcu Dogan
2969c6acaf
handle interrupt outside of the library, remove progress report.
2017-06-01 15:09:28 -07:00
Jaana Burcu Dogan
2e58a484f1
code reorg
2017-06-01 14:45:41 -07:00
Mark Adams
12b2d74b9f
Add -disableRedirects flag to disable following of redirects ( #41 )
2017-05-31 10:33:00 -07:00
Chris Broadfoot
fb2cc10326
requester: support custom output writer ( #47 )
2017-03-21 11:14:49 -07:00
Jaana Burcu Dogan
13e2560879
print report even if all requests resulted in error
2016-11-06 13:18:01 -08:00
Jaana Burcu Dogan
53cffab544
simplify finalization of the report
2016-11-06 13:17:28 -08:00
Jaana Burcu Dogan
74c4ca31d8
fix printing race between the report and the progress
2016-10-24 11:13:15 -07:00
Jaana Burcu Dogan
13f5f84458
set body only if there is body
2016-10-21 18:31:25 -07:00
Jaana Burcu Dogan
76eaef9ac2
Merge branch 'pr/24'
2016-10-21 17:58:49 -07:00