Every mobile app developer should consider how end-users of their app experience their app or service. For this purpose, Bitbar has developed its user experience monitoring that allows app developer organization to monitor, inspect and get instantly alarmed if something happens with the user experience flow from end-user’s point of view. To get the best possible tools and method available for developers, we’ve launched a localized monitoring service that uses real Android and iOS devices, with real networks and variety of different geographical locations.
This blog provides all steps you need to do in order to get started with synthetic mobile monitoring at any location around the world.
The most critical metrics for mobile monitoring are the user experience, performance, up-time and how transactions work from various locations. Bitbar Monitoring provides the most cutting-edge and unique solution for companies to monitor their apps, mobile games, websites and back-end integrations, around the world using proactive synthetic mobile monitoring to ensure user experience requirements are meet.
Step 1: Create Account for The Service (Or Use Your Existing Bitbar Account)
To get started, create yourself an account at Bitbar. If you have an account with Bitbar Testing you can use the very same account for Bitbar Monitoring and no additional account creation is required. Account can be created in both locations:
After you have created account, log in to the service. If you are looking for a personal demonstration of how Bitbar Monitoring works, what it will deliver for you and how to use it with all its awesome features, you can also schedule a mobile monitoring presentation with our experts.
Step 2: Select Which Type of Monitoring Check to Run
Whether you are in need of relevant and accurate data about your mobile app on any physical locations, the Bitbar User Experience Monitoring provides you versatile options to implement ‘Checks’ for your app, game, website or backend-integration. The ‘Check’ is an execution of a defined Appium test automation script, single HTTP GET command or a page load for your website against any web end-point. Simply, click ‘Create Check’ on main dashboard of Bitbar Monitoring and the following selection window will be open:
The HTTP GET is a basic API check to verify that some endpoint is responding and returns an expected return value. With the HTTP GET, it is possible to add a regular expression check for additional validation of the received response message. Read more about HTTP GET with Bitbar Monitoring.
The user-provided web address is opened using a Safari (iOS) or Chrome (Android) web browser. Until the page is loaded, all network communication is tracked and reported into the check run. With a Page Load functionality, it is possible to create an additional regular expression check on the main source file downloaded. If additional content checks are required then the use of Appium check is highly recommended. Read more about Page Load for Mobile Website.
Appium Test Automation
Functional and web content checks can be created using Java and Appium. An Appium check can be developed remotely on developer’s machine and then uploaded with the application under test to Bitbar Monitoring for monitoring checks. Appium supports testing of native, hybrid and web applications on iOS and Android platforms and provides a versatile use cases for various types of mobile monitoring checks. Read more about Using Appium for Mobile Monitoring.
Step 3: Select the Right Parameters, Location and Preferences to Your Monitoring Check
After you’ve selected which monitoring check is used the following parameters, physical locations to be used for a monitoring checks, frequency of checks and conditions for an alarm can be configured. Physical, Real Location for A Monitoring Check First thing is to select on which physical locations you want your monitoring check to happen. This includes real, physical networks in those locations and typically there are plenty of different networks in same cities/countries available. Select the ones you prefer your monitoring check to happen just marking those locations on – and click ‘Next’:
Frequency for a Monitoring Check
The interval for a monitoring check can be configured next. We provided some typically used frequencies (every 15min, 30min, hour, 2 hours, 3 hours, 4 hours, 6 hours, 8 hours and daily) as default, but this can be further customized if you need monitoring checks to happen more frequently. Simply, select the preferred frequency and click ‘Next’:
Bitbar Monitoring provides very flexible and versatile options to alarm the right people or instance when errors, failures or something unexpected things happen with your mobile products. For example, you can define email, Slack, PagerDuty or simply wait (and check again later) when something unexpected things happen. The configuration view for Actions looks like this:
Actions are rules attached to a monitoring check that act based on failures. When creating a new check against some service, regardless of the check type, in case of failure the user should decide what actions need to be taken. The following options are used for alerting about failed check:
- EMAIL: Sending an email is useful for reporting of some happened event but typically is not reacted to very fast. Mailing groups are great to get a wider recipient audience for the failing check.
- WAIT: Sometimes it is alright for a check to fail once, or twice, before it is necessary to start further investigation. The wait time is of the same duration as the check interval. A wait means that it is not necessary to jump on the current failure, but let’s wait for the following checks results.
- SLACK: Failures that require immediate attention are good to be sent as messages to a shared Slack channel. Before it is possible to send messages to Slack, the channel and permissions to send to channel need to be provided in user’s settings. Slack rights and channel information are configured under main menu’s Settings link as shown in below screenshot. When clicking on the Slack button, it is necessary to login to Slack and give Bitbar Monitoring the right to post to the desired channel.
- PAGERDUTY: PagerDuty is an information gathering platform where various systems may send their notifications. PagerDuty provides means to handle the incoming events and take appropriate actions on them. Before it is possible to send anything to PagerDuty it is necessary to set up the connection between Bitbar Monitoring service and PagerDuty. This can be done under the user settings.
When all your parameters are properly configured, click CREATE on the bottom of view and monitoring check will be created.
Step 4: Reviewing Results of Monitoring Checks
Bitbar Monitoring provides results quickly, with rich details. When you’ve started a monitoring check for any of mentioned products, you can review results under your check dashboard, for example:
Click any of your monitoring check and you’ll get rich details of what is going on, how is the performance of your product (app, game or website) and what has been the general availability of the service. All this data is presented as graphical and textual details:
To inspect a specific monitoring check, simply click filter on the bottom (OK, Timeout, Fail, Error, Skip) and you’ll get the full view of all your monitoring checks at Bitbar Monitoring:
Happy Mobile Monitoring Folks!
Learn how to properly adopt DevOps approach for your mobile team and get the most out of it.Download