Forum Discussion

schu777's avatar
schu777
Occasional Contributor
6 days ago

Populate GET parameter value from "Properties" step in TestSuite.

I'm very new to using the Test Suites in SoapUI. So before I go into detail, I'm using version 5.7.2 of SoapUI and in the process of testing an API proxy.

The issue I have is when I send a POST request, I get the response as this: ["92980"]

I was exploring how to get values from the Property Transfer and found in another post of using "$[0]" to get the specific value, which I've done and stored into a "Properties" step.

My Goal is to get that value of 92980 into this:

I don't know if I can do this within the "Property Transfer" step or if it can be done in the "Properties" step or if there is something I'm unaware of at this point.

I'm going to keep digging to find a solution, but hopefully someone will have a solution for this.

Thanks, Michael

  • I was so close with that above - now this works.

    The GET is populated with the results

     

  • schu777's avatar
    schu777
    Occasional Contributor

    I'm a bit further in my discovery.  I found in this groovy script, I can populate a properties value.

    With that, it sets the values in the Properties.

    Now my goal is to populate the value of "filter" in my GET request:

     

  • schu777's avatar
    schu777
    Occasional Contributor

    I was so close with that above - now this works.

    The GET is populated with the results