From the course: Advanced JMeter

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Sending a POST

Sending a POST - Apache JMeter Tutorial

From the course: Advanced JMeter

Start my 1-month free trial

Sending a POST

- [Instructor] When I want to send information to my application under test using the API, I would use what's called a post command. A post command sends information to the web server via the API, usually as parameters with that request. This could be anything from logging into a website to adding a new item to a database, and much, much more. The post commands within JMeter are very similar to the get request I sent earlier. Right now, I'm just going to right click on my HTTP request within Jmeter, and click duplicate. I'm going to click on this duplicated request and after the name, I'm just going to add the word, post, so I can tell them apart. On the previous one, I'm going to add the word get. Going back to the post request, I'm just going to change the method from get to post. This particular API doesn't actually require parameters, but they are important. This API won't break if I add parameters, so I'm going to…

Contents