|
You could make the site work on a timer and then open up a bunch of tabsand
and have them all redirect at the same time... Maybe go into the code
set it to happen at exactly 4pm. All the tabs will do their thing whenis
the clock strikes 4pm.
Thanks
Bryce Martin
Programmer/Analyst I
570-546-4777
Robert Rogerson <rogersonra@xxxxxxxxx>
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
09/29/2011 11:53 AM
Please respond to
RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx>
To
"RPG programming on the IBM i / System i" <RPG400-L@xxxxxxxxxxxx>
cc
Subject
Mass testing a URL...
Hi all,
I can't figure out how to call a URL multiple times for testing. Here
the scenario.http://mycompany.com/weblibp/ut1500.pgm?action=start&storea=197&requesta=00073135115015
We have an existing program (RPGLE, CGIDEV2) which is a called by the
following URL (
).procedure
When called the program creates an xml document in the browser.
I created a stored procedure to replace the program. The stored
now returns a resultset instead of an xml document.both
In order parallel test the new sp against the old program I modified
the output to test result files which can be compared against eachother.
use
So I now wish to create a program which reads an input file (containing
the
tests I wish to perform) and for each row call the stored procedure and
then
the URL (substituting in the store and the request parameters).
I have the program working with the sp but how do I repeatedly call the
URL?
I thought I had the solution by using a redirect but this only work when
the
program with the redirect was called directly by the browser. When the
same
program was called by my test program it did not work.
Anyone have any ideas how to do this?
Thanks in advance,
Robert Rogerson
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing
list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
--- This message (including any attachments) is intended only for the
of the individual or entity to which it is addressed and may containand
information that is non-public, proprietary, privileged, confidential,
exempt from disclosure under applicable law. If you are not the intendedIf
recipient, you are hereby notified that any use, dissemination,
distribution, or copying of this communication is strictly prohibited.
you have received this communication in error, please notify us anddestroy
this message immediately. ---list
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.