Working With HTTP Requests in JMeter

Overview:

Hi Testers!!

In this tutorial, you will get to know how you can work with HTTP or HTTPS Requests going to the server.

Below are the topics covered in this tutorial:

  • HTTP Request Sampler
  • Configuring Default values for HTTP Request with HTTP Request Default.

<< PREV   |     NEXT >>


Server Name and Path is very important to ensure that your request is going to the right place. By default, the request goes with HTTP protocol which can be changed to HTTPS if desired. User parameters can be added to the request if any additional parameters are needed to land on the specific page. All methods such as GET, POST etc. are supported.

In case your scenario demands multiple requests to be sent to the same server or may be any parameter which is common in all requests, HTTP Request Default comes into the picture. Once the properties are set in this config element, all requests in the same thread group inherit that property.

For example, once the server name is set in HTTP Request Default, it need not be set in the HTTP Requests following it.