Welcome!

Java IoT Authors: Liz McMillan, Pat Romanski, Automic Blog, Elizabeth White, Roger Strukhoff

Related Topics: Java IoT, Microservices Expo, Microsoft Cloud, Machine Learning , Agile Computing, @DXWorldExpo

Java IoT: Article

With Confidence into the Holiday Season

Verifying Readiness in Test / Pre-Production

In our previous 2013 Online Holiday Shopping blog Klaus highlighted that the top goal of 2013 is to increase Conversion Rates and take into consideration everything we have learned in past years such as Third-Party Performance, as well as the new challenges such as "The Rise of Mobile Users." This article is a guide for performance engineers on how to best test for ensuring high conversion rates.

Based on our real user monitoring data we know that the abandonment rate on eCommerce sites increases by 8% for every additional two seconds of page load time. Mobile users expect even better performance on their smartphones as the assumption is that accessing shopping sites with mobile web or mobile native apps are optimized for these devices. Load Time of key landing pages, key mobile actions and everything along the conversion funnel must therefore be our top priority during pre-holiday testing:

To Reduce Abandon Rate: Testing must focus on Page Load Times of Key Landing Pages and Pages along the Conversion Funnel

Page Load Time is not only impacted by the performance of the application running inside your firewall. Our analysis of last year's holiday season showed that content delivery (missing, slow or misconfigured CDNs), problematic third-party components (failing service calls or blocking JavaScript) and problems with specific devices (mobile, tablets, older desktop browsers, etc.) are major contributors to page load time and user satisfaction. In order to avoid these problems it's important to include the components that are outside your firewall in your testing as well as testing from real end user devices and not only rely on "traditional" HTTP-based testing.

Accurate Response Time Measurement: Testing must measure from the browser as the average website includes content from 10 different hosts impacting page load time

Use this article as a guide that will help you to prepare for the constant high and peak load during the upcoming holiday season. It covers the best practices from eCommerce veterans and startup sites that managed to get through the previous holiday seasons without major hiccups. These companies are also confident to convert more users than ever before - no matter what device (mobile, tablet or desktop) they are using for their holiday shopping.

Step 1: Preparing your tests
Before we can do any testing we need to understand what we need to test. Here are some questions and also a great follow up read about Approaches to Testing Modern Web Applications:

Question #1: Identify Key Landing Pages, User Interactions and Conversion Funnel Actions
Besides the homepage there might be additional landing pages for special promotions as well as special pages for your optimized mobile web application. From these landing pages you need to find the key actions (on both web and mobile native) that a visitor walks through until the purchase is complete.

Possible Answer: Homepage, Homepage for Cyber Monday, Mobile Start Screen, Add to Cart, Proceed to Checkout, Verify Billing and Credit Information, Confirm Order

Question #2: Identify additional Use Case Scenarios
Besides testing the "best case conversion" scenario it's important to focus on scenarios such as browsing the product catalog, store locator or call center contact page. For mobile native, you have special app features such as product info via scanned barcode, recommendations or shopping history. Many online shoppers use the website and mobile app to browse and compare but end up walking into the "physical" store or buy per phone.

Possible Answer: Products by Category, Product Search, Daily Deals, Store Locator, Contact Details

Question #3: Identify the Types of Your End Users
Based on current user statistics taken from your UEM solution or your web analytics tools you get a feeling on a) which devices are used b) which browsers c) from which geographical locations these users are and c) whether they have high bandwidth or run on a slow mobile connection. Combining this data with predictions from your business teams and general trends such as that more users will use their mobile devices this year will give you a good understanding on what user mix you need to test for.

Possible Answer: Device Type: 30% Desktop, 30% Mobile Native, 20% Mobile Web, 20% Tablet Web; Browsers: 35% Google Chrome, 30% Internet Explorer, 20% Firefox, 15% Safari; Geo Region: 15% New York, 12% California, ...

Question # 4: Identify Involved Third Parties
These include the CDN used for pushing static content but also 3rd party services such as Ads, Recommendations, Social Media, etc.

Possible Answer: Images on Akamai, Videos from YouTube, Ads from Google, Social from Facebook

