Use HTTP Request HTTPClient instead of the normal HTTP Request Sampler in JMeter for load test. There is a known limitation for the latter because it uses the default java.net and java.io connections which do not scale well in long running tests. The HTTPclient sampler on the other hand uses the Jakarta HttpClient library which is more efficient and stable.
By checking HTTPSampler2 source code which is for HTTPClient HttpSampler in package org.apache.jmeter.protocol.http.sampler, we could find more checks/controls than normal HttpSampler in same package. Even we don’t care the detailsJ
Conclusion: use HTTPClient HttpSampler but not normal one. They have the exact same GUI.
No comments:
Post a Comment