Forum Discussion
vikingsteve
13 years agoOccasional Contributor
Thanks again buddy!!
And yes, it worked perfectly. For your reference, here is my maven execution configured under a maven profile named 'soapuitests':
Additionally, I was able to add several almost identical executions with different id's, to run my same TestSuite versus different servers.
So, I have executions for:
and
and
Maven is an amazing automation tool for running soapui. Thanks for making this plugin happen!
And finally, in soapui-log4j.xml, which I placed in src/test/resources, I put the logging level to INFO:
And yes, it worked perfectly. For your reference, here is my maven execution configured under a maven profile named 'soapuitests':
<profiles>
<profile>
<id>soapuitests</id>
<build>
<plugins>
<plugin>
<groupId>eviware</groupId>
<artifactId>maven-soapui-pro-plugin</artifactId>
<version>4.5.1</version>
<executions>
<execution>
<id>soapui-tests-in-test</id>
<phase>test</phase>
<goals>
<goal>test</goal>
</goals>
<configuration>
<endpoint>http://myserver.com/MyService/MyService</endpoint>
<projectFile>${project.basedir}/src/test/resources/MyService-soapui-project.xml</projectFile>
<projectProperties>
<value>Username=abc</value>
<value>Password=123</value>
</projectProperties>
<outputFolder>${project.build.directory}\soapui-logs\test</outputFolder>
<soapuiProperties>
<property>
<name>soapui.log4j.config</name>
<value>${basedir}\src\test\resources\soapui-log4j.xml</value>
</property>
<property>
<name>soapui.logroot</name>
<value>${project.build.directory}\soapui-logs\</value>
</property>
</soapuiProperties>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
Additionally, I was able to add several almost identical executions with different id's, to run my same TestSuite versus different servers.
So, I have executions for:
<execution>
<id>soapui-tests-on-server1</id>
...
<outputFolder>${project.build.directory}\soapui-logs\server1</outputFolder>
and
<execution>
<id>soapui-tests-on-server2</id>
...
<outputFolder>${project.build.directory}\soapui-logs\server2</outputFolder>
and
<execution>
<id>soapui-tests-on-server3</id>
...
<outputFolder>${project.build.directory}\soapui-logs\server3</outputFolder>
Maven is an amazing automation tool for running soapui. Thanks for making this plugin happen!
And finally, in soapui-log4j.xml, which I placed in src/test/resources, I put the logging level to INFO:
<logger name="com.eviware.soapui">
<level value="INFO" />
</logger>