You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2021/08/17 10:57:02 UTC

[Bug 65503] New: HTTP Request Post with large JSON body

https://bz.apache.org/bugzilla/show_bug.cgi?id=65503

            Bug ID: 65503
           Summary: HTTP Request Post with large JSON body
           Product: JMeter
           Version: 5.4.1
          Hardware: PC
                OS: Mac OS X 10.1
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTTP
          Assignee: issues@jmeter.apache.org
          Reporter: Colin.mccormack@gmail.com
  Target Milestone: JMETER_5.5

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

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 65503] HTTP Request Post with large JSON body fails

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65503

Colin McCormack <Co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|HTTP Request Post with      |HTTP Request Post with
                   |large JSON body             |large JSON body fails

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 65503] HTTP Request Post with large JSON body fails

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65503

Felix Schumacher <fe...@internetallee.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from Felix Schumacher <fe...@internetallee.de> ---
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?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 65503] HTTP Request Post with large JSON body fails

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65503

--- Comment #2 from Colin McCormack <Co...@gmail.com> ---
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

-- 
You are receiving this mail because:
You are the assignee for the bug.