artilleryio / artillery-plugin-fuzzer

Fuzz testing for HTTP APIs with Artillery.io 🌪
59 stars 7 forks source link

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

Closed blueelvis closed 6 years ago

blueelvis commented 6 years ago

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

image

Any idea what could be happening?

hassy commented 6 years ago

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

blueelvis commented 6 years ago

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

hassy commented 6 years ago

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.