Welcome!

Java IoT Authors: Zakia Bouachraoui, Pat Romanski, Yeshim Deniz, Elizabeth White, Liz McMillan

Related Topics: @CloudExpo, Java IoT, Microservices Expo

@CloudExpo: Article

Dos & Don’ts of Load Testing in the Cloud By @Neotys | @CloudExpo [#Cloud]

The cloud allows you to achieve a degree of realism with your performance and load testing

As the cloud continues to grow as a topic of conversation, so too does load and performance testing within the cloud. You may be asking yourself questions like: When is it most appropriate to involve the cloud when load testing? When is the right time to conduct performance testing using the cloud? How can cloud load testing benefit my company?

What should I do and what shouldn't I do?

This week at Neotys, we've decided to briefly cover a few benefits of load testing in the cloud, but also want to unearth what you should consider doing (or not doing) in your future cloud testing projects.

Use The Cloud for the Most Realistic Load Tests
The cloud allows you to achieve a degree of realism with your performance and load testing that is virtually impossible to achieve any other way. That gives any web or mobile application that has gone through a cycle of cloud-based performance testing a distinct advantage. The cloud provides for a geographical distribution of simulated users that mimics your real-world users. It also provides for almost limitless scaling of load generators. Cloud-based performance testing also lets you easily test the entire delivery chain, including your outermost firewalls and load balancers. For on-site testing, these types of capabilities may be difficult to acquire.

The cloud is also more cost-effective and time-friendly. On-premise testing often requires an administrative team to set up, maintain and manage the load testing infrastructure. Of course, you'll need to buy and maintain actual machines, whether or not you use them on a regular basis. Cloud testing reduces a lot of red tape. You can set up the testing infrastructure as you need it and pay as you go.

On-Premise Load Testing Still Has a Purpose
But don't throw away your internal testing apparatus - by any means. You definitely benefit from both types of testing. Your on-premise performance testing systems are much better suited for determining baseline performance. Plus, they should be your go-to platform for troubleshooting an easily-reproduced bottleneck, or testing internal componentry. The trick is knowing when to use your own systems, and when to use the cloud.

Cloud load testing is an essential part of your load testing strategy, and we at Neotys feel your pain as it can be difficult to know exactly how to best deploy it. To help make things clearer, we've decided to compile a brief list of do's and don'ts on cloud performance testing. Hopefully, it un-clouds your opinion on load testing procedure!

Indispensable Do's and Don'ts for Cloud Load Testing


DO DON'T
DO distribute load generators geographically, emulating where your site users are actually from. This creates more realistic tests, which give you better insight into any performance limitations of your web applications. DON'T simply replicate your local load generation setup in the cloud somewhere. You'll need the enhanced capabilities that come with a integrated cloud platform. NeoLoad offers an on-demand, easy setup to save you some headaches.
DO separate your load generators from your application. Serve them up from completely different environments. DON'T run your load generators in the same cloud as that behavior is almost guaranteed to contaminate test results.
DO maximize the benefits of using the cloud where it works best, and internal systems where they work best. The cloud is ideal for simulating real usage scenarios and running complex tests with many transactions. Once you have isolated the problem and can reproduce it effectively, switching to a local system may be a more efficient way of squashing the bug. DON'T eliminate your local testing infrastructure. As noted earlier, it still has an important purpose. You will need it to isolate effects from infrastructures beyond your firewall and identify solitary sources of performance slow-downs.
DO maintain a central dashboard for all the testing activities. When you move to the cloud you can have tests running all over the place and you definitely don't want to lose track of them. Make sure all your testing is coordinated and keep track of it through a good, centralized platform. DON'T ignore the meter! If you are using the cloud, you are probably paying for usage (that includes CPU cycles and network bandwidth). A long-running, high traffic load test could end up costing more than you expected, if you aren't careful.
DO use multiple cloud vendors. Different services have different characteristics. By using a wide variety, you'll end up with more realistic usage scenarios. NeoLoad's cloud testing platform allows you to access a range of cloud vendors, while avoiding the hassle of dealing with multiple providers. DON'T procrastinate on keeping your tests up-to-date. When using multiple cloud vendors, it's possible to lose track of testing scenarios and application versions. Keep things synchronized between all the environments used and your latest versions in development, QA, and production.
DO integrate mobile testing. Make sure your cloud generators are using mobile emulators and exercising the parts of your app that are suited for the small screen. Make sure the right information gets translated from the correct device while testing, and analyze the effects of network variances and bandwidths. DON'T ignore your perimeter. When you test from the cloud, you are setting up a geographically realistic scenario that includes important perimeter elements like content distribution networks, firewalls, perimeter security, and load balancers. You'll want to monitor the performance of all these levels of technology, in addition to your court application. Remember, you never know exactly where bottlenecks may occur.

What's the Best Way to Maximize the Capabilities of Cloud Testing?
These do's and don'ts should make getting started with cloud load testing much easier, if you are doing it on your own. However, if you are looking for a great out-of-the-box solution, NeoLoad offers maximum flexibility, scalability and cost effectiveness. You'll be able to monitor performance in real time as well as ensure that your applications are meeting minimum performance levels. Quickly identify the root cause of any issue with automated reports and analytics tools. This range of capabilities provides you with the opportunity to utilize the cloud for load and performance testing in a way that truly suits and benefits your company.

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.

IoT & Smart Cities Stories
Digital Transformation and Disruption, Amazon Style - What You Can Learn. Chris Kocher is a co-founder of Grey Heron, a management and strategic marketing consulting firm. He has 25+ years in both strategic and hands-on operating experience helping executives and investors build revenues and shareholder value. He has consulted with over 130 companies on innovating with new business models, product strategies and monetization. Chris has held management positions at HP and Symantec in addition to ...
Dynatrace is an application performance management software company with products for the information technology departments and digital business owners of medium and large businesses. Building the Future of Monitoring with Artificial Intelligence. Today we can collect lots and lots of performance data. We build beautiful dashboards and even have fancy query languages to access and transform the data. Still performance data is a secret language only a couple of people understand. The more busine...
The challenges of aggregating data from consumer-oriented devices, such as wearable technologies and smart thermostats, are fairly well-understood. However, there are a new set of challenges for IoT devices that generate megabytes or gigabytes of data per second. Certainly, the infrastructure will have to change, as those volumes of data will likely overwhelm the available bandwidth for aggregating the data into a central repository. Ochandarena discusses a whole new way to think about your next...
CloudEXPO | DevOpsSUMMIT | DXWorldEXPO are the world's most influential, independent events where Cloud Computing was coined and where technology buyers and vendors meet to experience and discuss the big picture of Digital Transformation and all of the strategies, tactics, and tools they need to realize their goals. Sponsors of DXWorldEXPO | CloudEXPO benefit from unmatched branding, profile building and lead generation opportunities.
All in Mobile is a place where we continually maximize their impact by fostering understanding, empathy, insights, creativity and joy. They believe that a truly useful and desirable mobile app doesn't need the brightest idea or the most advanced technology. A great product begins with understanding people. It's easy to think that customers will love your app, but can you justify it? They make sure your final app is something that users truly want and need. The only way to do this is by ...
DXWorldEXPO LLC announced today that Big Data Federation to Exhibit at the 22nd International CloudEXPO, colocated with DevOpsSUMMIT and DXWorldEXPO, November 12-13, 2018 in New York City. Big Data Federation, Inc. develops and applies artificial intelligence to predict financial and economic events that matter. The company uncovers patterns and precise drivers of performance and outcomes with the aid of machine-learning algorithms, big data, and fundamental analysis. Their products are deployed...
Cell networks have the advantage of long-range communications, reaching an estimated 90% of the world. But cell networks such as 2G, 3G and LTE consume lots of power and were designed for connecting people. They are not optimized for low- or battery-powered devices or for IoT applications with infrequently transmitted data. Cell IoT modules that support narrow-band IoT and 4G cell networks will enable cell connectivity, device management, and app enablement for low-power wide-area network IoT. B...
The hierarchical architecture that distributes "compute" within the network specially at the edge can enable new services by harnessing emerging technologies. But Edge-Compute comes at increased cost that needs to be managed and potentially augmented by creative architecture solutions as there will always a catching-up with the capacity demands. Processing power in smartphones has enhanced YoY and there is increasingly spare compute capacity that can be potentially pooled. Uber has successfully ...
SYS-CON Events announced today that CrowdReviews.com has been named “Media Sponsor” of SYS-CON's 22nd International Cloud Expo, which will take place on June 5–7, 2018, at the Javits Center in New York City, NY. CrowdReviews.com is a transparent online platform for determining which products and services are the best based on the opinion of the crowd. The crowd consists of Internet users that have experienced products and services first-hand and have an interest in letting other potential buye...
When talking IoT we often focus on the devices, the sensors, the hardware itself. The new smart appliances, the new smart or self-driving cars (which are amalgamations of many ‘things'). When we are looking at the world of IoT, we should take a step back, look at the big picture. What value are these devices providing. IoT is not about the devices, its about the data consumed and generated. The devices are tools, mechanisms, conduits. This paper discusses the considerations when dealing with the...