Forum Discussion

Buschfunk's avatar
Buschfunk
Frequent Contributor
14 years ago

DataSource of type Groovy causes crash

Hello,

Here is a bug report concerning the DataSource test step. Under the below circumstances it causes soapUI to lock up and crash.

Version tested
soapUI Pro 4.0.1

Steps to reproduce

1.
Create a test step "DataSource" in a test case and set the type to "Groovy".

2.
Create a property, e.g. "myProperty".

3.
Edit the Groovy script like this:
result["myProperty"] = "Hello World"


4.
Run the test step by clicking the green "Play" button.

5.
Enter any value except 0 for the number of rows and click "OK". Everything is fine.

6.
Repeat step 4 but enter 0 (all rows). When hitting "OK" soapUI starts something like an endless loop and crashes after a while.

Sincerey,
Robert

1 Reply

  • Hi Robert,

    hehe.. thanks for pointing this out - since the script never returns an empty property-set the datasource will never seem to end.. we'll have to add some kind of internal sanity counter..

    regards!

    /Ole
    SmartBear Software