Thanks Frank. It works after activating the hook 'follow redirect'. Now another problem blocking me is: I try to use 'POST' to do a login with right username and password, but always get login failure result.
Any clues are appreciated. Grace -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 27, 2004 11:26 AM To: JMeter Users List Subject: RE: RE: when response code is 302'Viren geprueft!' Hi Grace, the Response Code 302 is a redirect. You can remove these Response Codes and get your message body by activating the hook for 'Follow Redirect'. You'll then see that one request initiates multiple requests and finaly gets your http body. Best regards Frank |---------+----------------------------> | | "Grace Li" | | | <[EMAIL PROTECTED]| | | roup.com> | | | | | | 27.07.2004 15:00 | | | Bitte antworten | | | an "JMeter Users | | | List" | | | | |---------+----------------------------> >------------------------------------------------------------------------------------------------------------------------------| | | | An: "JMeter Users List" <[EMAIL PROTECTED]> | | Kopie: | | Thema: RE: when response code is 302'Viren geprueft!' | >------------------------------------------------------------------------------------------------------------------------------| Thanks. Besides these, I still need to know the following message body and check the content of the body. Only knowing the response code is 302 is not enough. Thanks, Grace -----Original Message----- From: nlunebur [mailto:[EMAIL PROTECTED] Sent: Monday, July 26, 2004 7:22 PM To: JMeter Users List Subject: Re: when response code is 302 hi grace you can see the 302 responses in your 'view results tree' listener. its under the 'Sampler result' tab. i am using JMeter 2.0.1 by the way, but i am sure previous version should have this as well. to use the response assertion, under 'Response Field to Test' select the 'Response Code' and check for the '302' response. hope this helps. Grace Li wrote: > Hi all, > > In my web application, the http response codes are all 302 for any > successful requests. But I can't see response data in jmeter 'view > results tree'. Does jmeter receive the response data when response > code is 302? How can I set 'response assertion' for the request which > get response code 302. > > thanks in advance. > GL > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

