Major changes:
-
Option (
AbortOn
in HTTPRunnerOptions and-abort-on
for the command line flags) to make fortio stop on a first occurence of a specific code (#218)
Useful for 2 uses cases:- Readiness: Stop when 200 are received
- Error/bug finding: Stop when a 503 is received (and not further flood the logs)
-
The fortio echo server now has the option to set specific headers dynamically, using
header=
query arguments, see https://github.com/istio/fortio#server-urls-and-features for the complete list of echo features. (#219) -
GRPC load testing improvements (#225):
- Ability to use multiple streams (
-s
/Streams
) in addition to multiple connections (-c
). The effect is multiplicative (if you request for 10 streams and 5 connections you will get data from 50 simultaneous requests) - Option when starting the
server
to set-grpc-max-streams
to limit the number of concurrent streams per connection. -grpc-ping-delay
to delay the response from the grpc ping replies (allows to exercise keeping streams busy and delays in grpc similar to thedelay=
option in http echo tests)-ping
option to switch the GRPC load tests from default grpc health check to the fortio custom ping checks (which supports-payload
and-grpc-ping-delay
)
- Ability to use multiple streams (
-
Improved JSON results with
RunType
(http/grpc differentiation and grpc mode details - e.g"RunType": "GRPC Ping Delay=250ms PayloadLength=11",
)
Also
- When using the convenience https:// or http:// prefixes for grpc destination, the matching default port (443/80) is automatically used if not otherwise specified (#215, thanks @danehans )
- Binary/releases/docker built using go1.10.1 (but still compatible as a library/running fine with go1.8)
- vendor/ updates (grpc v1.11.1)
- data files served by the UI server are cachable - makes switching between graphs much faster (#217)