Application performance is a critical aspect of the user experience, impacting the overall software quality of an application and its ability to meet end users' expectations. In particular, poor application performance can have a significant business impact. If a customer cannot complete a purchase on your application, they're more likely to turn to a competitor. With performance testing in mabl, you can test business critical user journeys and validate how your system performs under load.
mabl performance tests take existing functional tests and configure them to run for a specific load of concurrent users on mabl's scalable, cloud-based platform. Using the test output, your team can understand the overall performance of your application and quickly detect and fix performance issues as they happen.
Performance testing is available as an add-on to your mabl subscription. Contact your customer success manager to learn more.
Use cases
You can use performance tests in mabl to achieve the following:
Meet performance SLAs
Use performance tests to ensure that your application continues to meet service-level agreements (SLAs) as new changes are introduced.
Check for performance regressions
Compare performance test output from the current release to performance test output from the previous release to check for any regressions in app performance.
Prepare for a seasonal peak
Test your application's performance ahead of an anticipated season peak in traffic to make sure your APIs can handle it.
Performance testing workflow
At a high level, you can take the following steps to establish a performance testing workflow in mabl:
Establish a baseline
To establish baseline performance for your application, create a series of load tests with increasing concurrency. For example, you may run the performance test with five users for 30 minutes, 50 users for 30 minutes, 500 users for 30 minutes, and then 1000 users for 30 minutes.
Identify max concurrency and failure criteria
The output from the baseline test runs can help your team identify a baseline based on what your team defines as "adequate" performance and when performance begins to deteriorate.
Using this information, you can identify the appropriate settings for your performance test runs. For example, if the highest acceptable number of concurrent users for your application is 1000, and most API calls had an API response time of 300ms or less at this concurrency, you could configure the following settings for your performance test:
- Concurrency: 1000 virtual users
- Failure criterion: An API response time greater than 300ms at the 95th percentile
Compare performance test runs over time
After you've identified the concurrency and failure criteria, you can run the performance test as new changes are introduced to your app to identify performance regressions and ensure everything is working as expected.
Next steps
To learn more about running performance tests in your workspace, take a look at the following guides:
- Getting started with performance tests
- Performance testing setup
- Measuring system performance
- Running performance tests
- Reviewing performance tests
- Using the performance testing sandbox
Limitations
- Performance tests cannot simulate traffic by geography, networking throttling, or service mocking.
-
mabl Link is not yet supported for performance tests. If your test accesses endpoints in a private environment, you may add mabl static IP addresses to an allow list. The specific IP range for performance testing is
34.31.138.224/27
. - Performance tests do not support API requests with a “binary” request body type.
- Virtual users will reuse connections, assuming the server under test permits it, so that multiple requests from the same virtual user as well as the associated responses from the server will all pass over the same underlying TCP connection.
- We do not support imports for JMeter scripts. However, you can import Selenium and Playwright tests and Postman collections into mabl and then reuse those browser and API tests within a performance test.
If you have a use case involving any of these limitations, let us know if the mabl Product Portal.