Forum Discussion
nmrao
7 years agoChampion Level 3
EmilDK,
You have use as ${#Project#DbUsername}
For more details, refer documentation here:
https://www.soapui.org/scripting---properties/property-expansion.html
You have use as ${#Project#DbUsername}
For more details, refer documentation here:
https://www.soapui.org/scripting---properties/property-expansion.html
- EmilDK7 years agoOccasional Contributor
Sorry for being inaccurate - I am using "${#Project#DbPassword}".
It works when putting in the properties manually under "Custom Properties" - but I can't set it automatically through JUnit.
- nmrao7 years agoChampion Level 3
- EmilDK7 years agoOccasional Contributor
This is the Custom (project) Properties I'm referring to in my SOAP UI tests which runs fine.
But I need to change these properties through my JUnit project so I can execute my tests automatically on different environments(that has different usernames/passwords). However, it seems like the TestRunner.setProjectProperties() has no effect.
Related Content
Recent Discussions
- 3 days agoemoya
- 3 days agoMyBalanceNow