@Test //@Ignore public void startProcessInstanceByProcessDefinitionKey() { RestTemplate restTemplate = new RestTemplate(); HttpHeaders headers = new HttpHeaders(); headers.setContentType(MediaType.APPLICATION_JSON); HttpEntity entity = new HttpEntity(jsonStartProcessPayload, headers); try { ResponseEntity responseEntity = restTemplate.exchange(startProcessByKey, HttpMethod.POST, entity, String.class); System.out.println(responseEntity); ObjectMapper mapper = new ObjectMapper(); mapper.disable(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES); mapper.enable(DeserializationFeature.ACCEPT_SINGLE_VALUE_AS_ARRAY); // I had to convert the JSON response into ProcessInstance // ProcessInstance processInstance = mapper.readValue(responseEntity.getBody(), ProcessInstance.class ); System.out.println(processInstance); assertEquals(businessKey,processInstance.getBusinessKey()); } catch (Exception e) { System.out.println(e); fail(); } }