× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi all,

I can't figure out how to call a URL multiple times for testing. Here is
the scenario.

We have an existing program (RPGLE, CGIDEV2) which is a called by the
following URL (
http://mycompany.com/weblibp/ut1500.pgm?action=start&storea=197&requesta=00073135115015).
When called the program creates an xml document in the browser.

I created a stored procedure to replace the program. The stored procedure
now returns a resultset instead of an xml document.

In order parallel test the new sp against the old program I modified both
the output to test result files which can be compared against each other.

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

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.