Reputation: 3234
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
Upvotes: 3
Views: 11431
Reputation: 13726
Using AutoResponder, it would be:-
[![regex:(?inx)^http://test\.localhost\.com/accounts/.*/.*notes/page/1][1]][1]
Use the below case, when host is also not known.
regex:(?inx)^https://.+\/accounts/.*/.*/.*
Upvotes: 0
Reputation: 57085
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.
Upvotes: 9