Hi, i think it should work if you add both of these codes to the patterns to test for in the response assertion - then it will check if the response code matches either of these, and assert Success if it does, failure otherwise.
- Adrian -----Original Message----- From: Jose Pablo Sarco [mailto:[EMAIL PROTECTED] Sent: 25 August 2008 19:45 To: JMeter Users List Subject: RE: How add validations to the test plan ************************************* This e-mail has been received by the Revenue Internet e-mail service. (IP) ************************************* Thanks. I added a 'result status action handler' to my test plan; it looks like: Thread Group -- HTTP Cookie Manager -- HTTP URL Re-writing Modifier -- Result status action handler -- Response Assertion -- Simple Controller -- Login -- .... -- View Results Tree Is it possible adds an OR condition in the Response assertion? (Because, I want continue with the test plan if the response code is 200 or 302) Thanks!!! Jose -----Original Message----- From: Fitzpatrick, Adrian [mailto:[EMAIL PROTECTED] Sent: Lunes, 25 de Agosto de 2008 12:15 p.m. To: JMeter Users List Subject: RE: How add validations to the test plan Add response assertions , combine with post processor (e.g. result status action handler) if required -----Original Message----- From: Jose Pablo Sarco [mailto:[EMAIL PROTECTED] Sent: 25 August 2008 16:05 To: JMeter Users List Subject: How add validations to the test plan Hi all, I have recorded and tested my test plan, now I need add some validations to stop the test plan when I have some problems or errors (Response code <> 200). How I can do that with Jmeter? Thanks in advance, Jose ############################################################################# #################################### Este documento puede incluir información confidencial y propiedad de Neoris y deberá ser leído solamente por la o las personas a quienes está dirigido. Si usted ha recibido este mensaje por error, por favor avise inmediatamente al remitente contestando y eliminando este correo. Cualquier punto de vista u opiniones expresadas en este mensaje son del remitente y no necesariamente coinciden con aquellas de Neoris. Este documento no deberá ser reproducido, copiado, distribuido, publicado, ni modificado por terceros sin la autorización por escrito de Neoris. Este mensaje ha sido verificado contra virus. Visítenos en www.neoris.com. ############################################################################# #################################### ************************ This message has been delivered to the Internet by the Revenue Internet e-mail service (OP) ************************* --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ############################################################################# #################################### Este documento puede incluir información confidencial y propiedad de Neoris y deberá ser leído solamente por la o las personas a quienes está dirigido. Si usted ha recibido este mensaje por error, por favor avise inmediatamente al remitente contestando y eliminando este correo. Cualquier punto de vista u opiniones expresadas en este mensaje son del remitente y no necesariamente coinciden con aquellas de Neoris. Este documento no deberá ser reproducido, copiado, distribuido, publicado, ni modificado por terceros sin la autorización por escrito de Neoris. Este mensaje ha sido verificado contra virus. Visítenos en www.neoris.com. ############################################################################# #################################### --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ************************ This message has been delivered to the Internet by the Revenue Internet e-mail service (OP) ************************* --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

