apache / jmeter

Apache JMeter open-source load testing tool for analyzing and measuring the performance of a variety of services
https://jmeter.apache.org/
Apache License 2.0
8.38k stars 2.1k forks source link

HTTP Request Post with large JSON body fails #5567

Open asfimport opened 3 years ago

asfimport commented 3 years ago

Colin McCormack (Bug 65503): Hi, The following bug:

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

asfimport commented 3 years ago

@FSchumacher (migrated from Bugzilla): 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?

asfimport commented 3 years ago

Colin McCormack (migrated from Bugzilla): Apologies - i'll update with more info soon - for now:

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