# Synthetic mobile app testing

**URL:** <https://community.dynatrace.com/t/synthetic-mobile-app-testing/31300>\
**Category:** Synthetic Monitoring\
**Tags:** mobile-monitoring, synthetic-monitoring\
**Created:** [April 29, 2021, 11:12am UTC](https://community.dynatrace.com/t/synthetic-mobile-app-testing/31300 "2021-04-29T11:12:15Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![henk\_stobbe](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/henk_stobbe/32/30434_2.png) [@henk\_stobbe](https://community.dynatrace.com/u/henk_stobbe)\
**Post date:** [April 29, 2021, 11:12am UTC](https://community.dynatrace.com/t/synthetic-mobile-app-testing/31300/1 "2021-04-29T11:12:15Z")

</div>

Hello,

Is there anybody who has experience with synthetic for mobile apps? Testing the API end-point should be no problem but is there more?

Anybody suggestions?

KR Henk

---

<div class="post-metadata">

**Author:** ![pahofmann](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pahofmann/32/17076_2.png) [@pahofmann](https://community.dynatrace.com/u/pahofmann)\
**Post date:** [April 29, 2021, 2:16pm UTC](https://community.dynatrace.com/t/synthetic-mobile-app-testing/31300/2 "2021-04-29T14:16:21Z")

</div>

For an SLA / availability monitoring HTTP checks against the backend API should be fine and is what we have done for customers. For more insights we use RUM.

---

<div class="post-metadata">

**Author:** ![Philipp\_Kastner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/philipp_kastner/32/28797_2.png) [@Philipp\_Kastner](https://community.dynatrace.com/u/Philipp_Kastner)\
**Post date:** [May 3, 2021, 7:54am UTC](https://community.dynatrace.com/t/synthetic-mobile-app-testing/31300/3 "2021-05-03T07:54:05Z")

</div>

To elaborate on&nbsp;[@pahofmann](https://community.dynatrace.com/user/22796)’s answer. You can also link HTTP monitors to mobile applications monitored via RUM. See the “ **Actively monitor your mobile application’s back-end service availability** ” section of [this blog post.](https://www.dynatrace.com/news/blog/revamped-http-monitor-detail-pages-to-effortlessly-monitor-api-endpoints-and-mobile-back-end-services/)

Currently we have no plans to add native mobile applications support to our synthetic monitor capabilities.

---

<div class="post-metadata">

**Author:** ![chaudhari\_prach](https://avatars.discourse-cdn.com/v4/letter/c/c67d28/32.png) [@chaudhari\_prach](https://community.dynatrace.com/u/chaudhari_prach)\
**Post date:** [January 4, 2022, 10:11am UTC](https://community.dynatrace.com/t/synthetic-mobile-app-testing/31300/4 "2022-01-04T10:11:28Z")

</div>

Hello Team,

Is the Synthetic Monitoring in place for native mobile apps now !

Also, is there any other way out for this!

---

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [January 4, 2022, 2:08pm UTC](https://community.dynatrace.com/t/synthetic-mobile-app-testing/31300/5 "2022-01-04T14:08:32Z")

</div>

[@henk\_stobbe](https://community.dynatrace.com/user/11427), [@chaudhari\_prach](https://community.dynatrace.com/user/14781) ,

We have a native mobile apps synthetic offering. It is available in the Dynatrace Hub:

> **[How fast is your app? monitoring & observability | Dynatrace Hub](https://www.dynatrace.com/hub/detail/how-fast-is-your-app/)**
>
> Measure your native mobile app performance and availability on real Android and iPhone devices, with no instrumentation. Start your free trial today!

---

<div class="post-metadata">

**Author:** ![Babar\_Qayyum](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/babar_qayyum/32/13620_2.png) [@Babar\_Qayyum](https://community.dynatrace.com/u/Babar_Qayyum)\
**Post date:** [March 24, 2022, 9:15am UTC](https://community.dynatrace.com/t/synthetic-mobile-app-testing/31300/6 "2022-03-24T09:15:31Z")

</div>

Hello&nbsp;[@AntonioSousa](https://community.dynatrace.com/user/17213)

How is your experience? We are mainly interested in the availability.

Can we use the same for Hybrid mobile applications?

Regards,

Babar

---

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [March 24, 2022, 12:01pm UTC](https://community.dynatrace.com/t/synthetic-mobile-app-testing/31300/7 "2022-03-24T12:01:53Z")

</div>

[@Babar\_Qayyum](https://community.dynatrace.com/user/22017),

Yes, it should work with any mobile app.

---

<div class="post-metadata">

**Author:** ![gopher](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/gopher/32/5728_2.png) [@gopher](https://community.dynatrace.com/u/gopher)\
**Post date:** [March 24, 2022, 1:10pm UTC](https://community.dynatrace.com/t/synthetic-mobile-app-testing/31300/8 "2022-03-24T13:10:46Z")

</div>

Hi Henke,

As you mentioned it can be done using API calls and a whole raft of Pre / Post scripts & logic to simulate a user flow much like a browser script.

You’ll need a good dev, that really understands the flow & java script, but essentially you set up a flow like

[Get Auth]

- \> connect to AUTH API with device headers

← capture response token

$response\_token

[Logon]

→ Pass stored $response\_token to logon api

← Get back session id

$store session\_id

\> validate successful session

[perform function 1]

→ PUT request API + $response\_token + $session\_id

← GET response

validate response

[perform function 2]

→ PUT request API + $response\_token + $session\_id

← GET response

validate response

[LOG OUT]

API Synthetics (mobile) + RUM (mobile) + Service (Application) should give you all the coverage you need.

This is really not that different to what you would do with Mobile synthetics like Appium, logic just needs to be converted into ‘Dyna’ code.
