質問

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?

役に立ちましたか?

解決 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

他のヒント

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

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top