We can use both JavaRegex and '=' sign to compare strings in condition folow. Which is the best situation to use JavaRegex in the flow conditions.
Solved! Go to Solution.
@Amar N ,
Below condition will match only if pathsuffix is "/cat" ,
<Condition>(proxy.pathsuffix = "/cat")</Condition>
<Condition>(proxy.pathsuffix JavaRegex "/ca?t")</Condition>
GET http://artomatic-test.apigee.net/matchtest/cat - TRUE
GET http://artomatic-test.apigee.net/matchtest/ct - TRUE
Find more about same here.
@Amar N ,
Below condition will match only if pathsuffix is "/cat" ,
<Condition>(proxy.pathsuffix = "/cat")</Condition>
<Condition>(proxy.pathsuffix JavaRegex "/ca?t")</Condition>
GET http://artomatic-test.apigee.net/matchtest/cat - TRUE
GET http://artomatic-test.apigee.net/matchtest/ct - TRUE
Find more about same here.