@Test
  public void testRestGetCurrentRunParameters() {
    Configuration configuration = ElephantContext.instance().getAutoTuningConf();
    Boolean autoTuningEnabled = configuration.getBoolean(DrElephant.AUTO_TUNING_ENABLED, false);
    org.junit.Assume.assumeTrue(autoTuningEnabled);

    running(testServer(TEST_SERVER_PORT, fakeApp), new Runnable() {
      public void run() {
        populateAutoTuningTestData1();

        JsonNode jsonNode = getTestGetCurrentRunParameterData();
        final WS.Response response = WS.url(BASE_URL + REST_GET_CURRENT_RUN_PARAMETERS).
            post(jsonNode).get(RESPONSE_TIMEOUT, TimeUnit.MILLISECONDS);

        final JsonNode jsonResponse = response.asJson();

        logger.info("Output of getCurrentRunParameters ");
        logger.info(jsonResponse.toString());

        assertTrue("Get current run param output did not match",
            jsonResponse.path("mapreduce.map.memory.mb").asDouble() > 0);
        assertTrue("Get current run param output did not match",
            jsonResponse.path("mapreduce.reduce.memory.mb").asDouble() > 0);
        assertTrue("Get current run param output size did not match", jsonResponse.size() == 9);

        TuningJobExecutionParamSet tuningJobExecutionParamSet = TuningJobExecutionParamSet.find.select("*")
            .fetch(TuningJobExecutionParamSet.TABLE.jobExecution, "*")
            .fetch(TuningJobExecutionParamSet.TABLE.jobSuggestedParamSet, "*")
            .where()
            .eq(TuningJobExecutionParamSet.TABLE.jobExecution + "." + JobExecution.TABLE.jobExecId,
                "https://elephant.linkedin.com:8443/executor?execid=5221700&job=countByCountryFlowSmall_countByCountry&attempt=0")
            .findUnique();

        JobSuggestedParamSet jobSuggestedParamSet = tuningJobExecutionParamSet.jobSuggestedParamSet;
        JobExecution jobExecution = tuningJobExecutionParamSet.jobExecution;

        jobExecution.executionState = ExecutionState.SUCCEEDED;
        jobExecution.update();
        jobSuggestedParamSet.paramSetState = ParamSetStatus.EXECUTED;
        jobSuggestedParamSet.update();

        FitnessComputeUtil fitnessComputeUtil = new FitnessComputeUtil();
        fitnessComputeUtil.updateFitness();

        jobSuggestedParamSet = JobSuggestedParamSet.find.byId(jobSuggestedParamSet.id);

        assertTrue("Fitness not computed", jobSuggestedParamSet.paramSetState.equals(ParamSetStatus.FITNESS_COMPUTED));
        assertTrue("Fitness is non-positive", jobSuggestedParamSet.fitness > 0);
      }
    });
  }
<p>
Rest API - Performs search by job ID
<br>
API provides information on the specific job
</p>
<p>
Following assertions are made in the response json
  <ul>Job id</ul>
  <ul>Job name</ul>
  <ul>Job type</ul>
</p>
test/rest/RestAPITest.java