Hi all,
I've two questions regarding the mail sampler:
1. Is it possible to have JMeter decode multi-part messages?
2. Is it possible to have JMeter force UTF-8 encoding when
reading/displaying the mail
As part of my tests I'm using my product to send emails and using JMeter 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 against the
value fail. Using several mail clients (thunderbird, etc.), the mail appears
fine in terms of character encoding. Can JMeter handle UTF-8 chars in emails?
The emails I've sent have a message bady and attachment, though when the mail
is sampled in JMeter it shows up as:
Multipart. Count: 2 Type: multipart/ALTERNATIVE;
boundary="----=_Part_60_10050345.1266233578389"
javax.mail.internet.mimemultip...@1852958 Type: IMAGE/JPEG;
name=6149b5b039ac499baeaf70a02d1d7a37.jpg
com.sun.mail.util.base64decoderstr...@15d585d
I can assert on the attachment, but the message body is not displayed. Is it
possible for JMeter to decode multi-part message by, e.g. a parameter?
Regards,
Noel