Folks,
I need this kind of functionality too.
I put the assertion on a HTTP sample, then turn on "Follow Redirects" and JMeter
follows the redirect fine, but JMeter applies the assertion to the original 302
response instead of the redirect follow-up GET response.
Would it be hard to alter the HTTPSample class to implement this behaviour (apply
child components to the follow-up request if "follow redirects" is on)?
If I did implement this - would it be accepted as a contibution or does no-one else
want this behaviour from JMeter?
Or is there a reason this kind of thing is a bad idea?
Cheers,
Shorn.
-------------------------------------------------------------
List: jmeter-user
Subject: Response assertion against a 302 on HTTP Request
From: Nick Faiz <nick.faiz () ce ! com ! au>
Date: 2003-07-31 1:46:09
Hi,
I want to make a response assertion against the response of the 302
that my HTTP Request gives. In other words, my test requests a URL, this URL
then issues a 302 redirect to the user agent, the new URL contains the
response I'd like to assert against.
Is it possible to co-ordinate a test for this?
Thanks,
Nick Faiz
B2B e-Commerce Developer
Corporate Express Australia Ltd.
Phone: +61-2-9335-0495, Fax: 9335-0753, Email: [EMAIL PROTECTED]
************************************************************************
The information in this e-mail together with any attachments is
intended only for the person or entity to which it is addressed
and may contain confidential and/or privileged material.
Any form of review, disclosure, modification, distribution
and/or publication of this e-mail message is prohibited.
If you have received this message in error, you are asked to
inform the sender as quickly as possible and delete this message
and any copies of this message from your computer and/or your
computer system network.
************************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]