Question

I am setting up a lot of http requests for a REST api. Many of the requests require the same parameters in the URL (public_key, auth_token, etc). I was trying to set these as a global property, but I cannot figure out how to reference them within each request. I tried ${poperty_name} but that did not seem to work.

Any suggestions?

Était-ce utile?

La solution 2

You can archive it by opening your parent resource and then add Resource Parameters to it. After that you can see the params in requests add params

Autres conseils

As far as I remember, you should specify level of property (Project, TestSuite, TestCase). So, if you define project level property then you need call it as ${#Project#property_name}

http://www.soapui.org/Functional-Testing/working-with-properties.html#4-example-n-centralized-endpoint

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top