Setup with JMeter
Let's see how JMeter implements it.
The main element is HTTP Request:
Figure 7.4: HTTP Request
We can easily find all that we previously saw.
Similarly, all HTTP methods are accessible:
Figure 7.5: HTTP Request – HTTP methods
JMeter can use multiple implementations (Java or HTTPClient4) to handle HTTP requests.
It is recommended to use HTTPClient4 (the default implementation) for performance, functionality, and compatibility reasons:
Figure 7.6: HTTP Request – HTTP implementations
Here are some features of HTTPClient4 that are not available with a Java implementation:
- Better control of how connections are reused within Keep-Alive
- Virtual Host or IP spoofing
- Client certificate-based authentication
- Kerberos authentication
- Wider support for HTTP methods
- The ability to use the DNS Cache Manager element to have better control of DNS configuration
- Fine control of the retry mechanism
If we need...