Samplers – HTTP Requests

The sampler lets the quality analyst to test the HTTP/HTTPs request to a web server and wait for the response. There are two sections for the HTTP request to run i.e. Basic and Advanced. All the details in each section must be filled based on the user requirement. (we will learn about the basic section)

— can be used for SOAP or REST Webservice also

Basic:

Web Server: –

Protocol: User needs to enter the request whether it is HTTP or HTTPS.

Example: Http

Sever Name or IP: the web main address is entered here

Example: Jmeter.apache.org

Port Number: The port on which the server name or IP is allocated with.

HTTP Request: –

Method: Depending upon the type of request (GET, PUT, DELETE etc..) user needs to select.

Example: GET

Path: After the main server Name is entered remaining will be path.

Example: /changes.html

Finally add “View results tree” from listeners to view the results

Note: the number of users to visit the website concurrently is configured in the thread group setting.

Purecane
Leave a Reply

Your email address will not be published. Required fields are marked *

You May Also Like