It looks to me like this would send a multi-part form with one
part with type "application/x-java-serialized-object" (if I
specify this as the MIME Type in the sampler) instead of using
"application/x-java-serialized-object" as the content type of
the whole request.  I hope I said that right.

Do I understand this correctly?

I've run the first servlet call through the JMeter proxy, and I
can provide a screenshot of the result if that is helpful. 
(This call doesn't succeed through the proxy, so I'm not able to
go any further with the proxy in creating my test plan.) 
Basically, it shows the content type in the headers as
"application/x-java-serialized-object", and a single parameter
with an unrecognizable "name" (looks like a text version of the
actual serialized object) and no "value".

Thanks for the help so far.

-Andy




---- On Thu, 18 Jan 2007, sebb ([EMAIL PROTECTED]) wrote:

> In that case, it would probably easiest to use the HTTP
Sampler to
> post a file containing the data.
> 
> S.
> On 18/01/07, Andrew de Torres  wrote:
> > It doing an HTTP POST.  I will look at the TCP Sampler,
> > BeanShell Sampler and BSF Sampler.  Thanks.
> >
> > -Andy
> >
> >
> >
> >
> >
> > ---- On Thu, 18 Jan 2007, sebb ([EMAIL PROTECTED]) wrote:
> >
> > > What protocol is the applet connection using?
> > >
> > > If HTTP, then use the HTTP Sampler.
> > > If not, then it depends - there may not be a specific
sampler
> > for it.
> > >
> > > However the TCP Sampler is fairly generic, and the
BeanShell /
> > BSF
> > > sampler can do anything you want.
> > >
> > > On 18/01/07, Andrew de Torres  wrote:
> > > > If the applet is sending, say, a Color by serializing
over
> > the
> > > > connection with ObjectOutputStream, what sampler would
you
> > use?
> > > > Can it be done with HTTP Request?
> > > >
> > > > Thanks,
> > > >
> > > > -Andy
> > > >
> > > >
> > > >
> > > >
> > > > ---- On Thu, 18 Jan 2007, sebb ([EMAIL PROTECTED]) wrote:
> > > >
> > > > > JMeter is not a browser; it is a server testing
> > application.
> > > > >
> > > > > So it does not process Javascript in web-pages, nor
does
> > it
> > > > support
> > > > > interaction with applets downloaded in web pages.
> > > > >
> > > > > If you want to test how the server responds to the
applet,
> > you
> > > > will
> > > > > have to find out what requests the applet is making of
the
> > > > server and
> > > > > add these as samplers to the JMeter test plan.


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

Reply via email to