8. Using Web Service Output for Automation

The Web Service is useful both for browser-based review and for automation. The jobs endpoint can be queried directly, and the summaryjson endpoint provides a complete structured result artifact for a job. This makes it possible to archive benchmark evidence, attach result artifacts to external systems, or feed the result into a publication or review workflow.

curl "http://localhost:8080/jobs"
curl "http://localhost:8080/jobs?jobid=JOBID&result"
curl "http://localhost:8080/jobs?jobid=JOBID&timing"
curl "http://localhost:8080/jobs?jobid=JOBID&metrics"
curl -o hammerdb-result-JOBID.json \
  "http://localhost:8080/jobs?jobid=JOBID&summaryjson"

For manual inspection from the Web Service prompt, start the Web Service with nowait and use the same jobs command style as the CLI. In normal use, however, it is easier to open the browser pages or query the HTTP endpoints directly.