You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jakarta.apache.org by bu...@apache.org on 2010/07/20 16:25:19 UTC

DO NOT REPLY [Bug 49622] New: Allow sending messages without a subject

https://issues.apache.org/bugzilla/show_bug.cgi?id=49622

           Summary: Allow sending messages without a subject
           Product: JMeter
           Version: Nightly (Please specify date)
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Main
        AssignedTo: notifications@jakarta.apache.org
        ReportedBy: moreira@privasphere.com


One test to verify if mail systems are able to handle unusual messages is to
send messages without a subject.

To allow this I have created a patch that enhances the functionality of the
SMTP Sampler in JMeter.

This patch is attached, and consists of a simple check box to determine if the
subject should be empty or not.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org


DO NOT REPLY [Bug 49622] Allow sending messages without a subject

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49622

Sebb <se...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #6 from Sebb <se...@apache.org> 2010-08-16 16:58:45 EDT ---
Thanks for the patch.

I changed the message from "Empty Subject" to "Suppress Subject Header" to make
it clearer what the checkbox does, and fixed the component_reference patch.

URL: http://svn.apache.org/viewvc?rev=986129&view=rev
Log:
Bug 49622 - Allow sending messages without a subject (SMTP Sampler)

Modified:
  
jakarta/jmeter/trunk/src/core/org/apache/jmeter/resources/messages.properties
  
jakarta/jmeter/trunk/src/protocol/mail/org/apache/jmeter/protocol/smtp/sampler/SmtpSampler.java
  
jakarta/jmeter/trunk/src/protocol/mail/org/apache/jmeter/protocol/smtp/sampler/gui/SmtpPanel.java
  
jakarta/jmeter/trunk/src/protocol/mail/org/apache/jmeter/protocol/smtp/sampler/gui/SmtpSamplerGui.java
  
jakarta/jmeter/trunk/src/protocol/mail/org/apache/jmeter/protocol/smtp/sampler/protocol/SendMailCommand.java
   jakarta/jmeter/trunk/xdocs/changes.xml
   jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org


DO NOT REPLY [Bug 49622] Allow sending messages without a subject

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49622

--- Comment #5 from Sebb <se...@apache.org> 2010-07-21 07:03:17 EDT ---
OK, understood.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org


DO NOT REPLY [Bug 49622] Allow sending messages without a subject

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49622

--- Comment #4 from Luciana Moreira <mo...@privasphere.com> 2010-07-21 03:12:50 EDT ---
I believe I did not explain it properly. As Ralf said, this is not about
setting the string to "" it is about removing the Subject header.

We have seen messages arriving in our mail server in such conditions. This was
the reason to enhance the JMeter functionality to allow stress testing the
server with this kind of message.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org


DO NOT REPLY [Bug 49622] Allow sending messages without a subject

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49622

Sebb <se...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME

--- Comment #1 from Sebb <se...@apache.org> 2010-07-20 14:23:40 EDT ---
There is no attachment.

Also, the SMTP sampler already allows both the Subject and Body to be empty, so
I don't think any change is needed.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org


DO NOT REPLY [Bug 49622] Allow sending messages without a subject

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49622

Ralf Hauser <ha...@acm.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WORKSFORME                  |

--- Comment #2 from Ralf Hauser <ha...@acm.org> 2010-07-21 01:16:49 EDT ---
There is a difference between an empty string being in the "Subject"
MIME-Header and no "Subject" MIME-Header altogether.

There are real-world mail clients out there that send messages without the
subject and also we noticed that there are mail-programs that are not prepared
to handle such messages. Therefore, the SMTP sampler would benefit from having
this extra feature.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org


DO NOT REPLY [Bug 49622] Allow sending messages without a subject

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49622

--- Comment #3 from Luciana Moreira <mo...@privasphere.com> 2010-07-21 03:08:51 EDT ---
Created an attachment (id=25791)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25791)
Patch to allow removing the subject header

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org