Bug 62935 - Pass custom 'mail.*' properties to Mail Reader Sampler
Summary: Pass custom 'mail.*' properties to Mail Reader Sampler
Status: RESOLVED FIXED
Alias: None
Product: JMeter
Classification: Unclassified
Component: Main (show other bugs)
Version: 3.0
Hardware: All All
: P2 enhancement (vote)
Target Milestone: JMETER_5.1
Assignee: JMeter issues mailing list
URL:
Keywords: FixedInTrunk
Depends on:
Blocks:
 
Reported: 2018-11-21 13:27 UTC by Artem Fedorov
Modified: 2018-12-18 22:27 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Artem Fedorov 2018-11-21 13:27:11 UTC
The Java Mail service can be configure using a lot of properties, but JMeter allow to set only few of them. It's a list of properties that can be use for config pop3 message store. https://javaee.github.io/javamail/docs/api/com/sun/mail/pop3/package-summary.html 

My suggestion is add capability for config any properties from list above.
Comment 1 Artem Fedorov 2018-11-21 13:29:40 UTC
PR with this improvement 
https://github.com/apache/jmeter/pull/433
Comment 2 UbikLoadPack support 2018-11-23 11:22:50 UTC
Author: pmouawad
Date: Fri Nov 23 11:22:00 2018
New Revision: 1847247

URL: http://svn.apache.org/viewvc?rev=1847247&view=rev
Log:
Bug 62935 - Pass custom 'mail.*' properties to Mail Reader Sampler

Implemented by Artem Fedorov (artem.fedorov at blazemeter.com) and contributed by BlazeMeter

This closes #433
Bugzilla Id: 62935

Added:
    jmeter/trunk/test/src/org/apache/jmeter/protocol/mail/
    jmeter/trunk/test/src/org/apache/jmeter/protocol/mail/sampler/
    jmeter/trunk/test/src/org/apache/jmeter/protocol/mail/sampler/TestMailReaderSampler.java   (with props)
Modified:
    jmeter/trunk/src/protocol/mail/org/apache/jmeter/protocol/mail/sampler/MailReaderSampler.java
    jmeter/trunk/xdocs/changes.xml
    jmeter/trunk/xdocs/usermanual/component_reference.xml