cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

Controller (SaaS, On Premises)

Name a BT with Method-Endpoint-Header in Custom Match Rule with Custom Expressions

Name a BT with Method-Endpoint-Header in Custom Match Rule with Custom Expressions

Hi,
I would like to create a BT called: Method-Endpoint-Header

(e.g. POST-/api/customer/-HeaderValue)

I’ve used Custom Match Rule with a Custom Expression, which includes .split()s in the getter chain acting on the HTTPServletRequest object.
What I need is to know if there is the possibility to replace dynamic content in the Endpoint segment with a static string (e.g. if Endpoint is /api/customer/1234 I’d imagine something like a .replace([0-9]+,”id”), as it happens with .split(\/)).

Is it possible or should I create specific rules for endpoints that contain dynamic contents?
Thanks.

By replying you agree to the Terms and Conditions of the AppDynamics Community.
Name a BT with Method-Endpoint-Header in Custom Match Rule with Custom Expressions
0 REPLIES 0