如何在jmeter中的单个字符串中传递多个参数

时间:2016-10-03 17:35:52

标签: jmeter

[{
    "SpatialFeatures": [1, "Polygon", "-0.7716963440179825 12.075162402107788,-0.7681990787386894 12.078687506101538,-0.7665897533297539 12.077910820042636,-0.7699797302484512 12.074763398853381,-0.7716963440179825 12.075162402107788", "03-10-2016 08:45:06 PM", "03-10-2016 08:47:58 PM", "359296058197964", null, "Burkina_Faso_Pilot", 291],
    "AttributeValue": [
        [
            [1, "1", "282", "41"],
            [1, "2", "45", "south123"],
            [1, "2", "46", "eaat123"],
            [1, "2", "44", "north123"],
            [1, "2", "16", "53"],
            [1, "2", "47", "west123"]
        ],
        [
            [1, "4", "1", "sonu1"],
            [1, "4", "2", "shukla1"],
            [1, "4", "264", "2016-11-03"],
            [1, "4", "4", "1"],
            [1, "4", "22", "3"],
            [1, "4", "270", "sultanpur"],
            [1, "4", "265", "testing"],
            [1, "4", "266", "ref id "],
            [1, "4", "267", "father"],
            [1, "4", "268", "mother"],
            [1, "4", "269", "122"],
            [1, "4", "271", "2016-11-03"],
            [1, "4", "5", "8010104086"]
        ],
        [
            [1, "3", "31", "129"]
        ],
        []
    ]
}]

1 个答案:

答案 0 :(得分:1)

是的,这是可能的。

HTTP Request中,选择"正文数据"选项卡并且不要忘记至少填写绿色环绕的田地:

enter image description here

您可能想要使用HTTP Request Defaults