You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by "张为东(为东)" <we...@alibaba-inc.com> on 2015/08/20 06:28:30 UTC

答复: Run multiple thread groups in order

Hi,

 

I used JMeter 2.13 to encounter the issue.

 

And how are you determining that Group 3 is running before Group 2?

[weidong]I checked the element “View Results Tree”, it shows the following sampler results:

http request 1

http request 3

http request 2 (http request 2 used the variable from the reply of http request 3, but the reply of http request 1 is expected.)

…

http request 2

http request 4

…

http request 4

 

发件人: Deepak Shetty [mailto:shettyd@gmail.com] 
发送时间: 2015年8月20日 0:53
收件人: JMeter Users List; 张为东(为东)
主题: Re: Run multiple thread groups in order

 

Hi

works fine for me (Jmeter 2.13) - What version of JMeter/Java  are you using ? And how are you determining that Group 3 is running before Group 2?

regards

deepak

 

On Wed, Aug 19, 2015 at 7:52 AM, 张为东(为东) <we...@alibaba-inc.com> wrote:

Hi,

 

I want to run all of the thread groups in order(group 1->group2->group3->group4) as below:

+thread group 1( loop 1 time)

++http request 1

+thread group 2( loop 10 times)

++http request 2

+thread group 3( loop 1 time)

++http request 3

+thread group 4( loop 10 times)

++http request 4

 

I had already selected the configuration item “Run Test Groups consecutively” in Test Plan element. After run, the result is unexpected.

Seems the order is group1->group3->group2->group4, anyone can help me on it?

 

Thanks

--Weidong

 


Re: 答复: Run multiple thread groups in order

Posted by Deepak Shetty <sh...@gmail.com>.
Hi
youll have to upload your plan and share the link and /or report a bug - I
dont see the behavior you are reporting

>(http request 2 used the variable from the reply of http request 3, but
the reply of http request 1 is expected.)
Not sure what you mean by this as variables are not shared across thread
groups.

regards
deepak


On Wed, Aug 19, 2015 at 9:28 PM, 张为东(为东) <we...@alibaba-inc.com>
wrote:

> Hi,
>
>
>
> I used JMeter 2.13 to encounter the issue.
>
>
>
> And how are you determining that Group 3 is running before Group 2?
>
> [weidong]I checked the element “View Results Tree”, it shows the following
> sampler results:
>
> http request 1
>
> http request 3
>
> http request 2 (http request 2 used the variable from the reply of http
> request 3, but the reply of http request 1 is expected.)
>
> …
>
> http request 2
>
> http request 4
>
> …
>
> http request 4
>
>
>
> *发件人:* Deepak Shetty [mailto:shettyd@gmail.com]
> *发送时间:* 2015年8月20日 0:53
> *收件人:* JMeter Users List; 张为东(为东)
> *主题:* Re: Run multiple thread groups in order
>
>
>
> Hi
>
> works fine for me (Jmeter 2.13) - What version of JMeter/Java  are you
> using ? And how are you determining that Group 3 is running before Group 2?
>
> regards
>
> deepak
>
>
>
> On Wed, Aug 19, 2015 at 7:52 AM, 张为东(为东) <we...@alibaba-inc.com>
> wrote:
>
> Hi,
>
>
>
> I want to run all of the thread groups in order(group
> 1->group2->group3->group4) as below:
>
> +thread group 1( loop 1 time)
>
> ++http request 1
>
> +thread group 2( loop 10 times)
>
> ++http request 2
>
> +thread group 3( loop 1 time)
>
> ++http request 3
>
> +thread group 4( loop 10 times)
>
> ++http request 4
>
>
>
> I had already selected the configuration item “Run Test Groups
> consecutively” in Test Plan element. After run, the result is unexpected.
>
> Seems the order is group1->group3->group2->group4, anyone can help me on
> it?
>
>
>
> Thanks
>
> --Weidong
>
>
>