jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sonam Chauhan <>
Subject SMTP sampler woes
Date Mon, 21 Mar 2011 23:19:54 GMT
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


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.
Content-Type: text/plain
Content-Disposition: attachment; filename="POC_PO_SUBMISSION.XML"

<XML> <a/><b/><c/>...


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message