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.

How to Parameterize a URL

VirtEyes
VirtEyes Posts: 62
edited October 2019 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

  • williammccusker
    williammccusker Posts: 642 ✭✭✭
    edited October 2019

    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!

  • VirtEyes
    VirtEyes Posts: 62

    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..