public void TestSingleHttpAsmxWithHttp10NoKeepAlive() { var s = _serviceManager.AllServers[0]; using (var ws = new Http10NoKeepAliveTestService()) { var proto = s.UseHttps ? "https" : "http"; ws.Url = proto + "://127.0.0.1:" + s.Port + "/TestService.asmx"; //ws.UserAgent = "Java1.4.2_10"; var result = ws.SimpleMethod(); Assert.IsTrue(result.Contains("Hello World")); } }