You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by jada <ji...@navy.mil> on 2007/06/15 17:57:01 UTC

Bugs somewhere in JMeter...?

Hello all,

I have been running these two simple tests as described below and found that
there might be a bug somewhere in JMeter. The only difference between the
two is that whether or not the HTTP Request Defaults is included.

------------------------------------------
Test 1: with HTTP Request Defaults

Test Plan
  |- Thread Group (Threads: 1, Ramp-up: 0, Loops: 2)
    |- HTTP Cookie Manager
    |- HTTP Request Defaults (Server Name: www.apache.org)
    |- HTTP Request HTTPClient (Path: /foundation/faq.html)
    |- Test Action (Duration: 2000)
    |- HTTP Request HTTPClient (Path: /foundation/news.html)
    |- Test Action (Duration: 2000)
    |- Random Order Controller
      |- Loop Controller (Loop Count: 2)
        |- HTTP Request HTTPClient (Path: /foundation/sponsorship.html)
        |- Test Action (Duration: 2000)
      |- Loop Controller (Loop Count: 2)
        |- HTTP Request HTTPClient (Path: /foundation/contact.html)
        |- Test Action (Duration: 2000)
    |- Summary Report

Test 1 Results:
    Label        #Samples
    faq            1
    news           1
    contact        2
    sponsorship    1
    TOTAL          5

As you can see here, the number of samples for each request should have been
2, 2, 4, 4, and total 12 based on the loop count settings in the test plan.

------------------------------------------
Test 2: without HTTP Request Defaults

Test Plan
  |- Thread Group (Threads: 1, Ramp-up: 0, Loops: 2)
    |- HTTP Cookie Manager
    |- HTTP Request HTTPClient (Server Name: www.apache.org, Path:
/foundation/faq.html)
    |- Test Action (Duration: 2000)
    |- HTTP Request HTTPClient (Server Name: www.apache.org, Path:
/foundation/news.html)
    |- Test Action (Duration: 2000)
    |- Random Order Controller
      |- Loop Controller (Loop Count: 2)
        |- HTTP Request HTTPClient (Server Name: www.apache.org, Path:
/foundation/sponsorship.html)
        |- Test Action (Duration: 2000)
      |- Loop Controller (Loop Count: 2)
        |- HTTP Request HTTPClient (Server Name: www.apache.org, Path:
/foundation/contact.html)
        |- Test Action (Duration: 2000)
    |- Summary Report

Test 2 Results:
    Label        #Samples
    faq            2
    news           2
    contact        4
    sponsorship    4
    TOTAL         12

As you can see here, the number of samples return as expected.
------------------------------------------

Please note that the two tests finish successfully (the green button turns
gray after all). It's very quick to set up these two tests if you would like
to investigate.

Please advise. Thanks.
Jada



-- 
View this message in context: http://www.nabble.com/Bugs-somewhere-in-JMeter...--tf3928836.html#a11142527
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Bugs somewhere in JMeter...?

Posted by sebb <se...@gmail.com>.
There are some ClassCastException reports in jmeter.log, which are
probably the cause of the missing samples.

The problem does not appear in the current nghtly build.
[Not sure offhand which bug fix cured it.]

S.
On 15/06/07, jada <ji...@navy.mil> wrote:
>
> Hello all,
>
> I have been running these two simple tests as described below and found that
> there might be a bug somewhere in JMeter. The only difference between the
> two is that whether or not the HTTP Request Defaults is included.
>
> ------------------------------------------
> Test 1: with HTTP Request Defaults
>
> Test Plan
>  |- Thread Group (Threads: 1, Ramp-up: 0, Loops: 2)
>    |- HTTP Cookie Manager
>    |- HTTP Request Defaults (Server Name: www.apache.org)
>    |- HTTP Request HTTPClient (Path: /foundation/faq.html)
>    |- Test Action (Duration: 2000)
>    |- HTTP Request HTTPClient (Path: /foundation/news.html)
>    |- Test Action (Duration: 2000)
>    |- Random Order Controller
>      |- Loop Controller (Loop Count: 2)
>        |- HTTP Request HTTPClient (Path: /foundation/sponsorship.html)
>        |- Test Action (Duration: 2000)
>      |- Loop Controller (Loop Count: 2)
>        |- HTTP Request HTTPClient (Path: /foundation/contact.html)
>        |- Test Action (Duration: 2000)
>    |- Summary Report
>
> Test 1 Results:
>    Label        #Samples
>    faq            1
>    news           1
>    contact        2
>    sponsorship    1
>    TOTAL          5
>
> As you can see here, the number of samples for each request should have been
> 2, 2, 4, 4, and total 12 based on the loop count settings in the test plan.
>
> ------------------------------------------
> Test 2: without HTTP Request Defaults
>
> Test Plan
>  |- Thread Group (Threads: 1, Ramp-up: 0, Loops: 2)
>    |- HTTP Cookie Manager
>    |- HTTP Request HTTPClient (Server Name: www.apache.org, Path:
> /foundation/faq.html)
>    |- Test Action (Duration: 2000)
>    |- HTTP Request HTTPClient (Server Name: www.apache.org, Path:
> /foundation/news.html)
>    |- Test Action (Duration: 2000)
>    |- Random Order Controller
>      |- Loop Controller (Loop Count: 2)
>        |- HTTP Request HTTPClient (Server Name: www.apache.org, Path:
> /foundation/sponsorship.html)
>        |- Test Action (Duration: 2000)
>      |- Loop Controller (Loop Count: 2)
>        |- HTTP Request HTTPClient (Server Name: www.apache.org, Path:
> /foundation/contact.html)
>        |- Test Action (Duration: 2000)
>    |- Summary Report
>
> Test 2 Results:
>    Label        #Samples
>    faq            2
>    news           2
>    contact        4
>    sponsorship    4
>    TOTAL         12
>
> As you can see here, the number of samples return as expected.
> ------------------------------------------
>
> Please note that the two tests finish successfully (the green button turns
> gray after all). It's very quick to set up these two tests if you would like
> to investigate.
>
> Please advise. Thanks.
> Jada
>
>
>
> --
> View this message in context: http://www.nabble.com/Bugs-somewhere-in-JMeter...--tf3928836.html#a11142527
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org