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" <seb...@gmail.com> wrote: > On 04/04/2009, Zhihong Zhang <zhih...@gmail.com> 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 copy the resources to my JAR and make sure my >> JAR is loaded first to overwrite the one from Jmeter. Does anyone know a >> better way to do this? > > Use a TestBean-style sampler which has its own property file(s). > >> I think the resource should be redesigned so it's self-contained in >> extensions. > > Patches welcome... > >> Thanks! >> >> Zhihong >> >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org >> For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org > For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org