Forum Discussion
redfish4ktc2
12 years agoSuper Contributor
Hi
If you have define a property in each test case, this means you have define a test case property not a project property
In soapui, you do not have any option to directly override test case properties (you can do some overriding by using an external configuration file see http://www.soapui.org/Scripting-Propert ... mmand-line)
So, in your case, i would
* create a project property named HostPort with a valid value
* remove all testcase properties
When running a testcase from soapui, it should use the configured hostPort value
You can then try to modify the value to check it is really used in the test case
Then you can use the -P option of the test runner utility to override the project property
You can find the same information presented in another way in this tutorial page: http://www.soapui.org/Functional-Testin ... d-endpoint
Tell me if it's now work
Regards
value that exists as a property within each test case in the Project suite.
If you have define a property in each test case, this means you have define a test case property not a project property
In soapui, you do not have any option to directly override test case properties (you can do some overriding by using an external configuration file see http://www.soapui.org/Scripting-Propert ... mmand-line)
So, in your case, i would
* create a project property named HostPort with a valid value
* remove all testcase properties
When running a testcase from soapui, it should use the configured hostPort value
You can then try to modify the value to check it is really used in the test case
Then you can use the -P option of the test runner utility to override the project property
You can find the same information presented in another way in this tutorial page: http://www.soapui.org/Functional-Testin ... d-endpoint
Tell me if it's now work
Regards