29 Apr 2021 12:12 PM - last edited on 10 Mar 2023 03:20 PM by Ana_Kuzmenchuk
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
Solved! Go to Solution.
29 Apr 2021 03:16 PM
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.
03 May 2021 08:54 AM
To elaborate on @pahofmann'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.
Currently we have no plans to add native mobile applications support to our synthetic monitor capabilities.
04 Jan 2022 10:11 AM
Hello Team,
Is the Synthetic Monitoring in place for native mobile apps now !
Also, is there any other way out for this!
04 Jan 2022 02:08 PM
@henk_stobbe, @chaudhari_prach ,
We have a native mobile apps synthetic offering. It is available in the Dynatrace Hub:
https://www.dynatrace.com/hub/detail/how-fast-is-your-app/
24 Mar 2022 09:15 AM
Hello @AntonioSousa
How is your experience? We are mainly interested in the availability.
Can we use the same for Hybrid mobile applications?
Regards,
Babar
24 Mar 2022 01:10 PM
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.