@Override
	public void run(){
System.out.println("RUN THREAD?");
		
		if(this.type == 1)
			runRequestGenerator();
		else
			runFailureGenerator();

		if(this.type == 1)
			try {
				fis.append("Thread: "+ this.getId() + "\n");
				fis.append("Clients: " + this.numberClients + "\n");
				fis.append("Requests: " + this.numberRequests + "\n");
				fis.append("Discarted: " + this.discarted + "\n");
				fis.append("Rate: " + this.rateOfResponse() + "\n");
				if(fis != null)
					fis.close();
			} catch (IOException e) {
				System.out.println("Couldnt write the statistics.");
			}
		else
			try{
				fis.append("Thread: "+ this.getId() + "\n");
				fis.append("Target: " + this.target+"\n");
				fis.append("Failures Generated: " + this.operations+"\n");
				if(fis != null)
					fis.close();
			}
		catch (IOException e) {
			System.out.println("Couldnt write the statistics.");
		}

	}