proxy.pathsuffix variable returning incorrect value

Hi

I have API Proxy where I have to change the “target.url” variable using “proxy.pathsuffix” variable.

But somehow “proxy.pathsuffix” is returning combination of “proxy.basepath” + “proxy.pathsuffix

For example in my case of API Proxy bundle attached

proxy.pathsuffix = /legacy_api/v1/Document/RetrieveAllNames

where

proxy.basepath = /legacy_api/v1/Document

Any idea why it is causing this behaviour ?

Thanks in advance

legacy-api-v1-document-rev1-2016-08-24-rev2-2016-0.zip

@GAURAV

The apiproxy bundle which you have shared doesn’t have any javascipts.

Kindly updated the bundle and upload it please.

Please find attached js

jsfiles.zip

legacy-api-v1-document-rev1-2016-08-24-rev2-2016-0.zip