HTTP Request Post with large JSON body fails
- Dominant language
- Java
- Stars
- 9.5k
- Forks
- 2.3k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 5
Description
**Colin McCormack** ([Bug 65503](https://bz.apache.org/bugzilla//show_bug.cgi?id=65503&redirect=false)):
Hi,
The following bug:
- occurs on latest JMeter version
- occurrs within a java sampler or HTTP Request (either Http client or Java)
This bug is never seen in Postman.
When i post a http req with a large JSON body - the call fails with a 400 bad request, 1 in every ~10 times (NOTE: the larger the body size the more frequent the rate of failure)
So when a call succeeds the sizing noted is like so:
Size in bytes: 97763
Sent bytes:69803
Headers size in bytes: 449
Body size in bytes: 97314
When the call fails the sizing shown is truncated as it were:
Size in bytes: 590
Sent bytes:69803
Headers size in bytes: 155
Body size in bytes: 435
Severity: normal
OS: Mac OS X 10.1
Contributor guide
Assessment
This issue has not been assessed yet.