You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19-3Lines changed: 19 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,5 @@
1
+

2
+
---
1
3
# BlazeMeter HTTP Plugin for JMeter (HTTP/1.1, HTTP/2, HTTP/3/QUIC)
2
4
3
5
---
@@ -309,9 +311,23 @@ Common configurations:
309
311
310
312
311
313
<aid="readme-buffer-capacity"></a>
312
-
### Buffer capacity
314
+
### Buffer capacity / response store truncation
315
+
316
+
By default there is no store cap (`blazemeter.http.maxBufferSize` unset → effective **`-1`**): Jetty buffers without a hard fail (unlike Jetty’s own `BufferingResponseListener` 2 MiB default), and the full decoded body is kept in the sample.
317
+
318
+
When a positive limit applies, behaviour matches Apache JMeter’s
319
+
`httpsampler.max_bytes_to_store_per_request`: the sample stays **successful**, only the first N
320
+
bytes are stored in response data, `bodySize` reflects the full decoded length, and JMeter logs
321
+
`Big response, truncating it to {} bytes` at **DEBUG**. Truncation is skipped while recording.
2. Else JMeter `httpsampler.max_bytes_to_store_per_request` if set
328
+
3. Else `-1` (no truncation)
313
329
314
-
By default, the size of downloaded resources is limited to 2 MB (2,097,152 bytes); you can raise the limit by setting `blazemeter.http.maxBufferSize` in `jmeter.properties` or `user.properties` (value in bytes).
330
+
`<= 0` means do not truncate.
315
331
316
332
317
333
<aid="readme-alpn"></a>
@@ -375,7 +391,7 @@ Restart JMeter after changing JMeter properties that are applied when affected c
375
391
|**Attribute**|**Description**|**Default**|
376
392
|---|---|---:|
377
393
|**blazemeter.http.proxy_enabled**| When **`true`**, the HTTP(S) Test Script Recorder creates **`bzm - HTTP Sampler`** instead of stock **HTTP Request** (legacy `HTTP2Sampler.proxy_enabled` accepted) | true |
378
-
|**blazemeter.http.maxBufferSize**|Maximum size of the downloaded resources in bytes | 2097152|
394
+
|**blazemeter.http.maxBufferSize**|Max bytes stored in sample response data (`<=0` / unset default path = no truncation). Overrides JMeter store limit when set | -1|
379
395
|**blazemeter.http.minThreads**| Minimum number of threads per HTTP client | 1 |
380
396
|**blazemeter.http.maxThreads**| Maximum number of threads per HTTP client | 5 |
381
397
|**blazemeter.http.maxRequestsQueuedPerDestination**| Maximum number of requests that may be queued to a destination | 32767 |
0 commit comments