Forum Discussion

edmond's avatar
edmond
New Contributor
15 years ago

How to pass project properties to maven-soapui-plugin

Hi,
Does anyone know how to pass project properties to maven-soapui-plugin in pom.xml file?
I used soapui 2.5.1 to create a project and tried to run its test from maven2. In the pom.xml, I tried using . I didn't find any document describing how to use it though. My initial guesses were having some property file name or some kind of property tags under , but didn't get the luck. The following is from one of my test runs.
   

eviware
maven-soapui-plugin
2.5.1

my-soapui-project.xml






test

test





Hope some early adopter can share his/her experience with me.

Thanks in advance for any help!

7 Replies

  • Rob_Leland's avatar
    Rob_Leland
    Occasional Contributor
    I have passed the standard parameters to the plugin like so:



    eviware
    maven-soapui-plugin
    2.5.1

    soapui-project.xml
    xyz
    GetVersions
    soapui-settings.xml



    It would be nice if I could pass them via a command-line but I am new at this also.
  • I have partly the same problem:


        src/test/resources/securityprofile-soapui-project.xml
        mblade115:80
        true
          target2
        true
        exportAll
        soapui-settings.xml
     


    The strange thing is that target2 seems to work, but the other parameters are ignored so I get no junit report. (  true)

    Can anyone help?

    regards,

    Tom-Erik
  • edmond's avatar
    edmond
    New Contributor
    Rob,
    Thanks for the reply.
    settingsFile is global. I was looking for something to pass in value so that the place hoder ${#Project#propname} in the project is populated with the value.

    edmond
  • Hi Edmond,

    Thanks for your posting, i have similar issue which you have faced,  was there any work around for passing properties?

    Thanks
    Raju
  • I have the same issue: I am trying to populate soapUI project properties from a maven call.

  • Access 2010
    microsoft office standard 2007
    I have partly the same problem:
    src/test/resources/securityprofile-soapui-project.xml
    mblade115:80
    true
    target2
    true
    exportAll
    soapui-settings.xml
    The strange thing is that target2 seems to work, but the other parameters are ignored so I get no junit report. ( true)