codesenberg / bombardier

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

Is it possible to pass a file in the request through bombardier? #61

Closed kikaragyozov closed 4 years ago

kikaragyozov commented 4 years ago

Can we create a request with bombardier that accepts and passes a file to the server (for example, uploading an image to the server, we need to send the file to it via form-data file property)?

codesenberg commented 4 years ago

I believe you can do this. See this issue for details. TL;DR - you craft the response yourself and send it.