Forum Discussion

msalvador's avatar
msalvador
Frequent Contributor
3 years ago

ReadyAPI and maven

Hi guys,

I want to integrate ReadyAPI in maven project, in order to run integration tests.

But I don't know how it works, I don't know the process flow.

So someone have snippets or samples in order to understand how it works.

My goal is to execute tests via jenkins.

I will appreciate if someone can help me.

  • TNeuschwanger's avatar
    TNeuschwanger
    Champion Level 1

    Hello msalvador 

     

    Is integration in Maven a requirement to execute tests in Jenkins?  I didn't know that was a possibility.  I do not have access to Jenkins right now, but in prior work, we had ReadyAPI being run from Jenkins for years.

     

    I have only used the testrunner feature of ReadyAPI to run tests in Jenkins.  Command line execution worked fine for me running through Jenkins.

     

    -Jenkins would retrieve my project from Git

    -Jenkins would execute the desired tests via calling TestRunner

    -Jenkins would show results from that "build"

     

    repeat that flow when desired.

     

    This is not Maven specific but would meet your goal of running in Jenkins.

     

    Regards

    Todd

    • msalvador's avatar
      msalvador
      Frequent Contributor

      Hello Todd,

      thank you for the reply, I use testrunner too, I try to use maven in order to import Zephyr scale plugin for junit results.

      So, ReadyAPI results must be exported such as a junit.xml file, and then imported into Zephyr scale, unlucky there ins't a native plugin between ReadyAPI and Zephyr, so I must use this flow in order to execute tests and import results into Zephyr