修改商品价格-查询商品价格并验证

先在jement里先把这两个接口单个调通


使用正则提取上个接口需要的值给下面的接口用

对商品增量或减量的操作接口

设置用户自定义变量
-
jement哪里找用户自定义变量
用户自定义变量在哪里
-
设置用户自定义变量
设置
-
用户自定义变量定义好之后使用需要用${ }
image.png
如果if控制器(做判断)
-
jmeter中if控制器的所在位置
image.png
-
填写if控制器
最终结果

jmeter 导入Java包
jmetrt的包是jmx结尾的







网友评论