Hi,
I've seen tutorial regarding passing variables for POST request using CSV
https://guide.blazemeter.com/hc/en-us/articles/206733689-Usi
ng-CSV-DATA-SET-CONFIG

This is great for simple POST request.

I would like to know how to implement it for complex JSON (body data)
example. for example:

{
  "object": "page",
  "entry": [
    {
      "id": "205408099853466",
      "time": 1508941958327,
      "messaging": [
        {
          "sender": {
            "id": "697363944"
          },
          "recipient": {
            "id": "267347623714743"
          },
          "timestamp": 1508941958168,
          "message": {
            "mid": "mid.$cAAC60WkZtkxlhThUGFfU_MTupd31",
            "seq": 75192,
           * "text": "${text}"*
          }
        }
      ]
    }
  ]
}

while text should be a parameter from a file.

Thank you in advance,
Moshe

Reply via email to