jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrey Pohilko <...@apc.kg>
Subject Re: Building a Custom TCP Sampler
Date Thu, 10 Mar 2011 08:56:31 GMT
My preffered way is to create JAR file containing class, put it into lib/ext 
directory of jmeter installation and specify full class name with package in 
TCP Sampler.

Yes, marshaling options in DCERPCSampler is totally custom.

В сообщении от 9 марта 2011 18:11:45 автор Gabriel Oliveira написал:
> Hi Andrey,
> 
> JMeter will find my class in what path ? JAVAPATH ?
> 
> Reading the instalations note of URL that you sent me, i realized that
> Jmeter has hiw own path, the JMETER_INSTALL_DIR. How to configure it ? In
> OS or in JMeter configure files ? Tryed to find that variable in
> jmeter.properties, system.properties and user.properties, with no sucess =/
> 
> Besides, in http://code.google.com/p/jmeter-plugins/wiki/DCERPCSampler, the
> Marshaling options are exclusive of that Sampler ?
> 
> Many thank !!
> 
> > Hi,
> > 
> > In most cases all you need to do is implement TCP Client class, then
> > specify
> > this class in TCP sampler GUI.
> > 
> > Example on extending TCP Client: http://code.google.com/p/jmeter-
> > plugins/source/browse/trunk/src/kg/apc/jmeter/dcerpc/DCERPCSampler.java
> > 
> > Using extended class: http://code.google.com/p/jmeter-
> > plugins/wiki/DCERPCSampler
> > 
> > Good luck!
> > 
> > В сообщении от 9 марта 2011 16:22:30 автор Gabriel Oliveira
написал:
> > > Hello,
> > > 
> > > I'm new to JMeter, and wanted to create a custom TCP Sampler. What do I
> > > need to do that ? Need to rebuild JMeter from Src ? Do you guys have
> > > any tutorials/other-discussion-threads available ?
> > > 
> > > Thanks in advance !
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message