Step 2: Sanity Checks
After creating test scripts for the key use cases (landing pages, conversion funnel actions, and additional use cases) as well as for the different devices (desktop, mobile web, mobile native, tablets) it is time to use them for a quick sanity check. Run them as single users and combine them with diagnostic tools such as dynaTrace AJAX Edition, YSlow, PageSpeed, etc., which allows you to do sanity checks on basic WPO (Web Performance Optimization) rules as well as testing the end-to-end functionality of your use cases.

For mobile native: Run an extra set of acceptance tests on the real devices (Android, iOS, Windows Mobile ...) and focus your testing on things like responsive design and device specific features.

WPO Sanity Checks to identify Low Hanging Optimization Options to reduce Page Load Times and Page Sizes

Benefit: Applying the changes recommended by these tools you will be able to optimize page load time and also reduce traffic to your servers leaving more resources available to handle more concurrent users.

Learn more: Learn from JC Penney and how they optimized their page load time following WPO Best Practices.

Step 3: Throughput Tests
The throughput test verifies if the system can withstand the busiest peak period that is expected during the holiday season. Best Practice is to base your estimate on previous year throughput adjusted by expected increase this year and adding another 50% to be on the safe side. If you have your peak user per hour number make sure you distribute that load across your main end-user locations as well as your common use case types. Ramp the load up to that peak and monitor response times, resource utilization and failures. Watching these charts makes it easy to pinpoint the breaking point of an application.

For mobile native: focus your testing on the APIs (Web Services) that are called by the mobile native application. Slow APIs impact responsiveness of your mobile native app and impact conversion:

Can the application withstand peak load? A load testing dashboard that shows impact of constantly increasing load on the application behavior and resources

Benefit: Identifying and fixing these scalability and load-related issues will make sure you survive the holiday peak hours without major downtimes of your site.

Learn more: Check out how a misconfigured load-balancer caused major outages of one of our eCommerce customers.

Step 4: Concurrency Tests
Withstanding peak load for a short time is one thing - withstanding constant high load over a long period of time is another challenge. Resource leaks (Memory, Connections, etc.), misconfigured caches undersized infrastructure are typical problems that Concurrency Tests highlight. Running the same use cases as in the throughput test with a constant high load over hours will highlight any problems. In the ideal situation you get a stable response time despite the duration of the test run.

For mobile native: The expected high number of mobile visitors this holiday season requires specific testing on these APIs (Web Services) that your mobile native applications leverage. Make sure you measure response time by also considering connection handling (how many parallel connections), latency and bandwidth of mobile devices.

Stable Response Times with steady high load indicates a stable application.

Benefit: Identifying and fixing resource leaks prevents your system from regular crashes due to out of memory or connection pool shortages.

Learn more: Learn how a large retailer identified and fixed a third-party memory leak in its production environment.

Step 5: Real End User Tests
End User Location, Device Type and Browser Version impact page load time. Depending on the Geo Location static content should be delivered from a close-by CDN. The device may have an impact on the feature set of your application, e.g., you have a specific mobile optimized application. Connectivity, bandwidth and the type of browser impacts the load behavior (download speed, number of physical connections, browser cache strategies) as well as JavaScript execution times (faster vs. slower JS Engines). All of this needs to be taken into account when testing. Using real devices and browsers as well as executing tests from different geographical locations ensures that you don't get surprised if load behavior is totally different than what you have tested it for.

For mobile native: Native apps that take geo location, camera or orientation sensors into account also need to be tested on the real device from real end user locations in order to avoid problems like this.

What is the real page load time for specific regions? If it is slow - is it the application or a 3rd party service that impacts page load time?

Benefit: Identify page load impact of slow or misconfigured CDNs, high latency, low bandwidth or specific device types.

Learn more: Learn how a browser specific bug prevented users from check-out and Best Practices on Mobile Web Testing and Monitoring.

Step 6: Test Monitoring and Alerts for Production
Once all tests are successfully executed it's time to set up and test your production monitoring environment. Business, Operations and Development must provide their requirements when it comes to monitoring and alerting. In the preparation phase you can make sure that all of the metrics are captured correctly, that alerting works as expected and that data is easy accessible to all parties that need to look at a problem in case end users are impacted by bad performance or system outages.

For mobile native: Make sure you have implemented a mobile native application performance monitoring solution and that it correctly reports performance, business and crash information.

Business reporting and system health monitoring in a single dashboard: define and test these dashboards in the testing phase

Benefit: Showing these dashboards to all stakeholders makes sure that - in case of a real problem during the holiday season - all actionable information is accessible to quickly identify and fix problems.

