Forum Discussion
SmartBear_Suppo
Alumni
15 years agoYou should be able to use the messageExchange.getRawRequestData() method.
This returns a byte[] with the contents from the Raw panel, which can be converted into a String:
Which prints out something like:
Regards,
Dain
eviware.com
This returns a byte[] with the contents from the Raw panel, which can be converted into a String:
log.info new String( messageExchange.getRawRequestData() )
Which prints out something like:
Wed Aug 11 11:41:37 CEST 2010:INFO:GET http://localhost:8080/NewsSearchService/V1/madonna_xml.xml HTTP/1.1
Accept-Encoding: gzip,deflate
User-Agent: Jakarta Commons-HttpClient/3.1
Host: localhost:8080
Regards,
Dain
eviware.com