property reference is not being override by global variable while integrated with Jenkins
SoapUI 5.2.1 -
1) property reference is not being override by global variable while integrated with Jenkins
Global Properties set as customid = 123, "Enables Override" is true
In REST - GET request - One parameter is reference as ${customid}
Actual raw request on soapui
GET http://xyz.com/rest/customer/123/test/list? HTTP/1.1
but when integrated with Jenkins its being replaced by string instead of global properties value e.g.
16:34:46,424 DEBUG [SoapUIMultiThreadedHttpConnectionManager$SoapUIDefaultClientConnection] Sending request: GET /rest/customer/%24%7Bcustomid%7D/test/list HTTP/1.1
also i can see that
SoapUI 5.1.3 Maven2 TestCase Runner 2016-10-26 16:34:39,186 [pool-1-thread-1 for channel] INFO com.eviware.soapui.tools.SoapUITestCaseRunner - Setting global property [customid] to [123]
my pom.xml
<plugins>
<plugin>
<groupId>com.smartbear.soapui</groupId>
<artifactId>soapui-maven-plugin</artifactId>
<version>5.1.3</version>
<configuration>
<projectFile>C://project.xml</projectFile>
<outputFolder>${project.build.directory}/surefire-reports</outputFolder>
<junitReport>true</junitReport>
<printReport>false</printReport>
<globalProperties>
<value>customid=100</value>
</globalProperties>
</configuration>
<executions>
<execution>
<id>xxxxxxxxxxxxxxx</id>
<goals>
<goal>test</goal>
</goals>
<phase>test</phase>
</execution>
</executions>
</plugin>
</plugins>
2) Also property reference is not being override if properties set at project or test suites level in soapui
i tried as ${#project#customid} also ${#testsuites#customid}
either its being replaced by string
GET http://xyz.com/rest/customer/%24%7Bcustomid%7D/test/list? HTTP/1.1
or as blank
GET http://xyz.com/rest/customer//test/list? HTTP/1.1