This is an old revision of the document!
Start Job: http://hostname/api/v1.0/start&workload=[]&target=[] * See Common Options below for a full list Returns a JSON string as follows:
{
"version": 1.0
"job_id": "b88509c0-a297-454a-bb84-6e5ebd59cc22"
}
Query Job Results: http://hostname/api/v1.0/results/[job_id]
Returns a JSON string with the job status (running or completed). If still running:
{
"version": 1.0
"status": running
"start": 1448905682
}
If completed:
{
"version": 1.0,
"status": completed,
"start": 1448905682,
"end": 1448905914,
"stats": {
"read": {
"iops": 12191,
"throughput": 48764,
"bytes": 146148,
"latency": {
"min": 23,
"mean": 413.87,
"max": 1638
},
"write": {
"iops": 5234,
"throughput": ,20936
"bytes": 62748,
"latency": {
"min": 51,
"mean": 39.98,
"max": 434
}
}
}
python storperf/main.py
Command line options:
If specified from command line, the option is in the format –option=. For ReST, it is embedded in the URL as &option=