Seems like a more featureful version of something I wrote a long while ago to ease testing, fakettp: github.com/sethgrid/fakettp. Mine requires a json config and can act as a proxy, intercepting given paths and overriding responses. Not sure if I added dynamic response based on an http header. The post's utility seems really polished with a nice ui.