LoadUI NG Pro + Amazon EC2: Calculate, Automate, Validate
Learn about why API load testing is so crucial, quickly load testing, and more.
Join the DZone community and get the full member experience.Join For Free
api load testing just got a big upgrade. before i get to the geeky details, let’s zoom out a bit.
have you ever run a load test? i mean a serious one, not just a checkbox before a release or as a backlog item to that cool thing you’re shipping. the world doesn’t auto-scale like you think it does, and people don’t always use your api in predictable amounts. buy a performance tester a beer some time, they’ll tell you to load testing is a litmus test for success or failure in production. they also love metrics.
why is api load testing so important?
performance has become a top-level concern for everyone these days. why? because we live in the internet age and people are impatient. speed matters to consumers. the more people there are, the slower your existing capacity will be, so you scale up your capacity by adding servers.
but that presents challenges too: load balancing, ssl termination, reverse proxy routing, geo-caching, data replication. as your scale grows, so also do the mechanisms required to manage that scale.
so after building our systems and scaling them, the best validation is to quickly load test them. we present them with a challenge that simulates what we know exists in real-world systems. thanks to load testing, we have a relatively good picture of what our apis can handle and where we know we’ll need to scale up again.
you say “quickly” load test: can you show me?
of course! here’s a video of turning an api (functional) test case into a cloud-based api load test:
what can ready! api do for me?
well, say you need to run a test that takes a lot of resources (i.e. hardware) to pull off or you need the traffic to come from multiple locations? that’s where loadui ng pro remote agents come to the rescue. you can quickly build a load test and then use your amazon ec2 credentials to automatically deploy however many remote agents are necessary for your particular load requirements.
loadui ng pro cloud deployment also provides you an estimate of the cost your load test will incur, based on live prices from amazon ec2, so that you stay under budget and know what to expect.
where can i get loadui ng pro?
if you’re new to ready! api , the easiest way to get started is to download a trial , which comes with a 2 week trial key. a few moments later, when you’re all set up, you can start right in on a new load test.
if you already use soapui pro or any tool in the ready! api platform, just go to the downloads center and find the appropriate installer for your machine.
what is this ready! api thing you speak of?
it’s a platform of api tools, the best one for in our opinion, will all sorts of other good things mixed in:
the lifecycle of your apis is really important to us; that’s why smartbear provides tools for:
- design: swagger & swaggerhub
- functional testing: soapui ng
- load testing: loadui ng
- security: secure pro
- api virtualization: servicev
- api monitoring: alertsite
we tie these things together through the ready! api platform , including integrations to api management platforms and other lifecycle tools, to help you bring high-quality apis to production on time and with minimal risk.
don’t take our word for it. try loadui ng pro out for yourself. we can’t wait to hear from you about it!
Published at DZone with permission of Gary Deasi, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.