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 2019/08/30 20:41:40 UTC

[Bug 63711] New: Number of requests are growing without any reason

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

            Bug ID: 63711
           Summary: Number of requests are growing without any reason
           Product: JMeter
           Version: Nightly (Please specify date)
          Hardware: PC
            Status: NEW
          Severity: regression
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: pierre.astruc@evertest.com
  Target Milestone: JMETER_5.2

Created attachment 36748
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36748&action=edit
SimpleTest.jmx

Hello,

I found something strange with the number of requests in 5.2.0-SNAPSHOT
(81ba16c) versus 5.1.1 (release).

The only modifications of jmeter.properties are:
- httpclient4.retrycount=1
- httpsampler.ignore_failed_embedded_resources=true
- proxy.cert.validity=7000

Please download and play the simpletest.jmx attached with jmeter GUI.
It's one 2 steps test plan with 30 threads and 60 seconds duration.
The test plan only download two pages with auto-download of embedded
ressources.
I also added to it 6 live graph with jp@gc plugins.

With 5.1.1 (release), everything is correct, number of transactions/sec is
stable at 3, number of responses/sec are stable at 64, bandwidth is stable, and
total number of sample is 149.

With 5.2.0 (81ba16c), all is ok until 40 sec, and the test became crazy in the
last 20 sec ! the number of transactions/sec grow up from 3 to 14, the number
of responses/sec grow up grom 70 to 315, the bytes/sec grow up grom 3MB/s to
10MB/s, and the final number of request is 234 instead of 149.

Every indicators show me that the test is starting to make a lot of requests
without any reason.

I will add one second .docx attachement to show you the differences between
graphics.

Thanks for reading :)

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

[Bug 63711] Number of requests are growing without any reason

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #36748|0                           |1
        is obsolete|                            |
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om

--- Comment #4 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Created attachment 36764
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36764&action=edit
Test that uses Java Request instead of a real website

I confirm bug which must be related to a regression introduced by Bug 63490

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

[Bug 63711] Number of requests are growing without any reason in nightly build

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

--- Comment #7 from pierre.astruc@evertest.com ---
Created attachment 36770
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36770&action=edit
5.1.1_vs_5.2.0 second test graph (.pdf)

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

[Bug 63711] Number of requests are growing without any reason

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

pierre.astruc@evertest.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #36751|5.1.1_vs_5.2.0 graph (.pdf  |5.1.1_vs_5.2.0 graphs (.pdf
        description|this time)                  |this time)

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

[Bug 63711] Number of requests are growing without any reason in nightly build

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

--- Comment #5 from Felix Schumacher <fe...@internetallee.de> ---
The problem here is the Flow Control Action, that uses the changed
TimerService. As soon as the delay would be longer than the scheduled test, the
delay gets calculated as "-1". That leads to a no-stop action and to the
observed high request count.

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

[Bug 63711] Number of requests are growing without any reason

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

pierre.astruc@evertest.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #2 from pierre.astruc@evertest.com ---
I just read in another bug report that .doc files were not recommended, sorry I
didn't know, so here it the .pdf of same pictures comparaisons

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

[Bug 63711] Number of requests are growing without any reason

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

--- Comment #3 from pierre.astruc@evertest.com ---
Created attachment 36751
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36751&action=edit
5.1.1_vs_5.2.0 graph (.pdf this time)

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

[Bug 63711] Number of requests are growing without any reason in nightly build

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

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

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

--- Comment #6 from Felix Schumacher <fe...@internetallee.de> ---
Thanks for the report and the test plan. I think I fixed the problem. Could you
try the next nightly (or current trunk) and report back?

commit 3f78a23e4f91e17dde1c3cac86f60b828de36b05
AuthorDate: Sat Sep 7 15:09:58 2019 +0200

    Add more log messages about the delays

    while on the bug 63711 it helped me to debug the error and I think it can
be of
    value for others, too. While at it a typo was fixed (looop -> loop) and a
bit of
    whitespace was added.

    Bugzilla Id: 63711
---
 .../java/org/apache/jmeter/sampler/TestAction.java | 23 ++++++++++++++--------
 1 file changed, 15 insertions(+), 8 deletions(-)

commit f2c5260abe7a3e1022793474c0a1e322dd0a2010
AuthorDate: Sat Sep 7 15:20:24 2019 +0200

    Revert behaviour of TimerService#adjustDelay to that of 5.1.1

    Changing the adjustDelay method to return -1 when the delay would be longer
    than the remaining scheduled duration, lead to bug 63711.

    This change reverts the default adjustDelay to the old behaviour and adds a
    flag to enable the "new" feature of returning -1 when the sleep time would
    be too long.

    Bugzilla Id: 63711
---
 .../org/apache/jmeter/timers/TimerServiceTest.java | 33 +++++++++++++++-
 .../org/apache/jmeter/threads/JMeterThread.java    |  3 +-
 .../org/apache/jmeter/timers/TimerService.java     | 46 +++++++++++++++++++---
 3 files changed, 74 insertions(+), 8 deletions(-)

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

[Bug 63711] Number of requests are growing without any reason

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

pierre.astruc@evertest.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #36751|5.1.1_vs_5.2.0 graphs (.pdf |5.1.1_vs_5.2.0 graphs
        description|this time)                  |(.pdf)

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

[Bug 63711] Number of requests are growing without any reason in nightly build

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Hardware|PC                          |All
            Summary|Number of requests are      |Number of requests are
                   |growing without any reason  |growing without any reason
                   |                            |in nightly build

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

[Bug 63711] Number of requests are growing without any reason

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

pierre.astruc@evertest.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #36749|5.1.1_vs_5.2.0 graphs       |5.1.1_vs_5.2.0 graphs
        description|(docx)                      |(.docx)

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

[Bug 63711] Number of requests are growing without any reason in nightly build

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

pierre.astruc@evertest.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEEDINFO                    |RESOLVED

--- Comment #8 from pierre.astruc@evertest.com ---
Hello Felix,

Once again, you manage to quickly fix one bug :)
Well done, it's okay for me with 5.2 nightly (bb01309)

Pierre

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

[Bug 63711] Number of requests are growing without any reason

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

--- Comment #1 from pierre.astruc@evertest.com ---
Created attachment 36749
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36749&action=edit
5.1.1_vs_5.2.0 graphs (docx)

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