Web server with refrigeration functions



  • Functional testing of the customer application requires a web server supporting the simulation of different malfunctions, for example, the deceleration of the value of the content, the disruption of communication, etc.

    Two approaches are now being used, with the use of tilt in a similar way. https://jagt.github.io/clumsy/ which are malfunctioning at the network adapter level and manual removal of the web server process http://flask.pocoo.org/ (for simulation of the rupture of the compound).

    These methods do not always allow for determinative failures in the scenario. For example, one of the planned testing scenarios is to cut off the connection after the server of the n-cool-wa-wa-bate.

    From the obvious decisions, write your web server, taking for example the basis https://github.com/cesanta/mongoose ♪

    But since the task is quite common, there may be solutions. Tell me where to dig.



  • I'd use that. http://www.haka-security.org/ or proxy superstition/scrypt.

    I don't think it's gonna be hard for you to get a proxy-scrip that breaks the connections, rips them off when you need it, or makes the mistake you need, sleeps from time to time (or builds your test for determinization), and at least it's easier and more reliable than a castle web server.




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2