Fiddler Wildcard AutoResponse For URL parameters

devfunkd picture devfunkd · Jan 30, 2014 · Viewed 9.6k times · Source

Is there a way for Fiddler to match an autoresponse for the following URL so it will match ANY wildcard value in the middle of a URL?

http://test.localhost.com/accounts/{wildcard}/notes/page/1

Answer

EricLaw picture EricLaw · Jan 30, 2014

You'll probably want to use a regular expression:

REGEX:http://test\.localhost\.com/accounts/.*/notes/page/1

or maybe

REGEX:http://test\.localhost\.com/accounts/.+/notes/page/1

if your wildcard must be 1 or more characters.

Note: Your question's title mentions "query parameters" but the text of the question seems to concern the "path" component of the URL, since there's no ? in your sample.