G'day

You can write the Java to be executed as a sampler. (The Java program
doesn't actually have to talk to the (or any) server to be a legal sampler).
You can pass values back from Java to the test plan as the sampler result.
You can run a regular expression extractor over the Java sampler result to
bring selected portions of the result into test plan variables. 

Note though that the sampler has to return a good HTTP return code or the
sampler will be deemed to have failed.



Ian Blavins
Contract Performance Engineer
Temenos




-----Original Message-----
From: sebb [mailto:[EMAIL PROTECTED] 
Sent: 12 March 2007 12:05
To: JMeter Users List
Subject: Re: Calling java methods

There is no direct way to call arbitrary Java methods from within JMeter.

However, you can either write your own JMeter add-on, or you can use
the BeanShell or JEXL scripting languages to call Java directly from
JMeter.

Which is best depends on how you want to use the encryption/decryption
in JMeter - and your level of Java expertise.

Or you can set up a SOAP or other service to do the de/en-cryption for
you and call that.

S.
On 12/03/07, Ramakrishna Devaki <[EMAIL PROTECTED]> wrote:
> Hi,
>
> My understanding u can use Java object through SAOP request.
>
> Ram
>
> On 3/9/07, Sireesha Sridhara <[EMAIL PROTECTED]> wrote:
> >
> >
> > Hi,
> > How do we call external java methods from JMETER> I have decrypt and
> > ecrypt some data.To do that I have call some methods , that is java
> > methods.How do I call such methods from jmeter.
> >
> > Thank you,
> > Sireesha Sridhara.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This email (and any attachments) contains confidential information, and is 
intended 
only for the named recipient. Distribution or copying of this email by anyone 
other than the named recipient is prohibited. If you are not the named or 
intended recipient, please notify TEMENOS or the sender immediately and 
permanently destroy this email (and any attachments) and all copies of it. No 
member of TEMENOS Group AG or any of its associated or affiliated companies is 
liable for any errors or omissions in the content or transmission of this 
email. Any opinions contained in this email are solely those of the author and, 
unless clearly indicated otherwise in writing, are not endorsed by any member 
of TEMENOS Group AG or any of its associated and affiliated companies. 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to