Forum Discussion

MikeDally's avatar
9 years ago

Is it possible to pass a parameter from the Maven command line to SoapUI?

Hi SoapUI Community,


I would like to build my SoapUI project by passing in a parameter. In my case, I want to specify the environment I want use, and use this as a property in SoapUI.


Can anyone suggest what changes I need to make to my pom.xml file and SoapUI project?


  • Apologies for the late up date on this - I've been able to do this in the following way:


    Update the pom.xml configuration section with the following:


        <reportName>SoapUI report</reportName>

    Then in my maven command reference this as:


    mvn test -DEnvironment=staging




7 Replies