Mobile & Web Performance Testing

shutterstock_81380530,84284302.h850

Don’t make the mistake of assuming too many similarities.

It is common knowledge that mobile applications don’t function in the same way as their web-based counterparts. The user experience is affected by a few other factors such as device and network capability. If you are building out a performance testing strategy for your mobile website or native mobile application, avoid migrating your existing test plans to a mobile environment, because it’s not that easy. There are extreme differences between performance testing of mobile and web applications, and you need a plan that gives those factors the attention they deserve.

Mobile and web performance testing are not similar to each other. Mobile apps require specialized testing strategies along three key vectors that don’t typically apply to traditional web-based apps. In this article, we will impart the best practices to build a suitable set of test plans. It is your responsibility to ensure your users get an excellent experience irrespective of the device — desktop or mobile.

The device is the key difference

Web servers are aware of the device an existing user has and will often send users different content — or send them a completely different mobile version of the site. Furthermore, responsive web applications are designed to adjust their look, feel and behavior based on the size of the screen being used.

This makes performance testing of your web or mobile application with different devices extremely important, because each device has the tendency to translate the content of the application differently — which could affect the performance in great ways.

It is essential to have a clear performance testing plan to understand how these iterations affect your application’s performance features. Your mobile performance testing plan needs to take into account different factors that include processing power, screen size, bandwidth capabilities, platform, parallel connections, and more.

Chak_Takeaways.01

Network — an important factor

Mobile devices in this generation generally access the server over networks that are slower than those used by desktop computers. Network conditions have a significant effect on the user experience, and the effect may be more or less pronounced depending on the application. Low bandwidth increases the time it takes to download a resource, which then results in higher page load times. If the customer is connected longer, front-end servers hold sockets longer, load balancers have more active TCP sessions, and application servers use more threads.

Mobile networks have limited bandwidth and high latency compared to Wi-Fi and broadband. Since the latency increases with any time added to each request and web pages are composed of many sub-requests, the time required to load a webpage on a mobile device greatly depends on the latency. In fact, latency can become a bigger bottleneck than performance due to physical limitations of networks. Even connections with very high bandwidth can’t get around latency issues. Limiting bandwidth and simulating latency and packet loss during a load test allows you to check that all of your users, including mobile users, will get the best user experience and acceptable response times while ensuring your servers won’t have problems under load.

Chak_Takeaways.02

High expectations are liable

According to a survey conducted by EffectiveUI, a majority of the 780 individuals surveyed will abandon a mobile app if the performance is slow or difficult or confusing to use. Similarly, if a web application is too slow, even by milliseconds (according to Google engineers), users will abandon your website.
In this fast-paced world, when you load test your application with user experience in mind, you have to take into account a new set of failure scenarios too. Reset the criteria of good and bad performance according to your users. Ask: Will your users bear any kind of delay on their device? Or will they switch applications? Take into account the responsiveness on the device. Is the content being downloaded and accessed quickly enough to keep users happy and interested? If yes, it is, then bingo! — you are heading in the right direction.

Chak_Takeaways.03
As an organization or as a tester, try and empathize with the end-user experience and design test scenarios accordingly. Remember the customer doesn’t really give second and third chances to an application if it doesn’t work — he instead leaves the application. This impacts the business and thus the reputation of the organization/application.

 

This article originally appeared in The Official 360Logica Blog at http://www.360logica.com/blog/2014/06/mobile-web-performance-testing.html

 

Atin Chak
Atin Chak is a Senior Automation QA at 360Logica Testing Services. He has expertise in web application and desktop application testing with 10 years of experience.
Atin Chak
Atin Chak is a Senior Automation QA at 360Logica Testing Services. He has expertise in web application and desktop application testing with 10 years of experience.

The Related Post

Organizations need to implement automated testing strategies designed specifically for mobile applications. Mobile device usage continues to gain momentum at increasing speed. Enterprises that delay mobile adoption face the danger of becoming competitively disadvantaged. But, before jumping in headlong, you need to be fully aware of the unique challenges that can arise when developing and implementing ...
LogiGear Magazine December 2012 – Mobile Test Automation  
  LogiGear_Magazine_September 2016_Testing SMAC Down  
Devices matter. We don’t yet trust the mobile devices like we trust desktops and laptops. In the course of testing traditional web applications, rarely do you have to think about the model of the actual machine. In mobile, however, the behavior of an application can vary from device to device. You can no longer just ...
Whether Or Not You Have a Mobile App You’re walking down the street. You see something interesting, and you want to know more about it. What do you do? Do you wait until you get home, open up your laptop, and type “google.com” into your search bar?
iOS culture, even in many large organizations with skilled engineers, is behind on up-to-date testing practices. Agile development has long been all the rage; indeed, in most modern development shops the great agile methodologies are old hat. If you come from a software background like Ruby on Rails, Python, or certain Java niches, you may–until ...
To ensure the success of an app, QA must be involved in all stages of development. Quality Assurance (QA) plays a vital role in the development of mobile applications, but many overlook the critical nature of this piece of the app development process. To ensure the success of an app, QA must be involved in ...
Steps that will enable you to identify the weaknesses of your new app, its vulnerabilities and strengths. So you’ve just finished developing a nifty, customisable app that can help farmers track their produce from source to market via their mobile phone. You’re elated and want to get started marketing it right away. Not to burst ...
Mobile is no longer an area that a few UX people specialize in, and we need to start designing and testing everything for smartphones and tablets as well as computers. If you’re new to mobile usability testing, fear not. It is not as hard as you might think but there are some key differences from ...
What you need to know in order to have effective and reliable Test Automation for your mobile apps I realized that Test Automation interfaces are pivotal to effective and efficient Test Automation, yet very few people trying to test their mobile apps seemed to know how their automated tests connected with the apps they wanted ...
To start with, we need a Test schedule. The same is created in the process of developing the Test plan. In this schedule, we have to estimate the time required for testing of the entire Data Warehouse system. There are different methodologies available to create a Test schedule. None of them are perfect because the ...
What you need to know for testing in the new paradigm This two part article analyzes the impact of the Internet of Things (IoT) product development on traditional testing. Part one of this series starts with a wide view on the IoT, embedded systems and device development aspects of testing. Part two, to be published ...

Leave a Reply

Your email address will not be published.

Stay in the loop with the lastest
software testing news

Subscribe