Re: FCGI application testing
Steve Ferguson <[email protected]>
| Newsgroups | gmane.comp.web.fastcgi.devel |
|---|---|
| Message-ID | <Pine.LNX.4.58.0409300808280.19545@dogbert> |
You could write it so that it can still function as a "regular" CGI, which isn't much work, at which point you could just feed it inputs on STDIN and get the results on STDOUT/STDERR by running it on the command lnie. Or you could set up your app as an external FCGI server, then just open sockets to it directly for testing. Granted, this means you have to add your own code to deal with listening on the socket and handling requests, so this may be using a sledge hammer to crack a walnut. Steve On Thu, 30 Sep 2004, Michael Hartley wrote: > > Does anyone have any suggestions for testing FCGI applications without > making HTTP calls via a web server? > > I would like to generate test plans that call the FCGI application > directly passing a fully formed FCGI stream to the application server and > reading back the output with the destination probably being a file. > > Failing the possibility of an FCGI application test mechanism, does can > anyone recommendations for executing reproducible test scripts against an > FCGI application? > > Any comments, thoughts, suggestions or radical idea's would be gladly > received! > > Kind regards, > > Michael Hartley > > -- Steve Ferguson | "Men never do evil so completely Email: [email protected] | and cheerfully as when they do http://dogbert.dnsalias.org:8080/~stf | it from a religious conviction." | --Blaise Pascal ___________________________________ fastcgi-developers mailing list http://fastcgi.com/fastcgi-developers/