Rather unfortunately, currently Fiddler's AutoResponder does not support matching session by URL and Header/s.
However, you can achieve this result using FiddlerScript and the AutoResponder in conjunction. There are many ways of doing this, but one solution would be the following:
- Edit the OnBeforeRequest method in the FiddlerScript tab. Add your logic for matching the session using the oSession instance passed as argument. You can use the fullUrl field and RequestHeaders property to determine if the session should be matched by the AutoResponder.
- If the session should be matched by the AutoResponder set custom request header, e.g. "CustomAutoResponderHeader". The value should not matter.
- In the AutoResponder create rule that matches sessions which have the "CustomAutoResponderHeader" header.
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Feedback Portal
and vote to affect the priority of the items