Forum Discussion

JustinM89's avatar
JustinM89
Contributor
6 years ago

TestSuite missing in project error when running test with Maven

I'm trying to execute a test suite from a composite SoapUI project using the soapui-pro-maven-plugin but am having a hell of a time getting it to work. I did search on the forum here and see some oth...
  • Lucian's avatar
    6 years ago

    Hey,

     

    The projectFile has to reference either the SoapUI project file for a non-composite project or the SoapUI project folder for a composite project. I seriously doubt it will ever work for you if you'll reference the settings.xml file.

     

    What I guess did happen for you was:

    1. You first used the soapui maven plugin (which corresponds to the open source soapui)

    • thus the concept of composite project was unkown (therefore you would get an error when selecting a folder)
    • when selecting the xml file (in this case settings.xml), the application would scan for a test suite named Call-Tests inside of it (which naturally didn't exist because that xml file was not the actual project file)

    2. You now use the correct maven plugin but you still reference the settings file and not the composite project directory :)

     

    Let me know if it still doesn't work and I'll try to help you.