How to run a single test suite through maven?

Originally posted by Manoj0516 on November 25, 2017

Hi

Here is my maven pom

${testSuiteParam}

Here is my soapui project

image.png

$ mvn eviware:maven-soapui-plugin:test -DtestSuite=“TestSuite 1”

With above configuration, it is running both test suites instead of one.

How to run a single test suite through maven?

Originally posted by Manoj0516 on November 25, 2017

Figured out a solution.

In pom.xml, if we want to send a test suite name as dynamic then we need to give below tag only

${testSuite}

And corresponding Maven command as below

mvn eviware:maven-soapui-plugin:test -DtestSuite=“TestSuite 1”

Still, don’t know the difference between **${testSuite} vs ${testSuiteParam},**since that acts as a variable or placeholder that can be accessed through maven argument.