Hello,

It's a web application which takes the userid and password values in an
applet and calls the servlet when clicking on the Login button. 

It uses unique and non-standard protocol for communication between its
applet tier and its servlet tier. 

When the applet needs to send a message to the servlet, it creates an HTTP
POST request to the servlet's URL.  This request contains two communications
channels of type java.io.InputStream and java.io.OutputStream.  

In a typical POST request, the output stream would be used to send form
parameters as name-value pairs, and the input stream would be used to read
back an HTML page generated by the servlet.  

However, in this case, these streams are wrapped with streams of type
ObjectInputStream and ObjectOutputStream, so actual java objects can be
transmitted between the applet and the servlet.
  
When using JMeter to send a request to the servlet and does not send a
serialized ServletRequest object in the HTTP POST output stream, the servlet
will throw either an EOFException (if no data are sent) or some other
IOException (depending on what is sent instead of a ServletRequest.

It would be possible to manually create the byte image of a serialized
simple request, but this would allow for only a very limited test as any
real usage scenario would depend on the load testing client being able to
read the responses from the servlet and unserialize them in order to get the
session ID (which must be serialized into further requests).

Is there a way that I can test this application using Jmeter.

Please let me know if you need any details ..

Thanks


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

Reply via email to