OpenStack 性能测试项目Rally 部署(2)

--------------------------------------------------------------------------------
Task b859b06f-d4db-4d21-bac7-66dd03375b4c: finished
--------------------------------------------------------------------------------

test scenario KeystoneBasic.create_delete_user
args position 0
args values:
{
  "runner": {
    "type": "constant",
    "concurrency": 10,
    "times": 100
  }
}

--------------------------------------------------------------------------------
 Task b859b06f-d4db-4d21-bac7-66dd03375b4c has 0 error(s)
--------------------------------------------------------------------------------

+-------------------------------------------------------------------------------------------------------------------------+
|                                                  Response Times (sec)                                                  |
+----------------------+-----------+--------------+--------------+--------------+-----------+-----------+---------+-------+
| Action              | Min (sec) | Median (sec) | 90%ile (sec) | 95%ile (sec) | Max (sec) | Avg (sec) | Success | Count |
+----------------------+-----------+--------------+--------------+--------------+-----------+-----------+---------+-------+
| keystone.create_user | 1.801    | 4.229        | 6.752        | 7.454        | 9.972    | 4.624    | 100.0%  | 100  |
| keystone.delete_user | 1.231    | 3.38        | 5.862        | 6.903        | 8.482    | 3.816    | 100.0%  | 100  |
| total                | 3.084    | 8.064        | 12.238      | 13.135      | 15.829    | 8.44      | 100.0%  | 100  |
+----------------------+-----------+--------------+--------------+--------------+-----------+-----------+---------+-------+

Load duration: 86.1431050301
Full duration: 93.1646080017

HINTS:
* To plot HTML graphics with this data, run:
        rally task report b859b06f-d4db-4d21-bac7-66dd03375b4c --out output.html

* To generate a JUnit report, run:
        rally task report b859b06f-d4db-4d21-bac7-66dd03375b4c --junit --out output.xml

* To get raw JSON output of task results, run:
        rally task results b859b06f-d4db-4d21-bac7-66dd03375b4c

生成可视化结果

执行 rally task report --out=report_sla.html --open  会在当前目录生成 report_sla.html

[root@localhost ~]# rally task report --out=report_sla.html --open
[root@localhost ~]# ll
total 232
-rw-------.  1 root root   1054 Apr  8 07:29 anaconda-ks.cfg
-rw-r--r--.  1 root root  10240 Jan 20  2011 ez_setup.py
-rw-r--r--.  1 root root 154686 Jan  7 22:39 nose-1.3.6-py2-none-any.whl
drwxr-xr-x. 11 root root   4096 Apr  9 14:55 rally
-rw-r--r--.  1 root root  50210 Apr 11 11:48 report_sla.html
drwxr-xr-x. 12 root root   4096 Apr 11 11:03 solum
drwxr-xr-x. 14 root root   4096 Apr  9 11:49 tempest

下载下来,打开

OpenStack 性能测试项目Rally 部署

会提示加载不了JS,那是应为使用了google 的js ,无法访问的问题

<link href="https://cdnjs.cloudflare.com/ajax/libs/nvd3/1.1.15-beta/nv.d3.min.css">
  <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.3/angular.min.js"></script>
  <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.4.13/d3.min.js"></script>
  <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/nvd3/1.1.15-beta/nv.d3.min.js"></script>

angular的路径 替换为

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/93ce942161734f130876be64eecff1bc.html