Forum Discussion

Manoj0516's avatar
Manoj0516
Occasional Contributor
7 years ago

How to run a single test suite through maven?

Hi    Here is my maven pom   <testSuite>${testSuiteParam}</testSuite>   Here is my soapui project   $ mvn eviware:maven-soapui-plugin:test -DtestSuite="TestSuite 1"   With above confi...
  • Manoj0516's avatar
    7 years ago

    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>${testSuite}</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.