the process of writing a sampler for JMeter requires two parts.
 
1. the sampler is the code responsible for performing the request
2. the gui uses the sampler and is responsible for creating new instances of the 
sampler
 
I'll use the webservice sampler as an example.  I first wrote the sampler class which 
is in the "http.sampler" directory. Once I had the sampler working, I wrote the GUI, 
which is in "http.control.gui" directory. Once you have both these classes, you can 
build a jar and put it in the lib directory. JMeter will automatically pick up the new 
jar and your sampler should appear in context menu for add -> sampler
 
for examples of how to write samplers and gui, look at the source code for HttpSampler 
and HttpSamplerGui.
 
 
peter lin


lalit sahoo <[EMAIL PROTECTED]> wrote:
Hi! Peter,

Thanks for the suggestion.
Basically the data communication in our protocol is as
described below:

1.There are 2 important components.First component is
called Acceptor(almost similar to http server).

2.second component is called Initiator(smilar to htp
client).

3.Here communication is 2-ways.

You are asking to develop 2 things.Out of these 2,one
is controller.gui.Do u mean that it is same as
Controller.
Can u give little detail description if u have time?

Thanks�ards
lalit

--- peter lin wrote:
> 
> that would depend on what type of protocol.
> 
> if your protocol is HTTP based, you can look at the
> samplers and gui in the http directory. basically,
> you
> need 2 things:
> 
> 1. a sampler class
> 2. a controler.gui class
> 
> peter lin
> 
> 
> --- lalit sahoo wrote:
> > Hi All,
> > 
> > I want to develop a sampler for our own protocol.
> I
> > want to know the basic steps that should be taken
> > care,so that it will be easily integrated.I have
> > actually gone through the documents available ,but
> > these documents are not sufficient.
> > 
> > Any suggestion is appreciated.
> > 
> > Thanks&Regards
> > lalit
> > 
> > 
> > 
> > =====
> > Lalit sahoo
> > 
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Hotjobs: Enter the "Signing Bonus"
> > Sweepstakes
> > http://hotjobs.sweepstakes.yahoo.com/signingbonus
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > 
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Hotjobs: Enter the "Signing Bonus"
> Sweepstakes
> http://hotjobs.sweepstakes.yahoo.com/signingbonus
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


=====
Lalit sahoo

__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus

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


---------------------------------
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes

Reply via email to