i'm trying to find the way how to set relativePath for project xml's and also for datasource. Cause' I'm trying to automate all soap and rest tests in our company. And all collegues create their own soapui tests/projects and plan is run this projects or just suites, testCases from Bamboo.
what I trying is:
private static final String OUTPUT_FOLDER_PATH = WorkspaceImpl.class.getResource("src/test/resources/suites/").getPath();
and than from bamboo i will send specific name of the XML what I want to start.
but problem is that i'm not sure if this way is correct, cause' doesnt work. Could somebody write me how to do it? Some example will help 🙂
I use 2.2 for now and I create a folder where I store any project's xml along with the keystore in that folder. Then I can refer to the ksystore password and ksystore from a groovy script using the relative path. I can launch test runner from linux using the command