uri2.setQuery(queryString2);
requestMock2.setRequestURI(uri2);
requestMock2.setMethod(Method.GET);
long iterations = 100;
BodyCheckerThread thread1 = new BodyCheckerThread(handler, requestMock,
queryString.getBytes(), iterations);
BodyCheckerThread thread2 = new BodyCheckerThread(handler,
requestMock2, queryString2.getBytes(), iterations);
thread1.start();
thread2.start();
thread1.join();
thread2.join();
Assert.assertFalse(thread1.hasFailed());
Assert.assertFalse(thread2.hasFailed());
}