I have been following the code in MailReaderSampler and
MailReaderSamplerGui.  I have my sampler showing up in JMeter, the
problem is that I do not know where to load properties and
configuration for the sampler.  I get the following errors in
jmeter.log

2006/10/20 16:19:50 INFO  - jmeter.JMeter: Loaded icon properties from
org/apache/jmeter/images/icon.properties
2006/10/20 16:19:51 WARN  - jmeter.util.JMeterUtils: ERROR! Resource
string not found: [smtp_sampler] java.util.MissingResourceException:
Can't find resource for bundle java.util.PropertyResourceBundle, key
smtp_sampler
        at java.util.ResourceBundle.getObject(ResourceBundle.java:325)
        at java.util.ResourceBundle.getString(ResourceBundle.java:285)
        at 
org.apache.jmeter.util.JMeterUtils.getResStringDefault(JMeterUtils.java:342)
        at org.apache.jmeter.util.JMeterUtils.getResString(JMeterUtils.java:306)
        at 
org.apache.jmeter.gui.AbstractJMeterGuiComponent.getStaticLabel(AbstractJMeterGuiComponent.java:292)
        at 
org.apache.jmeter.gui.AbstractJMeterGuiComponent.<init>(AbstractJMeterGuiComponent.java:80)
        at 
org.apache.jmeter.samplers.gui.AbstractSamplerGui.<init>(AbstractSamplerGui.java:37)



On 10/20/06, Peter Lin <[EMAIL PROTECTED]> wrote:
go through the tutorial. basically, you need to put the jar file under
jmeter/lib/ directory and it will scan it.

peter

On 10/20/06, Mark <[EMAIL PROTECTED]> wrote:
>
> Peter -
>
> Thanks for the links, but either I am missing something, or I need
> more information.  I want to write a sampler that will send SMTP
> messages to a server.  I have the smtp code written, but I am unsure
> as to how to tie the SMTP protocol code to JMeter.  How does the
> JMeter application know to load my classes, and what about writing a
> configuration GUI?
>
> Thanks.
>
>
> On 10/20/06, Peter Lin <[EMAIL PROTECTED]> wrote:
> > http://wiki.apache.org/jakarta-jmeter/JMeterDevelopment
> >
> >
> 
http://svn.apache.org/repos/asf/jakarta/jmeter/trunk/xdocs/extending/jmeter_tutorial.pdf
> >
> >
> >
> > On 10/20/06, Mark <[EMAIL PROTECTED]> wrote:
> > >
> > > These what you are talking about?
> > >
> > > http://wiki.apache.org/jakarta-jmeter/JMeterEclipse
> > > http://jakarta.apache.org/usermanual/junitsampler_tutorial.pdf
> > >
> > > Thank you.
> > >
> > > On 10/20/06, Peter Lin <[EMAIL PROTECTED]> wrote:
> > > > you can find a tutorial on the website. there's also some tips on
> the
> > > wiki
> > > > about setting up eclipse.
> > > >
> > > > peter
> > > >
> > > > On 10/20/06, Mark <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > Where can I find information on writing a custom sampler for
> jmeter?
> > > > >
> > > > > Thank you.
> > > > >
> > > > >
> ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > > For additional commands, e-mail:
> [EMAIL PROTECTED]
> > > > >
> > > > >
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to