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.
我正在 JMeter 中运行记录的负载测试。似乎在重放测试时,JMeter 在继续处理下一个请求之前不会等待请求响应。
我该如何解决这个问题?
你确定这是怎么回事?对我来说,它在发送下一个请求之前等待响应。也许您看到重叠访问?就像,第一个用户在第二个用户收到第一页之前开始请求下一页。仅与一位用户一起运行,以确认这是真正发生的事情。
如果您所说的确实发生了,请检查超时。我总是将我的时间设置为较长的时间 - 大约 20 秒。
此外,如果您的页面使用 cookie,请记住您不应使用“自动重定向”,而应使用“跟随重定向”。“自动重定向”会丢弃破坏 cookie 的定向页面。