Commit Graph

26 Commits

Author SHA1 Message Date
Tomás Senart
e75a244b61 Implement Targets#SetHeader 2013-09-21 17:43:09 +02:00
Tomás Senart
35b144d632 Skip certificate validation for HTTPS requests 2013-09-14 03:32:55 +01:00
Tomás Senart
7cd13327c6 Default targets to stdin and abstract file handling 2013-09-11 14:41:17 +01:00
Tomás Senart
6348a1b7df Make Result.Error a string 2013-09-11 14:16:52 +01:00
Tomás Senart
972fe6925d Results: Extraction + Encoding, Decoding 2013-09-11 14:16:52 +01:00
Tomás Senart
de53887867 Correct iteration variable 2013-09-11 14:16:12 +01:00
Tomás Senart
b0035a828d Fix ReportText StatusCodes output 2013-09-10 21:49:25 +01:00
Tomás Senart
eeb8c96adc Make Results private 2013-09-10 18:58:49 +01:00
Tomás Senart
2be03e1f24 Fix metrics.StatusCode test 2013-09-10 13:50:46 +01:00
Tomás Senart
6ee46a365e Go lint 2013-09-10 13:45:23 +01:00
Tomás Senart
ee9a1a0954 ReportJSON 2013-09-10 13:45:01 +01:00
Tomás Senart
6e9f34846b Extract Metrics out of ReportText
Metrics will be reused with other Reporters
2013-09-10 13:32:44 +01:00
Tomás Senart
2147e1840b uint16 for HTTP Status codes 2013-09-09 13:25:29 +01:00
Tomás Senart
15ad005f5a Go lint warning fixes 2013-09-09 13:15:37 +01:00
Tomás Senart
67fb276a76 Use actual body length for BytesIn 2013-09-09 03:08:44 +01:00
Tomás Senart
93310995c7 Simplify Reporter objects to be simple functions 2013-09-09 03:08:44 +01:00
Tomás Senart
f689362188 Decouple Reporters from Attack function
This changeset breaks the API of Attack in order to decouple Reporters
and the Attack function. Attack now returns a slice with
non-deterministic order of Results which one can use on the calling code
with or without Reporters, hence making it much more useful on a library
usage setting.
These developments could be of interest to issue #11 which was closed in
the past.
2013-09-09 03:08:44 +01:00
Tomás Senart
bab3d9f89a Publicize vegeta.Result 2013-09-09 03:08:44 +01:00
Tomás Senart
b66534db26 One liner swap 2013-09-09 03:08:01 +01:00
Tomás Senart
d104324729 Move comment to new line 2013-09-08 03:28:42 +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
45eb87b961 Enclose condition in parantheses. Fixes #5 2013-08-19 12:15:23 +02:00
Tomás Senart
8782650e2a TimingsPlotReporter: Y axis in milliseconds 2013-08-17 20:08:58 +02:00
Tomás Senart
c6ad47722b TimingsPlotReporter 2013-08-17 19:52:29 +02: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