Submit and vote on feature ideas.

Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

Virtualize Proxy Query Parameter

Options
reactancexl
reactancexl Posts: 160

I have a proxy that is calling a service endpoint with a parameter. I get an error as it creates the "?" to %3F.
(No listener for endpoint: /at%3Froute=first). How can I pass in a query parameter from my proxy?
Endpoint url that I am calling from proxy is http://host:port/at?route=first.

Also I tried setting a variable as part of my endpoint in proxy. Is that possible? thx

Comments

  • keegan_chan
    keegan_chan Posts: 59 ✭✭
    Options

    As you mentioned, the service endpoint of a Virtualize HTTP proxy does not allow query parameters. The "?" character will be encoded as if it's part of the URL path. The HTTP proxy will forward any query parameters that it receives from the caller to the service endpoint. It doesn't add or modify any of them.

  • reactancexl
    reactancexl Posts: 160
    Options

    Sending parameters from calling systems worked. thx