An HTTP request has many configuration parameters, which are described in more detail below:
name : This property is used to identify a sampler and it is recommended to use a meaningful name.
Note : For tests that do not have any effect, only users record user-readable comment information.
server name or IP : The destination server name or IP address sent by the HTTP request.
Port Number : The port number of the destination server, the default value is 80.
protocol : The protocol that sends an HTTP request to the destination server, either HTTP or HTTPS, with the default value HTTP.
methods: Methods for sending HTTP requests, including GET, POST, HEAD, PUT, OPTIONS, TRACE, delete, and so on.
Content Encoding : Encoding the contents, the default value is iso8859
path : Destination URL path (excluding server address and port)
Automatic redirection: If this option is selected, JMeter automatically redirects to the new page when the response is 302/301 when the HTTP request is sent.
Use keep Alive : When this option is selected, HTTP communication is used keep-alive between JMeter and the target server, which is selected by default.
Use Multipart/from-data for HTTP POST : When sending an HTTP POST request, it is sent by using the Multipart/from-data method, which is not selected by default.
send parameters with the request: the URL parameter is sent in the request, and for the URL with the parameter, JMeter provides a simple method for parameterization. The user can set all parameters in the URL in this table, and each row in the table is a parameter value pair (the name 1= value 1 in the corresponding Rul).
send a file with the request: Send the file in the request, usually, the HTTP file upload behavior can be simulated in this way.
from HTML The file gets all the included resources : When this option is selected, jmeter the HTML file content of the HTTP request and gets the response, it also takes a parse of the HTML and obtains all the resources contained in the HTML (pictures, flash, etc.), which are not selected by default. If the user only wants to get specific resources on the page, you can fill in the embedded URLs must match text box below with a specific resource expression that needs to be downloaded, so that only URLs that match the specified regular expression are directed to the resource to be downloaded.
as a monitor : This sampler is treated as a monitor, and the graphical statistics based on the sampler can be seen directly in monitor Results Listener. The default is unchecked.
Save response as MD5 hash? : Select to record only the MD5 value of the service-side response data at execution time, not the full response data. It is recommended that the item be checked to reduce the cost of the sampler recording the response data when a very large amount of data is required for testing.
JMeter HTTP Request Interface Explanation