campbellC / third-wheel

A rust implementation of a man-in-the-middle proxy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add some proper testing with pathod/pathoc

campbellC opened this issue · comments

Pathod and pathoc are tools from the mitmproxy project for generating pathological requests. I've added code in test/ for getting a docker image running with these tools and some example requests. Unfortunately, the docs seem to be out of date (v2.0.2 is the latest documented) and the example commands given are not working.

This definitely looks like a useful set of tools for testing the proxy and fuzzing it for edge cases.

Acceptance criteria:
Tests print useful logging on failure (i.e. how to recreate the thing that caused the failure)
Optional flag for longer, more edge case fuzz testing