Tamas_Rev
16 years agoNew Contributor
Retrieve LoadTest message body
Hi,
My current task is to extract some business data from a SoapUI load test results. I'm using soapUI 3.0.1. The thing that already works with any non-loadTest test case is this:
However, if I run it from a loadtest and log the results, I get something like this:
Is there any way to preserve this data for further processing? I thought it might be a trick with the STATUS_PROPERTY of the TestCase interface, however, couldn't find the possible values of this field.
Regards,
Tamas
My current task is to extract some business data from a SoapUI load test results. I'm using soapUI 3.0.1. The thing that already works with any non-loadTest test case is this:
def result = testRunner.runTestStepByName(requestName);
def saver = new StringWriter();
result.writeTo(new PrintWriter(saver));
However, if I run it from a loadtest and log the results, I get something like this:
---------------- Request ---------------------------
<discarded>
---------------- Response --------------------------
- missing response / garbage collected -
Is there any way to preserve this data for further processing? I thought it might be a trick with the STATUS_PROPERTY of the TestCase interface, however, couldn't find the possible values of this field.
Regards,
Tamas