Collections:
Turn Off HTTP Response Compression in SoapUI
How to turn off HTTP response compression in SoapUI?
✍: FYIcenter.com
HTTP response compression reduces the data size and improves Website performance.
But it makes the test job difficult.
You can follow this tutorial to turn off HTTP response compression.
1. Click "File > Preferences". You see "Set global SoapUI settings" window.
2. Click on "HTTP Settings" and make this change:
[ ] Accept compressed responses from hosts
3. Click "OK" to save changes.
4. Run the following HTTP request again:
TestStep Name: Bing Home Endpoint: http://www.bing.com
5. Click the "Raw" tab on the Response panel. You see the response is no longer compressed:
HTTP/1.1 200 OK Cache-Control: private, max-age=0 Content-Length: 122227 Content-Type: text/html; charset=utf-8 Vary: Accept-Encoding P3P: CP="NON UNI COM NAV STA LOC CURa DEVa PSAa PSDa OUR IND" Set-Cookie: _SS=SID=2BCB20860FA76EF015E12B0F0E206FC5; domain=.bing.com; path=/ ... <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"> <script type="text/javascript"> //<![CDATA[ ...
The picture below shows you how to turn off HTTP response compression in SoapUI:
⇒ View Request Execution Log in SoapUI
⇐ gzip Compressed HTTP Response in SoapUI
2018-04-21, 11🔥, 0💬
Popular Posts:
How to generate date and time test values? Timestamp values are frequently needed in testing almost ...
How to generate currency test values? Currency test values are frequently needed in testing date and...
How to Open and Close Internet Explorer with UFT script? One way to open and close Internet Explorer...
How to use HTTP protocol to post an XML message to a server? You can follow this tutorial to post an...
How to set Content-Type to application/json? The server requires the Content-Type to be application/...