codesenberg / bombardier

Fast cross-platform HTTP benchmarking tool written in Go
MIT License
5.91k stars 313 forks source link

How to use it for https? #68

Closed ducpx closed 3 years ago

ducpx commented 3 years ago

I can't use the tool for testing https. The result shows 5xx.

shirejoni commented 3 years ago

if you want to send HTTPS request in local, you should give path of .cert and .key files that you generated for backend as --cert and --key flag.

image

boombardier use golang net/http package for Request(http or https) and you can get more info by seeing detail of net/http package for https request or google it 😄

codesenberg commented 3 years ago

Actually, there's no need to generate certificates @ducpx, just supply URL with https scheme, like so:

bombardier https://google.com