How to handle post method in Jmeter for load testing?

Hiro Mia picture Hiro Mia · Aug 30, 2014 · Viewed 28.3k times · Source

I want to perform load testing post method using jmeter on application server. I performed load testing many times get request using jmeter on application server. I don't know how to how to handle post method in jmeter for load testing?.

POST HTTP REQUEST:

Content-Type for POST is "application/x-www-form-urlencoded"

    REQUEST : http://localhost:8080/configserver/execute?command=Login

POST Parameter:

    data={
      "email": "[email protected]",
      "password": "12345"
    }

Output:

    {
      "status_code": "0",
      "status_message": "",
      "result": {
        "user_id": "1",
        "session_token": "abcd"
      }
    }