Hi,
I try to use 2 targets when i call at proxy from Postman for "task" the url in trace is repeated but only when my url in proxy use this part
?$filter=((Status%20eq%20%27READY%27))
if only use this http://poc.clients.test/poc/tasks.svc/TaskCollection
The proxy work.
What is the problem with this???
Routh rule
<RouteRule name="Task"> <Condition>(proxy.pathsuffix MatchesPath "/task") and (request.verb = "GET")</Condition> <TargetEndpoint>Task</TargetEndpoint> </RouteRule>
The other tarjet
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <TargetEndpoint name="Task"> <PreFlow name="PreFlow"> <Request> <Step> <Name>JavaScript-1</Name> </Step> </Request> <Response/> </PreFlow> <HTTPTargetConnection> <URL>http://poc.clients.test/poc/tasks.svc/TaskCollection?$filter=((Status%20eq%20%27READY%27))</URL> </HTTPTargetConnection> </TargetEndpoint>
The java script policy
context.setVariable("target.copy.pathsuffix", false);
Result trace section
http://poc.clients.test/poc/tasks.svc/TaskCollection?$filter=((Status%20eq%20%27READY%27))/poc/tasks...
Expeted result
http://poc.clients.test/poc/tasks.svc/TaskCollection?$filter=((Status%20eq%20%27READY%27))
Thanks and Regards.
I have reproduced the problem.
The error is in the Trace display.
The actual call does not duplicate the path.
I've filed a bug. b/75354830
Thanks for reporting this.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |