>As you may or may not know, I released GETURI >this weekend as open source. It lets you make a >request to a web server and save the response (file, >stream file, or display). Brad, This is a nice little utility. I downloaded it, and added a tight loop in the CL program to help me do some stress testing of a web site. For those who haven't looked at this utility, it runs an RPG program that opens a socket connection to a web server, sends an HTTP request, reads the HTTP response, then either displays or logs it. The web server can be on the same AS/400 or any other computer you can access via TCP/IP. The RPG source is useful for learning how to write socket client programs; learning to write socket servers is not much harder. It was interesting to see the HTTP headers included in the response file. A nice way to learn HTTP. You don't get that when you view the page source from Internet Explorer. >Not very scientific, but interesting. I plan on trying >a CGI program next. I assume that the instance jobs >will be used more than the main job for CGI. >If anyone wants me to try something, let me know. >It's fun to bog the network (no calls yet) and pound > on my webserver. I'm curious to hear about the results of hitting a CGI program repeatedly. +++ Nathan +++ +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: email@example.com +---
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.