PDavies
15 years agoNew Contributor
MockService Options does not support properties?
Hi,
In my project I have set MockHostname and Mockport properties which I tried to set on my MockService.
I was able to put in ${#Project#MockHostname} for the Host - though it doesn't seem to have any effect.
However if I put in ${#Project#Mockport} for the Port it doesn't even get saved. When I open up the Options view again it is back to the original numerical value.
I can change the port number but not put in a property reference.
I am running under OpenSuse 11.3 Linux. SoapUI 3.5.1.
(0)>java -version
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode)
Thanks,
Pete
In my project I have set MockHostname and Mockport properties which I tried to set on my MockService.
I was able to put in ${#Project#MockHostname} for the Host - though it doesn't seem to have any effect.
However if I put in ${#Project#Mockport} for the Port it doesn't even get saved. When I open up the Options view again it is back to the original numerical value.
I can change the port number but not put in a property reference.
I am running under OpenSuse 11.3 Linux. SoapUI 3.5.1.
(0)>java -version
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode)
Thanks,
Pete