Forum Discussion
geoffcamp
16 years agoContributor
If the number of bytes in the Response is contained within the Header then the Groovy script:
def value = testRunner.testCase.testSteps["Request"].testRequest.response.responseHeaders["Content-Length"]
should get you the number of bytes received for the Response.
def value = testRunner.testCase.testSteps["Request"].testRequest.response.responseHeaders["Content-Length"]
should get you the number of bytes received for the Response.