Forum Discussion
nmrao
13 years agoCommunity Hero
Instead of using direct values in the requests, have properties.
Properties can be at different levels i.e, at Project/TestSuite/TestCase levels. Based on the usage, variables can be used in the requests like ${#Project#PropertyName}, ${#TestSuite#PropertyName}, ${#TestCase#PropertyName}.
Here PropertyName can be any literal and these are replaced automatically.
Rest, it needs to taken care how the values are set to these Properties.
There can be mutiple ways how these are set. For instance,
1. A property file can be used and directly imported in soapui.
2. Write groovy script
Hope this will help.
Properties can be at different levels i.e, at Project/TestSuite/TestCase levels. Based on the usage, variables can be used in the requests like ${#Project#PropertyName}, ${#TestSuite#PropertyName}, ${#TestCase#PropertyName}.
Here PropertyName can be any literal and these are replaced automatically.
Rest, it needs to taken care how the values are set to these Properties.
There can be mutiple ways how these are set. For instance,
1. A property file can be used and directly imported in soapui.
2. Write groovy script
Hope this will help.