artilleryio/artillery-plugin-fuzzer

I get "Errors: The header content contains invalid characters: 127"

Closed this issue · 3 comments

When using the {{naughtyString}} in the Header section, I get the following -

image

Any idea what could be happening?

hassy commented

Node.js HTTP library does not allow special characters in headers, nothing we can do about it I'm afraid.

@hassy - But then don't you think that this is kind of a major limitation? I need to fuzz headers as well :(

hassy commented

It is a limitation but not major enough for us to warrant writing a custom HTTP client. If you need to fuzz headers, you can try combining naughty strings with something like nc.