Highlighted
Contributor.. Contributor..
Contributor..
1247 views

Decrypt the BodyBinary value in loadrunner web_custom_request with GZIP encoding

Need to decrypt the BodyBinary value which is captured for a ThickClient Application based on .Net WCF Web Services with GZIP Encoding

Sample request that is captured during recording

    web_custom_request("Service_15", 
        "URL=https://poc.com/TrebuchetService", 
        "Method=POST", 
        "Resource=0", 
        "RecContentType=application/x-gzip", 
        "Referer=", 
        "Snapshot=t16.inf", 
        "Mode=HTML", 
        "EncType=application/x-gzip", 
        "BodyBinary=x\\x01}\\x90?K\\xC3@\\x18\\xC6{*R\\xAD\\x08\\x1A'\\x11\\xC1\\xB5\\x94$M\\xDB\\xA4u1\\xA5\\x01\r(\\x15[2\\xB8%\\xB97\\xCD\\xC1%\\x17\\xEF.\\x8Ak?\\x84\\xA5\\xAB\\xAB8\\xB99\\xBB\n\\x0E~\\x00?\\x85\\x8B\\x8B\tv\\x12\\xF1\\xDD^x\\xF8=\\x7F\\xBC\\xA5\\x1A\\x12+5\\xE4\\xAFzUg}\\xBF2\\x9D\\x1F\\xC5Rf\\x87\\x9A&!\\xC9rNT\\xC6'\\x9A{\\x01\t\\x93$\\x9D\\x8C\\x80_\\x03\\xD7\\x8EA\\x0E(\\x81T\\x8En\\xD3\\xD0M\\x85\\xE4y(\tKO\\x89\\x90\\xCE\\xEE\\xE3\\xC7\\xD6\\xE7\\x90].\\x0F\\xA7\\x8D/"
        "\\xF6t\\xE0\\xDE9\r\\xA7\\xFE\\xB0\\x83\\x9C\\x8D\\x92\\xDF/\\xF9\\xA20 R\\x00\\x8DDA$!\\\\\\xF9*\r\\xD4\\x90%\\xDA \\x06~\\x03\\x94\\xF6\\xB3l\\xE16\\xE6\\x10\\xE4a\\x0C\\xB2\\xFC\\x0B-\\xF26\\xED\\xBD\\xFF\"T\\x95?:\\xD8k\\x19g\\x11\\xA1\\xE0\\xE2y\\xBD\\xD76,\\x03[\\x96\\xA1\\x1B~\\xD03\\xA2\\x166u\\xCBlc\\x08\\xFD\\xAE\\xAFc\\xB3\\xD7m61\\xEE\\x80\\xDE\\xB2\\x15\\xEA\\x8B\\xDF=go\\xCA\\xF3\\xCB\\xEB\\xFD\\xFB\\x89\\xBD-\\x8A\\x05\\xCE\\x7F\\xC0g\\x0C\\x8FI\\x02\\xB3\\xCA\\xE2\\x10B\\xDFv)y\\xB1", 
        LAST);

 

I tried to capture the request in Fiddler and seeing encoded text.

xڝ Oo 0_ p   *q`_0!M_q`  f-] i    ҭ) [ /  Ď엕 ȷ #__|  | _|  p       _G {??= ݅  

_Y 朵 ;_ƍ!bX7M   $+

90߹ O@:LQ 

 @     >  
8YVmP 

Is there a way to capture the request and response in a readable format?

Thanks

0 Likes
2 Replies
Highlighted
Honored Contributor.
Honored Contributor.

Re: Decrypt the BodyBinary value in loadrunner web_custom_request with GZIP encoding

0 Likes
Highlighted
Contributor.. Contributor..
Contributor..

Re: Decrypt the BodyBinary value in loadrunner web_custom_request with GZIP encoding

Yes, i tried few of the DFEs - Binary to XML Extension & Prefix Postfix Extension, but it didnt decode the data. Is there any other way to address this?

 

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.