Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to send query parameters and body data in jMeter post request

I am new to Jmeter please help me in this, i try to do performance test of my nodejs application.And i have one api, for this i have to pass parameters as well as post from .csv file but i am not able to achieve so give your valuable input

like image 629
Vinod Poorma Avatar asked Mar 22 '18 12:03

Vinod Poorma


1 Answers

  1. Put your parameters to "Path" input field
  2. Put your request body to "Body Data" input field

    JMeter Request with Parameters

  3. You might also need to add a HTTP Header Manager and configure it to send Content-Type header with the value of application/json. See REST API Testing - How to Do it Right for more details.
like image 171
Dmitri T Avatar answered Oct 08 '22 13:10

Dmitri T