Bug 59345 - SMTPSampler connection leak
Summary: SMTPSampler connection leak
Status: RESOLVED FIXED
Alias: None
Product: JMeter
Classification: Unclassified
Component: Main (show other bugs)
Version: 2.13
Hardware: All All
: P2 normal (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-18 07:49 UTC by Luca
Modified: 2016-04-19 06:46 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luca 2016-04-18 07:49:28 UTC
Hi all,
SMTPSampler does not close connection if sending email fails (error code different from 2xx after DATA command).

For example send an email with GTUBE signature in body to an SMTP server with antispam module active. You should see the connection ESTABLISHED after test ends until jmeter is running.

Regards,
Luca
Comment 1 Philippe Mouawad 2016-04-19 06:46:56 UTC
Author: pmouawad
Date: Tue Apr 19 06:46:31 2016
New Revision: 1739853

URL: http://svn.apache.org/viewvc?rev=1739853&view=rev
Log:
Bug 59345 - SMTPSampler connection leak
#resolve #198
Bugzilla Id: 59345

Modified:
    jmeter/trunk/src/protocol/mail/org/apache/jmeter/protocol/smtp/sampler/protocol/SendMailCommand.java
    jmeter/trunk/xdocs/changes.xml