matteofigus / api-benchmark

A node.js tool to benchmark APIs
MIT License
311 stars 35 forks source link

Need service-specific headers #88

Closed abrown closed 6 years ago

abrown commented 7 years ago

I would like to use service-specific headers for each endpoint request. In other words, if I had servers A, B, and C and only one endpoint X (e.g. http://A/X, http://B/X, http://C/X) and all of these had different authorization headers, under the current model I could not provide the correct headers.

I thought of a few options:

Do either of these make sense to do or is there something I'm missing in reading the documentation?

PascalPflaum commented 6 years ago

Looks like the PR #29 which is open since 2015 would help you solving your problem.