Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Sample URLMethodSample payloadDescription

/api/v1.0/job

POST

{

   task_id: ******,

   testsuite_name: "Qtip_PoC",

   testcases:[

   "tc002": {

                 {"rtt": {"ares": 2.113}},

                 {"rtt": {"ares": 1.586}}

                },
  "tc005": {

                  {"read_bw": 3034, "read_iops": 758.51, "read_lat": 1308.38},

                  {"read_bw": 38586, "read_iops": 602.92, "read_lat": 1648.27}

                }],
  "env": {....................... } 

 ...................
}

Post Yarstick test data in JSON format to Qtip and trigger Qtip agent to calculate QPI.

Test data contains metrics and environment information.

Metrics data are key-value pairs. The 'key's are the test case No.

Content of the 'value's shown here is just a sample.

A task-id should be returned for querying the QPI result.

 GET

{
  "status": "successful",

   "project_name": "Qtip", 

"task_id": "#",

  "data": {

                 "QPI": "#",  

                 ...................

               }
}

or

{

   "status": "failed",

   "project_name": "Qtip",

   "task_id": "#",

    "error_msg": "*****************"

}

Fetch Qtip QPI result reporting.

A task-id will be used to refer a Qtip job.

The returned JSON should contains a job status (successful or failed) indicating if the QPI calculation is completed.



  DELETE 

 Terminate the currently running job.

...