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 2014/06/19 16:56:59 UTC

[Bug 56647] New: Large body request is very slow

https://issues.apache.org/bugzilla/show_bug.cgi?id=56647

            Bug ID: 56647
           Summary: Large body request is very slow
           Product: JMeter
           Version: 2.11
          Hardware: PC
            Status: NEW
          Severity: major
          Priority: P2
         Component: HTTP
          Assignee: issues@jmeter.apache.org
          Reporter: neillfontes@gmail.com

I have a test script with a single user triggering a PUT to a given endpoint. I
need to pass a JSON in the request with the updated data. If one of the JSON
fields exceeds 50kb (I need to test application failure points) it is
impossible to work with the body data panel to edit it. I need to test JSON
fields 50kb and 120kb large. 

It takes me nearly a minute to view and edit the fields accordingly. 

HW: Core 2 Duo, 4 Gb RAM, JMeter 2.11 r1554548

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

[Bug 56647] Large body request is very slow

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

--- Comment #7 from neillfontes <ne...@gmail.com> ---
Evidences supplied. 

(In reply to Philippe Mouawad from comment #1)
> Hello,
> What is the configuration of Xmx and Xms ?
> Could you show screenshot of what exactly is slow ?
> 
> Thank you

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

[Bug 56647] Large body request is very slow

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

neillfontes <ne...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #31780|0                           |1
        is obsolete|                            |

--- Comment #10 from neillfontes <ne...@gmail.com> ---
Created attachment 31782
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31782&action=edit
VisualVM

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

[Bug 56647] Large body request is very slow

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

--- Comment #6 from neillfontes <ne...@gmail.com> ---
Requested evidences attached.

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

[Bug 56647] Large body request is very slow

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

--- Comment #8 from UbikLoadPack support <su...@ubikloadpack.com> ---
Hello,
VisualVM shows that even if your machine has 4G you are only using 512M.

So :
1/ install a 64 Bit JDK
2/ Modify jmeter or jmeter.bat to add to JVM_ARGS , -Xms1g -Xmx3g


And see if it improves.
Regards
@ubikloadpack
http://ubikloadpack.com

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

[Bug 56647] Large body request is very slow

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

--- Comment #11 from neillfontes <ne...@gmail.com> ---
Hello,

I've made the changes accordingly and got no performance gain. Please check the
latest attachments.

Thanks,

Neill

(In reply to UbikLoadPack support from comment #8)
> Hello,
> VisualVM shows that even if your machine has 4G you are only using 512M.
> 
> So :
> 1/ install a 64 Bit JDK
> 2/ Modify jmeter or jmeter.bat to add to JVM_ARGS , -Xms1g -Xmx3g
> 
> 
> And see if it improves.
> Regards
> @ubikloadpack
> http://ubikloadpack.com

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

[Bug 56647] Large body request is very slow

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

neillfontes <ne...@gmail.com> changed:

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

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

[Bug 56647] Large body request is very slow

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

--- Comment #13 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Hello,
Looking at your test script I see JSON is something like 100 000 characters, is
this a real life case ?

Analyzing performances, issues are within a third party library we use, I
opened an issue:
https://github.com/bobbylight/RSyntaxTextArea/issues/55

Note that with 3g of Xmx, it is slow but something like 45 seconds to load on
Mac OSX 3.06 Ghz Intel Core 2 Duo.

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

[Bug 56647] Large body request is very slow

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

--- Comment #15 from neillfontes <ne...@gmail.com> ---
Hello UbikLoadPack,

There was no gain using this approach. A sample test script is attached to this
bug. 

It seems that Philippe Mouawad nailed down the issue with the thirdy party lib
responsible for the textarea component in question.

Thanks,

Neill

(In reply to UbikLoadPack support from comment #12)
> Could you comment the following :
> -XX:NewSize=128m -XX:MaxNewSize=128m
> 
> Also if you could put a sample JSON (anonymize any confidential data) it
> would help developers reproduce and potentially fix issue.
> 
> Regards

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

[Bug 56647] Large body request is very slow

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

--- Comment #2 from neillfontes <ne...@gmail.com> ---
Created attachment 31778
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31778&action=edit
Test Script

This is a extract of my script.

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

[Bug 56647] Large body request is very slow

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

neillfontes <ne...@gmail.com> changed:

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

--- Comment #14 from neillfontes <ne...@gmail.com> ---
Hello Philippe,

I was testing a webserver implementation of HTTP code 413 - Request Entity Too
Large so the implementation limitation was "return 413 if request size >
100kb". 

I circumvented the issue by editing the *.jmx file manually and playing the
testscript without entering on the http request section which was configured
using a 'light' request. 

Thanks for opening the issue with the third party. 

On my local rig I was able to open and edit only > 1min. Selecting the quoted
values was nearly impossible. 

Thanks,

Neill

(In reply to Philippe Mouawad from comment #13)
> Hello,
> Looking at your test script I see JSON is something like 100 000 characters,
> is this a real life case ?
> 
> Analyzing performances, issues are within a third party library we use, I
> opened an issue:
> https://github.com/bobbylight/RSyntaxTextArea/issues/55
> 
> Note that with 3g of Xmx, it is slow but something like 45 seconds to load
> on Mac OSX 3.06 Ghz Intel Core 2 Duo.

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

[Bug 56647] Large body request is very slow

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

--- Comment #4 from neillfontes <ne...@gmail.com> ---
Created attachment 31780
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31780&action=edit
Visual VM

JVM inspection as required.

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

[Bug 56647] Large body request with big chunks of bytes/chars without spaces slowdowns GUI

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

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Hardware|PC                          |All
           Severity|major                       |minor

--- Comment #16 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Minor issue as very edgy case.
Resolution depends on resolution of:
https://github.com/bobbylight/RSyntaxTextArea/issues/55

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

[Bug 56647] Large body request is very slow

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

UbikLoadPack support <su...@ubikloadpack.com> changed:

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

--- Comment #12 from UbikLoadPack support <su...@ubikloadpack.com> ---
Could you comment the following :
-XX:NewSize=128m -XX:MaxNewSize=128m

Also if you could put a sample JSON (anonymize any confidential data) it would
help developers reproduce and potentially fix issue.

Regards

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

[Bug 56647] Large body request is very slow

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

--- Comment #9 from neillfontes <ne...@gmail.com> ---
Created attachment 31781
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31781&action=edit
java -version

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

[Bug 56647] Large body request with big chunks of bytes/chars without spaces slowdowns GUI

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

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #17 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Performances seem to have improved after upgrade to rsyntaxtextarea-2.5.3.
Anyway as issue opened on github has been closed, there's nothing that can be
done

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

[Bug 56647] Large body request is very slow

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

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om
                 OS|                            |All

--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Hello,
What is the configuration of Xmx and Xms ?
Could you show screenshot of what exactly is slow ?

Thank you

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

[Bug 56647] Large body request is very slow

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

--- Comment #3 from neillfontes <ne...@gmail.com> ---
Created attachment 31779
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31779&action=edit
JMeter Screen

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

[Bug 56647] Large body request with big chunks of bytes/chars without spaces slowdowns GUI

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

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Large body request is very  |Large body request with big
                   |slow                        |chunks of bytes/chars
                   |                            |without spaces slowdowns
                   |                            |GUI

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

[Bug 56647] Large body request is very slow

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

--- Comment #5 from neillfontes <ne...@gmail.com> ---
Requested evidences attached.

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