Use jMeter to construct a large number of concurrent random HTTP requests

In the previous article using jMeter to construct a large number of concurrent HTTP requests for microservice performance testing , I introduced how to use jMeter to construct concurrent HTTP requests. However, for concurrent requests constructed in the way described in this article, the request parameters are all hard-coded 'Wang'.

Is there a way to make the parameters of each concurrent request query different? Like having jMeter construct some random numbers from 1 to 100 as part of a query request?

JerryTestCustomer_<1~100>

solution

Create a User Parameter:

The Name of Parameter is uuid, and the value is ${__Random(1,100)}

This __Random(1,100) is the random number generator provided by jMeter.

Then in the Parameters tab of HTTP Request, use this parameter.

test

The random number generation is in effect, and the query parameters issued by each concurrent request are now different.

To get more original technical articles from Jerry, please follow the public account "Wang Zixi" or scan the QR code below:

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325043801&siteId=291194637