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: [EMAIL PROTECTED]
                CC: [EMAIL PROTECTED]
        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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to