7677787980818283848586
exchange.waitForDone(); assert exchange.getResponseStatus() == HttpServletResponse.SC_OK; } finally { client.stop(); } } finally { server.stop();
118119120121122123124125126127128
System.out.println( "get = " + response ); assert response.trim().equals( String.valueOf( clientsCount * requestsCount ) ); } finally { client.stop(); } } finally { server2.stop();
8182838485868788899091
response = exchange.getResponseContent(); assert response.trim().equals(String.valueOf(value)); } finally { client.stop(); } } finally { server.stop();
105106107108109110111112113114115
exchange1.waitForDone(); assert exchange1.getResponseStatus() == HttpServletResponse.SC_OK; } finally { client.stop(); } } finally { server2.stop();
106107108109110111112113114115116
exchange2.waitForDone(); assert exchange2.getResponseStatus() == HttpServletResponse.SC_OK; } finally { client.stop(); } } finally { server2.stop();
132133134135136137138139140141142
8283848586878889909192
String response = exchange2.getResponseContent(); assert response.trim().equals(String.valueOf(value)); } finally { client.stop(); } } finally { server2.stop();
6768697071727374757677
142143144145146147148149150151152
System.out.println("get = " + response); assert response.trim().equals(String.valueOf(clientsCount * requestsCount)); } finally { client.stop(); } } finally { server2.stop();