tsenart / vegeta

HTTP load testing tool and library. It's over 9000!
http://godoc.org/github.com/tsenart/vegeta/lib
MIT License
23.5k stars 1.36k forks source link

Unable to get Vegeta #240

Closed vectar31 closed 6 years ago

vectar31 commented 7 years ago

I have golang-1.8 When I try to use go get -u github.com/tsenart/vegeta It gives me the following response :

# github.com/tsenart/vegeta/lib
go/src/github.com/tsenart/vegeta/lib/attack.go:99: undefined: http.ErrUseLastResponse

I thought its a version issue with go lang but it isn't. Help?

ghost commented 7 years ago

Try use the binary for your OS and architecture. https://github.com/tsenart/vegeta/releases

wget /usr/local/bin ...

tar -zxvf vegeta-....

arafangion commented 7 years ago

Update to the latest version of Go. I was getting that error using Go 1.6 (which is the version installed on Ubuntu 16.04 LTS).

Updating to Go version 1.9 fixed it beautifully.