You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by bu...@apache.org on 2008/06/20 13:55:22 UTC

DO NOT REPLY [Bug 45244] New: Enhances MailReaderSampler forget top headers

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

           Summary: Enhances MailReaderSampler forget top headers
           Product: JMeter
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Main
        AssignedTo: jmeter-dev@jakarta.apache.org
        ReportedBy: boli@zhaw.ch
                CC: hauser@acm.org
        Depends on: 45005


We test a system with the mail reader, which doesn't cache the headers and sign
the message 2 times. First time the header which is taken with top and the
second time when the MailReader retieves the whole message.This is a problem
because,  the boundary of the header is different from the message body. In
this case it ends in a Boundary-Exception.

this propleme can resolved with the mail properties:

mail.pop3.disabletop=true
mail.pop3.forgettopheaders=true 


I have patched the MailReader with adding a checkbox called "Enable header
caching". The source based on the MailReader from BUG 45005.
The default value is false, which means the properties on top will be set for
starting the session and the pop session forget the header which is taken with
top.

With this patch it's not possible to enable and disable the header caching for
all samplers with one option. 

This could be resolved with java properties for example:

starting jmeter with java properties like :mailReader.mail.pop3.disabletop=true
and the MailReader could check if any java property is set for him. When the
MailReader finds a property it can now do something with it. In this case set
the properties for the pop session to forget the top headers.


-- 
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: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 45244] Enhances MailReaderSampler forget top headers

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

Bug 45244 depends on bug 45005, which changed state.

Bug 45005 Summary: Enhances MailReaderSampler
https://issues.apache.org/bugzilla/show_bug.cgi?id=45005

           What    |Old Value                   |New Value
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX

-- 
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: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 45244] Enhances MailReaderSampler forget top headers

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





--- Comment #1 from Michael Bolliger <bo...@zhaw.ch>  2008-06-20 04:56:11 PST ---
Created an attachment (id=22152)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=22152)
 MailReaderSampler as .tar


-- 
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: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 45244] Enhances MailReaderSampler forget top headers

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


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

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




--- Comment #2 from Sebb <se...@apache.org>  2008-06-20 05:12:14 PST ---
It took me a while to realise that this enhancement relates to code that is not
part of any JMeter versions.

If you want to add to existing enhancement requests, please either update the
original request, or make it very clear at the start that the enhancement
relates to proposed code.

In this case, the easiest would be to provide a new patch for bug 45005.

Closing accordingly.


-- 
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: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 45244] Enhances MailReaderSampler forget top headers

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


Michael Bolliger <bo...@zhaw.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marc.rennhard@zhaw.ch




-- 
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: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org