grunt-api-benchmark
grunt-api-benchmark copied to clipboard
api-benchmark grunt wrapper
For API endpoints which require authentication, how can the appropriate headers be added to the request? The solution I came up with (see the commit to my fork https://github.com/TwineHealth/grunt-api-benchmark/commit/dfd10d3354ed00c154e170b7621c33157041f062) was...
Fixed by passing a callback to `saveOutput`, as in this commit: https://github.com/TwineHealth/grunt-api-benchmark/commit/408ceed7d9f18323051b4da7cc7986be2757de63
Cause it's static .json file, I can't use a random value on header attribute (like a random token) on each request. It is anyway possible?