header
header
Main Menu
Home
Eviware Store
Downloads
Products
News
Forum
Eviware Blog
Search
FAQs
Customer Area
Support
Documentation
Tutorials
CookBook
Downloads
Forum
Login Form
Welcome, Guest. Please login or register.
December 04, 2008, 09:27:43 pm
Username: Password:
Login with username, password and session length

Forgot your password?
 
Installing the Maven2 SoapUI plugin
Welcome, Guest. Please login or register.
December 04, 2008, 09:27:43 pm
Home Help Search Login Register
News: The Forums are up! Welcome to eviware.

+  Eviware Forum
|-+  soapUI
| |-+  soapUI
| | |-+  Installing the Maven2 SoapUI plugin
« previous next »
Pages: [1] Print
Author Topic: Installing the Maven2 SoapUI plugin  (Read 352 times)
Jim
soapui pro users
Newbie
*
Posts: 12


« on: December 03, 2007, 06:37:58 am »

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.

<?xml version="1.0" encoding="UTF-8"?>
<project>
   <modelVersion>4.0.0</modelVersion>
   <groupId>MavenSoapProject</groupId>
   <artifactId>MavenSoapProject</artifactId>
   <version>0.0.1-SNAPSHOT</version>
   <description></description>
   <build>
      <plugins>
         <plugin>
            <groupId>eviware</groupId>
            <artifactId>maven-soapui-plugin</artifactId>
            <version>1.7.6</version>
            <configuration>
               <projectFile>sample-soapui-project.xml</projectFile>
               <host>http://127.0.0.1:8181</host>
            </configuration>
         </plugin>
      </plugins>
   </build>
   
   <pluginRepositories>
      <pluginRepository>
         <id>eviwarePluginRepository</id>
         <url>http://www.eviware.com/repository/maven2/</url>
               <releases>
        <updatePolicy>daily</updatePolicy>
      </releases>
      <snapshots>
        <updatePolicy>daily</updatePolicy>
      </snapshots>
      </pluginRepository>
   </pluginRepositories>
</project>

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.



Logged
omatzura
Administrator
Hero Member
*****
Posts: 1,506


« Reply #1 on: December 03, 2007, 10:00:40 am »

Good stuff.. thank you!

best regards,

/Ole
eviware.com
Logged
Jim
soapui pro users
Newbie
*
Posts: 12


« Reply #2 on: December 04, 2007, 12:07:25 am »

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,com_smf/Itemid,53/topic,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
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
header header
header
header