jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: SMTP sampler woes
Date Mon, 21 Mar 2011 23:23:58 GMT
On 21 March 2011 23:19, Sonam Chauhan <sonamc@gmail.com> wrote:
> I've been trying without success to get the JMeter SMTP sampler  to
> simulate sending email  to a system which receives emails in
> particular format. I basically need it to send a multipart MIME email,
> containing a single part (content type 'text/plain') with an XML
> document. (Please see example below).
>
> Depending on the options used, the JMeter SMTP sampler  seems to
> either not send a multipart message, or base-64 encode the XML
> document --  the receiving system cannot handle this.
>
> Is there any way to just specify the full body of the email, including
> headers?  i.e. Can the SMTP sampler  send an  email exactly as shown
> below?

Which version of JMeter are you using?

> Regards
> Sonam
>
> EXAMPLE
> -----------------------------------------------
> To: example@example.com
> Subject: xyz
> Content-Type: multipart/mixed; boundary="-----7D81B75CCC90D2974F7A1CBD"
> Date: 16 Mar 2011 19:28:00 +1100
>
> This is a multi-part message in MIME format.
> -------7D81B75CCC90D2974F7A1CBD
> Content-Type: text/plain
> Content-Disposition: attachment; filename="POC_PO_SUBMISSION.XML"
>
> <XML> <a/><b/><c/>...
> </XML>
>
> -------7D81B75CCC90D2974F7A1CBD--
>
> ---------------------------------------------------------------------
> 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


Mime
View raw message