public void onRequest(IHttpExchange exchange) throws IOException {
int loops = exchange.getRequest().getIntParameter("loops");
int waittime = exchange.getRequest().getIntParameter("waittime");
HttpResponseHeader header = new HttpResponseHeader(200, "text/plain");
BodyDataSink bodyDataSink = exchange.send(header);
for (int i = 0; i < loops; i++) {
bodyDataSink.write("1234567890");
QAUtil.sleep(waittime);