-##############################################################################
-# Copyright (c) 2017 Huawei Technologies Co.,Ltd and others.
-#
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Apache License, Version 2.0
-# which accompanies this distribution, and is available at
-# http://www.apache.org/licenses/LICENSE-2.0
-##############################################################################
-TestCases Actions\r
-\r
-This API may offer many actions, including runTestCase\r
-\r
-action: runTestCase\r
-This api offer the interface to run a test case in yardstick\r
-we will return a task_id for querying\r
-you can use the returned task_id to get the result data\r
----\r
-tags:\r
- - Release Action\r
-parameters:\r
- - in: body\r
- name: body\r
- description: this is the input json dict\r
- schema:\r
- id: TestCaseActionModel\r
- required:\r
- - action\r
- - args\r
- properties:\r
- action:\r
- type: string\r
- description: this is action for testcases\r
- default: runTestCase\r
- args:\r
- schema:\r
- id: TestCaseActionArgsModel\r
- required:\r
- - testcase\r
- properties:\r
- testcase:\r
- type: string\r
- description: this is the test case name\r
- default: tc002\r
- opts:\r
- schema:\r
- id: TestCaseActionArgsOptsModel\r
-responses:\r
- 200:\r
- description: A result json dict\r
- schema:\r
- id: result\r
- properties:\r
- status:\r
- type: string\r
- default: success\r
- result:\r
- type: string\r
- description: task_id of this task\r
+TestCases Actions
+
+This API may offer many actions, including runTestCase
+
+action: runTestCase
+This api offer the interface to run a test case in yardstick
+we will return a task_id for querying
+you can use the returned task_id to get the result data
+---
+tags:
+ - Release Action
+parameters:
+ - in: body
+ name: body
+ description: this is the input json dict
+ schema:
+ id: TestCaseActionModel
+ required:
+ - action
+ - args
+ properties:
+ action:
+ type: string
+ description: this is action for testcases
+ default: runTestCase
+ args:
+ schema:
+ id: TestCaseActionArgsModel
+ required:
+ - testcase
+ properties:
+ testcase:
+ type: string
+ description: this is the test case name
+ default: tc002
+ opts:
+ schema:
+ id: TestCaseActionArgsOptsModel
+responses:
+ 200:
+ description: A result json dict
+ schema:
+ id: result
+ properties:
+ status:
+ type: string
+ default: success
+ result:
+ type: string
+ description: task_id of this task
-##############################################################################
-# Copyright (c) 2017 Huawei Technologies Co.,Ltd and others.
-#
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Apache License, Version 2.0
-# which accompanies this distribution, and is available at
-# http://www.apache.org/licenses/LICENSE-2.0
-##############################################################################
Query task result data
This api offer the interface to get the result data via task_id
-##############################################################################
-# Copyright (c) 2017 Huawei Technologies Co.,Ltd and others.
-#
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Apache License, Version 2.0
-# which accompanies this distribution, and is available at
-# http://www.apache.org/licenses/LICENSE-2.0
-##############################################################################
TestSuites Actions
This API may offer many actions, including runTestSuite