Locust is an open source performance/load testing tool for HTTP and other protocols. Its developer-friendly approach lets you define your tests in regular Python code. Locust tests can be run from ...
Locust self.client is a session, meaning, if you do a login, the cookies and stuff like that are saved at the client. You can also alter them, or put a bearer token in the headers, or generate a token ...