Posted: 2 Dec 2020 3:42 EST Last activity: 9 Jan 2021 1:39 EST
How to inject custom HTTP Request application header on every interaction/click of Pega portal
We would like to know is there any way in Pega to add custom HTTP header in request for every transaction/click end user is doing.We are trying to use these headers in AppDynamics to analyze/monitor the end user transaction behaviour.
We know that pega will support adding HTTP response headers as mentioned in below article.
Can you elaborate more on your use case, in particular:
Which system components are sending HTTP requests to which others?
Which HTTP requests need to contain the custom header?
What sort of information needs to be included as the value of the custom header?
Where would this header value be sourced from? Pega?
The likely answer is that if you are hoping to add custom headers to HTTP requests sent from the browser, then I doubt you can influence this from Pega unless AppDynamics has a particular pattern of setting up your DOM on page load with directives which it can use when it constructs requests to AppDynamics servers. This would have to be specified by AppDynamics.
HTTP Transactions i mean is every click in pega end user portals, ex: case worker/case manger portal
Example scenario: in case user portal if user opened case from his worklist then this is hTTP transaction right during this transaction we would like to introduce customer header with value as workobject id
like this in appd we capture these custome headers nd values and do some kind of analysis and generate reports like what workobjects iser oped nd where user experienced slowness.