Fiddler Wildcard AutoResponse For URL parameters

11k views Asked by At

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

2

There are 2 answers

0
EricLaw On BEST ANSWER

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.

0
Sireesh Yarlagadda On

Using AutoResponder, it would be:-

[![regex:(?inx)^http://test\.localhost\.com/accounts/.*/.*notes/page/1][1]][1]

Use the below case, when host is alsoenter image description here not known.

regex:(?inx)^https://.+\/accounts/.*/.*/.*