How to handle post method in Jmeter for load testing?

30,313

Configuration would be the following;

Config

Read this:

And read this tutorial:

Share:
30,313
Hiro Mia
Author by

Hiro Mia

I want to do many things but I can't do nothing.

Updated on July 09, 2022

Comments

  • Hiro Mia
    Hiro Mia almost 2 years

    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"
          }
        }