Quantcast
Channel: New board topics in SmartBear Community
Viewing all articles
Browse latest Browse all 21061

Response Size: Why does size() and rawResponseData.length is showing differerent response sizes?

$
0
0

Hi, 

 

I am writing a groovy script that will record the response time of SOAP queries. BUT I am getting different Response sizes between this two lines. I was checking which one of them is accurate. Unfortunately, none of these two is similar to what is shown in the Response Log of my SOAP Response.

 

log.info PropertyName.size()   

 

and

 

responseSize = testRunner.runTestStepByName("PropertyName").rawResponseData.length
log.info responseSize

 

size() is displaying: 51667

rawResponseData.length is displaying: 30716

But the actual Response size from the Response Log is 30588 bytes

 

Kind regards,


Viewing all articles
Browse latest Browse all 21061

Trending Articles