Starting the January 2018 (0.5) series early (Happy Holidays!):
-
Adding
?delay=<duration>
to echo urls will delay the response up to a max duration of 1 second. -
Support status param as list with probability
http://localhost:8080/echo/?delay=1ms&status=567:33.33,568:33.33
For instance delays the response by 1ms and has 33.33% chance of returning
567, 33.33% 568 and 33.34% 200 -
% summary is output for each return code, for instance
withhttp://localhost:8080/echo?status=503:10,504:20
Code 200 : 2060 (68.7 %) Code 503 : 318 (10.6 %) Code 504 : 622 (20.7 %)
-
new flag
-allow-initial-errors
if you don't want fortio fail fast on errors during warmup -
bug fix: handle 100% errors in graph title (though that was impossible before without the flag)