如何增加Jmeter中有效载荷的身体
{
"productIds" :
[
"p1": "value1"
]
}
{
"productIds" :
[
"p1": "value2"
]
}
{
"productIds" :
[
"p1": "value3"
]
}
我希望以上数据部分保存在变量中,并希望在有效载荷中打印1000次,而P1的每个部分都具有动态值。
{
"productIds" :
[
"p1": "value1"
]
}
{
"productIds" :
[
"p1": "value2"
]
}
{
"productIds" :
[
"p1": "value3"
]
}
i want the above data part to be saved in a variable and to be printed for 1000 times in the payload with p1 having dynamic value for every part,.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
用 counter 配置元素或
https://i.sstatic.net/phzpo.png“ rel =” nofollow noreferrer“>
更多信息:如何在jmeter测试中使用计数器< /a>
Either use Counter configuration element or __counter() function instead of
1
hard-coded value:Demo:
More information: How to Use a Counter in a JMeter Test