37 Commits

Author SHA1 Message Date
Senad Uka
de85e8709a finished csv reporter support 2013-11-07 12:12:39 +00:00
Senad Uka
681a7f2d02 modified results and metrics 2013-11-07 11:27:05 +00:00
Senad Uka
ef70acad23 added support for appending to results file and added Rate to result struct 2013-11-05 15:08:06 +00:00
Senad Uka
fb197a57d8 started creating rapid attack command 2013-11-05 08:17:32 +00:00
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
a9657e2660 Duration on Metrics and depenendent Reporters
This is real duration, calculated by subtracting the last Result's
timestamp with the first Result's timestamp. Garbage
collection and go routine scheduling delays can affect this number.
Fixes #29
2013-10-29 13:52:15 +01:00
Tomás Senart
4ba3b431a8 Change percentiles field names as they were misleading
Also removes the total latencies field from Metrics as it is not useful.
2013-10-05 23:15:32 +02:00
Tomás Senart
9a8f89d16b Extend Metrics with max and 95th, 99th percentiles
Implements a new format for the text reporter with more information
than before.
Also Rename Result.Timing to Result.Latency and related names.
Adapt README.md examples to account new text reporter format and
library changes.
2013-10-04 21:46:16 +02:00
Tomás Senart
0e268023aa ReporterPlot: Interactive plot with HTML5
* Uses Dygraphs JS lib to plot
* Embeds dygraphs in binary to remove run-time dependencies
* Removes dependency on Plotinum
2013-09-23 01:42:56 +02:00
Tomás Senart
f0579e67e4 Improve Reporter interface 2013-09-22 17:44:57 +02:00
Tomás Senart
0bc9d0ccbe Rename Results encoding functions 2013-09-22 17:30:28 +02:00
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