djangofan
12 years agoContributor
Having trouble with "-P" being passed to testrunner.bat
I am having trouble passing "-P" arguments to a SoapUI (not PRO) test project. My project has a suite of tests that add, remove, and change user accounts in a system. No matter what I try, I am not able to override the hard-coded "Endpoint" value that exists as a property within each test case in the Project suite.
So, what I need to know is how can I debug this when the project is refusing to override the property? How can I dig into this to figure out what is wrong? I wish the console output would display whether it succeeded in using the property or not... is there such a capability?
My intention was to define the following property within each test case like this, but its not working:
I've tried this both from the TestRunner UI and from command line using testrunner.bat . I get the same result. It is as-if the "-P" arg doesn't work at all.
-P"HostPort=webservice.server.com:6500"
So, what I need to know is how can I debug this when the project is refusing to override the property? How can I dig into this to figure out what is wrong? I wish the console output would display whether it succeeded in using the property or not... is there such a capability?
My intention was to define the following property within each test case like this, but its not working:
http://${#Project#HostPort}/services/userservice/userserviceI've tried this both from the TestRunner UI and from command line using testrunner.bat . I get the same result. It is as-if the "-P" arg doesn't work at all.