By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,948 Members | 900 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,948 IT Pros & Developers. It's quick & easy.

Posting to multiple servlets on same session using HttpUrlConnection

P: n/a
SPG
Hi,

I am trying to build a simple load test tool that makes a set of scripted
posts to some of my servlets in my web app.
All I want to do is open a connection, post some data to one servlet, wait
for response then post to s second.
The problem is that I need to use the same session.

Does anyone know a way to do this?

Steve
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
You can do this simply from HTML with JavaScript. Have multiple frames
or iframes, control them with JavaScript. Create the form on the fly,
post it, either do a settimeout or setinterval to wait or whatever. I
think you can tell when a page has finished loading in a frame, but
that would be a question for the javascript group here.

"SPG" <st************@nopoo.blueyonder.co.uk> wrote in message news:<Qh*********************@news-text.cableinet.net>...
Hi,

I am trying to build a simple load test tool that makes a set of scripted
posts to some of my servlets in my web app.
All I want to do is open a connection, post some data to one servlet, wait
for response then post to s second.
The problem is that I need to use the same session.

Does anyone know a way to do this?

Steve

Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.