public static void main(String args[]) throws InterruptedException {
		int i = 1;
		ThreadExecutor executor = new ThreadExecutor();
		long startTime = System.currentTimeMillis();
		while ((System.currentTimeMillis() - startTime) < 1 * 60 * 1000) {
			HttpAsyncClientImpl httpImpl = new HttpAsyncClientImpl(i);
			try {

				executor.executeTask(httpImpl);

			} catch (Exception e) {
				logger.error("Exception occured I " + i, e);
			}
			i++;
		}

		executor.shutDownExecutor();
		if (Main.futureList.size() > 0) {
			for (Future<Response> futureList : Main.futureList) {
				try {
					logger.debug("Response Code " + futureList.get());
				} catch (ExecutionException e) {
					logger.error(
							"Exception occured while processing the responses "
									+ i, e);
					e.printStackTrace();
				}

			}
		}

	}