Forum Discussion

stevewallone's avatar
stevewallone
New Contributor
13 years ago

Data Source Access Fails from Maven

SoapUI 4.5.1 plugin with Maven

When running from within SoapUI I've got a functioning test that loads the datasource correctly and I am then able to access the loaded data in a subsequent Groovy script step.

log.info context.expand( '${DataSource#req_messageID}' )

However, when running the same testCase via the Maven plugin the datasource is not loaded. I have verified that the path to the xls file for loading is passed into the maven run, and accurate.

Any suggestions are greatly appreciated.

2 Replies

  • schofie's avatar
    schofie
    New Contributor
    Hello I am having the exact same problem - is there any solution to this?

    I have selected the file using the browse in the datasource, so it can't be that it cannot find it. I also tried editing the filename to be incorrect, but there were no 'file not found' errors, it's as if the datasource is not even trying to load the file.
  • schofie's avatar
    schofie
    New Contributor
    I have changed my maven plugin to the pro version - my datasources now load :-)

    <artifactId>maven-soapui-pro-plugin</artifactId>
    <version>4.5.1</version>