jmeter et the最后一个请求的潜伏期
有什么方法可以获取最后一个请求的延迟(即持续时间)?我需要这个,因为我想等待EG 10秒 - last-requeqest
秒。但是为此,我需要最后一个Sampler/HTTP请求所花费的时间。我该如何明白?
Is there any way to get the latency (i.e. duration) of the last request? I need this, because I want to wait e.g. 10 seconds - duration-of-last-request
seconds. But for this I need the time taken by the last sampler/http request. How do I get this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看看 jsr222 jsr223 jsr223后制处相关代码,相关的代码是某些东西,例如
:
prev
代表 prev ious Sampleresult ,有关所有方法/字段的全面信息,请参见Javadoc,前8个jmeter java类,您应该与groovy一起使用用于其他有用的 JSR223测试元素Take a look at JSR223 PostProcessor, the relevant code would be something like:
where
prev
stands for the previous SampleResult, see the JavaDoc for comprehensive information on all methods/fields and Top 8 JMeter Java Classes You Should Be Using with Groovy for other useful JMeter API shorthands available for the JSR223 Test Elements