Welcome!

Agile Computing Authors: Liz McMillan, Pat Romanski, LeanTaaS Blog, Progress Blog, Derek Weeks

Related Topics: @DevOpsSummit, Open Source Cloud, Agile Computing

@DevOpsSummit: Blog Post

Six Requirements for Synthetic User Management | @DevOpsSummit #APM #DevOps

Violate at your own risk

You always want to know that your website is operating at its best, but how do you know that's actually the case? It's not so easy to see behind the curtain when it comes to your web infrastructure. We've long used proxy metrics like CPU load or server availability to ensure that a server is "up," but these measurements don't provide enough data. In fact, as websites become more complex and change more frequently, these measurements become less useful.

A website visit may involve a wide range of components many of which are off-site or not easily monitored. External ad servers, web service APIs, content delivery networks, and even specialized back-end systems - each of these represent a potential bottleneck that could impact an important transaction without raising an appropriate red flag.

So what do you have in your toolbox to help address this? Load testing, real-user monitoring and site instrumentation all help you prepare for and monitor your website visitors' experiences. But one more tool that's essential for a performance engineer is synthetic user monitoring. It's a critical part of a web monitoring strategy, however for many people, it's uncharted territory. So, in this post we want to show you what is required for proper synthetic user monitoring.

What Is Synthetic User Monitoring? How Does It Help?
Simply put, synthetic user monitoring lets you create virtual users that operate externally to your system and mimic real user behavior by running through user paths on your website or application, while you measure the performance of the system. You do this while the application is in use, on a live production system. Why? Because that's how you can see what your users are seeing, without requiring real users to execute those tasks.

Take this example: you have a check-out cart on your site - a high-value transaction, and therefore one that deserves a flawless experience. Not everyone gets to the cart. Most people are browsing the rest of the site. But when people do get there, you want to make sure they have an amazing experience.

If you rely only on measuring that experience only when a user is actually checking out, you have no way of knowing what that experience will be like for that user. You put the high-value transaction in jeopardy because you don't have any data about how well it will perform until there is a real person going through it.

This is exactly what synthetic users are for. You build a simulated transaction that mimics a user's most common tasks: add to cart, checkout, log in, etc. As load increases on the production site and more and more visitors get ready to buy, you can continually check to see what the experience is like along those key tasks without putting any individual visitors at risk. That way, you know about problems your users might encounter before they do.

Six Mandatory Requirements for Proper Synthetic User Monitoring
What should you be looking for in a Synthetic User Monitoring tool? Here are six attributes that should definitely be on your list of key requirements for synthetic user monitoring.

1. Support For Complex Application Scenarios and Advanced Protocols
Synthetic users are great for application transactions that really matter, and these user paths are rarely simple. Your synthetic user monitoring solution should include support for interacting with and navigating through a wide range of web technologies: Flash, HTML5, Google SPDY, Push, WebSocket, and any other of the latest web and mobile technologies.

With this support under your belt, you aren't limited in how you put synthetic users to work. Take a look at your web analytics and find out what your most common paths through the site are. Then recreate those in your synthetic user monitoring tool, exactly as your users experience them.

Beyond that, think about how you can leverage synthetic testing for new features, before you let real users in. Deploy a feature on a special build that's running on the same server. Don't direct live users to it yet, but plan some paths for synthetic users. Then at times of peak load, run the synthetic users through the script to see how the experience is.

There are plenty of other ways of leveraging synthetic user monitoring to be more proactive. By thinking about the future first, you'll use synthetic user monitoring to its maximum benefit. Check out more tips here.

2. No-Code Scripting of Test Scenarios
Once it's set up, synthetic user monitoring is a fantastic tool. What holds many people back is being able to write a script that lays out an entire decision and process tree that a user could make. So you want a tool that makes this as easy and frictionless as possible.

As stated above, you want to create scripts that are modeled after real user behavior. A no-coding solution for script development makes this process significantly easier because you work within a graphical interface, putting blocks of functionality together without the pitfalls and complexities of manually written scripts.

You can also incorporate other attributes of user behavior into your scripts - for example, connection speeds and browser behaviors. You can execute scenarios from various geographies for further realism in your testing.

A no-coding solution for test scripts means you can quickly churn out a robust, representative library of tests that will accurately simulate your users.

3. Shared Scripts Between Synthetic User Monitoring and Load Testing
You gain a lot of efficiencies by reusing your load testing cases in your synthetic user monitoring tool. If you think about, there isn't much difference between what you want to test in a load test and what you want to test in synthetic user monitoring. In both cases, you are looking to leverage realistic test scenarios to see how the system behaves before a real user experiences a problem.

So repackage your load tests as synthetic user monitoring tests, and look for a tool that allows you to share them between these different testing environments. You'll want to be able to easily port your load tests into synthetic user monitoring tests, and you may even find that a new synthetic user monitoring scenario would make a really good structured load test. You can often use the same data too, which is a great way to test in production and test in the cloud without putting data at risk.

