Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 523 invoked from network); 14 Aug 2007 09:24:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Aug 2007 09:24:52 -0000 Received: (qmail 94497 invoked by uid 500); 14 Aug 2007 09:22:08 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 94478 invoked by uid 500); 14 Aug 2007 09:22:08 -0000 Mailing-List: contact jmeter-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "JMeter Users List" Reply-To: "JMeter Users List" Delivered-To: mailing list jmeter-user@jakarta.apache.org Received: (qmail 94329 invoked by uid 99); 14 Aug 2007 09:22:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Aug 2007 02:22:07 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sebbaz@gmail.com designates 209.85.198.190 as permitted sender) Received: from [209.85.198.190] (HELO rv-out-0910.google.com) (209.85.198.190) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Aug 2007 09:22:03 +0000 Received: by rv-out-0910.google.com with SMTP id c24so1231964rvf for ; Tue, 14 Aug 2007 02:21:43 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=GyP/9DQA6st0cl6vyFMXxL8hpjxq+1sepZpiqjfb7ROUXvJy1o1WXgIvIzYEtKOWpkQHBTHvMCQOzadBkcfS3I8Ie3CfJJu4mgPdyBZPkg+G0QEHOCEFH+gH/J3juyE8fbTzJV+duFvdGnNI9v2jJzIJbT3tPXRS9dI0LDE6Wc0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=UAFwbH9zVfkP+eyljBu/EzBVgK+lYHAjPPqrzT936+AGSwGne1sNw3UBTdHUw/gKgKXX5uRyJ/qtDUCQ3y53/UEzLrtHYyCDyqk1wQHpq0Mu2JwlIxI5AciVzqI5dMG3ydPUYt9rOXqFWruLu5tyetPV0D+SBruH3KzHir3Q6ww= Received: by 10.115.106.7 with SMTP id i7mr1620246wam.1187083302880; Tue, 14 Aug 2007 02:21:42 -0700 (PDT) Received: by 10.114.168.12 with HTTP; Tue, 14 Aug 2007 02:21:42 -0700 (PDT) Message-ID: <25aac9fc0708140221k4f167cc1nbd541df42b135b@mail.gmail.com> Date: Tue, 14 Aug 2007 10:21:42 +0100 From: sebb To: "JMeter Users List" Subject: Re: Mail Visualizer In-Reply-To: <74E77154F1AF0A419AF49341465BCBDA0B10B6@MELB-EVS.objectconsulting.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <7ac2300c0706150612k7db4792dj63cc30a11992690a@mail.gmail.com> <7ac2300c0706150817i343c1ff6yab1160f296589478@mail.gmail.com> <7ac2300c0706150839g41fe6c64odc8412bb63f64bd@mail.gmail.com> <74E77154F1AF0A419AF49341465BCBDA0B109B@MELB-EVS.objectconsulting.com.au> <74E77154F1AF0A419AF49341465BCBDA0B109C@MELB-EVS.objectconsulting.com.au> <25aac9fc0708090425m39e78fc7oa52746f8c0e8d44@mail.gmail.com> <25aac9fc0708100230g597772d9j4a2dcecccf054fbb@mail.gmail.com> <74E77154F1AF0A419AF49341465BCBDA0B10B3@MELB-EVS.objectconsulting.com.au> <25aac9fc0708130726m6e5f1ed2we2b3b913c8722027@mail.gmail.com> <74E77154F1AF0A419AF49341465BCBDA0B10B6@MELB-EVS.objectconsulting.com.au> X-Virus-Checked: Checked by ClamAV on apache.org No, I was referring to other visualisers such as the Table Listener, which will show the sample as having failed. The failure field does not seem to get updated in the Mailer GUI, but it will still send the message if necessary. On 14/08/07, David Schulberg wrote: > Hi, > > I am still puzzled. I have a 'Mail Visualiser' straight after an Assertion that fails. I assume you mean the Failures field in the Mail Visualiser as being reflective of status. Even though the preceding Assertion has failed the Failures field = 0 all the time. > > David Schulberg > > Object Consulting | Senior Consultant > email: david.schulberg@objectconsulting.com.au > ---------------------------------------------------------------- > consulting | development | training | support > our experience makes the difference > > ________________________________ > > From: sebb [mailto:sebbaz@gmail.com] > Sent: Tue 14/08/2007 12:26 AM > To: JMeter Users List > Subject: Re: Mail Visualizer > > > > The status is displayed in the Listeners, which run after the assertions. > > The Mail Visualiser is a Listener, so will see the same status as the > other Listeners. > > I've tested it and it works OK for me. > > On 13/08/07, David Schulberg wrote: > > Hi Sebb, > > > > No sign of anything in the JMeter log. > > Where should I be able to see status change? > > > > David Schulberg > > > > Object Consulting | Senior Consultant > > switch: + 61 3 8615 4500 fax: +61 3 8615 4501 > > mobile: 0402 006 291 > > email: david.schulberg@objectconsulting.com.au > > ---------------------------------------------------------------- > > consulting | development | training | support > > our experience makes the difference > > > > ________________________________ > > > > From: sebb [mailto:sebbaz@gmail.com] > > Sent: Fri 10/08/2007 7:30 PM > > To: JMeter Users List > > Subject: Re: Mail Visualizer > > > > > > > > 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 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 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: david.schulberg@objectconsulting.com.au > > > > ---------------------------------------------------------------- > > > > consulting | development | training | support > > > > our experience makes the difference > > > > > > > > ________________________________ > > > > > > > > From: David Schulberg [mailto:David.Schulberg@objectconsulting.com.au] > > > > 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: david.schulberg@objectconsulting.com.au > > > > ---------------------------------------------------------------- > > > > consulting | development | training | support > > > > our experience makes the difference > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > 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 > > > > > > > > > > > > --------------------------------------------------------------------- > > 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 > > > > > > --------------------------------------------------------------------- > 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