Forum Discussion
nmrao
Champion Level 3
May be you can try parameterize them. For example create a property file say soapui.properties and keep it under SOAPUI_HOME/bin, add a property, say username and assign it at the each interface level and assign it for user name say ${#Project#username}. Whenever you want to change, just make change in the property file before running the test.
AS you know, soapui.properties files gets loaded each time when soapui is start is started. And not that value change in the property may need restart of soapui.
Hope this helps.
AS you know, soapui.properties files gets loaded each time when soapui is start is started. And not that value change in the property may need restart of soapui.
Hope this helps.
timaharrison
9 years agoOccasional Contributor
Thanks Rao for replying.
I've already got all the environment-specific configurations set up within the Interface, I can also set up properties for transfering values. My stumbling block is the method for assigning them within the groovyscript (as you would use the Assign button on the Service Endpoints tag). Any help with this I'd be grateful for.
- nmrao9 years agoChampion Level 3As mentioned earlier, assign ${#Project#username} once at interface or as many interfaces that is needed in that project. Then save it. That is all you need to do.
You do not have to assign it again using groovy script at all. Or may be I am missing something. Or try the above once and post your issues or findings.- timaharrison9 years agoOccasional Contributor
Thanks again Rao. Your solution sounds like a good one, using property expansions, but I'm struggling wih "Assigning this property at Interface level" (WSS Configuration).. there aren't any custom properties at interface level.
Hopefully I've explained myself properly. I don't need any usernames assigning, just the wss configurations
- nmrao9 years agoChampion Level 3
Please see the attachment
Related Content
- 8 months agosinis
Recent Discussions
- 2 days agoemoya
- 2 days agoMyBalanceNow