简体   繁体   中英

Why doesn't Jmeter log me out when looping?

I run Jmeter on a internal server(not on the internet).

I first log into the webpage, do some actions on the site, then log out.

If i run one or several threads(users), with only 1 "loop count", the user gets logged out from the webpage.

The problem occurs when i do more then 1 "loop count", then the users stays logged in on the webpage after the script is finished. We have only got some licenses for the webpage to use, so that's a problem for us.

Thanks in advance.

JMeter will do log you out. As the loop count is more than 1, all the requests under the Thread Group will get re-executed again for the same user. So - the user logs in, does some action and logs out, for loo count 2 - again the same user logs in, does some action and logs out..keeps going on as per the loop count.

This is the number of virtual users you would want to simulate using JMeter.

This is number of iterations JMeter has to execute the entire test for each user. 这是JMeter必须为每个用户执行整个测试的迭代次数。

ie, You have 10 users and 10 loop count, JMeter would have executed the test (10*10) 100 times.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM