× 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.



Ah, yeah sorry. I misunderstood what you wanted there.


Thanks
Bryce Martin
Programmer/Analyst I
570-546-4777



Robert Rogerson <rogersonra@xxxxxxxxx>
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
09/29/2011 03:16 PM
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
Re: Mass testing a URL...






Thanks Bryce, but if I understand you correctly it's not exactly the test
I'm looking for. It's not a volume test for performance or stress I'm
looking for.
What I am looking to do is populate an input file which will be read by a
driver program and it will call the sp and the URL for each row. At the
end
I can compare the results.

Where I'm stuck is how do I call the URL with new parameters (store,
request) each time.

On Thu, Sep 29, 2011 at 2:49 PM, Bryce Martin <BMartin@xxxxxxxxxxxx>
wrote:

You could make the site work on a timer and then open up a bunch of tabs
and have them all redirect at the same time... Maybe go into the code
and
set it to happen at exactly 4pm. All the tabs will do their thing when
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
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
--
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
use
of the individual or entity to which it is addressed and may contain
information that is non-public, proprietary, privileged, confidential,
and
exempt from disclosure under applicable law. If you are not the intended
recipient, you are hereby notified that any use, dissemination,
distribution, or copying of this communication is strictly prohibited.
If
you have received this communication in error, please notify us and
destroy
this message immediately. ---
--
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.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.