Forum Discussion

arunbharath's avatar
arunbharath
Contributor
6 years ago

How to run multiple test suites from Jenkins?

I have a set of test suites in my project. I just want to run couple of test suites. How can I achieve this? I have to run it from Jenkins.

  • Use SOAPUI_HOME/bin/testrunner.bat or .sh utility based on os.
    In the build step of the jenkins, call the above utility and pass the suite(s) as argument which needs to be executed.
    If it does not support multiple suites, call(multiple times one after another) the utility suite wise.
  • nmrao's avatar
    nmrao
    Champion Level 3
    Use SOAPUI_HOME/bin/testrunner.bat or .sh utility based on os.
    In the build step of the jenkins, call the above utility and pass the suite(s) as argument which needs to be executed.
    If it does not support multiple suites, call(multiple times one after another) the utility suite wise.
    • arunbharath's avatar
      arunbharath
      Contributor

      HI Nmrao, Sorry for late response. Passing multiple test suite aruments is not working as expected. I using jenkins to excute my automation suits. I want to excute more than one test suite at a time. I don't want to run jenkins job multiples times.

      Please find my shell script

      "/ReadyAPI/bin/testrunner.sh" -s3.4.1_Sanity -r -a -j -f${WORKSPACE}/ReadyAPI_report -g "-RJUnit-Style HTML Report" -FXML -EQA ${WORKSPACE}

      • sonya_m's avatar
        sonya_m
        SmartBear Alumni (Retired)

        arunbharath , perhaps using Test Suite tags can help you accomplish your task. Please see my response to the topic you’ve started here