From d40b500cb58fd1ef21fadded73df87b950bd0c4b Mon Sep 17 00:00:00 2001 From: shubham Date: Tue, 6 Oct 2020 19:29:40 +0530 Subject: [PATCH] Support HTTP2 option --- attacker/attacker.go | 1 + 1 file changed, 1 insertion(+) diff --git a/attacker/attacker.go b/attacker/attacker.go index 06beb81..e0abe58 100644 --- a/attacker/attacker.go +++ b/attacker/attacker.go @@ -79,6 +79,7 @@ func Attack(ctx context.Context, target string, resCh chan *Result, metricsCh ch vegeta.MaxBody(opts.MaxBody), vegeta.Connections(opts.Connections), vegeta.KeepAlive(opts.KeepAlive), + vegeta.HTTP2(true), ) }