Skip to first unread message

phani sekhar

unread,
Jan 30, 2015, 8:48:21 AM1/30/15
to httpf...@googlegroups.com
Hi ,

I have added a rule to get the required xml as response

The Url will be 
  1. http://example.com/path/page?type=b&edate=2016-20-02&dep=LGW 

(value for 'dep' can be any thing from a list say [LGW,ABZ,EDI,GLA,BFS,BHX,BOH,BRS,CWL,DSA])

for this type of Url i have written the regex as followed

regex:example.com[^?]*\?.+?&edate=(\d*)-(\d*)-(\d*).*?&dep=((?!LGW|ABZ|EDI|GLA|BFS|BHX|BOH|BRS|CWL|DSA).{3})(?:&.+)?

and the required response xml is outbound_return_stubs.xml in my local

i have changed the fiddler listening port to 443 and tried the following url from my browser


I am getting the 200 response as in the attachment.

i tried with port as 8888 as well no result.Unable to find the solution
fiddler_error.PNG

EricLaw

unread,
Jan 30, 2015, 11:41:32 PM1/30/15
to httpf...@googlegroups.com
This is perhaps the most common question asked about AutoResponder Regular Expressions.

When you're using a RegEx like this, you need to encompass *the entire* URL.

So you want to use something like:

regex:(?insx)^.*example.com[^?]*\?.+?&edate=(\d*)-(\d*)-(\d*).*?&dep=((?!LGW|ABZ|EDI|GLA|BFS|BHX|BOH|BRS|CWL|DSA).{3})(?:&.+)?$
Reply all
Reply to author
Forward
0 new messages