Forum Discussion

chathurad's avatar
chathurad
Contributor
6 years ago
Solved

How to pass schoolName parameter to this URL

https://a31k83hfp9.execute-api.us-east-1.abc.com/dev/school/detail/abc-xyz-institute-of-studies  Above is a GET request which is available at the SWAGGERHUB. I need to imposrt this to SOAPUI as a...
  • JHunt's avatar
    6 years ago

    When you use "New REST Service From URI" you should enter the parameters instead of a value, like this:

     

    https://a31k83hfp9.execute-api.us-east-1.abc.com/dev/school/detail/{schoolName}

    This will automatically create a parameter called "schoolName", then you can set a default value, and a different value for each Test Request Step.

     

    It's not too late to do that, just change the Resource to

    /dev/school/detail/{schoolName}

    You will be prompted for a default value, and the parameter will be added.