No HTTP Response Codes in Frontends/Backends for Java and .Net Agent
search cancel

No HTTP Response Codes in Frontends/Backends for Java and .Net Agent


Article ID: 192699


Updated On:


CA Application Performance Management Agent (APM / Wily / Introscope) CA Application Performance Management (APM / Wily / Introscope) INTROSCOPE DX Application Performance Management


Trying to determine why CA APM is not reporting HTTP Response Codes for back-end WebService calls in Transaction Traces. I also see the same issues for Frontends. The same thing happens for Java and .Net Agents




Release : 11.1.3

Component : APM Agents


 Regarding “HTTP Status Code” we only show them in Backends and not in Frontends. This is because, a Frontend can call more than one backend and sometimes those backends can be asynchronous calls. Hence, it is not meaningful to show status code for frontends.

As to backends, GenericHttpClientErrorCodeTracer which traces the SetResponse method shows status code. This GenericHttpClientErrorCodeTracer is an Error Code Tracer (i.e. when we get a HTTP Response that IS NOT 2xx or 3xx).

The response code is not shown in other conditions and hence you see “HTTP Status Code” in only "Backends|WebService at {protocol}_//{host}_{port}|Paths|{path}" when there is an error.

This is per code if you cross-check the same with the provided logs, we are able to see “HTTP Status Code” only in error traces of Backends|WebService.."