Forum Discussion

sebisteiner's avatar
sebisteiner
Occasional Contributor
13 years ago

[Resolved] Measure Request and Response size

Hi

I've set up a 'TestRunListener.afterStep' event.
Via
log.info("Size: " + testStepResult.getSize())
I'm logging the size (in bytes) of a SOAP response.

In the same Event (or maybe in a 'TestRunListener.beforeStep' event) I'd like to log the size of a SOAP request.

How can I do this?

Thanks for your response,
Sebastian