AnsweredAssumed Answered

How to extract the response headers like status message through layer 7 context variables?

Question asked by Mansee on Jun 16, 2015
Latest reply on May 23, 2018 by Rudra_Singh

Hi

 

What context variables should we use if we want to extract the response header fields like status message etc. Tried using ${response.http.status-line} but this doesnt seem to be working.

We basically want to capture the header status message in case of say a 400 bad request. We are able to get the status code (i.e 400) but no the status message (i.e. Bad request). Can you please let us know what context variable to use for that?

Outcomes