You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by srikanth peddireddy <sr...@yahoo.co.in> on 2005/06/21 07:11:28 UTC

How to enforce sequece on HTTP requests made thru JMeter

Hi All,
 
    I want to know how to enforce the sequence on http requests added to a thread group.
 
Say I added http requests for some Page1.jsp, page2.jsp then page3.jsp.
But Page2.jsp and Page3.jsp will expect some thing to be there in session  which page1.jsp will put into session.
So Jmeter while running my testplan should send requests for Page2.jsp and Page3.jsp only after sending request for corresponding Page1.jsp (or receving response for page1.jsp)
 
Please forgive me if this kind of question is already answered
 
Thanks for any kind of help in this regard.
 
regards
Srikanth.P
 


Disclaimer
------------------------------------------------------------------------------------
This e-mail message may contain confidential, proprietary 
or legally privileged information. It should not be used by
anyone who is not the original intended recipient. If you
have erroneously received this message, please delete it
immediately and notify the sender. 

The views, opinions, conclusions and other information 
expressed in this electronic mail are those of the 
individual sender and not endorsed by SDG Software 
Technologies Pvt. Ltd. unless otherwise indicated by an 
authorised representative independent of this message.

Before opening any attachment please check them for viruses 
and defects. SDG Software Technologies Pvt. Ltd. shall not 
accept responsibility for any loss or damage arising from 
the use of this email or attachment(s).
-------------------------------------------------------------------------------------
		
---------------------------------
 Free antispam, antivirus and 1GB to save all your messages
 Only in Yahoo! Mail: http://in.mail.yahoo.com

Re: How to enforce sequece on HTTP requests made thru JMeter

Posted by srikanth peddireddy <sr...@yahoo.co.in>.
HI All
 
Thanx for all replies.
Actaully all my http req are in single thread group.
After posting the query I noticed that . page2 or page 3 (in my eg.) are getting errors because of some application specefic behavior but nor becoz sequence is not enforced on them.
When I fixed that every thing went well (though it is not the end of all my problems :-)   ). 
 
regards
Srikanth.P




Disclaimer
------------------------------------------------------------------------------------
This e-mail message may contain confidential, proprietary 
or legally privileged information. It should not be used by
anyone who is not the original intended recipient. If you
have erroneously received this message, please delete it
immediately and notify the sender. 

The views, opinions, conclusions and other information 
expressed in this electronic mail are those of the 
individual sender and not endorsed by SDG Software 
Technologies Pvt. Ltd. unless otherwise indicated by an 
authorised representative independent of this message.

Before opening any attachment please check them for viruses 
and defects. SDG Software Technologies Pvt. Ltd. shall not 
accept responsibility for any loss or damage arising from 
the use of this email or attachment(s).
-------------------------------------------------------------------------------------
		
---------------------------------
How much free photo storage do you get? Store your friends n family photos for FREE with Yahoo! Photos. 
 http://in.photos.yahoo.com

Re: How to enforce sequece on HTTP requests made thru JMeter

Posted by sebb <se...@gmail.com>.
Samplers are processed in the order in which they appear in the test
plan, unless they are under a conditional controller of some kind.

So if you have the following:

Thread Group
  Page 1
  Page 2
  Page 3

then JMeter will request Page 1, and get the response, before processing Page 2.
And so on.

Are you seeing something different?

If you have multiple threads, then page 1 for one thread may be
requested before or after page 2 for another thread, as the threads
run independently.

Make sure that the test plan works OK with one thread first.

Have you added a Cookie Manager?
This will be needed if Page 2,3 need cookies established by Page 1.

S.
On 6/21/05, srikanth peddireddy <sr...@yahoo.co.in> wrote:
> Hi All,
> 
>    I want to know how to enforce the sequence on http requests added to a thread group.
> 
> Say I added http requests for some Page1.jsp, page2.jsp then page3.jsp.
> But Page2.jsp and Page3.jsp will expect some thing to be there in session  which page1.jsp will put into session.
> So Jmeter while running my testplan should send requests for Page2.jsp and Page3.jsp only after sending request for corresponding Page1.jsp (or receving response for page1.jsp)
> 
> Please forgive me if this kind of question is already answered
> 
> Thanks for any kind of help in this regard.
> 
> regards
> Srikanth.P
> 
> 
> 
> Disclaimer
> ------------------------------------------------------------------------------------
> This e-mail message may contain confidential, proprietary
> or legally privileged information. It should not be used by
> anyone who is not the original intended recipient. If you
> have erroneously received this message, please delete it
> immediately and notify the sender.
> 
> The views, opinions, conclusions and other information
> expressed in this electronic mail are those of the
> individual sender and not endorsed by SDG Software
> Technologies Pvt. Ltd. unless otherwise indicated by an
> authorised representative independent of this message.
> 
> Before opening any attachment please check them for viruses
> and defects. SDG Software Technologies Pvt. Ltd. shall not
> accept responsibility for any loss or damage arising from
> the use of this email or attachment(s).
> -------------------------------------------------------------------------------------
> 
> ---------------------------------
>  Free antispam, antivirus and 1GB to save all your messages
>  Only in Yahoo! Mail: http://in.mail.yahoo.com
>

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


Re: How to enforce sequece on HTTP requests made thru JMeter

Posted by Shabana Shabana <sh...@gmail.com>.
Hi,

I think the If controller should solve your problem it would be  like
if request1 then request2

I think this how you want Jmeter to work 

On 6/21/05, srikanth peddireddy <sr...@yahoo.co.in> wrote:
> Hi All,
> 
>     I want to know how to enforce the sequence on http requests added to a thread group.
> 
> Say I added http requests for some Page1.jsp, page2.jsp then page3.jsp.
> But Page2.jsp and Page3.jsp will expect some thing to be there in session  which page1.jsp will put into session.
> So Jmeter while running my testplan should send requests for Page2.jsp and Page3.jsp only after sending request for corresponding Page1.jsp (or receving response for page1.jsp)
> 
> Please forgive me if this kind of question is already answered
> 
> Thanks for any kind of help in this regard.
> 
> regards
> Srikanth.P
> 
> 
> 
> Disclaimer
> ------------------------------------------------------------------------------------
> This e-mail message may contain confidential, proprietary
> or legally privileged information. It should not be used by
> anyone who is not the original intended recipient. If you
> have erroneously received this message, please delete it
> immediately and notify the sender.
> 
> The views, opinions, conclusions and other information
> expressed in this electronic mail are those of the
> individual sender and not endorsed by SDG Software
> Technologies Pvt. Ltd. unless otherwise indicated by an
> authorised representative independent of this message.
> 
> Before opening any attachment please check them for viruses
> and defects. SDG Software Technologies Pvt. Ltd. shall not
> accept responsibility for any loss or damage arising from
> the use of this email or attachment(s).
> -------------------------------------------------------------------------------------
> 
> ---------------------------------
>  Free antispam, antivirus and 1GB to save all your messages
>  Only in Yahoo! Mail: http://in.mail.yahoo.com
> 


-- 
regards

Shabana

"Dreams can often become challenging, but challenges are what we live for"

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