Your mom always told you to recycle. Here's just another way to do that!

4. Realistic Network Emulation
A good synthetic user test will simulate a real user as accurately as possible, and one key characteristic of that experience is the network. Not everyone connects to the Internet with the same high-quality connection. You'll want a synthetic user monitoring tool that emulates various network speeds (3G, 4G, Wi-Fi) as well as network errors like packet loss and latency.

When everything works smoothly, users are likely to have a good experience. But things don't always go smoothly - that's when errors occur and users complain. How does your application perform in the face of these errors? That's a key question you'll want to ask and one of the ways you can leverage a modern synthetic user monitoring tool.

Introduce errors into your test scenarios to see how your app behaves under stress. If there is a network error along the way, do client apps suddenly start drawing down lots of data as part of a re-sync protocol? What happens when this takes place at scale? The data you collect through your synthetic user monitoring tool has a tremendous amount of value and can help improve the system - and the user experience - in many ways.

5. Emulation of Mobile Devices
If you haven't gotten the memo yet, web users are mobile. You should no longer be thinking about these as two separate environments or even two separate user bases. Today, the rule is "mobile first." So you need to be monitoring both your mobile users and your desktop users as a common set of visitors.

Your synthetic user monitoring tool should have the ability to emulate a wide range of mobile devices so you can determine how those users may be experiencing your website, and particularly if there are any differences between what someone sees on their phone as compared to their computer.

Be sure to consider mobile load testing and monitoring right from the start, when setting up your initial synthetic monitoring and tests. Leverage your analytics data to find out how many users are on mobile and what they are doing. Don't treat this as secondary - today's web users are on their devices, maybe even more so than their computers.

Are you still trying to figure out if a dedicated mobile testing environment is important? Check out our infographic, Mobile-First Performance - it may persuade you.

6. Real-Time Dashboards and Notifications
The synthetic monitoring system creates simulated users within a fully-controllable browser, so the testing system has complete access to all the data inside the browser (unlike real user monitoring, which happens inside a sandboxed javascript instance). The detail that can be garnered from this is staggering, including full waterfall charts, resource-by-resource performance and screenshots/videos of the pageload in action to determine paint times.

Make sure your synthetic user monitoring solution takes advantage of all the information available and makes it accessible through a rich set of dashboards and real-time notifications. You should have access to real-time and historical data, along with the ability to set and monitor key performance indicators (KPIs). You'll also want to configure alerts so your monitoring team can take action when SLAs are violated.

This is a critical requirement, as it turns your synthetic user monitoring tool from a learning system to a doing system. Regular synthetic tests can monitor performance and immediately alert staff to fix a problem before a user experiences it.

Stay Sensible with NeoSense
You can meet these requirements - and then some - with NeoSense. With this monitoring system on your side, you'll be able to work with complex business applications and simulate the most complicated of user paths. Its fast, it's powerful and it can assimilate with the newest technology. Get more information about NeoSense here!

More Stories By Tim Hinds

Tim Hinds is the Product Marketing Manager for NeoLoad at Neotys. He has a background in Agile software development, Scrum, Kanban, Continuous Integration, Continuous Delivery, and Continuous Testing practices.

Previously, Tim was Product Marketing Manager at AccuRev, a company acquired by Micro Focus, where he worked with software configuration management, issue tracking, Agile project management, continuous integration, workflow automation, and distributed version control systems.

@ThingsExpo Stories
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...
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...
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...
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 ...
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...
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...
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...
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...
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.
SYS-CON Events announced today that Google Cloud has been named “Keynote Sponsor” of 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. Companies come to Google Cloud to transform their businesses. Google Cloud’s comprehensive portfolio – from infrastructure to apps to devices – helps enterprises innovate faster, scale smarter, stay secure, and do more with data than ever before.
SYS-CON Events announced today that Vivint to exhibit at SYS-CON's 21st Cloud Expo, which will take place on October 31 through November 2nd 2017 at the Santa Clara Convention Center in Santa Clara, California. As a leading smart home technology provider, Vivint offers home security, energy management, home automation, local cloud storage, and high-speed Internet solutions to more than one million customers throughout the United States and Canada. The end result is a smart home solution that sav...
SYS-CON Events announced today that Opsani 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. Opsani is the leading provider of deployment automation systems for running and scaling traditional enterprise applications on container infrastructure.
SYS-CON Events announced today that Nirmata 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. Nirmata provides a comprehensive platform, for deploying, operating, and optimizing containerized applications across clouds, powered by Kubernetes. Nirmata empowers enterprise DevOps teams by fully automating the complex operations and management of application containers and its underlying ...
SYS-CON Events announced today that Opsani to exhibit at SYS-CON's 21st Cloud Expo, which will take place on October 31 through November 2nd 2017 at the Santa Clara Convention Center in Santa Clara, California. Opsani is creating the next generation of automated continuous deployment tools designed specifically for containers. How is continuous deployment different from continuous integration and continuous delivery? CI/CD tools provide build and test. Continuous Deployment is the means by which...