Where to find a test HTTP server to simulate timeouts and error codes

I think it will be an Apache server with some custom pages or maybe a java application. Used to test a browser or http client, it should give me a lot of 500 errors when requesting a specific page. Give me a page that responds in 5 seconds, 10, 30 or whatever. Give me a page where the first byte does not return within 30 seconds. Give me a page where I get a few bytes per second.

I expect others to do this before, and I know that it’s not too difficult, but of course I would like to use what someone else has already done.

+3
source share
2

CherryPy . , script, , .

+1

Java, Python . , Java:

  • FitNesse - fitnesse.org
  • Jetty - www.mortbay.org/jetty/
  • Java HTTP Server (Sun) - java.sun.com/javase/6/docs/jre/api/net/httpserver/spec/

httpserver, , , , - .

+1

Source: https://habr.com/ru/post/1707450/


All Articles