문제

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