Forum Discussion

SaraCavelind's avatar
SaraCavelind
Contributor
14 years ago

Datasource location when running in maven

Hi!
I have this problem:
When I run the soapUI test manually and I refers to a datasource (located in the same directory as the projectfile) I can refer to it as either "filename" or ${projectDir}\filename.
But..
When I run it using maven it appears as If the excelfile is not read (atleast I get all empty in the requests).
Is there some other magic that needs to be done in order to be able to use datasources with maven?

1 Reply

  • Hi,

    sorry for the delayed response - the ${projectDir} version should work under maven as well if you have the excel file in the same folder as your project - is that the case?

    Not specifying a folder will result in soapUI looking in the current working directory

    Does that help?

    regards!

    /Ole
    SmartBear Software