Learn more: Follow best practices from Bon-Ton and Swarovski by looking at their production monitoring dashboards.

With Confidence Through the Holidays
After verifying performance, scalability and robustness of your application to ensure a high conversion rate it's time to get through the holiday shopping season with confidence. In the last blog of this series we will cover the following points:

  • How to report business success to management: Conversion Rates, Funnel, etc.
  • What can go wrong and how to proactively fix problems?
  • Monitor your SLAs with a combination of real and synthetic user monitoring
  • How to monitor and react to 3rd party outages

Happy Testing!

More Stories By Andreas Grabner

Andreas Grabner has been helping companies improve their application performance for 15+ years. He is a regular contributor within Web Performance and DevOps communities and a prolific speaker at user groups and conferences around the world. Reach him at @grabnerandi

Comments (0)

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


@ThingsExpo Stories
To get the most out of their data, successful companies are not focusing on queries and data lakes, they are actively integrating analytics into their operations with a data-first application development approach. Real-time adjustments to improve revenues, reduce costs, or mitigate risk rely on applications that minimize latency on a variety of data sources. In his session at @BigDataExpo, Jack Norris, Senior Vice President, Data and Applications at MapR Technologies, reviewed best practices to ...
In his Opening Keynote at 21st Cloud Expo, John Considine, General Manager of IBM Cloud Infrastructure, led attendees through the exciting evolution of the cloud. He looked at this major disruption from the perspective of technology, business models, and what this means for enterprises of all sizes. John Considine is General Manager of Cloud Infrastructure Services at IBM. In that role he is responsible for leading IBM’s public cloud infrastructure including strategy, development, and offering m...
"Digital transformation - what we knew about it in the past has been redefined. Automation is going to play such a huge role in that because the culture, the technology, and the business operations are being shifted now," stated Brian Boeggeman, VP of Alliances & Partnerships at Ayehu, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
Nordstrom is transforming the way that they do business and the cloud is the key to enabling speed and hyper personalized customer experiences. In his session at 21st Cloud Expo, Ken Schow, VP of Engineering at Nordstrom, discussed some of the key learnings and common pitfalls of large enterprises moving to the cloud. This includes strategies around choosing a cloud provider(s), architecture, and lessons learned. In addition, he covered some of the best practices for structured team migration an...
No hype cycles or predictions of a gazillion things here. IoT is here. You get it. You know your business and have great ideas for a business transformation strategy. What comes next? Time to make it happen. In his session at @ThingsExpo, Jay Mason, an Associate Partner of Analytics, IoT & Cybersecurity at M&S Consulting, presented a step-by-step plan to develop your technology implementation strategy. He also discussed the evaluation of communication standards and IoT messaging protocols, data...
Recently, REAN Cloud built a digital concierge for a North Carolina hospital that had observed that most patient call button questions were repetitive. In addition, the paper-based process used to measure patient health metrics was laborious, not in real-time and sometimes error-prone. In their session at 21st Cloud Expo, Sean Finnerty, Executive Director, Practice Lead, Health Care & Life Science at REAN Cloud, and Dr. S.P.T. Krishnan, Principal Architect at REAN Cloud, discussed how they built...
SYS-CON Events announced today that Evatronix will exhibit at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Evatronix SA offers comprehensive solutions in the design and implementation of electronic systems, in CAD / CAM deployment, and also is a designer and manufacturer of advanced 3D scanners for professional applications.
SYS-CON Events announced today that Synametrics Technologies will exhibit at SYS-CON's 22nd International Cloud Expo®, which will take place on June 5-7, 2018, at the Javits Center in New York, NY. Synametrics Technologies is a privately held company based in Plainsboro, New Jersey that has been providing solutions for the developer community since 1997. Based on the success of its initial product offerings such as WinSQL, Xeams, SynaMan and Syncrify, Synametrics continues to create and hone inn...
"Evatronix provides design services to companies that need to integrate the IoT technology in their products but they don't necessarily have the expertise, knowledge and design team to do so," explained Adam Morawiec, VP of Business Development at Evatronix, in this SYS-CON.tv interview at @ThingsExpo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
With tough new regulations coming to Europe on data privacy in May 2018, Calligo will explain why in reality the effect is global and transforms how you consider critical data. EU GDPR fundamentally rewrites the rules for cloud, Big Data and IoT. In his session at 21st Cloud Expo, Adam Ryan, Vice President and General Manager EMEA at Calligo, examined the regulations and provided insight on how it affects technology, challenges the established rules and will usher in new levels of diligence arou...
Smart cities have the potential to change our lives at so many levels for citizens: less pollution, reduced parking obstacles, better health, education and more energy savings. Real-time data streaming and the Internet of Things (IoT) possess the power to turn this vision into a reality. However, most organizations today are building their data infrastructure to focus solely on addressing immediate business needs vs. a platform capable of quickly adapting emerging technologies to address future ...
In his session at 21st Cloud Expo, Raju Shreewastava, founder of Big Data Trunk, provided a fun and simple way to introduce Machine Leaning to anyone and everyone. He solved a machine learning problem and demonstrated an easy way to be able to do machine learning without even coding. Raju Shreewastava is the founder of Big Data Trunk (www.BigDataTrunk.com), a Big Data Training and consulting firm with offices in the United States. He previously led the data warehouse/business intelligence and B...
The 22nd International Cloud Expo | 1st DXWorld Expo has announced that its Call for Papers is open. Cloud Expo | DXWorld Expo, to be held June 5-7, 2018, at the Javits Center in New York, NY, brings together Cloud Computing, Digital Transformation, Big Data, Internet of Things, DevOps, Machine Learning and WebRTC to one location. With cloud computing driving a higher percentage of enterprise IT budgets every year, it becomes increasingly important to plant your flag in this fast-expanding busin...
22nd International Cloud Expo, taking place June 5-7, 2018, at the Javits Center in New York City, NY, and co-located with the 1st DXWorld Expo will feature technical sessions from a rock star conference faculty and the leading industry players in the world. Cloud computing is now being embraced by a majority of enterprises of all sizes. Yesterday's debate about public vs. private has transformed into the reality of hybrid cloud: a recent survey shows that 74% of enterprises have a hybrid cloud ...
22nd International Cloud Expo, taking place June 5-7, 2018, at the Javits Center in New York City, NY, and co-located with the 1st DXWorld Expo will feature technical sessions from a rock star conference faculty and the leading industry players in the world. Cloud computing is now being embraced by a majority of enterprises of all sizes. Yesterday's debate about public vs. private has transformed into the reality of hybrid cloud: a recent survey shows that 74% of enterprises have a hybrid cloud ...
DevOps at Cloud Expo – being held June 5-7, 2018, at the Javits Center in New York, NY – announces that its Call for Papers is open. Born out of proven success in agile development, cloud computing, and process automation, DevOps is a macro trend you cannot afford to miss. From showcase success stories from early adopters and web-scale businesses, DevOps is expanding to organizations of all sizes, including the world's largest enterprises – and delivering real results. Among the proven benefits,...
@DevOpsSummit at Cloud Expo, taking place June 5-7, 2018, at the Javits Center in New York City, NY, is co-located with 22nd Cloud Expo | 1st DXWorld Expo and will feature technical sessions from a rock star conference faculty and the leading industry players in the world. The widespread success of cloud computing is driving the DevOps revolution in enterprise IT. Now as never before, development teams must communicate and collaborate in a dynamic, 24/7/365 environment. There is no time to wait...
Cloud Expo | DXWorld Expo have announced the conference tracks for Cloud Expo 2018. Cloud Expo will be held June 5-7, 2018, at the Javits Center in New York City, and November 6-8, 2018, at the Santa Clara Convention Center, Santa Clara, CA. Digital Transformation (DX) is a major focus with the introduction of DX Expo within the program. Successful transformation requires a laser focus on being data-driven and on using all the tools available that enable transformation if they plan to survive ov...
SYS-CON Events announced today that T-Mobile exhibited at SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. As America's Un-carrier, T-Mobile US, Inc., is redefining the way consumers and businesses buy wireless services through leading product and service innovation. The Company's advanced nationwide 4G LTE network delivers outstanding wireless experiences to 67.4 million customers who are unwilling to compromise on qua...
SYS-CON Events announced today that Cedexis will exhibit at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 - Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Cedexis is the leader in data-driven enterprise global traffic management. Whether optimizing traffic through datacenters, clouds, CDNs, or any combination, Cedexis solutions drive quality and cost-effectiveness. For more information, please visit https://www.cedexis.com.