Forum Discussion

kamatchipriya16's avatar
kamatchipriya16
Occasional Contributor
6 years ago
Solved

Endpoint is not changed from maven

Hi,  I am generating HTML report from groovy and i integrated with maven.  So in soapui i set the endpoint in property & i called it from script. (ie)${#Project#endpoint_services}   When i ...
  • kamatchipriya16's avatar
    6 years ago

    I got a solution for this..

    In sopaui groovy script i set the property for endpoint like,

    testRunner.testCase.testSuite.project.setPropertyValue("endpoint_services", "http://localhost:8080")

    ${#Project#endpoint_services}

     

    From maven i added the property like,

    <projectProperties>
    <projectProperty>endpoint_services=http://localhost:8080</projectProperty>
    </projectProperties>

     

    Now it is working :)