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

This product reached the end of support date on March 31, 2021.

BTM - Response time of method having particular argument

jalpeshs
Organizer

Hi Team,

 

We have requirement to calculate response time of method having particular argument.

 

We want Execution Time of 

Method:
executeMethod(org.apache.commons.httpclient.HostConfiguration hostconfig, org.apache.commons.httpclient.HttpMethod method, org.apache.commons.httpclient.HttpState state)
with  Argument:
http://10.60.5.251/rasr/services.rsr

 

Please suggest.

 

Regards,

Jalpesh Shelar

7 REPLIES 7

jalpeshs
Organizer

Anybody.

Hi Shelar,

Did you tried creating a web request time measure for the URI. 

You could do something like this.

Let us know if this helps.

-Sreerag

andreas_grabner
Dynatrace Guru
Dynatrace Guru

Have a look at the last comment from Glenn Mayer on this post: Capture method CPU time with BT

gareth_su
Contributor

I have face the same question, but I want to capture doPost execution time.

It seems can't use Methods Argument Value.

20150311_BT.dts

 

Hi Gareth,

Attached is the updated profile with one new measure called 'Time doPost' . This measure is capturing time for the doPost you mentioned in the screenshot. 

Hope this helps.

PET.profile.xml

-Sreerag

Hi Sreerag

doPost execution time can be measure.

Thank you for your help.

jalpeshs
Organizer

Hi Team,

We are not able to create BT for method having argument.

Please find below snapshot .

Please help.

Regards,

Jalpesh