Forum Discussion

apollo14's avatar
14 years ago

soapUI Rest Testing Using Maven Script

Hi,

I am trying to execute a soapUI REST Test Project using maven command. The command that i am using is "mvn test" and seeing the following error

[ERROR] TestCase failed without assertions

The test cases work when i run them within soapUI.

Following is the snippet which i am using for soapUI in the pom.xml file

<plugins>
<plugin>
<groupId>eviware</groupId>
<artifactId>maven-soapui-plugin</artifactId>
<version>3.5.1</version>
<executions>
<execution>
<configuration>
<projectFile>AES-Smoke-Tests-ST-soapui-project.xml</projectFile>
<outputFolder>target/surefire-reports/</outputFolder>
<printReport>true</printReport>
<junitReport>true</junitReport>
<coverage>target/surefire-reports/</coverage>

<!--<host>http://127.0.0.1:8181</host>-->
</configuration>
<goals>
<goal>test</goal>
</goals>
<phase>test</phase>
</execution>
</executions>
</plugin>
</plugins>

Any help in this would be highly appreciated.

Thanks

-G

1 Reply

  • amirsliem's avatar
    amirsliem
    Occasional Contributor
    You need to reference the artifact Id

    i.e.

    mvn eviware:maven-soapui-plugin:test