How to Parameterize a URL

VirtEyesVirtEyes Posts: 28
edited October 18 in Virtualize

I am trying to find the preferred way to parameterize / correlate values in a URL

The type of URL's I am dealing with are in this format:

basepath.com/{ParamName}/

How do I store the values for ParamName ** and be able to hit it when the user provides a url like:
basepath.com/
12234**/ with **12234 **being the ParamName's value?

Is this through URL Parameters or URL Path?

Comments

  • williammccuskerwilliammccusker Posts: 234 ✭✭
    edited October 18

    Hi,
    For correlations if you don't care what the values are then using the wild card, "*" in the path segment on the deployment path, for example /base/1234 would be /base/* in the deployment settings.

    To store values from path segments take a look at the "REST URL Data Bank"
    https://docs.parasoft.com/display/SOAVIRT9103/REST+URL+Data+Bank

    Hope this helps!

  • VirtEyesVirtEyes Posts: 28

    Thank you for your response.
    The wildcard "*" did not work, so we are trying the REST URL Data Bank.

    Will let yall know how it works out..

Sign In or Register to comment.