On 16/01/07, zorglub76 <[EMAIL PROTECTED]> wrote:

Hi all

I have a problem testing an application that uses RMI.
The suffrage workflow was the following:

what is suffrage?

1) Thought that BeanShell could help me test. Created and started a simple
server, then created a simple client using BeanShell - everything worked
well.

OK

2) Created a client in BeanShell for the actual application that I wanted to
test, but got the class not found exception. I checked the classpath
(several times) - the one given to BeanShell using addClassPath() and the
system one - everything was ok, but the same exception kept occurring for
the same class. (This class was not directly used in BeanShell).

Java ignores the CLASSPATH when -jar is used.

Try putting the relevant jars in the lib directory, or add them to the
following jmeter property:

user.classpath

3) Created a console Java application with the same code used in BeanShell -
everything worked fine

OK

4 - 16000) Tried the various combinations of Java versions/OS-es/BeanShell
environments. The same error occurred in BeanShell and the same smooth
errorless performance when started outside of BeanShell (as a console
app)...
16001) Created a client, compiled it and used BeanShell just to start it and
get the results - the same bloody error occurred.

Any ideas (apart from weapons of destruction)?

Some kind of error in the BeanShell client activation code ...

Can I somehow use JMeter and client application and avoid BeanShell?

You could write a Java Sampler ...

Anyone had any experience with testing RMI based applications?

JMeter uses RMI for client-server mode, and it's a pain... but calling
the RMI procedures is much the same as calling any other method.

--
View this message in context: 
http://www.nabble.com/Load-testing-RMI-tf3021394.html#a8391503
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
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