Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法在特定时间加载用户到 tsung 中。为了清楚起见,我想举个例子。假设我想在每 6 秒内同时加载 2 个用户。
那可能吗?
Tsung 会自动关闭连接。所以不能同时指定并发用户数。
但是,您可以查看thinktimes属性并在关闭连接之前增加思考时间值。
thinktimes
所以想法是你每 10 毫秒连接 1 个用户并保持 1 秒的思考时间。所以在 1 秒内你连接了 10 个用户。即使 Tsung 在那段时间内关闭了 8 个用户的连接,你也会有至少 2 个同时用户。