private double sendXRequests(int numRequests) throws InterruptedException {
FixedRequestClient client = new FixedRequestClient("localhost", 7473, PerformanceRoutes.NO_SERIALIZATION_AND_NO_DESERIALIZATION_AND_NO_INTROSPECTION, 1);
Date start = new Date();
for(int i=0;i<numRequests;i+=1) {
client.sendBatch();
client.waitForXResponses(i);
}
Date end = new Date();
client.close();
return (end.getTime() - start.getTime()) / 1000.0d;