Pergunta

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?

Foi útil?

Solução 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

Outras dicas

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

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top