6 Commits

Author SHA1 Message Date
Tomás Senart
1517f2da05 Copy http.Header for each Target
Fixes #30 and likely other nasty problems with the internals of the http.Client
mutating the shared Header. Thanks @timjnh for reporting.
2013-10-31 00:19:15 +01:00
Tomás Senart
e75a244b61 Implement Targets#SetHeader 2013-09-21 17:43:09 +02:00
Tomás Senart
7cd13327c6 Default targets to stdin and abstract file handling 2013-09-11 14:41:17 +01:00
Simon Eskildsen
1dadca892a Remove regexp for comment detection 2013-08-21 14:14:47 -04:00
Simon Eskildsen
4f0eb93696 Add handling of comments in targets.txt
Skips lines that start with `//`, to allow commments in `targets.txt`. This is
handy when you want to attach a comment on why a specific endpoint is tested, in
a `targets.txt` used as part of a benchmark suite.
2013-08-20 11:28:28 -04:00
Tomás Senart
2814cf312e Vegeta as a library
* Slicker API
* Privatises a bunch of stuff
* More tests
* More documentation
2013-08-17 16:37:32 +02:00