hi,

as mentionned by Dzmitry Kashlach    you can create a jar with your helpers
class and import in the BSH Sampler and use the method you want .

you just need to put in the classpath known by jmeter

BR

Tarik CHICHANE
Ingénieur Telecom Réseaux
Administateur Réseaux Université
Hassan-II
Mohamadia


2014-03-11 8:42 GMT+00:00 ashish solanki <[email protected]>:

> I mean encryption and decryptipn code..
>
> On Tuesday, March 11, 2014, Dzmitry_Kashlach [via JMeter] <
> [email protected]> wrote:
>
> > I do not know what is AES&DES.
> > Beanshell is Java-based scripting language.
> > BSHSampler allows to execute samples of code.
> > Try it out and decide.
> > Otherwise, builde a *.jar from you code, import it in BSHSampler and call
> > method that you need.
> >
> >
> > -------------------------------------------
> > tel: +375291142462
> > skype: dmitry.kashlach
> >
> >
> >
> > On Tue, Mar 11, 2014 at 11:32 AM, ashish solanki <[hidden email]<
> http://user/SendEmail.jtp?type=node&node=5719544&i=0>>wrote:
> >
> >
> > > I want to execute code of  AES and DES ...  Is it possible to execute
> in
> > ?
> > >
> > > On Tuesday, March 11, 2014, Dzmitry Kashlach <[hidden email]<
> http://user/SendEmail.jtp?type=node&node=5719544&i=1>>
> >
> > > wrote:
> > >
> > > > You can use BSHSampler. Put there your java code, and it will be
> > > executed.
> > > >
> > > >
> > > > -------------------------------------------
> > > > tel: +375291142462
> > > > skype: dmitry.kashlach
> > > >
> > > >
> > > >
> > > > On Tue, Mar 11, 2014 at 10:23 AM, ashish solanki <[hidden email]<
> http://user/SendEmail.jtp?type=node&node=5719544&i=2>
> > > <javascript:;>
> > > > >wrote:
> > > >
> > > > > I want to use java code in Jmeter... Can anybody help me out with
> > this
> > > ?
> > > > >
> > > > > Regards,
> > > > >
> > > > > Ashish
> > > > >
> > > > >
> > > > >
> > > > > -----
> > > > > A.N. Solanki
> > > > > --
> > > > > View this message in context:
> > > > >
> > > >
> > >
> >
> http://jmeter.512774.n5.nabble.com/How-to-Use-Java-code-with-Jmeter-tp5719541.html
> > > > > Sent from the JMeter - User mailing list archive at Nabble.com.
> > > > >
> > > > >
> > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: [hidden email]<
> http://user/SendEmail.jtp?type=node&node=5719544&i=3>
> > > <javascript:;>
> > > > > For additional commands, e-mail: [hidden email]<
> http://user/SendEmail.jtp?type=node&node=5719544&i=4>
> > > <javascript:;>
> > > > >
> > > > >
> > > >
> > >
> > >
> > > --
> > > A .N. Solanki
> > >
> >
> >
> > ------------------------------
> >  If you reply to this email, your message will be added to the discussion
> > below:
> >
> >
> http://jmeter.512774.n5.nabble.com/How-to-Use-Java-code-with-Jmeter-tp5719541p5719544.html
> >  To unsubscribe from How to Use Java code with Jmeter?, click here<
> http://jmeter.512774.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5719541&code=c29sYW5raS5lbmdAZ21haWwuY29tfDU3MTk1NDF8NjE0MjM0MjQ=
> >
> > .
> > NAML<
> http://jmeter.512774.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> >
> >
>
>
> --
> A .N. Solanki
>
>
>
>
> -----
> A.N. Solanki
> --
> View this message in context:
> http://jmeter.512774.n5.nabble.com/How-to-Use-Java-code-with-Jmeter-tp5719541p5719545.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>

Reply via email to