Glenn_Halstead
17 years agoOccasional Contributor
TestCase Scope VS Mock Scope
I'm passing data from a TestCase to the Mock Server by storing it in a Project Property. This works if I'm running the testcase and the mock server from the SoapUI gui but does not work if the test and the mock server are run from the command line.
This kind of makes sense because in the first situation the testcase and the mock server share the scope of the soapui app, in the second situation the testcase and mock server do not share that scope.
My thoughts are to simply raise the scope where I store the shared data... e.g. put it in a windows environment variable. I'm still trying to figure the syntax to do this.
Does anyone have any other idea's / suggestions?
thanks
Glenn
This kind of makes sense because in the first situation the testcase and the mock server share the scope of the soapui app, in the second situation the testcase and mock server do not share that scope.
My thoughts are to simply raise the scope where I store the shared data... e.g. put it in a windows environment variable. I'm still trying to figure the syntax to do this.
Does anyone have any other idea's / suggestions?
thanks
Glenn