I've looked at the code (and run a test) and found that although the
Mailer Visualiser only looks at the SampleResult status, this is
actually changed when the assertions are run, so it should work OK.

Have you checked the jmeter log file for errors?

On 09/08/07, sebb <[EMAIL PROTECTED]> wrote:
> Yes, the Mailer Visualiser only seems to look at the SampleResult
> status, not the AssertionResult or Sample class used by the Listeners.
>
> This needs looking into further... not sure if there is a work-round at 
> present.
>
> Perhaps you could file a bug report for this?
>
> On 03/08/07, David Schulberg <[EMAIL PROTECTED]> wrote:
> > Hi All,
> >
> > OK it would appear that failures are classified only in terms of HTTP 
> > response codes so I can't use a Mailer Visualizer to trigger emails based 
> > on 'failed' response assertions. Any suggestions on how to send email 
> > notifications if assertions fail? It appears to me that I probably need 
> > something like a BeanShell listener.
> >
> > David Schulberg
> >
> > Object Consulting | Senior Consultant
> > email: [EMAIL PROTECTED]
> > ----------------------------------------------------------------
> > consulting | development | training | support
> > our experience makes the difference
> >
> > ________________________________
> >
> > From: David Schulberg [mailto:[EMAIL PROTECTED]
> > Sent: Thu 2/08/2007 5:52 PM
> > To: JMeter Users List
> > Subject: Mail Visualizer
> >
> >
> >
> > Hi All,
> >
> > Have set up a Mail Visualizer which tests OK.
> > When I run a script where I have a failed assertion I thought the Mail 
> > Visualizer would send an email because it is set to respond when Failures=1 
> > but it doesn't.
> >
> > I have
> > o - Request
> > |   - Response Assertion
> > |   - Assertion Results
> > --Mail Visualizer
> >
> > It won't work if I have my Mail Visualizer tailed off my Assertion Results 
> > either.
> >
> > Can I have my Mail Visualizer tailed off multiple requests?
> > Can I use variables in the Failure Subject field to report which particular 
> > request(s) have failed?
> >
> >
> > Regards,
> > David Schulberg
> >
> > Object Consulting | Senior Consultant
> > email: [EMAIL PROTECTED]
> > ----------------------------------------------------------------
> > consulting | development | training | support
> > our experience makes the difference
> >
> >
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > 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]

Reply via email to