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

Measure based on XML tag

antoniofacchi
Contributor

Good morning,

I got a web-application that post a XML and I find it in request-parameter. I need to create some measures based on some of its tags (like: UserName, ClientName). I attached an example.

Could you provide indications how to do.

Thanks

Antonio

5 REPLIES 5

Babar_Qayyum
Leader

Hello Antonio,

I did the same to get the JSESSIONID from the cookie.

Just enabled the Cookie Attribute in the Request Header and then created a custom measure and used a Transformation Regex.

I guess in the same way you can also achieve your desired requirement.

Regards,

Babar

Hi Babar,

thank you for the repsponse.

Could you help me to find in my case what is wrong please?

1) I enabled the request-parameters, now I can see the xml in the purepath (dt_request_parameter.doc)

2) I created the measure how in dt_measure.doc

3) then the businnes transaction how in dt_business_transaction.doc

could you provide me any indications please?

Thanks and regards

Antonio

Hello Antonio,

Remove the 'URI' (/citrix/xx/x/x/) from the dt-measure and then check.

Regards,

Babar

antoniofacchi
Contributor

Hi Babar,

yes it works!!

Thank you very much for your support.

Bets regards

Welcome @antonio f.