Quantcast
Channel: LoadRunner Practitioners Forum topics
Viewing all articles
Browse latest Browse all 3978

lr_zip function raises CRC error during decoding

$
0
0

 

Hello everyone,

 

I'm working on a LoadRunner project (v12) to simulate HTTP RESTfull traffic.

 

The hard part to simulate is an HTTP request which contains a body with binary content: a g-zipped XML file with some JPEG inside.

 

I've used lr_zip and in effect it does the job but when the size of the file is increasing, (around 400k with one or more JPEG inside), I have a CRC verification which fails during the decoding on the server.

I've also sniffed the traffic with Fiddler and the request body seems OK but the Content-Length is around 20k while it should be around 1M...

 

Another strange behavior is that in the run time variables, the zipped parameter appears to be 3 char long, as there were some buffer issues during the GZIP process so that it is not possible to manually set a Content-Length with the default LR functions.

 

Thanks in advance for your precious help,
Enrico


Viewing all articles
Browse latest Browse all 3978

Trending Articles