Forum Discussion

jayrdi's avatar
jayrdi
Occasional Contributor
11 years ago

Data Sink not working since upgrading Soap UI to 5.1.1

I had set up a series of Test Steps a few weeks ago that retrieved data from a site and exported it to an Excel file which was working correctly. I have recently purchased a contract with Soap UI Pro and upgraded to the latest version (5.1.1). Now my Test Case is failing on the Data Sink step with the error:
TestCase failed[java.lang.Exception: Failed to prepare testStep [DataSink: Final Data to Excel]; java.lang.StringIndexOutOFBoundsException: String index out of range: -1]

If I disable this step all the others work perfectly, it's just failing on this one although it worked fine before. Is this something to do with the new version?

I have attached a screenshot of the Data Sink step and Error Log.

Thanks,

jayrdi
  • Hi,

    We have updated our jar files in our latest version that is 5.1.1. They were originally upgraded in 5.1 to add .xlsx files. Can you add the same file in out file field and also the sheet name? If this doesn't work can you open a case on Support form attach the dataSource file too also make sure the loop is pointing to proper steps,
    http://www.soapui.org/Support/support-overview.html

    Thanks,
    Jeshtha