Bug 59345

Summary: SMTPSampler connection leak
Product: JMeter Reporter: Luca <luca.maragnani>
Component: MainAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: normal CC: p.mouawad
Priority: P2    
Version: 2.13   
Target Milestone: ---   
Hardware: All   
OS: All   

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