cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Need help in parsing post parameter value

gilgi
Advisor

Hi All, 

We have a Single Page Applications who is always calling the same url (a java servlet) but passing it always some post variable called req_data which includes two values, action and values. the format of the parameter as seen in developer tools for example is as follows: 

{action: "com.a.service.task.method";value: "val1"}

We actually need to measure times based on the values of the action but I'm failing to get the parameter values and parse them using regex.

As I have not done this before, could someone please help and point me to the right page in the docs that shows how to do that or even better just provide the guidelines ?

 

We're working with DCRUM 12.3

Thanks a lot,

Gil.

2 REPLIES 2

adam_piotrowicz
Dynatrace Pro
Dynatrace Pro

Gil,

Are you able to attach any screenshot from FF/Chrome developer tools?

gilgi
Advisor

Hi Adam, 

 

Here is the image. You can see that this servlet is getting a req_data object and I'm interested in parsing the response times based on the value of the action part.

Gil.