On 17/04/2009, Zhihong Zhang <zhih...@gmail.com> wrote:
>
> On 4/16/09 9:08 PM, "sebb" <seb...@gmail.com> wrote:
>
> > On 16/04/2009, Zhihong Zhang <zhih...@gmail.com> wrote:
> >>
> >> I wrote a sampler for Oauth request. Everything works fine except one
> >> problem. Because I have to change the property files, I include it in my
> >> jar. Every time we upgrade Jmeter, I have to rebuild the JAR to include
> the
> >> new property file. So the maintenance is not as easy I would like.
> >
> > There is no need to use the JMeter properties file unless you want
> > JMeter to resolve the properties for you. You could just use fixed
> > strings, or you could use your own property file.
>
>
> I was so close to pull this off but I was stuck with this one,
>
> public String getLabelResource() {
>
> return "oauth_testing_title"; // $NON-NLS-1$
>
> }
>
>
> Can't get away with this one line change in property file. Anyway to get
> around this?
Just overload getStaticLabel() instead.
>
> >
> > I've never heard of OAuth before, and as far as I can remember no-one
> > has asked about it.
> > But feel free to create a Bugzilla enhancement issue. Note that we
> > only accept code licenced under the Apache Licence, and any 3rd party
> > library dependencies need to be available with a compatible licence.
> >
>
>
> All the code will be under Apache V2 license
> (http://www.apache.org/licenses/LICENSE-2.0). I will file an enhancement
> report.
>
>
> 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