I want to test a login operation, for example, landing in a subsequent operations, but every time pressure measurement, the login only once, at the back of the concurrent requests,
Inquire of god so that how to make?
(I am small white, clearly some, appreciate )
CodePudding user response:
Pressure test, should not be in this module, should go to the dimension of shipment,CodePudding user response:
Can use a loop controller,Rounding out the reference: http://blog.csdn.net/weixin_37556886/article/details/78790387
CodePudding user response:
The login out aloneCodePudding user response:
First open the login, disable other interfaces, then disable the login interface, open other interfaces, other login interface access can take when logging data, and jmeter can get an interface of the data returned, and that you can check onlineCodePudding user response:
Pressure test is to simulate multi-user operating ah, that not every user to log in, a user login in, how can have concurrent?You can try the forEach controller can achieve your request
CodePudding user response:
This I know, just learn, cost me 100 yuan red envelopes, this is the need to separate to do concurrent interface on the another thread groupCodePudding user response:
Don't want to leave the login, you can add a Cookie manager, skip the login interfaceCodePudding user response:
Put the login in the setUp inside the thread group, then log in to get some of the parameters required for interface (behind) in a CSV file, the back of the interface in another common thread group, if some parameters through CSV data configuration to take,CodePudding user response:
Or just a controller using a loop controller