02 Jul 2024 09:24 AM - last edited on 12 Jul 2024 03:11 PM by MaciejNeumann
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
Solved! Go to Solution.
08 Jul 2024 09:27 AM
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.
09 Jul 2024 12:35 PM
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.
09 Jul 2024 02:16 PM
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...
11 Jul 2024 06:50 PM
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
12 Jul 2024 06:58 AM
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)
12 Jul 2024 08:50 AM
then can i tag this question service instrumentation? @Patrick_H
16 Jul 2024 07:02 AM
labels were change by a community moderator - lets hope someone with knowledge in this domain can answer
09 Jul 2024 02:03 PM
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.
11 Jul 2024 06:50 PM
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
16 Jul 2024 09:47 AM
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