Forum Discussion
Thanks Tanya for the inputs. I have tried giving the absolute path of the settings.xml eariler also like this
<projectFile>D:\HZN_E2E_SI_Git\E2E_HZN3-SoapUI-Automation\E2E_HZN3-SoapUI-Automation-project\settings.xml</projectFile>
On executing, it is identifying that the E2E_HZN3-SoapUI-Automation project, but it doesn't get the testsuite inside the settings.xml. Please see the console output
13:50:00,159 INFO [SoapUIProTestCaseRunner] Running tests in the project [E2E_HZN3_SoapUI_Automation]
[ERROR] java.lang.Exception: A test suite with the name [E2E_HZN3_UseCases] is missing in the project [E2E_HZN3_SoapUI_Automation]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 16.850 s
[INFO] Finished at: 2017-02-02T13:50:00+05:30
[INFO] Final Memory: 41M/354M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.smartbear:ready-api-maven-plugin:1.9.0:test (default) on project E2E_HZN3-SoapUI-Automation-project: Ready! API Test(s) failed: Ready! API Test(s) failed:
[ERROR] A test suite with the name [E2E_HZN3_UseCases] is missing in the project [E2E_HZN3_SoapUI_Automation]
But on trying to import as composite project in Ready API, it is importing all the testsuites in Ready API.
Also I am able to execute the testcases in the testsuite on running testrunner.bat
%soapUIHome%\testrunner.bat -sE2E_HZN3_UseCases(This will execute the testcases in the test suite)
Only on executing as maven project, it is not getting the testsuites inside the project.
One Doubt I have is that the testsuites are inside E2E_HZN3-SoapUI-Automation-project in E2E_HZN3-SoapUI-Automation folder. But on importing as composite project, we are giving the path till E2E_HZN3-SoapUI-Automation folder only. How they are taking the testsuites and settings.xml inside E2E_HZN3-SoapUI-Automation-project folder
Please correct if we are wrong anywhere
Hello Syamaprasad
Did you try to run it with the following configuration (no settings.xml in the projectFile property, only the directory path)
<projectFile>D:\HZN_E2E_SI_Git\E2E_HZN3-SoapUI-Automation\E2E_HZN3-SoapUI-Automation-project</projectFile>