Skip to content

Test Cases for FCGI

Piyush Deshpande edited this page Jan 22, 2018 · 1 revision

1. fcgiChunkedError.json

Description: Server sends two chunks and before sending a final chunk server is killed

2. fcgiChunked.json

Description: Server sends three chunks of data and client checks if data is received in chunks or not

3. fcgiFailFirst.json

Description: Client requests a page and server sends two chunks and dies before completing the request, client requests same page again this time server responds with different data successfully and client checks if request was cached by ATS or not.

4. fcgiNoServer.json

Description: Client requests a page and no fcgi server is present. Client should receive 500.

5. fcgiProxyCaching.json

Description: Client requests same page twice, after completing first request server is killed, so that second request should be served from ATS cache.

6. fcgiServerGet.json

Description: Simple Get request with fcgi server running.

7. fcgiServerKillMidServe.json

Description: Kill the fcgi server mid serving just after receiving request and check error handling.

8. fcgiServerPost.json

Description: Simple Post request with fcgi server running.

9. simpleFcgiClientGet.json

Description: Simple Get request with php-cgi

10. simpleFcgiClientPost.json

Description: Simple Post request with php-cgi