Custom Sampler

2009-04-03 Thread Zhihong Zhang
I wrote a customer sampler for OAuth (a web request with signature). I can drop my JAR in lib/ext and everything works. There is just one problem. I have to change messages.properties to add my text there. There is no easy way to do this. Currently, I copy the resources to my JAR and make sure my J

Re: Custom Sampler

2009-04-03 Thread sebb
On 04/04/2009, Zhihong Zhang wrote: > I wrote a customer sampler for OAuth (a web request with signature). I can > drop my JAR in lib/ext and everything works. There is just one problem. I > have to change messages.properties to add my text there. There is no easy > way to do this. Currently, I

Re: Custom Sampler

2009-04-03 Thread Zhihong Zhang
The sampler is a copycat of HTTP sampler, which doesn't use TestBean. I don't know Jmeter that well to rewrite the sampler. I noticed the JDBC sampler implements TestBean. Is there a plan to change all samplers to TestBean? Thanks! Zhihong On 4/3/09 8:58 PM, "sebb" wrote: > On 04/04/2009, Zh

Re: Custom Sampler

2009-04-03 Thread sebb
On 04/04/2009, Zhihong Zhang wrote: > The sampler is a copycat of HTTP sampler, which doesn't use TestBean. I > don't know Jmeter that well to rewrite the sampler. Just implement TestBean - see AccessLogSampler for example. > I noticed the JDBC sampler implements TestBean. Is there a plan to c