@Override
    public GetJobReportResponse getJobReport(GetJobReportRequest request) throws IOException {

      amContact = true;

      JobReport jobReport = recordFactory.newRecordInstance(JobReport.class);
      jobReport.setJobId(request.getJobId());
      jobReport.setJobState(JobState.RUNNING);
      jobReport.setJobName("TestClientRedirect-jobname");
      jobReport.setUser("TestClientRedirect-user");
      jobReport.setStartTime(0L);
      jobReport.setFinishTime(1L);

      GetJobReportResponse response = recordFactory.newRecordInstance(GetJobReportResponse.class);
      response.setJobReport(jobReport);
      return response;
    }
 private GetJobReportRequest getJobReportRequest() {
   GetJobReportRequest request = Records.newRecord(GetJobReportRequest.class);
   request.setJobId(jobId);
   return request;
 }