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

Mobile API's integration with Dynatrace

gurukris
Visitor

Hi Team,

 I have mobile API's and scripted by performance testing tool(j meter). I have created request attributes and added those request attribute into the request headers from the performance tool  and ran load test but i didn't see any api requests even though in the Dynatrace i am using proper query to fetch the api requests during test end during load test . any thing need to show case those api's in Dynatrace end

10 REPLIES 10

matthias_hochri
Dynatrace Pro
Dynatrace Pro

This "Mobile API" - Is it called via a Mobile application which is instrumented and monitored by a Dynatrace Android/iOS Agent? If so we need to see debug logs, to understand what the agent is doing when those APIs are called.

I have Mobile API's(api end points). API's were scripted using JMeter tool. now the challenging part is i want to see those endpoints in Dynatrace during load test. i have created requested attributes and add those attributes add into the each one of the API headers in the JMeter tool. i keep user load on the api's ran from the jmeter but those api's i am not able to see in Dynatrace. Hope you understand my problem statement  could you help me on this issue.

Can you give an example or more details of what you are doing, which API you are scripting and what you expect to see in Dynatrace? I did not yet understand what you are trying to achieve and if this is even mobile agent related or just about a mobile REST API...

iOS help: https://www.dynatrace.com/support/help/shortlink/ios-hub

Hi @Patrick_H  Thanks  for your quick response.

In Dynatrace there was an option called Dynatrace integration with load testing tools. Now i have implemented that option to my Mobile Rest API endpoints to see the client side response times in Dynatrace. but i didn't see any API calls in Dynatrace. For  better understanding can you please go through the below link 

https://blog.octoperf.com/dynatrace-integration-with-jmeter/

we have Dynatrace admin support team i believe  they have installed android one agent for mobile app and please help us if any thing needs to do add/implement to see mobile rest API's in Dynatrace. accordingly i will talk to my admin team

Hi,

after reading the linked blogpost I realized that this is not really related to Real User Monitoring - this is only about request headers, where you need to have your service backend monitored by a OneAgent as @matthias_hochri mentioned below. I'm not sure how to continue here as it seems this was categorized with the wrong tags for the forum as only mobile developers reacted, but this now reads more like a service instrumentation question.
(you don't need to duplicate your same answer in both reply treads, we are reading all of them)

iOS help: https://www.dynatrace.com/support/help/shortlink/ios-hub

then can i tag this question service instrumentation? @Patrick_H 

labels were change by a community moderator - lets hope someone with knowledge in this domain can answer

iOS help: https://www.dynatrace.com/support/help/shortlink/ios-hub

matthias_hochri
Dynatrace Pro
Dynatrace Pro

I am still not fully understanding the situation but I try to help. In general if you want to see an endpoint, it should be instrumented. So is your endpoint instrumented? Plus: If you want to see the client side as well your application (e.g. Mobile Application) needs to be instrumented as well. It will append a x-dynatrace header to your API calls and the instrumented endpoint will handle this x-dynatrace header accordingly. 

 Hi @matthias_hochri Thanks for your quick response. 

In Dynatrace there was an option called Dynatrace integration with load testing tools. Now i have implemented that option to my Mobile Rest API endpoints to see the client side response times in Dynatrace. but i didn't see any API calls in Dynatrace. For  better understanding can you please go through the below link 

https://blog.octoperf.com/dynatrace-integration-with-jmeter/

we have Dynatrace admin support team i believe  they have installed android one agent for mobile app and please help us if any thing needs to do add/implement to see mobile rest API's in Dynatrace. accordingly i will talk to my admin team

 

 

 

 

You can't do this if don't have one agent on the back end.
One agent provides capturing traffic from services but not RUM app JS/ or Mobile.

What you can do in case you have Jmetr and RUM only - is send logs into dynatrace after request/s and calculate your performance metrics

Featured Posts