[Jmeter] Implementation 中 JAVA 與 HTTPClient4 如何探尋兩者之間的區別
最近學習 jmeter 工具中,發現【HTTPRequest】-【Advanced】有個選項為【ClientImplementation】
- Java
- HTTPClient4
官網上的描述不是非常理解,不是很明白這兩個選項在實際請求中各自到底有何不同,有什麼辦法可以驗證兩者之間的差異?
超級連結
There are two different test elements used to define the samplers:
- Java
- uses the HTTP implementation provided by the JVM. This has some limitations in comparison with the HttpClient implementations - see below.
- HTTPClient4
- uses Apache HttpComponents HttpClient 4.x.
-
Blank Value
- does not set implementation on HTTP Samplers, so relies on HTTP Request Defaults if present or on jmeter.httpsampler property defined in jmeter.properties
-
The Java HTTP implementation has some limitations:
- There is no control over how connections are re-used. When a connection is released by JMeter, it may or may not be re-used by the same thread.
- The API is best suited to single-threaded usage - various settings are defined via system properties, and therefore apply to all connections.
- No support of Kerberos authentication
- It does not support client based certificate testing with Keystore Config.
- Better control of Retry mechanism
- It does not support virtual hosts.
- It supports only the following methods: GET, POST, HEAD, OPTIONS, PUT, DELETE and TRACE
- Better control on DNS Caching with DNS Cache Manager
相關文章
- Java中Statement與PreparedStatement與CallableStatement之間的區別 - javarevisitedJava
- 【等保小知識】等保與關保兩者之間有啥區別?
- Java 中,如何計算兩個日期之間的差距?Java
- Oracle與OpenJDK之間的區別OracleJDK
- GCD與NSOperation之間的區別GC
- JS:解析forEach()、map()原始碼及淺談兩者之間的區別JS原始碼
- __weak與__block區別,深層理解兩者區別BloC
- Java中(==)與equals的區別Java
- 尋源和採購之間的區別是什麼?
- 雲與本地部署 ERP 之間的區別
- Java之String的equals與contentEquals區別Java
- XML和HTML有什麼區別?兩者之間有什麼關聯?XMLHTML
- 掌握時間與空間:深入探討Golang中的時間戳與時區轉換Golang時間戳
- 通俗易懂講解貝葉斯論和頻率論兩者之間的區別?
- Java中replace與replaceAll區別Java
- Java中抽象類和介面的介紹及二者間的區別Java抽象
- Vue中computed、methods和watch之間的區別Vue
- Python中堆、棧、佇列之間的區別Python佇列
- Java中類與物件的關係與區別Java物件
- PHP 中的陣列相加操作以及與 array_merge 之間的區別PHP陣列
- 簡單介紹HTTP與HTTPS之間的區別HTTP
- 陣列地址與指標之間的區別與聯絡陣列指標
- 知識點,JavaScript與Java之間有什麼區別和聯絡?JavaScript
- Java中的String,StringBuilder,StringBuffer三者的區別JavaUI
- Linux中程式與程式分別指什麼?兩者的區別有哪些?Linux
- Java中Array與ArrayList之間的轉換Java
- 在Git中,origin / master與origin master之間有什麼區別?GitAST
- HTTPS、SSL、TLS三者之間的聯絡和區別HTTPTLS
- Linux中awk和sed分別指什麼?兩者之間有什麼不同?Linux
- 淺析HTML、CSS、JavaScript之間的聯絡與區別!HTMLCSSJavaScript
- MyISAM與InnoDB兩者的區別、詳細總結、效能對比
- 簡單瞭解下linux與windows兩者的區別-行雲管家LinuxWindows
- @Bean和@Component之間的區別?Bean
- select、poll、epoll之間的區別
- querySelector和getElementById之間的區別
- 敏捷和 Scrum 之間的區別敏捷Scrum
- 小程式直播與抖音直播兩者有何區別?
- Java、JavaEE、JavaSE、JavaME、JavaWEB之間有什麼區別?JavaWeb