473,385 Members | 1,506 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Posting to multiple servlets on same session using HttpUrlConnection

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
1 4657
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: jing_li | last post by:
Hi, you all, I am a newbee for php and I need your help. One of my coworker and I are both developing a webpage for our project using php. We have a copy of the same files in different location...
1
by: SPG | last post by:
Hi, I have a servlet application that I am trying to write a very basic load tester for. There application has several servlets, but all rely on the same session being used (IE: For logged in...
5
by: maong | last post by:
Is it possible for a Java network application, using HttpURLConnection, to set or influence the setting of, http headers like Connection. One example might be setting Connection: Close to indicate...
1
by: dave | last post by:
Here's what i want to do in most efficient way possible. I have 1> an html form that asks for an integer. 2> If not an integer, I want to create, like in a lot of commercial websites, a refresh...
11
by: Ohaya | last post by:
Hi, I'm trying to understand a situation where ASP seems to be "blocking" of "queuing" requests. This is on a Win2K Advanced Server, with IIS5. I've seen some posts (e.g.,...
0
by: Stanley Beamish | last post by:
Hello I'm an ASP newbie needing to translate a JAVA program into ASP. I have a servlet that posts data to another servlet and reads back the response. I was wondering how I could do the same in...
4
by: Peter Beck | last post by:
Hi - I have a question for someone who has experience with both ASP .Net and JSP/Servlets, relating specifically to thread safetly. In JSP, we say that instance vaiables of a servlet are not...
18
by: Gleep | last post by:
I've searched google intensely on this topic and it seems noone really knows how to approch this. The goal I don't want clients to give out their usernames and passwords to friends, since the site...
35
by: keerthyragavendran | last post by:
hi i'm downloading a single file using multiple threads... how can i specify a particular range of bytes alone from a single large file... for example say if i need only bytes ranging from...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.