Forum Discussion

ArunS's avatar
ArunS
Occasional Contributor
5 years ago

Unable to run ReadyAPI project using maven "mvn test"

Hi Team

I was trying to run ReadyAPI tests using pom.xml file using command "mvn test"

 

Geeting error "a required class was missing while executing com.smartbear:ready-api-maven-plugin:3.0.0:test: org/apache/commons/collections/collectionUtils"

 

Ready api version - 3.0.0

Sample project used is from installation derectory - SOAP Sample Project - <Program Files>/SmartBear/ReadyAPI-3-0-0/tutorials

 

Sample pom file used from here - https://support.smartbear.com/readyapi/docs/integrations/maven/example.html#pom

 

Could you please help on the issue

  • Thank you for the reply Rao!

     

    Hi ArunS , here's some documentation on the Maven integration you might find useful.

     

    I couldn't locate your support ticket, feel free to raise it by this link - Contact Support.

    Please let us know how the investigation with the Support team goes!

    Thank you.

  • nmrao's avatar
    nmrao
    Champion Level 3
    Haven't used ever soapui with maven.

    Couple of things.
    1. The link you are referring to is using version 3.2.5. However, you are using version 3.0.0. Trying correcting the version.
    2. Hope the machine you are using has license.
    3. The machine has internet access.
    4. Made any modification to sample pom.xml? Ensure those changes are correct. If you have developer around you, get pom.xml validated.
    5. Try running maven command in debug mode for detailed stacktrace.
    If above all are good, please raise ticket with SmartBear Customer.
    • ArunS's avatar
      ArunS
      Occasional Contributor

      nmrao 

      Thanks for the reply.

      Updated ReadyAPI version to 3.0.0 version in pom file as well

      All the questions were addressed before executing, we need to raise support ticket

      • sonya_m's avatar
        sonya_m
        SmartBear Alumni (Retired)

        Thank you for the reply Rao!

         

        Hi ArunS , here's some documentation on the Maven integration you might find useful.

         

        I couldn't locate your support ticket, feel free to raise it by this link - Contact Support.

        Please let us know how the investigation with the Support team goes!

        Thank you.

    • ArunS's avatar
      ArunS
      Occasional Contributor

      Team could you please help on this, anybody tried running readyapi tests using pom.xml file(maven dependency)?

      sonya_m @nmrao @HimanshuTayal @richie @msiadak 

       

      Actual usecase is, we suppose to run readyapi tests on diffeent machine, but we have depency jar file to be copied to Ready API installation directory befere execution, we want control jar files using pom.xml file rather than manually copy pasting