SPONSORS:






View RSS Feed

Ronak

Understanding JMeter Element- Mail Reader Sampler

Rate this Entry
by , 06-21-2015 at 02:24 AM (619 Views)
Understanding JMeter Element- Mail Reader Sampler

The Mail Reader Sampler can read (and optionally delete) mail messages using POP3(S) or IMAP(S) protocols.

Parameters

Name- Descriptive name for this element that is shown in the tree.
Server Type- The protocol used by the provider: e.g. pop3, pop3s, imap, imaps. or another string representing the server protocol. For example file for use with the read-only mail file provider. The actual provider names for POP3 and IMAP are pop3 and imap
Server- Hostname or IP address of the server. See below for use with file protocol.
Port- Port to be used to connect to the server (optional)
Username- User login name
Password- User login password (N.B. this is stored unencrypted in the test plan)
Folder- The IMAP(S) folder to use. See below for use with file protocol.
Number of messages to retrieve- Set this to retrieve all or some messages
Fetch headers only- If selected, only the message headers will be retrieved.
Delete messages from the server- If set, messages will be deleted after retrieval
Store the message using MIME- Whether to store the message as MIME. If so, then the entire raw message is stored in the Response Data; the headers are not stored as they are available in the data. If not, the message headers are stored as Response Headers. A few headers are stored (Date, To, From, Subject) in the body.
Use no security features- Indicates that the connection to the server does not use any security protocol.
Use SSL- Indicates that the connection to the server must use the SSL protocol.
Use StartTLS- Indicates that the connection to the server should attempt to start the TLS protocol.
Enforce StartTLS- If the server does not start the TLS protocol the connection will be terminated.
Trust All Certificates- When selected it will accept all certificates independent of the CA.
Use local truststore- When selected it will only accept certificates that are locally trusted.
Local truststore- Path to file containing the trusted certificates. Relative paths are resolved against the current directory.
Failing that, against the directory containing the test script (JMX file).
Messages are stored as subsamples of the main sampler. In versions of JMeter after 2.3.4, multipart message parts are stored as subsamples of the message.

The file JavaMail provider can be used to read raw messages from files. The server field is used to specify the path to the parent of the folder. Individual message files should be stored with the name n.msg, where n is the message number. Alternatively, the server field can be the name of a file which contains a single message. The current implementation is quite basic, and is mainly intended for debugging purposes.


Disclaimer: The article/post is posted with the purpose of sharing knowledge and information.
The article may contain references, extract or content from other informative sources.
Researched/Authored/Compiled by -
Ronak Shah
Practice Head - Software Testing (QA), CIGNEX Datamatics

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 05:29 AM.

Copyright BetaSoft Inc.