Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 83098 invoked from network); 15 Feb 2010 18:24:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Feb 2010 18:24:40 -0000 Received: (qmail 76393 invoked by uid 500); 15 Feb 2010 12:53:18 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 76364 invoked by uid 500); 15 Feb 2010 12:53:18 -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 76354 invoked by uid 99); 15 Feb 2010 12:53:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Feb 2010 12:53:18 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [87.198.172.198] (HELO mail.newbay.com) (87.198.172.198) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Feb 2010 12:53:11 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.newbay.com (Postfix) with ESMTP id 9C080360088 for ; Mon, 15 Feb 2010 12:52:50 +0000 (GMT) X-Virus-Scanned: amavisd-new at newbay.com Received: from mail.newbay.com ([127.0.0.1]) by localhost (mail.newbay.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Yt1La37dI6Oa for ; Mon, 15 Feb 2010 12:52:50 +0000 (GMT) Received: from mail01.newbay.com (mail01.newbay.com [192.168.12.25]) by mail.newbay.com (Postfix) with ESMTP id 28F7636007F for ; Mon, 15 Feb 2010 12:52:50 +0000 (GMT) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail01.newbay.com (Postfix) with ESMTP id 24B297C324 for ; Mon, 15 Feb 2010 12:52:50 +0000 (GMT) X-Virus-Scanned: amavisd-new at newbay.com Received: from mail01.newbay.com ([127.0.0.1]) by localhost (mail01.newbay.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8GcE-8+iSxrA for ; Mon, 15 Feb 2010 12:52:49 +0000 (GMT) Received: from mail01.newbay.com (mail01.newbay.com [192.168.12.25]) by mail01.newbay.com (Postfix) with ESMTP id 817A07C31A for ; Mon, 15 Feb 2010 12:52:49 +0000 (GMT) Date: Mon, 15 Feb 2010 12:52:49 +0000 (GMT) From: Noel O'Brien To: JMeter Users List Message-ID: <29681649.3261266238474959.JavaMail.nobrien@olympia> In-Reply-To: <25aac9fc1002150429w32aca3c9pdda65d4936f10f9b@mail.gmail.com> Subject: Re: Mail Sampler MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_164_25346771.1266238474958" X-Originating-IP: [192.168.3.8] X-Mailer: Zimbra 5.0.11_GA_2695.RHEL5_64 (Yahoo! Zimbra Desktop/1.0_1593_Linux) ------=_Part_164_25346771.1266238474958 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Sure, I'll give it a go and report my findings=20 Regards,=20 Noel=20 ----- "sebb" wrote:=20 > On 15/02/2010, Noel O'Brien wrote:=20 > > Apologies, forgot to attach the useful information ;)=20 > >=20 > > =E2=80=A2 OS: Ubuntu 9.10 (Linux olympia 2.6.31-19-generic-pae #56-Ubun= tu SMP Thu Jan 28 02:29:51 UTC 2010 i686 GNU/Linux)=20 > > =E2=80=A2 Java: Sun version "1.6.0_18"=20 > > =E2=80=A2 Javamail: 1.4.1 (mail.jar only)=20 > > =E2=80=A2 JMeter: 2.3.2 r665936=20 >=20 > Can you try JMeter 2.3.4?=20 > There are a lot of fixes since 2.3.2.=20 >=20 > > =E2=80=A2 Sampler: Mail Reader Sampler=20 > >=20 > >=20 > > =E2=80=A2 Server Type: IMAP=20 > > =E2=80=A2 Server: =20 > > =E2=80=A2 Username: =20 > > =E2=80=A2 Password: =20 > > =E2=80=A2 Folder: INBOX=20 > > =E2=80=A2 Number of messages to retrieve: All=20 > > =E2=80=A2 Delete messages from the server: false=20 > >=20 > > Regards,=20 > > Noel=20 > >=20 > >=20 > > ----- "sebb" wrote:=20 > > > On 15/02/2010, Noel O'Brien wrote:=20 > > > > Hi all,=20 > > > >=20 > > > > I've two questions regarding the mail sampler:=20 > > > >=20 > > > > 1. Is it possible to have JMeter decode multi-part messages?=20 > > > > 2. Is it possible to have JMeter force UTF-8 encoding when reading/= displaying the mail=20 > > >=20 > > > Which version of JMeter and Javamail are you using? OS?=20 > > >=20 > > > Which sampler are you using? Which options? IMAP(S) ? POP3(S) ?=20 > > >=20 > > > > As part of my tests I'm using my product to send emails and using J= Meter to confirm that the emails arrive and contain the correct information= . However I've found that when I use UTF-8 characters in the mail subject, = it appears scrambled in JMeters View results tree listener and assertions a= gainst the value fail. Using several mail clients (thunderbird, etc.), the = mail appears fine in terms of character encoding. Can JMeter handle UTF-8 c= hars in emails?=20 > > > >=20 > > > > The emails I've sent have a message bady and attachment, though whe= n the mail is sampled in JMeter it shows up as:=20 > > > >=20 > > > > Multipart. Count: 2 Type: multipart/ALTERNATIVE; boundary=3D"----= =3D_Part_60_10050345.1266233578389" javax.mail.internet.MimeMultipart@18529= 58 Type: IMAGE/JPEG; name=3D6149b5b039ac499baeaf70a02d1d7a37.jpg com.sun.ma= il.util.BASE64DecoderStream@15d585d=20 > > > > I can assert on the attachment, but the message body is not display= ed. Is it possible for JMeter to decode multi-part message by, e.g. a param= eter?=20 > > > >=20 > > > > Regards,=20 > > > >=20 > > > > Noel=20 > > > >=20 > > >=20 > >=20 > > > ---------------------------------------------------------------------= =20 > > > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org=20 > > > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org= =20 > > >=20 > > >=20 >=20 > ---------------------------------------------------------------------=20 > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org=20 > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org=20 >=20 > ------=_Part_164_25346771.1266238474958--