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
Can you give more information about your setup? How many threads are you using, how often do you call your app? Are you sure, that JMeter is the culprit and not the app itself? Can you do a network dump and compare the broken and good requests?
Apologies - i'll update with more info soon - for now: - 1 thread - 1st call always fails by the way, then intermittently afterwards This doesn't happen when Postman is used so i ruled out my app as being in-play thanks, i'll attempt dumps etc asap
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/5567