You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Eugene Kazakov <yu...@gmail.com> on 2012/10/01 21:57:41 UTC

Re: Need help with jmeter plugin writing

  nobody can help me, Philippe, sebb?

On 29 September 2012 14:02, Eugene Kazakov <yu...@gmail.com> wrote:

> Hello!
> I hope you can help me with my problem with writing a plugin for JMeter.
> I try to write a function which replace in some string a substring in
> accordance with a pattern
> For it issue I took a code from jp@gc plugins and replaced name of class,
> description, key descriptor and code in execute method, compiled it and
> added
> to jar file. After that I put it in lib/ext folder and ran JMeter. But I
> can't find my function in function helper and can't use it in script,
> although I saw my plugin in list of loaded jars in jmeter.log.
> I attached my code, script and jar file to mail, could you look it, please?
>
> --
> Thank you,
> Eugene Kazakov
>
>


-- 
Thank you,
Eugene Kazakov

Re: Need help with jmeter plugin writing

Posted by Eugene Kazakov <yu...@gmail.com>.
Hello Philippe!
Yes, it works, thank you very much!

On 2 October 2012 00:08, Philippe Mouawad <p....@ubik-ingenierie.com>wrote:

> Hello Eugene,
> Put your function class in a package that contain function*s
>
> package yugene.jmeter.function;
>
> SHOULD BE:
>
> package yugene.jmeter.functions;
>
> *
> Regards
> Philippe M
> On Mon, Oct 1, 2012 at 9:57 PM, Eugene Kazakov <yu...@gmail.com>
> wrote:
>
> >   nobody can help me, Philippe, sebb?
> >
> > On 29 September 2012 14:02, Eugene Kazakov <yu...@gmail.com> wrote:
> >
> > > Hello!
> > > I hope you can help me with my problem with writing a plugin for
> JMeter.
> > > I try to write a function which replace in some string a substring in
> > > accordance with a pattern
> > > For it issue I took a code from jp@gc plugins and replaced name of
> > class,
> > > description, key descriptor and code in execute method, compiled it and
> > > added
> > > to jar file. After that I put it in lib/ext folder and ran JMeter. But
> I
> > > can't find my function in function helper and can't use it in script,
> > > although I saw my plugin in list of loaded jars in jmeter.log.
> > > I attached my code, script and jar file to mail, could you look it,
> > please?
> > >
> > > --
> > > Thank you,
> > > Eugene Kazakov
> > >
> > >
> >
> >
> > --
> > Thank you,
> > Eugene Kazakov
> >
>
>
>
> --
> Cordialement.
> Philippe Mouawad.
> Ubik-Ingénierie
>



-- 
Thank you,
Eugene Kazakov

Re: Need help with jmeter plugin writing

Posted by Philippe Mouawad <p....@ubik-ingenierie.com>.
Hello Eugene,
Put your function class in a package that contain function*s

package yugene.jmeter.function;

SHOULD BE:

package yugene.jmeter.functions;

*
Regards
Philippe M
On Mon, Oct 1, 2012 at 9:57 PM, Eugene Kazakov <yu...@gmail.com> wrote:

>   nobody can help me, Philippe, sebb?
>
> On 29 September 2012 14:02, Eugene Kazakov <yu...@gmail.com> wrote:
>
> > Hello!
> > I hope you can help me with my problem with writing a plugin for JMeter.
> > I try to write a function which replace in some string a substring in
> > accordance with a pattern
> > For it issue I took a code from jp@gc plugins and replaced name of
> class,
> > description, key descriptor and code in execute method, compiled it and
> > added
> > to jar file. After that I put it in lib/ext folder and ran JMeter. But I
> > can't find my function in function helper and can't use it in script,
> > although I saw my plugin in list of loaded jars in jmeter.log.
> > I attached my code, script and jar file to mail, could you look it,
> please?
> >
> > --
> > Thank you,
> > Eugene Kazakov
> >
> >
>
>
> --
> Thank you,
> Eugene Kazakov
>



-- 
Cordialement.
Philippe Mouawad.
Ubik-Ingénierie