You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Tomasz Nazar <To...@ii.uni.wroc.pl> on 2005/05/26 01:50:10 UTC

Default HTTP Requests' assertions

Hi there! (first time on the list)
Thanks for great software as JMeter is. It helps!


I do functional testing of my web application. I've recorded HTTP
Requests using Proxy. I can successfuly run them.

What I need, is to test if the page JMeter retrieved is a valid HTML
page, etc. I do it with use of "Response Assertion". One assertion per
one request.


And all my assertions are the same.
Is there a way to have some kind of default 'Response Assertion' for all
HTTP Requests? 


Thanks in advance,
Tomasz Nazar


-- 
  _i______'simplicity_is_the_key'__________tomasz_nazar
  _ii____'i_am_concern_oriented'__________________iiuwr
  _iii__'patsystem.sf.net'___________________linux_user
  _Heaven_&_Fellows,_PPP______________________prevayler

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


Re: Default HTTP Requests' assertions

Posted by Tomasz Nazar <To...@ii.uni.wroc.pl>.
On Thu, May 26, 2005 at 01:08:30AM +0100, sebb wrote:
> Yes, Assertions are applied to all Samplers in the same scope.
> 
> For information on scoping rules, see:
> 
> http://jakarta.apache.org/jmeter/usermanual/build-test-plan.html#scoping_rules
> 
> S.
> On 5/26/05, Tomasz Nazar <To...@ii.uni.wroc.pl> wrote:
> > 
> > Hi there! (first time on the list)
> > Thanks for great software as JMeter is. It helps!
> > 
> > 
> > I do functional testing of my web application. I've recorded HTTP
> > Requests using Proxy. I can successfuly run them.
> > 
> > What I need, is to test if the page JMeter retrieved is a valid HTML
> > page, etc. I do it with use of "Response Assertion". One assertion per
> > one request.
> > 
> > 
> > And all my assertions are the same.
> > Is there a way to have some kind of default 'Response Assertion' for all
> > HTTP Requests?


Thanks! It worked the way I wanted.

Take care,
Tomasz Nazar


-- 
  _i______'simplicity_is_the_key'__________tomasz_nazar
  _ii____'i_am_concern_oriented'__________________iiuwr
  _iii__'patsystem.sf.net'___________________linux_user
  _Heaven_&_Fellows,_PPP______________________prevayler

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


Re: Default HTTP Requests' assertions

Posted by sebb <se...@gmail.com>.
Yes, Assertions are applied to all Samplers in the same scope.

For information on scoping rules, see:

http://jakarta.apache.org/jmeter/usermanual/build-test-plan.html#scoping_rules

S.
On 5/26/05, Tomasz Nazar <To...@ii.uni.wroc.pl> wrote:
> 
> Hi there! (first time on the list)
> Thanks for great software as JMeter is. It helps!
> 
> 
> I do functional testing of my web application. I've recorded HTTP
> Requests using Proxy. I can successfuly run them.
> 
> What I need, is to test if the page JMeter retrieved is a valid HTML
> page, etc. I do it with use of "Response Assertion". One assertion per
> one request.
> 
> 
> And all my assertions are the same.
> Is there a way to have some kind of default 'Response Assertion' for all
> HTTP Requests?
> 
> 
> Thanks in advance,
> Tomasz Nazar
> 
> 
> --
>   _i______'simplicity_is_the_key'__________tomasz_nazar
>   _ii____'i_am_concern_oriented'__________________iiuwr
>   _iii__'patsystem.sf.net'___________________linux_user
>   _Heaven_&_Fellows,_PPP______________________prevayler
> 
> ---------------------------------------------------------------------
> 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