Locust performance test - parameterization, concurrent loop data sampling without repetition
background
In performance test, sometimes an API request can only be processed once for the same data (such as user registration), or can only be executed sequentially. Multiple users are not allowed to operate on the data at the same time. Different data can be requested concurrently. Therefore, data sampling needs to be handled to avoid mult ...
Posted by spode on Sat, 04 Dec 2021 16:13:05 -0800
Locust stress test
(the catalog is on the right →
Official website
file
configuration parameter
Code file address of this article
The preparation section is of personal interest. You can directly see the use section of locust. You can find a public interface test, such as https://www.baidu.com
prepare
database
Start a database
# Lifting container
do ...
Posted by CodeBuddy on Tue, 23 Nov 2021 13:27:38 -0800