【发布时间】:2014-03-12 13:32:55
【问题描述】:
我的应用程序的行为:
HTTP Request Login
..JSON Path Extractor - Im extracting the session id
Debug Sample - Checking the session id
HTTP Request -- Im passing the session id to these requests
HTTP Request -- Im passing the session id to these requests
HTTP Request -- Im passing the session id to these requests
如果我运行上述脚本一次,我得到了上述请求的预期结果,这是一步一步通过的过程。
如果我使用 - Number of Threads as 5 运行上面的脚本。然后登录命中 3 次,其他 url 命中 2 次。
我需要多次运行上述脚本。
【问题讨论】:
-
如果有 5 个线程,您应该能够满足所有线程的所有请求。您能否提供有关如何设置线程组的更多信息 - 最好使用屏幕截图。
-
@OphirPrusak 我没有添加图片的声誉 我要发邮件给你吗?你能分享你的邮件ID吗
-
使用imgur.com 或类似的东西添加图片链接
-
imgur.com/a/curw1 - 请查看此链接中的图片。
-
imgur.com/a/curw1 - 请查看此链接中的图片。问题是我得到了无效的会话。如果我运行超过 2 个线程。如果我运行一次 - 我得到了正确的会话和预期的响应
标签: json performance testing jmeter performance-testing