spsuser
12 years agoOccasional Contributor
Property reset of TestRequest on TimeOut
Hello,
I am using a Test Suite in SoapUI Pro 4.5.1 (4.5.2 shows same behaviour).
Scenario:
I am reading properties from a excel based data source, create a TestRequest with the properties and write elements of interest in a excel based datasink (and loop)
Works as expected except for one case:
If a TestRequest step runs into a "java.net.SocketTimeoutException: Read timed out" the following datasink test step writes the data of the last working TestRequest step into the datasink.
That's a bit annoying as it looks in the Excel like it worked properly.
I experienced the behaviour as well with a groovy teststep where I read the "Time Taken" from the response
def Dauer = testRunner.testCase.testSteps["Test Request"].testRequest.response.timeTaken;
Does anybody know how to null/reset/clean the Response and its properties in this case?
I am using a Test Suite in SoapUI Pro 4.5.1 (4.5.2 shows same behaviour).
Scenario:
I am reading properties from a excel based data source, create a TestRequest with the properties and write elements of interest in a excel based datasink (and loop)
Works as expected except for one case:
If a TestRequest step runs into a "java.net.SocketTimeoutException: Read timed out" the following datasink test step writes the data of the last working TestRequest step into the datasink.
That's a bit annoying as it looks in the Excel like it worked properly.
I experienced the behaviour as well with a groovy teststep where I read the "Time Taken" from the response
def Dauer = testRunner.testCase.testSteps["Test Request"].testRequest.response.timeTaken;
Does anybody know how to null/reset/clean the Response and its properties in this case?