# Mobile API's integration with Dynatrace

**URL:** <https://community.dynatrace.com/t/mobile-apis-integration-with-dynatrace/46406>\
**Category:** Open Q&A\
**Tags:** services-classic, request-attributes\
**Created:** [July 2, 2024, 8:24am UTC](https://community.dynatrace.com/t/mobile-apis-integration-with-dynatrace/46406 "2024-07-02T08:24:13Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![gurukris](https://avatars.discourse-cdn.com/v4/letter/g/9fc29f/32.png) [@gurukris](https://community.dynatrace.com/u/gurukris)\
**Post date:** [July 2, 2024, 8:24am UTC](https://community.dynatrace.com/t/mobile-apis-integration-with-dynatrace/46406/1 "2024-07-02T08:24:13Z")

</div>

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&nbsp; 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

---

<div class="post-metadata">

**Author:** ![matthias\_hochri](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/matthias_hochri/32/15052_2.png) [@matthias\_hochri](https://community.dynatrace.com/u/matthias_hochri)\
**Post date:** [July 8, 2024, 8:27am UTC](https://community.dynatrace.com/t/mobile-apis-integration-with-dynatrace/46406/2 "2024-07-08T08:27:54Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![gurukris](https://avatars.discourse-cdn.com/v4/letter/g/9fc29f/32.png) [@gurukris](https://community.dynatrace.com/u/gurukris)\
**Post date:** [July 9, 2024, 11:35am UTC](https://community.dynatrace.com/t/mobile-apis-integration-with-dynatrace/46406/3 "2024-07-09T11:35:29Z")

</div>

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&nbsp; could you help me on this issue.

---

<div class="post-metadata">

**Author:** ![matthias\_hochri](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/matthias_hochri/32/15052_2.png) [@matthias\_hochri](https://community.dynatrace.com/u/matthias_hochri)\
**Post date:** [July 9, 2024, 1:03pm UTC](https://community.dynatrace.com/t/mobile-apis-integration-with-dynatrace/46406/4 "2024-07-09T13:03:04Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Patrick\_H](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/patrick_h/32/37540_2.png) [@Patrick\_H](https://community.dynatrace.com/u/Patrick_H)\
**Post date:** [July 9, 2024, 1:16pm UTC](https://community.dynatrace.com/t/mobile-apis-integration-with-dynatrace/46406/5 "2024-07-09T13:16:56Z")

</div>

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…

---

<div class="post-metadata">

**Author:** ![gurukris](https://avatars.discourse-cdn.com/v4/letter/g/9fc29f/32.png) [@gurukris](https://community.dynatrace.com/u/gurukris)\
**Post date:** [July 11, 2024, 5:50pm UTC](https://community.dynatrace.com/t/mobile-apis-integration-with-dynatrace/46406/6 "2024-07-11T17:50:11Z")

</div>

Hi&nbsp;[@matthias\_hochri](https://community.dynatrace.com/user/2925) Thanks for your quick response.

In Dynatrace there was an option called **Dynatrace integration with load testing tools.** &nbsp;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&nbsp; better understanding can you please go through the below link

> **[Dynatrace integration with JMeter - OctoPerf](https://blog.octoperf.com/dynatrace-integration-with-jmeter/)**
>
> Looking at how JMeter can integrate with Dynatrace through the use of custom headers. Retrieve your test metrics in dynatrace and correlate them with other metrics.

we have Dynatrace admin support team i believe&nbsp; 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

---

<div class="post-metadata">

**Author:** ![gurukris](https://avatars.discourse-cdn.com/v4/letter/g/9fc29f/32.png) [@gurukris](https://community.dynatrace.com/u/gurukris)\
**Post date:** [July 11, 2024, 5:50pm UTC](https://community.dynatrace.com/t/mobile-apis-integration-with-dynatrace/46406/7 "2024-07-11T17:50:59Z")

</div>

Hi&nbsp;[@Patrick\_H](https://community.dynatrace.com/user/31862)&nbsp; Thanks&nbsp; for your quick response.

In Dynatrace there was an option called **Dynatrace integration with load testing tools.** &nbsp;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&nbsp; better understanding can you please go through the below link

> **[Dynatrace integration with JMeter - OctoPerf](https://blog.octoperf.com/dynatrace-integration-with-jmeter/)**
>
> Looking at how JMeter can integrate with Dynatrace through the use of custom headers. Retrieve your test metrics in dynatrace and correlate them with other metrics.

we have Dynatrace admin support team i believe&nbsp; 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

---

<div class="post-metadata">

**Author:** ![Patrick\_H](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/patrick_h/32/37540_2.png) [@Patrick\_H](https://community.dynatrace.com/u/Patrick_H)\
**Post date:** [July 12, 2024, 5:58am UTC](https://community.dynatrace.com/t/mobile-apis-integration-with-dynatrace/46406/8 "2024-07-12T05:58:18Z")

</div>

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&nbsp;[@matthias\_hochri](https://community.dynatrace.com/user/2925)&nbsp;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)

---

<div class="post-metadata">

**Author:** ![gurukris](https://avatars.discourse-cdn.com/v4/letter/g/9fc29f/32.png) [@gurukris](https://community.dynatrace.com/u/gurukris)\
**Post date:** [July 12, 2024, 7:50am UTC](https://community.dynatrace.com/t/mobile-apis-integration-with-dynatrace/46406/9 "2024-07-12T07:50:59Z")

</div>

then can i tag this question service instrumentation?&nbsp;[@Patrick\_H](https://community.dynatrace.com/user/31862)

---

<div class="post-metadata">

**Author:** ![Patrick\_H](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/patrick_h/32/37540_2.png) [@Patrick\_H](https://community.dynatrace.com/u/Patrick_H)\
**Post date:** [July 16, 2024, 6:02am UTC](https://community.dynatrace.com/t/mobile-apis-integration-with-dynatrace/46406/10 "2024-07-16T06:02:43Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Slawa](https://avatars.discourse-cdn.com/v4/letter/s/ee7513/32.png) [@Slawa](https://community.dynatrace.com/u/Slawa)\
**Post date:** [July 16, 2024, 8:47am UTC](https://community.dynatrace.com/t/mobile-apis-integration-with-dynatrace/46406/11 "2024-07-16T08:47:27Z")

</div>

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
