Forum Discussion

Jim's avatar
Jim
Occasional Contributor
17 years ago

Installing the Maven2 SoapUI plugin

I followed the steps on installing the SoapUI plugin for Maven. Being new at this I was in need of some clarification from the instructions at:

http://www.soapui.org/plugin/maven2/index.html

Here are my notes in case anyone else gets stuck.


Prior to using the plugin, add the eviware maven 2 repository to your project's pom file;

Add the following soapUI plugin to your pom.xml
Here is my project's pom.xml. 

Please note that I moved the sample-soapui-project.xml file from the eviware SoapUI install directory to my local directory where my pom.xml file is located.



4.0.0
MavenSoapProject
MavenSoapProject
0.0.1-SNAPSHOT




eviware
maven-soapui-plugin
1.7.6

sample-soapui-project.xml
http://127.0.0.1:8181







eviwarePluginRepository
http://www.eviware.com/repository/maven2/
     
        daily
     

     
        daily
     





Now the following maven commands will invoke the soapui sample project:

Run functional tests with

mvn eviware:maven-soapui-plugin:test

loadtests with

mvn eviware:maven-soapui-plugin:loadtest

and MockServices with

mvn eviware:maven-soapui-plugin:mock



Very nice and useful plugin. Especially when running inside eclipse.

2 Replies

  • Jim's avatar
    Jim
    Occasional Contributor
    Now my next issue is integrating in an existing SoapUI project file into an existing maven project in Eclipse.

    Let me know if this other post is a reasonable approach. 


    http://www.eviware.com/component/option ... opic,281.0

    Please note that after I add the SoapUI behavior and get the SoapUI Web Services file in my Eclipse project, the soapUI popup menu does not do anything when I click on the 'add wsdl' 'new testsuite' etc from the soapUI popup. 

    I am running Eclipse Version: 3.3.1.1