AnsweredAssumed Answered

Log JSON Request/Response payload Size

Question asked by jaykumar.solanki on Apr 10, 2018
Latest reply on Apr 11, 2018 by jaykumar.solanki

Hi All,

 

I need to log the size of incoming JSON request  as well as the size of response returned. I've tried with some the context variable,but all i'm getting is length of the payload[total characters in request body part]. What is the possible way to log the size in bytes?

 

jsonpayloadsize logsize 

Outcomes