ijpiantanida / talkback

A simple HTTP proxy that records and playbacks requests
MIT License
284 stars 41 forks source link

Match headers #34

Closed JBustin closed 4 years ago

JBustin commented 4 years ago

Hello,

First of all, thanks for the great tool, fast to onboard. I experience a problem of matching. I have some user session cookies in headers of my requests. I would like to ignore them (and maybe other stuffs in headers, like dates), because I can't reuse the recorded requests. I use talkback to mock my API for development or load test. Not to test the features. So the session cookies are not usefull.

Is it possible to add a headerMatcher ?

Regards

JBustin commented 4 years ago

I just respond to myself : ignoreHeaders is sufficient, with list of them. I missed the essential.