Or use BeanShell (or perhaps Javascript) functions to encrypt and
decrypt the account numbers.

Or use an external program to encrypt the numbers that you need for
the test and store them in a file.

On 12/04/07, Sonam Chauhan <[EMAIL PROTECTED]> wrote:
Hi Sireesha.

Here are some options I can think of:
1. You could write a custom Java sampler - I don't know much about this,
but others here, and the wiki, do.
2. You could expose your application's encrypt/decrypt methods as
webservices - then use the SOAP/XML-RPC sampler to invoke them as
needed, and scrape off the result from the response using the regular
expression extractor post-processing element. If possible, I recommend
you do this.
3. You could use bean shell to execute an external program. (not sure?)


Kind regards,
Sonam Chauhan
--
Corporate Express Australia Ltd.
Phone: +61-2-93350725, Email: [EMAIL PROTECTED]

-----Original Message-----
From: Sireesha Sridhara [mailto:[EMAIL PROTECTED]
Sent: Thursday, 12 April 2007 8:52 AM
To: JMeter Users List
Subject: Calling a method or java program from JMETER


Hi all,
I have the following scenario.


Login to the application
Check something in d/b , for that I need to encrypt and decrypt the acct
number. I want to write a method for this and call it from JMETER. How
can I call a method from jmeter or a program(that is class).


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]



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

Reply via email to