Forum Discussion

raviraj's avatar
raviraj
Occasional Contributor
7 years ago
Solved

Executing ReadyAPi multiple testSuite within a project with maven and Jenkins?

Hi ,   I have a Ready API's [Soap UI Pro] project configured through maven to run on jenkins now the issue i can execute either a testSuite or entire project So is there any way for executing multi...
  • Nastya_Khovrina's avatar
    7 years ago

    Hi Raviraj,

     

    Thank you for your post. You will need to specify test suites in the following way:

           <executions>
              <execution>
                <id>TestSuite 1</id>
                <phase>test</phase>
                <goals>
                  <goal>test</goal>
                </goals>
                <configuration>
                  <projectFile>Project-1-soapui-project.xml</projectFile>
                  <testSuite>TestSuite 1</testSuite>
                </configuration>
              </execution>
              <execution>
                <id>TestSuite 2</id>
                <phase>test</phase>
                <goals>
                  <goal>test</goal>
                </goals>
                <configuration>
                  <projectFile>Project-1-soapui-project.xml</projectFile>
                  <testSuite>TestSuite 2</testSuite>
                </configuration>
              </execution>

             </executions>

     

    Please find the entire pom. xml file attached.