diff options
author | QiLiang <liangqi1@huawei.com> | 2015-10-10 17:39:22 +0800 |
---|---|---|
committer | Hou Jingwen <houjingwen@huawei.com> | 2015-10-16 04:01:02 +0000 |
commit | 6bf31ef144d025d47dd8fb3770190b3fb42eed2d (patch) | |
tree | cdec869a5b36e33fee7e3aacee9f3eb54c14077e /tests/unit/common/__init__.py | |
parent | 89655940e65a7e3fabe4fe8a2ca49527a3094221 (diff) |
Use result_collection_api to store test result
Execute a sample task file from Yardstick, push the test results
to MongodB provided by Releng using the common result api
provided by Functest.
Usage:
0) install yardstick
1) config yardstick
mkdir /etc/yardstick
cat << EOF >> /etc/yardstick/yardstick.conf
[DEFAULT]
debug = True
dispatcher = http
[dispatcher_http]
timeout = 5
target = http://213.77.62.197/results
EOF
2) run test
yardstick task start sample/fio.yaml
3) fetch result from remote result_collection_api
curl "http://213.77.62.197/results?case=Fio&installer=compass"
JIRA: YARDSTICK-132
Change-Id: I0996c6487c1900704380feb895555057a3f184e9
Signed-off-by: QiLiang <liangqi1@huawei.com>
Diffstat (limited to 'tests/unit/common/__init__.py')
0 files changed, 0 insertions, 0 deletions