VSE Response non-readable format for content encoding gzip
search cancel

VSE Response non-readable format for content encoding gzip

book

Article ID: 100161

calendar_today

Updated On:

Products

CA Application Test CA Continuous Application Insight (PathFinder) Service Virtualization

Issue/Introduction

We are virtualizing REST service (GET) with DEV TEST. While hitting the service with browser or SoapUI we are seeing valid JSON response. But the response is in non-readable format.

Environment

All supported DevTest Environments

Cause

If your request would be sending the header Content-Encoding : gzip, and VS 's sends response as json but the server might not expecting a compressed response. 

Resolution

Remove these arguments from the Response META data in the VSI. 

* Content-Encoding ="gzip" 
* WasGzip ="gzip"

Redeploy your VSM.