samuelMDS
12 years agoOccasional Contributor
Use global properties when using tesrunner
In SoapUI I have declared several properties in the global properties section. In the test cases I use these properties when I send requests. This works fine when I run the test suite in soapUI on my own laptop. The value in the global properties are used when sending the requests. I can also run the test suite without problem on my own computer with testrunner by right kicking on the test suite and choosing "Launch TestRunner".
The problem arises when I run the testrunner on another machine on which soapUI is installed and the xml project (that contains the testsuite) file is copied. When I run the tesrunner, the requests containing the reference to the global properties don't get any value and the testcase fails. The global properties seems not to be stored in the project file, so that might be the problem.
My question: How am I supposed to do to get hold of the global properties in my testcases so that the requests contains values from the global properties?
The problem arises when I run the testrunner on another machine on which soapUI is installed and the xml project (that contains the testsuite) file is copied. When I run the tesrunner, the requests containing the reference to the global properties don't get any value and the testcase fails. The global properties seems not to be stored in the project file, so that might be the problem.
My question: How am I supposed to do to get hold of the global properties in my testcases so that the requests contains values from the global properties?