/**
* This is to check, we have no problems completing the task after numerous (possibly conflicting) CLAIM/REVOKE requests
*/
private void runAbsenceRequestWithRandomClaimRevokeTMPCalls(String paramUser, String paramPassword, HashMap pipa, HashMap complete) throws Exception {
TokenClient client = new TokenClient(TOKEN_SERVICE);
String token = client.authenticateUser(paramUser, paramPassword);
//RemoteTMSClient tms = new RemoteTMSClient(TMS_SERVICE, token);
TempoClient tempoClient = new TempoClient("http://localhost:8080", token, client);
Task[] ts = tempoClient.getAvailableTasks("PIPATask", "T._description like '%Examples%'");
String pipaID = ts[0].getID();
tempoClient.init(pipaID, tempoClient.createMessageAsDocument(pipa, "abr_initPipa.ftl"));