@Test
public void postAjaxFlowInfoErrorFetching() throws Exception {

  this.req.addParameter("ajax", "flowInfo");
  this.req.addParameter("execid", "123");
  this.executorServlet.handlePost(this.req, this.res, this.session);
  assertEquals(200, this.res.getStatus());
  assertEquals("Cannot find execution '123'", this.res.getResponseJson().path("error").asText());
}