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

           Summary: Add Message Headers on SMTPSampler
           Product: JMeter
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Main
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Created an attachment (id=25707)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25707)
work in progress for header fields

I was not sure if I should create a new RFE or just post on bug45053, sorry if
this is not the right place.

Mail messages can have several headers which are not currently available in the
SMTPSampler. It would be very nice to be able to set this parameter in the
sampler.

I have already started to work on this, attached you will find my work in
progress. 

Currently I am unsure on how to correctly implement a list of variable size of
name/value pairs (header fields). I suppose my solution will be similar to the
Arguments class, can somebody confirm?

My major concern is: How will the file be loaded and a List (or Map) be
created? I know that I have to modify the method SmtpSamplerGUI.configure() but
I don't know which method to call on the TestElement. Should I try to cast this
element to an SMTPSampler and in there set my List/Map?

-- 
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