Forum Discussion

Patios's avatar
Patios
New Contributor
10 years ago
Solved

Maven SoapUi how to parametrized environment endpoint ?

Hi 

 

I have some problems with creating parametrized maven build with soap ui pro maven plugin. Is it possible to use environment parameter in maven to change  soapui endpoints in build?

 

Example

environment.jpg

 

 

Then in jenkins i want to be able to choose environment.

Thank you for help.

 

Kind regards

Patios

3 Replies

    • stuartgreenlees's avatar
      stuartgreenlees
      Visitor

      Were you able to get this working?

       

      I have been trying to use the environment setting with some REST functional tests without success. Everything works as expected in the desktop client but when I run through maven the endpoints are changed however the basic auth token remains the same as the one generated for the current activeEnvironment in the settings.xml file.

       

      Thanks

      Stuart

      • viviennechen's avatar
        viviennechen
        New Contributor

        I met the same problem as you, have you solved the problem now?

         

        "Everything works as expected in the desktop client but when I run through maven the endpoints are changed however the basic auth token remains the same as the one generated for the current activeEnvironment in the settings.xml file."