How to handle post method in Jmeter for load testing?
Asked Answered
X

1

7

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"
      }
    }
Xanthate answered 30/8, 2014 at 17:47 Comment(0)
G
9

Configuration would be the following;

Config

Read this:

And read this tutorial:

Gnarly answered 30/8, 2014 at 19:44 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.