testproxy 0.0.5

Tool for end-to-end testing of proxy servers
{
  "comment": "Tests for incompatible protocol use",
  "configs": {
    "1": {
      "proto": {
      },
      "client": {
        "proto": "ssl",
        "ip": "127.0.0.1",
        "port": "8181"
      },
      "server": {
        "proto": "tcp",
        "ip": "127.0.0.1",
        "port": "9181"
      }
    }
  },
  "tests": {
    "1": {
      "comment": "Does not accept ssl connection on tcp proxyspec",
      "states": {
        "1": {
          "testend": "client",
          "cmd": "sslconnectfail",
          "payload": "GET / HTTP/1.1\r\nHost: comixwall.org\r\n\r\n"
        },
        "2": {
          "testend": "server",
          "cmd": "recv",
          "payload": ""
        }
      }
    }
  }
}