6 Tweets Dec 06, 2022
๐Ÿ Python
๐Ÿฆ— Locust
Load Testing Your Applications In Python !!!!
๐ŸŸขLocust is an easy to use, scriptable and scalable performance testing tool.
๐ŸŸข Test results can be viewed in CLI or GUI.
๐ŸŸข Locust tests are written in Python
๐ŸŸข Allows pushing test stats to various visualization tools
๐ŸŸข Reports can be downloaded as CSV
To demo locust here is a sample flask app which has two endpoints
Next we write the locust file which contains
๐ŸŸข A class that inherits from HttpUser
๐ŸŸข Tasks which essentially are workers
๐ŸŸข Tasks can be assigned weight optionally
๐ŸŸข locust file can be run by calling
locust -f <locustfilename>
๐ŸŸข Locust outputs can be viewed over CLI or GUI
๐ŸŸข IP for GUI connection will be visible after running the locust file
๐ŸŸขPerformance tests stats can also be pushed to other
analytics tool
Hello ๐Ÿ‘‹
I am Jaydeep from India ๐Ÿ‡ฎ๐Ÿ‡ณ
Full time Software Engineer & part time content creator on
๐ŸฆTwitter
๐Ÿ–ง Linkedin
๐ŸŽฅYouTube
Follow me for content on
๐Ÿ Python
๐Ÿค–Ai/ML
๐ŸŽจData Visualization
๐ŸŒŸContent creation
Subscribe To My YouTube๐Ÿ”ฝ
youtu.be

Loading suggestions...