Best Practices When Starting Performance Testing
Sauce AI for Test Authoring: Move from intent to execution in minutes.|xBack to ResourcesBlogPosted
Sauce AI for Test Authoring: Move from intent to execution in minutes.
|
x
Blog
Best Practices When Starting Performance Testing
Sauce Performance is a characteristic that helps maturation and QA organizations capture and address execution regression earlier in the cycle. This berth will explain the good practices when using Sauce Performance and how Sauce Performance works with the greater Sauce platform.
We just announced that is now uncommitted on all Sauce accounts including free trial, self serve, and Enterprise. Sauce Performance is a execution quiz tool that allows developers to test the front-end execution of coating in the Sauce platform at no extra toll. Rather than essay performance at the end of the examine cycle with a tertiary party covering, Sauce users can test the front-end performance of their application at the commencement of the testing cycle.
How to Get Sauce Performance Setup with Selenium Tests
Sauce Performance is set up with machine learning-derived baselines with Google Lighthouse (late updated to version 6) and a front-end audit and history. You can begin the operation of creating performance tests by leverage existing Selenium tests as well. While this shouldn ’ t be your process every time, it can be a very easy way to get started.
In this representative below, you can see how to commence enchant web covering performance for existing Selenium tests:

Sauce Performance is presently only available for tests executed on the modish three versions of Google Chrome.
While many testers might want to use their current Selenium trial, there are also some early better practices to postdate to ensure you are getting the best results from your performance tests.
For autonomous testing across multiple user personas, check out SUSATest — it explores your app like 10 different real users.
General Best Practices for Sauce Performance
Freestanding execution and functional tests:As front end execution tests serve a different objective than functional tests, you want to separate them from GUI tests and create them a freestanding measure in your CI pipeline.
Run performance tests on only a single operating system:Typically, users see more predictable results when running tests against Chrome on a single give OS.
Choose metrics that align with your application/user motivation:Sauce Performance allows users to formalize front-end performance regression across a wide range of metric (Performance Score, Time to Interactive, Time to First Meaningful Paint, etc.). We advocate exploring confirmation across a mix of metrics that closely array with the nigh important desired end-user experiences you wish to achieve.
Optimize your scripts for performance:While Sauce Performance is able to formalise metrics/regressions around page heaps, user should be mindful of other activeness the test script is perform (e.g., assertions for the presence of content on the page) and ascertain if they are necessary in gather performance prosody.
Focus on core app experiences first:Performance testing and validations should focus on core coating experience as a start. Prioritize your execution validations the same as you would your frontend functional tests—test key pages more frequently.
By following these good practices, getting Sauce Performance up and running with your Sauce story is leisurely and efficient. Once Sauce Performance is mix into your pipeline, your squad will be able to experience a single quality signal for your functional and performance tests have you one footstep closer to feeling digitally confident.
Test Performance for Yourself!
Sauce Performance is now enable across the total Sauce Labs platform and you can still admittance it on the complimentary trial. Go ahead and give it a try on ourfree trialor to learn more about the Sauce program.
Automate This With SUSA
Upload your APK or URL. SUSA explores like 10 real users — finds bugs, accessibility violations, and security issues. No scripts needed.
Try SUSA FreeTest Your App Autonomously
Upload your APK or URL. SUSA explores like 10 real users — finds bugs, accessibility violations, and security issues. No scripts.
Try SUSA Free