openapi-fuzzer icon indicating copy to clipboard operation
openapi-fuzzer copied to clipboard

Feature Request: Store all Request

Open tandarim opened this issue 3 years ago • 2 comments

In some cases i`m interested in 404 or 200 responses. A flag would be great to tell the fuzzer to store all requests or (like the -i flag) to specify the response code which should be stored.

Is this an edge case, or could this be beneficial to bigger a audience?

tandarim avatar Dec 10 '21 14:12 tandarim

Hi, what is your use case for this feature? If we store also the valid responses, the fuzzer will create a lot of files really quickly, possibly filling your hard drive.

matusf avatar Dec 12 '21 01:12 matusf

Hi! Maybe I can add on to this: In my case, I'm seeing a small fraction of requests not returning error codes. Considering the strings look very random, the odds of this happening should be slim to none. Therefore, it would be interesting to see for which strings the 200 status codes are returned. Perhaps it'd be possible to have a flag where one could explicitly list the status codes for which requests should be stored (in combination with the particular endpoints)?

lmeinen avatar Mar 18 '22 11:03 lmeinen