我知道在Jmeter中通过JMeter传递动态值的相关性,我通常为其创建Regex表达式/ CSS选择器提取器并将值传递为$ {variable_name}。这很好。现在最近我想出了一个方案,其中我必须传递的价值如下所示-
{"path":"Test123","sortExpression":"","startIndex":0,"maxRowNumber":10,"filterKeyWord":""}
我创建了一个CSS选择器提取器并获取值,但是当我这样传递时,它无法识别并失败。如何传递此值?
{"path":${createFolder},"sortExpression":"","startIndex":0,"maxRowNumber":10,"filterKeyWord":""}
答案 0 :(得分:0)
别忘了在JSON中用双引号括住字符串值
{"path":"${createFolder}","sortExpression":"","startIndex":0,