Enhanced performance leads to greater customer satisfaction, better conversion rates and more revenue. Determine the scalability of your website or app without hassle.
Research suggests only 1 in 4 of visitors who put something in an online shopping cart actually make it through checkout
(Adobe Digital Insights, 2016).
Reports reveal that if a page takes 3 seconds to load you'll lose half your visitors. And while the general rule of thumb is that a page should load in under 2 seconds, for e-commerce the bar is even higher. Instead, you want your pages to load in under 100 milliseconds - even a 100 ms delay costs you 7% in conversion rates.
(Akamai Online Retail Performance Report, 2017)
You can use the LoadImpact k6 Test Script Recorder to capture a user journey simply by browsing like a user would on your site or in your web app. Alternatively, use the built-in HAR converter to convert HAR files generated by e.g. Firefox or Chrome into k6 test scripts. This enables you to easily record user sessions for your site and then replay those sessions in your load test.
When testing web sites it's common that you have to interact with HTML to submit forms, extract data, check for existence of elements or text etc. Read more about HTML forms.
Use checks (like asserts) to make sure your tests are functionally correct, and setup test pass/fail criteria using thresholds to open up the door for automated load testing with CI/CD tools and services.
Plot a single, high-level performance metric collected over multiple test runs to locate patterns of performance degradation or improvement, and more easily validate the performance impact of code and infrastructure changes over time. Read more about performance trending.