I'm new to
ql.io, and I have a question about it. When I using monkey path to preprocess my requests, how can I inject variables to the 'params' property from the callback function argument. Something like this:
exports['patch header'] = function(options) {
var params = options.params; // how can I inject variables to this property?
// do sth
return options.header;
}
exports['patch body'] = function(options) {
var params = options.params; // same question
// do sth
return options.body;
}
I also use some way like 'curl --header 'key:value'' send a request to
ql.io server, still not in the options.params.
Can anyone tell me how to do that?
Regards,
Zekai