"Decompression of response failed" on LoadTestRunner

Q

Why am I getting the "Decompression of response failed" error on LoadTestRunner? My load test runs ok on SoapUI GUI.

✍: FYIcenter.com

A

You will get the "Decompression of response failed" error on LoadTestRunner, if the Web server is sending you gzip compressed HTTP responses.

For example, your load test has the following HTTP request:

TestStep Name: Bing Home
Endpoint: http://www.bing.com

If you launch LoadTestRunner from SoapUI GUI, you will get the "Decompression of response failed" error in the output:

java.io.IOException: Decompression of response failed
 at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpMethodSupport
    .getResponseBody(HttpMethodSupport.java:264)
 at com.eviware.soapui.impl.wsdl.submit.transports.http.support.methods
    .ExtendedGetMethod.getResponseBody(ExtendedGetMethod.java:154)
 at com.eviware.soapui.impl.wsdl.submit.transports.http.BaseHttpResponse.
    <init>(BaseHttpResponse.java:85)
 ...

To avoid this error, you need to go "File > Preferences > HTTP Settings" and uncheck the "Accept compressed responses from hosts" checkbox.

Save the change run LoadTestRunner again. The error will be gone.

 

"timeout value is negative" on LoadTestRunner

Launch LoadTestRunner from SoapUI GUI

Using SoapUI LoadTestRunner Command

⇑⇑ SoapUI Tutorials

2018-02-08, 220👍, 0💬