Entersekt_Suppo
12 years agoOccasional Contributor
Defect: datasource fails first time
Dear support team,
This defect will ALWAY fail, whenever executed from maven command line.
In order to reproduce this defect in the SoapUI user interface, perform the following:
[list=]
create a new clean soapui project from scratch
create a datasource (it could be a grid datasource, or a file datasource ... I suspect it would fail for ALL forms of datasource)
populate the datasource with data
write a groovy test step to output the current value of the datasource
loop over the datasource
You will find that the groovy script will return a value of NULL whenever executed first.
However, after running the entire test case, the groovy step will execute fine thereafter.
This behavior becomes troublesome when running from the maven command line.
A value of NULL will always be returned as the datasource value.
This is applicable to the latest version of SoapUI PRO. I suspect it would also affect other versions of soapui.
Warmest regards,
- michael
This defect will ALWAY fail, whenever executed from maven command line.
In order to reproduce this defect in the SoapUI user interface, perform the following:
[list=]
You will find that the groovy script will return a value of NULL whenever executed first.
However, after running the entire test case, the groovy step will execute fine thereafter.
This behavior becomes troublesome when running from the maven command line.
A value of NULL will always be returned as the datasource value.
This is applicable to the latest version of SoapUI PRO. I suspect it would also affect other versions of soapui.
Warmest regards,
- michael