Overview
This enhanced LoadForge locust script simulates a more comprehensive user journey on an e-commerce website. It includes advanced behaviors such as user authentication, browsing through a variety of products, adding items to the cart, viewing the cart, and proceeding to checkout. The script is designed to mimic realistic user actions and gather detailed performance metrics.Code
The below code can be run directly on LoadForge to test at scale.LoadForge is powered by locust, meaning open source locust users can copy this script as well.
If you are a locust user, consider importing your script to LoadForge to supercharge your testing!