please find the details as below:JS Script:try { var body=
context.getVariable('response.content'); var noBytes=
(unescape(encodeURIComponent((body)))).length; //
context.setVariable("request.header.content-length",req.length);
context.setVariable('r...