Forum Discussion

MihaiB's avatar
16 years ago

Groovy script updating the Properties not running from Test Suite testrunner

Hi *,

I'm working on a project using the Data Driven Web Service Testing and I'm using the recommandation from Data Driven Web Service Testing templates (http://soapui.com/userguide/scenarios/datadriven.html , section "Setting the properties with Groovy" - my test case looks exactly like the one from the given example): I'm using a groovy script to update the Properties with the data from my input properties file (data which is changing at each test run), then a Properties step followed by a Property Transfer step.

My problem is that when I'm running my tests from the test case editor the Properties are correctly updated with the new data from the input file, but when I'm running the tests using the test suite testrunner my Properties are not updated (although the groovy script used to update the Properties is run).
My test suite contains only one test case.

I'm using SoapUI 3.0.1, but I've also tried it on 3.5 to no avail.

Thanks in advance
No RepliesBe the first to reply