diff options
Diffstat (limited to 'data/en_us/pts')
| -rw-r--r-- | data/en_us/pts/2015-08-01/api-docs.php | 732 | ||||
| -rw-r--r-- | data/en_us/pts/2018-11-11/api-docs.php | 555 | ||||
| -rw-r--r-- | data/en_us/pts/2019-05-22/api-docs.php | 327 | ||||
| -rw-r--r-- | data/en_us/pts/2019-08-10/api-docs.php | 11035 | ||||
| -rw-r--r-- | data/en_us/pts/2020-10-20/api-docs.php | 10644 |
5 files changed, 5836 insertions, 17457 deletions
diff --git a/data/en_us/pts/2015-08-01/api-docs.php b/data/en_us/pts/2015-08-01/api-docs.php deleted file mode 100644 index 8b16cc7..0000000 --- a/data/en_us/pts/2015-08-01/api-docs.php +++ /dev/null @@ -1,732 +0,0 @@ -<?php return [ - 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'PTS', - 'version' => '2015-08-01', - ], - 'directories' => [ - [ - 'id' => 0, - 'title' => '其它', - 'type' => 'directory', - 'children' => [ - 'GetKeySecret', - 'CreateTransaction', - 'GetScript', - 'ReportLogSample', - 'GetTasks', - 'ReportTestSample', - 'ReportVuser', - 'SendWangWang', - 'SetScenarioStatus', - 'SetTaskStatus', - 'StopTask', - ], - ], - ], - 'components' => [ - 'schemas' => [], - ], - 'apis' => [ - 'GetKeySecret' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => true, - 'systemTags' => [], - 'parameters' => [], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'Secret' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Key' => [ - 'type' => 'string', - ], - ], - ], - ], - ], - 'staticInfo' => [ - 'noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', - ], - ], - 'CreateTransaction' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => true, - 'systemTags' => [], - 'parameters' => [ - [ - 'name' => 'ScriptId', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - ], - ], - [ - 'name' => 'TransactionName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'type' => 'string', - ], - 'TransactionId' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - ], - ], - ], - 'staticInfo' => [ - 'noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', - ], - 'responseDemo' => null, - ], - 'GetScript' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => true, - 'systemTags' => [], - 'parameters' => [ - [ - 'name' => 'ScriptId', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'Tfsname', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'Script' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - ], - ], - ], - ], - 'staticInfo' => [ - 'noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', - ], - ], - 'ReportLogSample' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => true, - 'systemTags' => [], - 'parameters' => [ - [ - 'name' => 'Wskey', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'ScenarioId', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - ], - ], - [ - 'name' => 'LogSample', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'type' => 'string', - ], - ], - ], - ], - ], - 'staticInfo' => [ - 'noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', - ], - ], - 'GetTasks' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => true, - 'systemTags' => [], - 'parameters' => [ - [ - 'name' => 'Status', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'Tasks' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - ], - ], - ], - ], - 'staticInfo' => [ - 'noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', - ], - 'responseDemo' => null, - ], - 'ReportTestSample' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => true, - 'systemTags' => [], - 'parameters' => [ - [ - 'name' => 'TestSample', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'type' => 'string', - ], - ], - ], - ], - ], - 'staticInfo' => [ - 'noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', - ], - ], - 'ReportVuser' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => true, - 'systemTags' => [], - 'parameters' => [ - [ - 'name' => 'Wskey', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'ScenarioId', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - ], - ], - [ - 'name' => 'Vuser', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - ], - ], - [ - 'name' => 'GmtCreated', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'type' => 'string', - ], - ], - ], - ], - ], - 'staticInfo' => [ - 'noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', - ], - ], - 'SendWangWang' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => true, - 'systemTags' => [], - 'parameters' => [ - [ - 'name' => 'To', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => true, - ], - ], - [ - 'name' => 'Title', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'Msg', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'type' => 'string', - ], - ], - ], - ], - ], - 'staticInfo' => [ - 'noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', - ], - ], - 'SetScenarioStatus' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => true, - 'systemTags' => [], - 'parameters' => [ - [ - 'name' => 'Wskey', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'ScenarioId', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - ], - ], - [ - 'name' => 'Status', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - ], - ], - [ - 'name' => 'NodeIp', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'type' => 'string', - ], - ], - ], - ], - ], - 'staticInfo' => [ - 'noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', - ], - ], - 'SetTaskStatus' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => true, - 'systemTags' => [], - 'parameters' => [ - [ - 'name' => 'Wskey', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'Status', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'type' => 'string', - ], - ], - ], - ], - ], - 'staticInfo' => [ - 'noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', - ], - ], - 'StopTask' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => true, - 'systemTags' => [], - 'parameters' => [ - [ - 'name' => 'TaskId', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - ], - ], - [ - 'name' => 'Type', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'Msg', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'type' => 'string', - ], - ], - ], - ], - ], - 'staticInfo' => [ - 'noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', - ], - ], - ], - 'endpoints' => [ - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-qingdao', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangjiakou', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-huhehaote', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-chengdu', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'ap-northeast-1', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-2', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-3', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-5', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'us-east-1', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'us-west-1', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'eu-west-1', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'eu-central-1', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'ap-south-1', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'me-east-1', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-finance', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-finance-1', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-finance-1', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing-finance-1', - 'endpoint' => 'pts.aliyuncs.com', - ], - ], -]; diff --git a/data/en_us/pts/2018-11-11/api-docs.php b/data/en_us/pts/2018-11-11/api-docs.php deleted file mode 100644 index 8644e0f..0000000 --- a/data/en_us/pts/2018-11-11/api-docs.php +++ /dev/null @@ -1,555 +0,0 @@ -<?php return [ - 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'PTS', - 'version' => '2018-11-11', - ], - 'directories' => [ - [ - 'id' => 0, - 'title' => '其它', - 'type' => 'directory', - 'children' => [ - 'GetReport', - 'ListRunnableScenes', - 'QueryPlanStatus', - 'StartScene', - 'StopScene', - ], - ], - ], - 'components' => [ - 'schemas' => [], - ], - 'apis' => [ - 'GetReport' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => true, - 'systemTags' => [], - 'parameters' => [ - [ - 'name' => 'ReportId', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'Snapshot' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'Summary' => [ - 'type' => 'string', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], - ], - ], - ], - ], - 'staticInfo' => [ - 'noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', - ], - ], - 'ListRunnableScenes' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => true, - 'systemTags' => [], - 'parameters' => [ - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'TotalCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Scenes' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'Scene' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ModifiedTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'SceneId' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'SceneName' => [ - 'type' => 'string', - ], - 'Duration' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - ], - ], - ], - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'PageSize' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'PageNumber' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], - ], - ], - ], - ], - 'staticInfo' => [ - 'noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', - ], - ], - 'QueryPlanStatus' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => true, - 'systemTags' => [], - 'parameters' => [ - [ - 'name' => 'SceneId', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - ], - ], - [ - 'name' => 'ReportId', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'BpsResponse' => [ - 'type' => 'string', - ], - 'ConcurrencyLimit' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Message' => [ - 'type' => 'string', - ], - 'BpsRequest' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'StartTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'ReportId' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Seg90Rt' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'MonitorData' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'Data' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - ], - ], - ], - ], - 'RequestCount' => [ - 'type' => 'string', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], - 'Vum' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'AverageRt' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'TotalAgentCount' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'FailedBusinessCount' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Concurrency' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Tps' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'CurrentTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'AgentLocations' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'AgentLocation' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - ], - ], - ], - ], - 'FailedRequestCount' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'AliveAgentCount' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'TpsLimit' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Tips' => [ - 'type' => 'string', - ], - ], - ], - ], - ], - 'staticInfo' => [ - 'noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', - ], - ], - 'StartScene' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => true, - 'systemTags' => [], - 'parameters' => [ - [ - 'name' => 'SceneId', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'Message' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'ReportId' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], - ], - ], - ], - ], - 'staticInfo' => [ - 'noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', - ], - ], - 'StopScene' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => true, - 'systemTags' => [], - 'parameters' => [ - [ - 'name' => 'SceneId', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'Message' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], - ], - ], - ], - ], - 'staticInfo' => [ - 'noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', - ], - ], - ], - 'endpoints' => [ - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-qingdao', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangjiakou', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-huhehaote', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-chengdu', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'ap-northeast-1', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-2', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-3', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-5', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'us-east-1', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'us-west-1', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'eu-west-1', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'eu-central-1', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'ap-south-1', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'me-east-1', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-finance', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-finance-1', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-finance-1', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing-finance-1', - 'endpoint' => 'pts.aliyuncs.com', - ], - ], -]; diff --git a/data/en_us/pts/2019-05-22/api-docs.php b/data/en_us/pts/2019-05-22/api-docs.php deleted file mode 100644 index c54dc14..0000000 --- a/data/en_us/pts/2019-05-22/api-docs.php +++ /dev/null @@ -1,327 +0,0 @@ -<?php return [ - 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'PTS', - 'version' => '2019-05-22', - ], - 'directories' => [ - [ - 'id' => 0, - 'title' => '其它', - 'type' => 'directory', - 'children' => [ - 'GetAliwareReport', - 'GetReport', - 'StartScene', - ], - ], - ], - 'components' => [ - 'schemas' => [], - ], - 'apis' => [ - 'GetAliwareReport' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => true, - 'systemTags' => [], - 'parameters' => [ - [ - 'name' => 'ReportId', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'Snapshot' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'Summary' => [ - 'type' => 'string', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], - ], - ], - ], - ], - 'staticInfo' => [ - 'noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', - ], - ], - 'GetReport' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => true, - 'systemTags' => [], - 'parameters' => [ - [ - 'name' => 'ReportId', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'Snapshot' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'Summary' => [ - 'type' => 'string', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], - ], - ], - ], - ], - 'staticInfo' => [ - 'noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', - ], - ], - 'StartScene' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => true, - 'systemTags' => [], - 'parameters' => [ - [ - 'name' => 'SceneId', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - ], - ], - [ - 'name' => 'UserId', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - ], - ], - [ - 'name' => 'TeamId', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - ], - ], - [ - 'name' => 'TaskId', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'Message' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'ReportId' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], - ], - ], - ], - ], - 'staticInfo' => [ - 'noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', - ], - ], - ], - 'endpoints' => [ - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-qingdao', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangjiakou', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-huhehaote', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-chengdu', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'ap-northeast-1', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-2', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-3', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-5', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'us-east-1', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'us-west-1', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'eu-west-1', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'eu-central-1', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'ap-south-1', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'me-east-1', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-finance', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-finance-1', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-finance-1', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing-finance-1', - 'endpoint' => 'pts.aliyuncs.com', - ], - ], -]; diff --git a/data/en_us/pts/2019-08-10/api-docs.php b/data/en_us/pts/2019-08-10/api-docs.php index 8c68491..b3d3a84 100644 --- a/data/en_us/pts/2019-08-10/api-docs.php +++ b/data/en_us/pts/2019-08-10/api-docs.php @@ -1,108 +1,17 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'PTS', - 'version' => '2019-08-10', - ], + 'info' => ['style' => 'RPC', 'product' => 'PTS', 'version' => '2019-08-10'], 'directories' => [ [ 'id' => 0, 'title' => '其它', 'type' => 'directory', 'children' => [ - 'AdjustJMeterSpeed', - 'AdjustSceneSpeed', - 'AdjustRelationSpeed', - 'CloneJMeterScene', - 'CreateScene', - 'CreateSceneGroup', - 'DescribeAgentCpuInfo', - 'DescribeAgentGCInfo', - 'DescribeAgentLoadInfo', - 'DescribeAgentMemoryInfo', - 'DescribeAgentNetTraffic', - 'DescribeIntranetResource', - 'DescribeJMeterLogs', - 'DescribeJMeterPlan', - 'DescribeJMeterSampleSummary', - 'DescribeJMeterSamplingLogs', - 'DescribeJMeterScene', - 'DescribeJMeterSceneRunningStatus', - 'DescribeJMeterTaskList', - 'DescribeReportChainDetail', - 'DescribeReport', - 'DescribeReportChainSummary', - 'DescribeSampleMetric', - 'DescribeSamplingLog', - 'DescribeScene', - 'DescribeSceneRunningStatus', - 'DescribeSlaTemplate', - 'ExecuteSceneFunction', - 'InvokeRecorder', - 'ListGroupScenes', - 'ListReports', - 'ListSceneGroups', - 'ListScenes', - 'ListSlaSnapshotReal', - 'ListSlaSnapshotSummary', - 'ListSlaWarnings', - 'ListWithGroupsScenes', - 'ParseScene', - 'RemoveInstanceFromGroup', - 'RemoveSceneGroup', - 'RemoveScenes', - 'ReplaceOssFile', - 'SaveScene', - 'StartJMeterTesting', - 'StartSceneTesting', - 'StopJMeterTesting', - 'StopSceneTesting', - 'SubmitProgress', - 'SubmitTesting', - 'UpdateSceneGroup', - 'UpdateSceneGroupName', - 'UploadFileFromOSS', - 'ListPtsReports', - 'ListPtsScenesWithReport', - 'QuerySceneGroups', - 'CreatePluginScene', - 'ListPtsSceneOperation', - 'GetJMeterSnapshot', - 'GetPtsSceneSnapshot', - 'ListJMeterOperation', - 'DescribeJMeterReportChart', - 'DescribeRunningChart', - 'DescribeCustomPool', - 'DescribeJMeterRunningChart', - 'CreateSceneFromSnapshot', - 'ListParameterizeFile', - 'ListOssAddresses', - 'CreateHttpInterface', - 'ConvertInterfaceToScene', - 'RemoveHttpInterface', - 'ConvertHarToScene', - 'DescribeInterfaceSamplingLog', - 'ListHttpInterfaces', - 'SaveHttpInterface', - 'StopDebuggingInterface', - 'RenameInterfaceCollection', - 'DeleteInterfaceCollection', - 'ConvertSwaggerToScene', - 'CreateInterfaceCollection', - 'ListInterfaceCollection', - 'ParseJMeter', - 'StartApiTesting', - 'ScalePlanAgents', - 'ScalePlanConcurrency', - 'DescribeJMeterPrometheusConfig', - 'DescribePrometheusConfig', - 'DescribeAgentAggPerformance', - 'StartEasyApiTesting', - 'SearchInterface', - 'DescribeHttpInterfaces', - 'ListDataSource', - 'StartApiDebugging', + 'AdjustJMeterSpeed', 'AdjustSceneSpeed', 'AdjustRelationSpeed', 'CloneJMeterScene', 'CreateScene', 'CreateSceneGroup', 'DescribeAgentCpuInfo', 'DescribeAgentGCInfo', 'DescribeAgentLoadInfo', 'DescribeAgentMemoryInfo', 'DescribeAgentNetTraffic', 'DescribeIntranetResource', 'DescribeJMeterLogs', 'DescribeJMeterPlan', 'DescribeJMeterSampleSummary', 'DescribeJMeterSamplingLogs', 'DescribeJMeterScene', 'DescribeJMeterSceneRunningStatus', 'DescribeJMeterTaskList', 'DescribeReportChainDetail', + 'DescribeReport', 'DescribeReportChainSummary', 'DescribeSampleMetric', 'DescribeSamplingLog', 'DescribeScene', 'DescribeSceneRunningStatus', 'DescribeSlaTemplate', 'ExecuteSceneFunction', 'InvokeRecorder', 'ListGroupScenes', 'ListReports', 'ListSceneGroups', 'ListScenes', 'ListSlaSnapshotReal', 'ListSlaSnapshotSummary', 'ListSlaWarnings', 'ListWithGroupsScenes', 'ParseScene', 'RemoveInstanceFromGroup', 'RemoveSceneGroup', + 'RemoveScenes', 'ReplaceOssFile', 'SaveScene', 'StartJMeterTesting', 'StartSceneTesting', 'StopJMeterTesting', 'StopSceneTesting', 'SubmitProgress', 'SubmitTesting', 'UpdateSceneGroup', 'UpdateSceneGroupName', 'UploadFileFromOSS', 'ListPtsReports', 'ListPtsScenesWithReport', 'QuerySceneGroups', 'CreatePluginScene', 'ListPtsSceneOperation', 'GetJMeterSnapshot', 'GetPtsSceneSnapshot', 'ListJMeterOperation', + 'DescribeJMeterReportChart', 'DescribeRunningChart', 'DescribeCustomPool', 'DescribeJMeterRunningChart', 'CreateSceneFromSnapshot', 'ListParameterizeFile', 'ListOssAddresses', 'CreateHttpInterface', 'ConvertInterfaceToScene', 'RemoveHttpInterface', 'ConvertHarToScene', 'DescribeInterfaceSamplingLog', 'ListHttpInterfaces', 'SaveHttpInterface', 'StopDebuggingInterface', 'RenameInterfaceCollection', 'DeleteInterfaceCollection', 'ConvertSwaggerToScene', 'CreateInterfaceCollection', 'ListInterfaceCollection', + 'ParseJMeter', 'StartApiTesting', 'ScalePlanAgents', 'ScalePlanConcurrency', 'DescribeJMeterPrometheusConfig', 'DescribePrometheusConfig', 'DescribeAgentAggPerformance', 'StartEasyApiTesting', 'SearchInterface', 'DescribeHttpInterfaces', 'ListDataSource', 'StartApiDebugging', ], ], ], @@ -111,13 +20,8 @@ ], 'apis' => [ 'AdjustJMeterSpeed' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -128,35 +32,23 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'SceneId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'LoadMode', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Speed', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], 'responses' => [ @@ -164,35 +56,19 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], + 'Message' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], ], ], ], ], ], 'AdjustSceneSpeed' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -211,36 +87,23 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'SceneId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], [ 'name' => 'SpeedData', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], [ 'name' => 'Content', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], 'responses' => [ @@ -248,35 +111,19 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], + 'Message' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], ], ], ], ], ], 'AdjustRelationSpeed' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -295,36 +142,23 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'SceneId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Speed', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'RelationIndex', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], 'responses' => [ @@ -332,36 +166,19 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], + 'Message' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], ], ], ], ], ], 'CloneJMeterScene' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -372,19 +189,13 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'SceneId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], ], 'responses' => [ @@ -392,38 +203,20 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'SceneId' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], + 'SceneId' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], ], ], ], ], ], 'CreateScene' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -443,19 +236,13 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'Scene', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], ], 'responses' => [ @@ -463,36 +250,15 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'SceneId' => [ - 'type' => 'string', - ], - 'ChargeType' => [ - 'title' => '计费类型', - 'type' => 'string', - 'example' => 'BY_TIME', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'DocumentUrl' => [ - 'type' => 'string', - ], - 'CodeKey' => [ - 'type' => 'string', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], + 'SceneId' => ['type' => 'string'], + 'ChargeType' => ['title' => '计费类型', 'type' => 'string', 'example' => 'BY_TIME'], + 'RequestId' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'DocumentUrl' => ['type' => 'string'], + 'CodeKey' => ['type' => 'string'], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], ], ], ], @@ -500,14 +266,8 @@ 'responseDemo' => null, ], 'CreateSceneGroup' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -527,26 +287,18 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'SceneGroupName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'SceneType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], 'responses' => [ @@ -554,50 +306,26 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'SceneId' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], - 'GroupId' => [ - 'type' => 'string', - ], + 'SceneId' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], + 'GroupId' => ['type' => 'string'], ], ], ], ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'RemoveSceneGroupFail', - 'errorMessage' => 'Failed to remove the scene group.', - ], + ['errorCode' => 'RemoveSceneGroupFail', 'errorMessage' => 'Failed to remove the scene group.'], ], ], ], 'DescribeAgentCpuInfo' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -614,48 +342,28 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'ReportId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], [ 'name' => 'AgentIndex', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'minimum' => '0', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'minimum' => '0'], ], [ 'name' => 'BeginTime', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], ], 'responses' => [ @@ -663,42 +371,23 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], + 'Message' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], 'CpuInfo' => [ 'type' => 'array', - 'items' => [ - 'type' => 'object', - ], - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', + 'items' => ['type' => 'object'], ], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], ], ], ], ], ], 'DescribeAgentGCInfo' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -717,48 +406,28 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'ReportId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], [ 'name' => 'AgentIndex', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'minimum' => '0', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'minimum' => '0'], ], [ 'name' => 'BeginTime', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], ], 'responses' => [ @@ -766,42 +435,23 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], + 'Message' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], 'GcInfo' => [ 'type' => 'array', - 'items' => [ - 'type' => 'object', - ], - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', + 'items' => ['type' => 'object'], ], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], ], ], ], ], ], 'DescribeAgentLoadInfo' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -812,48 +462,28 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'ReportId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], [ 'name' => 'AgentIndex', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'minimum' => '0', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'minimum' => '0'], ], [ 'name' => 'BeginTime', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], ], 'responses' => [ @@ -863,40 +493,21 @@ 'properties' => [ 'LoadInfo' => [ 'type' => 'array', - 'items' => [ - 'type' => 'object', - ], - ], - 'Message' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', + 'items' => ['type' => 'object'], ], + 'Message' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], ], ], ], ], ], 'DescribeAgentMemoryInfo' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -907,47 +518,28 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'ReportId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], [ 'name' => 'AgentIndex', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'minimum' => '0', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '0'], ], [ 'name' => 'BeginTime', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], ], 'responses' => [ @@ -957,40 +549,21 @@ 'properties' => [ 'MemoryInfo' => [ 'type' => 'array', - 'items' => [ - 'type' => 'object', - ], - ], - 'Message' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', + 'items' => ['type' => 'object'], ], + 'Message' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], ], ], ], ], ], 'DescribeAgentNetTraffic' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1010,48 +583,28 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'ReportId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], [ 'name' => 'AgentIndex', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'minimum' => '0', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'minimum' => '0'], ], [ 'name' => 'BeginTime', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], ], 'responses' => [ @@ -1059,42 +612,23 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'Message' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], 'NetTrafficInfo' => [ 'type' => 'array', - 'items' => [ - 'type' => 'object', - ], - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', + 'items' => ['type' => 'object'], ], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], ], ], ], ], ], 'DescribeIntranetResource' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1114,9 +648,7 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [], 'responses' => [ @@ -1124,38 +656,20 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'IntranetResource' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], + 'IntranetResource' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], ], ], ], ], ], 'DescribeJMeterLogs' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1175,100 +689,58 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'minimum' => '1', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'minimum' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '200', - 'minimum' => '1', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '200', 'minimum' => '1'], ], [ 'name' => 'ReportId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'BeginTime', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'Thread', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Level', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'LoggerName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Keyword', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], 'responses' => [ @@ -1276,33 +748,14 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'PageSize' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'PageNumber' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Logs' => [ - 'type' => 'string', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], + 'TotalCount' => ['type' => 'integer', 'format' => 'int64'], + 'RequestId' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'PageSize' => ['type' => 'integer', 'format' => 'int32'], + 'PageNumber' => ['type' => 'integer', 'format' => 'int32'], + 'Logs' => ['type' => 'string'], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], ], ], ], @@ -1310,13 +763,8 @@ 'responseDemo' => null, ], 'DescribeJMeterPlan' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1336,19 +784,13 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22732', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'ReportId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], ], 'responses' => [ @@ -1356,34 +798,15 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'Report' => [ - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], - 'ShowPrometheus' => [ - 'type' => 'boolean', - ], - 'PrometheusOverviewUrl' => [ - 'type' => 'string', - ], - 'PrometheusSelfMonitorUrl' => [ - 'type' => 'string', - ], + 'RequestId' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'Report' => ['type' => 'string'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], + 'ShowPrometheus' => ['type' => 'boolean'], + 'PrometheusOverviewUrl' => ['type' => 'string'], + 'PrometheusSelfMonitorUrl' => ['type' => 'string'], ], ], ], @@ -1394,14 +817,8 @@ ], ], 'DescribeJMeterSampleSummary' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1412,29 +829,18 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'ReportId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], [ 'name' => 'SamplerId', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true], ], ], 'responses' => [ @@ -1442,45 +848,22 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'RtDistribution' => [ - 'type' => 'object', - ], - 'ConcurrencyTpsStat' => [ - 'type' => 'object', - ], - 'ConcurrencyRtStat' => [ - 'type' => 'object', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], + 'RequestId' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'RtDistribution' => ['type' => 'object'], + 'ConcurrencyTpsStat' => ['type' => 'object'], + 'ConcurrencyRtStat' => ['type' => 'object'], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], ], ], ], ], ], 'DescribeJMeterSamplingLogs' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1491,127 +874,73 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'minimum' => '1', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'minimum' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '200', - 'minimum' => '1', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '200', 'minimum' => '1'], ], [ 'name' => 'BeginTime', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true], ], [ 'name' => 'ReportId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], [ 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'SamplerId', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'Success', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'Thread', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Keyword', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'RtRange', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ResponseCode', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'HttpResponseHeader', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['type' => 'string'], ], ], 'responses' => [ @@ -1619,53 +948,26 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'PageSize' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'PageNumber' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'TotalCount' => ['type' => 'integer', 'format' => 'int64'], + 'RequestId' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'PageSize' => ['type' => 'integer', 'format' => 'int32'], + 'PageNumber' => ['type' => 'integer', 'format' => 'int32'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], 'SampleResults' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', + 'items' => ['type' => 'string'], ], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], ], ], ], ], ], 'DescribeJMeterScene' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1685,19 +987,13 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'SceneId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], ], 'responses' => [ @@ -1705,223 +1001,92 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'Message' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], 'Scene' => [ 'type' => 'object', 'properties' => [ - 'VpcId' => [ - 'type' => 'string', - ], - 'VpcName' => [ - 'type' => 'string', - ], - 'Iterations' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Pool' => [ - 'type' => 'string', - ], - 'SecurityGroupId' => [ - 'type' => 'string', - ], - 'SecurityGroupName' => [ - 'type' => 'string', - ], - 'ConstantThroughputTimerType' => [ - 'type' => 'string', - ], - 'MaxConcurrencyPerAgent' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'SpecifyAgentCount' => [ - 'type' => 'boolean', - ], - 'SyncTimerType' => [ - 'type' => 'string', - ], - 'EnvironmentId' => [ - 'type' => 'string', - ], - 'SplitCsv' => [ - 'type' => 'boolean', - ], - 'JMeterVersion' => [ - 'type' => 'string', - ], - 'Name' => [ - 'type' => 'string', - ], - 'IsCronable' => [ - 'type' => 'boolean', - ], + 'VpcId' => ['type' => 'string'], + 'VpcName' => ['type' => 'string'], + 'Iterations' => ['type' => 'integer', 'format' => 'int32'], + 'Pool' => ['type' => 'string'], + 'SecurityGroupId' => ['type' => 'string'], + 'SecurityGroupName' => ['type' => 'string'], + 'ConstantThroughputTimerType' => ['type' => 'string'], + 'MaxConcurrencyPerAgent' => ['type' => 'integer', 'format' => 'int32'], + 'SpecifyAgentCount' => ['type' => 'boolean'], + 'SyncTimerType' => ['type' => 'string'], + 'EnvironmentId' => ['type' => 'string'], + 'SplitCsv' => ['type' => 'boolean'], + 'JMeterVersion' => ['type' => 'string'], + 'Name' => ['type' => 'string'], + 'IsCronable' => ['type' => 'boolean'], 'DnsCacheConfig' => [ 'type' => 'object', 'properties' => [ - 'ClearCacheEachIteration' => [ - 'type' => 'boolean', - ], - 'HostTable' => [ - 'type' => 'object', - ], + 'ClearCacheEachIteration' => ['type' => 'boolean'], + 'HostTable' => ['type' => 'object'], 'DnsServers' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], ], ], - 'Steps' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'RegionId' => [ - 'type' => 'string', - ], - 'UseIterations' => [ - 'type' => 'boolean', - ], - 'TestFile' => [ - 'type' => 'string', - ], + 'Steps' => ['type' => 'integer', 'format' => 'int32'], + 'RegionId' => ['type' => 'string'], + 'UseIterations' => ['type' => 'boolean'], + 'TestFile' => ['type' => 'string'], 'BaseInfo' => [ 'type' => 'object', 'properties' => [ - 'ModifyName' => [ - 'type' => 'string', - ], - 'Resource' => [ - 'type' => 'string', - ], - 'Remark' => [ - 'type' => 'string', - ], - 'CreateName' => [ - 'type' => 'string', - ], - 'Principal' => [ - 'type' => 'string', - ], + 'ModifyName' => ['type' => 'string'], + 'Resource' => ['type' => 'string'], + 'Remark' => ['type' => 'string'], + 'CreateName' => ['type' => 'string'], + 'Principal' => ['type' => 'string'], ], ], - 'VSwitchId' => [ - 'type' => 'string', - ], - 'VSwitchName' => [ - 'type' => 'string', - ], - 'ConditionSatisfiedExactly' => [ - 'type' => 'boolean', - ], - 'HoldFor' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'VSwitchId' => ['type' => 'string'], + 'VSwitchName' => ['type' => 'string'], + 'ConditionSatisfiedExactly' => ['type' => 'boolean'], + 'HoldFor' => ['type' => 'integer', 'format' => 'int32'], 'Condition' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Amount' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Region' => [ - 'type' => 'string', - ], - 'Isp' => [ - 'type' => 'string', - ], + 'Amount' => ['type' => 'integer', 'format' => 'int32'], + 'Region' => ['type' => 'string'], + 'Isp' => ['type' => 'string'], ], ], ], - 'AgentCount' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'FileList' => [ - 'type' => 'string', - ], - 'ParamFileList' => [ - 'type' => 'string', - ], - 'RampUp' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'SceneId' => [ - 'type' => 'string', - ], + 'AgentCount' => ['type' => 'integer', 'format' => 'int32'], + 'FileList' => ['type' => 'string'], + 'ParamFileList' => ['type' => 'string'], + 'RampUp' => ['type' => 'integer', 'format' => 'int32'], + 'SceneId' => ['type' => 'string'], 'Plan' => [ 'type' => 'object', 'properties' => [ - 'ModifiedTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'VumWeight' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'BeginTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'LastActive' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Vum' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'HasReport' => [ - 'type' => 'boolean', - ], - ], - ], - 'Concurrency' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'CustomPool' => [ - 'type' => 'boolean', - ], - 'ShadowFlow' => [ - 'type' => 'string', - ], - 'AddArmsTraceId' => [ - 'type' => 'boolean', - ], - 'StartRps' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'EndRps' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Mode' => [ - 'type' => 'string', - ], - 'NeedPublicIpv6' => [ - 'type' => 'boolean', - ], - 'BeginRatio' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'ModifiedTime' => ['type' => 'integer', 'format' => 'int64'], + 'VumWeight' => ['type' => 'integer', 'format' => 'int64'], + 'BeginTime' => ['type' => 'integer', 'format' => 'int64'], + 'LastActive' => ['type' => 'integer', 'format' => 'int64'], + 'Vum' => ['type' => 'integer', 'format' => 'int64'], + 'HasReport' => ['type' => 'boolean'], + ], + ], + 'Concurrency' => ['type' => 'integer', 'format' => 'int32'], + 'CustomPool' => ['type' => 'boolean'], + 'ShadowFlow' => ['type' => 'string'], + 'AddArmsTraceId' => ['type' => 'boolean'], + 'StartRps' => ['type' => 'integer', 'format' => 'int32'], + 'EndRps' => ['type' => 'integer', 'format' => 'int32'], + 'Mode' => ['type' => 'string'], + 'NeedPublicIpv6' => ['type' => 'boolean'], + 'BeginRatio' => ['type' => 'integer', 'format' => 'int32'], 'PrometheusConfig' => [ 'type' => 'object', 'properties' => [ @@ -1930,51 +1095,27 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Name' => [ - 'type' => 'string', - ], - 'Type' => [ - 'type' => 'string', - ], - 'Help' => [ - 'type' => 'string', - ], - 'Labels' => [ - 'type' => 'string', - ], - 'Buckets' => [ - 'type' => 'string', - ], - 'ListenTo' => [ - 'type' => 'string', - ], - 'Measuring' => [ - 'type' => 'string', - ], + 'Name' => ['type' => 'string'], + 'Type' => ['type' => 'string'], + 'Help' => ['type' => 'string'], + 'Labels' => ['type' => 'string'], + 'Buckets' => ['type' => 'string'], + 'ListenTo' => ['type' => 'string'], + 'Measuring' => ['type' => 'string'], ], ], ], ], ], - 'SamplingRatio' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'SamplingRatio' => ['type' => 'integer', 'format' => 'int32'], 'DataFileIds' => [ 'type' => 'array', - 'items' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'items' => ['type' => 'integer', 'format' => 'int64'], ], ], ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], ], ], ], @@ -1982,13 +1123,8 @@ 'responseDemo' => null, ], 'DescribeJMeterSceneRunningStatus' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2008,19 +1144,13 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'SceneId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], ], 'responses' => [ @@ -2028,95 +1158,40 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'Message' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], 'Scene' => [ 'type' => 'object', 'properties' => [ - 'Iterations' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Pool' => [ - 'type' => 'string', - ], - 'JmeterVersion' => [ - 'type' => 'string', - ], - 'MaxConcurrencyPerAgent' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'SpecifyAgentCount' => [ - 'type' => 'boolean', - ], - 'Steps' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'UseIterations' => [ - 'type' => 'boolean', - ], - 'TestFile' => [ - 'type' => 'string', - ], - 'HoldFor' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'SplitCsv' => [ - 'type' => 'boolean', - ], - 'AgentCount' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'RampUp' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Plan' => [ - 'type' => 'string', - ], - 'Name' => [ - 'type' => 'string', - ], - 'Concurrency' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'LabelAndClassName' => [ - 'type' => 'string', - ], + 'Iterations' => ['type' => 'integer', 'format' => 'int32'], + 'Pool' => ['type' => 'string'], + 'JmeterVersion' => ['type' => 'string'], + 'MaxConcurrencyPerAgent' => ['type' => 'integer', 'format' => 'int32'], + 'SpecifyAgentCount' => ['type' => 'boolean'], + 'Steps' => ['type' => 'integer', 'format' => 'int32'], + 'UseIterations' => ['type' => 'boolean'], + 'TestFile' => ['type' => 'string'], + 'HoldFor' => ['type' => 'integer', 'format' => 'int32'], + 'SplitCsv' => ['type' => 'boolean'], + 'AgentCount' => ['type' => 'integer', 'format' => 'int32'], + 'RampUp' => ['type' => 'integer', 'format' => 'int32'], + 'Plan' => ['type' => 'string'], + 'Name' => ['type' => 'string'], + 'Concurrency' => ['type' => 'integer', 'format' => 'int32'], + 'LabelAndClassName' => ['type' => 'string'], ], ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], ], ], ], ], ], 'DescribeJMeterTaskList' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2136,41 +1211,23 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'minimum' => '1', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'minimum' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '20', - 'minimum' => '1', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '20', 'minimum' => '1'], ], [ 'name' => 'ReportId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], 'responses' => [ @@ -2178,33 +1235,14 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'PageSize' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'PageNumber' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'TaskList' => [ - 'type' => 'string', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], + 'TotalCount' => ['type' => 'integer', 'format' => 'int64'], + 'RequestId' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'PageSize' => ['type' => 'integer', 'format' => 'int32'], + 'PageNumber' => ['type' => 'integer', 'format' => 'int32'], + 'TaskList' => ['type' => 'string'], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], ], ], ], @@ -2212,14 +1250,8 @@ 'responseDemo' => null, ], 'DescribeReportChainDetail' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2239,46 +1271,28 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'ReportId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], [ 'name' => 'NodeId', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'BeginTime', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], ], 'responses' => [ @@ -2286,151 +1300,47 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], + 'Message' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], 'ChainDetails' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'TpsFail' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'QpsFail' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'Qps3XX' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'TotalRequest' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'BizSuccessRate' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'BpsRequest' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Total2XX' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'TotalMiss' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'ConfigQps' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Qps5XX' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'Total5XX' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'AverageRt' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'TotalHit' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'TpsSuccess' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'TimePoint' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'SuccessRate' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'MinRt' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Qps2XX' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'Qps4XX' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'MaxRt' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'RealConcurrency' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'QpsMiss' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'Total3XX' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Total4XX' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'ReqSuccessRate' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'TotalFail' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'QueueCapacity' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'RealQps' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'NodeId' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'BpsResponse' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'QpsHit' => [ - 'type' => 'number', - 'format' => 'float', - ], + 'TpsFail' => ['type' => 'number', 'format' => 'float'], + 'QpsFail' => ['type' => 'number', 'format' => 'float'], + 'Qps3XX' => ['type' => 'number', 'format' => 'float'], + 'TotalRequest' => ['type' => 'integer', 'format' => 'int64'], + 'BizSuccessRate' => ['type' => 'number', 'format' => 'float'], + 'BpsRequest' => ['type' => 'integer', 'format' => 'int64'], + 'Total2XX' => ['type' => 'integer', 'format' => 'int64'], + 'TotalMiss' => ['type' => 'integer', 'format' => 'int64'], + 'ConfigQps' => ['type' => 'integer', 'format' => 'int32'], + 'Qps5XX' => ['type' => 'number', 'format' => 'float'], + 'Total5XX' => ['type' => 'integer', 'format' => 'int64'], + 'AverageRt' => ['type' => 'integer', 'format' => 'int32'], + 'TotalHit' => ['type' => 'integer', 'format' => 'int64'], + 'TpsSuccess' => ['type' => 'number', 'format' => 'float'], + 'TimePoint' => ['type' => 'integer', 'format' => 'int64'], + 'SuccessRate' => ['type' => 'number', 'format' => 'float'], + 'MinRt' => ['type' => 'integer', 'format' => 'int32'], + 'Qps2XX' => ['type' => 'number', 'format' => 'float'], + 'Qps4XX' => ['type' => 'number', 'format' => 'float'], + 'MaxRt' => ['type' => 'integer', 'format' => 'int32'], + 'RealConcurrency' => ['type' => 'number', 'format' => 'float'], + 'QpsMiss' => ['type' => 'number', 'format' => 'float'], + 'Total3XX' => ['type' => 'integer', 'format' => 'int64'], + 'Total4XX' => ['type' => 'integer', 'format' => 'int64'], + 'ReqSuccessRate' => ['type' => 'number', 'format' => 'float'], + 'TotalFail' => ['type' => 'integer', 'format' => 'int64'], + 'QueueCapacity' => ['type' => 'integer', 'format' => 'int64'], + 'RealQps' => ['type' => 'number', 'format' => 'float'], + 'NodeId' => ['type' => 'integer', 'format' => 'int64'], + 'BpsResponse' => ['type' => 'integer', 'format' => 'int64'], + 'QpsHit' => ['type' => 'number', 'format' => 'float'], ], ], ], @@ -2440,14 +1350,8 @@ ], ], 'DescribeReport' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2467,19 +1371,13 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'ReportId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], ], 'responses' => [ @@ -2487,281 +1385,106 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'AverageConcurrency' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'AverageBandWidth' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Message' => [ - 'type' => 'string', - ], - 'EndTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'AverageConcurrency' => ['type' => 'integer', 'format' => 'int32'], + 'AverageBandWidth' => ['type' => 'integer', 'format' => 'int64'], + 'Message' => ['type' => 'string'], + 'EndTime' => ['type' => 'integer', 'format' => 'int64'], 'PressureData' => [ 'type' => 'object', 'properties' => [ - 'MaxRps' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'AllRequestBps' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'MaxRequestBps' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'ExceptionMes' => [ - 'type' => 'string', - ], + 'MaxRps' => ['type' => 'integer', 'format' => 'int64'], + 'AllRequestBps' => ['type' => 'integer', 'format' => 'int64'], + 'MaxRequestBps' => ['type' => 'integer', 'format' => 'int64'], + 'ExceptionMes' => ['type' => 'string'], 'AgentLocations' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Region' => [ - 'type' => 'string', - ], - 'Isp' => [ - 'type' => 'string', - ], - 'Count' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Province' => [ - 'type' => 'string', - ], - ], - ], - ], - 'LimitRps' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'LimitConcurrency' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'TotalAgent' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'AvgResponseBps' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'AllResponseBps' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'AvgRequestBps' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'AvgBw' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'MaxBw' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'AliveAgent' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'MaxResponseBps' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'IsException' => [ - 'type' => 'boolean', - ], - 'MaxConcurrency' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Duration' => [ - 'type' => 'string', - ], + 'Region' => ['type' => 'string'], + 'Isp' => ['type' => 'string'], + 'Count' => ['type' => 'integer', 'format' => 'int32'], + 'Province' => ['type' => 'string'], + ], + ], + ], + 'LimitRps' => ['type' => 'integer', 'format' => 'int32'], + 'LimitConcurrency' => ['type' => 'integer', 'format' => 'int32'], + 'TotalAgent' => ['type' => 'integer', 'format' => 'int32'], + 'AvgResponseBps' => ['type' => 'number', 'format' => 'float'], + 'AllResponseBps' => ['type' => 'integer', 'format' => 'int64'], + 'AvgRequestBps' => ['type' => 'number', 'format' => 'float'], + 'AvgBw' => ['type' => 'integer', 'format' => 'int64'], + 'MaxBw' => ['type' => 'integer', 'format' => 'int64'], + 'AliveAgent' => ['type' => 'integer', 'format' => 'int32'], + 'MaxResponseBps' => ['type' => 'integer', 'format' => 'int64'], + 'IsException' => ['type' => 'boolean'], + 'MaxConcurrency' => ['type' => 'integer', 'format' => 'int32'], + 'Duration' => ['type' => 'string'], ], ], - 'BeginTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'BeginTime' => ['type' => 'integer', 'format' => 'int64'], 'Chains' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'NodeType' => [ - 'type' => 'string', - ], - 'Name' => [ - 'type' => 'string', - ], - 'Config' => [ - 'type' => 'string', - ], - 'NodeId' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'NodeType' => ['type' => 'string'], + 'Name' => ['type' => 'string'], + 'Config' => ['type' => 'string'], + 'NodeId' => ['type' => 'integer', 'format' => 'int64'], ], ], ], - 'TotalAgents' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'RequestCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Success' => [ - 'type' => 'boolean', - ], - 'RpsLimit' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'SuccessRateBiz' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'TotalAgents' => ['type' => 'integer', 'format' => 'int32'], + 'RequestCount' => ['type' => 'integer', 'format' => 'int64'], + 'Success' => ['type' => 'boolean'], + 'RpsLimit' => ['type' => 'integer', 'format' => 'int64'], + 'SuccessRateBiz' => ['type' => 'number', 'format' => 'float'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], 'CareData' => [ 'type' => 'object', 'properties' => [ - 'BizFailCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'AvgRtSuccess' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'AvgRtFail' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'MaxTps' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'AllCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'AvgRt' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'AvgTps' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'BizSuccessRate' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'ReqSuccessRate' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'ReqFailCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'BizFailCount' => ['type' => 'integer', 'format' => 'int64'], + 'AvgRtSuccess' => ['type' => 'integer', 'format' => 'int32'], + 'AvgRtFail' => ['type' => 'integer', 'format' => 'int32'], + 'MaxTps' => ['type' => 'integer', 'format' => 'int32'], + 'AllCount' => ['type' => 'integer', 'format' => 'int64'], + 'AvgRt' => ['type' => 'integer', 'format' => 'int32'], + 'AvgTps' => ['type' => 'integer', 'format' => 'int32'], + 'BizSuccessRate' => ['type' => 'number', 'format' => 'float'], + 'ReqSuccessRate' => ['type' => 'number', 'format' => 'float'], + 'ReqFailCount' => ['type' => 'integer', 'format' => 'int64'], ], ], - 'FailedBizCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'AliveAgents' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'AvgRt' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'MaxTps' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'ConcurrencyLimit' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'MaxRps' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'MaxConcurrency' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'IsSceneDeleted' => [ - 'type' => 'boolean', - ], - 'Duration' => [ - 'type' => 'string', - ], - 'MaxBandWidth' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'FailedBizCount' => ['type' => 'integer', 'format' => 'int64'], + 'AliveAgents' => ['type' => 'integer', 'format' => 'int32'], + 'AvgRt' => ['type' => 'number', 'format' => 'float'], + 'MaxTps' => ['type' => 'integer', 'format' => 'int64'], + 'ConcurrencyLimit' => ['type' => 'integer', 'format' => 'int64'], + 'MaxRps' => ['type' => 'integer', 'format' => 'int64'], + 'RequestId' => ['type' => 'string'], + 'MaxConcurrency' => ['type' => 'integer', 'format' => 'int64'], + 'IsSceneDeleted' => ['type' => 'boolean'], + 'Duration' => ['type' => 'string'], + 'MaxBandWidth' => ['type' => 'integer', 'format' => 'int64'], 'Scene' => [ 'type' => 'object', 'properties' => [ 'Status' => [ 'type' => 'object', 'properties' => [ - 'Testing' => [ - 'type' => 'boolean', - ], - 'CronEditable' => [ - 'type' => 'boolean', - ], - 'Tips' => [ - 'type' => 'string', - ], - 'IsCronable' => [ - 'type' => 'boolean', - ], - 'Debugging' => [ - 'type' => 'boolean', - ], - 'IsWaitToStart' => [ - 'type' => 'boolean', - ], - 'Operations' => [ - 'type' => 'object', - ], - 'IsReusable' => [ - 'type' => 'boolean', - ], + 'Testing' => ['type' => 'boolean'], + 'CronEditable' => ['type' => 'boolean'], + 'Tips' => ['type' => 'string'], + 'IsCronable' => ['type' => 'boolean'], + 'Debugging' => ['type' => 'boolean'], + 'IsWaitToStart' => ['type' => 'boolean'], + 'Operations' => ['type' => 'object'], + 'IsReusable' => ['type' => 'boolean'], ], ], - 'Type' => [ - 'type' => 'string', - ], + 'Type' => ['type' => 'string'], 'Relations' => [ 'type' => 'array', 'items' => [ @@ -2772,235 +1495,105 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'NodeType' => [ - 'type' => 'string', - ], - 'Name' => [ - 'type' => 'string', - ], - 'Config' => [ - 'type' => 'object', - ], - 'NodeId' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'NodeType' => ['type' => 'string'], + 'Name' => ['type' => 'string'], + 'Config' => ['type' => 'object'], + 'NodeId' => ['type' => 'integer', 'format' => 'int64'], ], ], ], - 'Disabled' => [ - 'type' => 'boolean', - ], - 'Name' => [ - 'type' => 'string', - ], + 'Disabled' => ['type' => 'boolean'], + 'Name' => ['type' => 'string'], 'RelationTestConfig' => [ 'type' => 'object', 'properties' => [ - 'EndStep' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'BeginStep' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Increment' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'EndStep' => ['type' => 'integer', 'format' => 'int32'], + 'BeginStep' => ['type' => 'integer', 'format' => 'int32'], + 'Increment' => ['type' => 'integer', 'format' => 'int32'], ], ], - 'Headers' => [ - 'type' => 'object', - ], - 'Id' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'Headers' => ['type' => 'object'], + 'Id' => ['type' => 'integer', 'format' => 'int64'], ], ], ], 'TestConfig' => [ 'type' => 'object', 'properties' => [ - 'AgentPool' => [ - 'type' => 'string', - ], - 'IntelligentTest' => [ - 'type' => 'boolean', - ], + 'AgentPool' => ['type' => 'string'], + 'IntelligentTest' => ['type' => 'boolean'], 'VpcConfig' => [ 'type' => 'object', 'properties' => [ - 'VpcName' => [ - 'type' => 'string', - ], - 'VpcId' => [ - 'type' => 'string', - ], - 'VSwitchId' => [ - 'type' => 'string', - ], - 'SecurityGroupId' => [ - 'type' => 'string', - ], - 'SecurityGroupName' => [ - 'type' => 'string', - ], - 'VSwitchName' => [ - 'type' => 'string', - ], - 'RegionId' => [ - 'type' => 'string', - ], + 'VpcName' => ['type' => 'string'], + 'VpcId' => ['type' => 'string'], + 'VSwitchId' => ['type' => 'string'], + 'SecurityGroupId' => ['type' => 'string'], + 'SecurityGroupName' => ['type' => 'string'], + 'VSwitchName' => ['type' => 'string'], + 'RegionId' => ['type' => 'string'], ], ], - 'CustomConfig' => [ - 'type' => 'string', - ], + 'CustomConfig' => ['type' => 'string'], 'Conditions' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Amount' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Region' => [ - 'type' => 'string', - ], - 'Isp' => [ - 'type' => 'string', - ], + 'Amount' => ['type' => 'integer', 'format' => 'int32'], + 'Region' => ['type' => 'string'], + 'Isp' => ['type' => 'string'], ], ], ], - 'Mode' => [ - 'type' => 'string', - ], - 'ConditionSatisfiedExactly' => [ - 'type' => 'string', - ], - 'AutoStep' => [ - 'type' => 'boolean', - ], - 'AgentCount' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'KeepTime' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'CustomTraffic' => [ - 'type' => 'boolean', - ], - 'MaxDuration' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'ConcurrencyLimit' => [ - 'type' => 'string', - ], - 'Increment' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'TpsLimit' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - ], - 'CreateTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Sla' => [ - 'type' => 'string', - ], - 'Variables' => [ - 'type' => 'object', - ], - 'Headers' => [ - 'type' => 'object', - ], - 'Creator' => [ - 'type' => 'string', - ], - 'Modifier' => [ - 'type' => 'string', - ], + 'Mode' => ['type' => 'string'], + 'ConditionSatisfiedExactly' => ['type' => 'string'], + 'AutoStep' => ['type' => 'boolean'], + 'AgentCount' => ['type' => 'integer', 'format' => 'int32'], + 'KeepTime' => ['type' => 'integer', 'format' => 'int32'], + 'CustomTraffic' => ['type' => 'boolean'], + 'MaxDuration' => ['type' => 'integer', 'format' => 'int32'], + 'ConcurrencyLimit' => ['type' => 'string'], + 'Increment' => ['type' => 'integer', 'format' => 'int32'], + 'TpsLimit' => ['type' => 'integer', 'format' => 'int32'], + ], + ], + 'CreateTime' => ['type' => 'integer', 'format' => 'int64'], + 'Sla' => ['type' => 'string'], + 'Variables' => ['type' => 'object'], + 'Headers' => ['type' => 'object'], + 'Creator' => ['type' => 'string'], + 'Modifier' => ['type' => 'string'], 'Files' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'CreateTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'FileKey' => [ - 'type' => 'string', - ], - 'Exports' => [ - 'type' => 'string', - ], - 'PreviewData' => [ - 'type' => 'string', - ], - 'FileName' => [ - 'type' => 'string', - ], - 'UseOnce' => [ - 'type' => 'boolean', - ], - 'Columns' => [ - 'type' => 'string', - ], + 'CreateTime' => ['type' => 'integer', 'format' => 'int64'], + 'FileKey' => ['type' => 'string'], + 'Exports' => ['type' => 'string'], + 'PreviewData' => ['type' => 'string'], + 'FileName' => ['type' => 'string'], + 'UseOnce' => ['type' => 'boolean'], + 'Columns' => ['type' => 'string'], 'ExportedParams' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Column' => [ - 'type' => 'string', - ], - 'Name' => [ - 'type' => 'string', - ], + 'Column' => ['type' => 'string'], + 'Name' => ['type' => 'string'], ], ], ], - 'BizType' => [ - 'type' => 'string', - ], - 'RemoteUrl' => [ - 'type' => 'string', - ], - 'SkipFirstLine' => [ - 'type' => 'boolean', - ], - 'Delimiter' => [ - 'type' => 'string', - ], - 'Length' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'ProcessedLineCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'LineCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'OssUrl' => [ - 'type' => 'string', - ], + 'BizType' => ['type' => 'string'], + 'RemoteUrl' => ['type' => 'string'], + 'SkipFirstLine' => ['type' => 'boolean'], + 'Delimiter' => ['type' => 'string'], + 'Length' => ['type' => 'integer', 'format' => 'int64'], + 'ProcessedLineCount' => ['type' => 'integer', 'format' => 'int64'], + 'LineCount' => ['type' => 'integer', 'format' => 'int64'], + 'OssUrl' => ['type' => 'string'], ], ], ], @@ -3009,17 +1602,11 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Domain' => [ - 'type' => 'string', - ], - 'Enabled' => [ - 'type' => 'boolean', - ], + 'Domain' => ['type' => 'string'], + 'Enabled' => ['type' => 'boolean'], 'Ips' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], ], ], @@ -3027,183 +1614,85 @@ 'ReportInfo' => [ 'type' => 'object', 'properties' => [ - 'TriggerTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'IsHaveDataExportNode' => [ - 'type' => 'boolean', - ], - 'RelationId' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'TriggerTime' => ['type' => 'integer', 'format' => 'int64'], + 'IsHaveDataExportNode' => ['type' => 'boolean'], + 'RelationId' => ['type' => 'integer', 'format' => 'int64'], ], ], - 'Name' => [ - 'type' => 'string', - ], - 'Id' => [ - 'type' => 'string', - ], - 'ModifyTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'Name' => ['type' => 'string'], + 'Id' => ['type' => 'string'], + 'ModifyTime' => ['type' => 'integer', 'format' => 'int64'], ], ], - 'Code' => [ - 'type' => 'string', - ], - 'Vum' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'SucceedRequestRate' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'ChargeType' => [ - 'type' => 'string', - ], + 'Code' => ['type' => 'string'], + 'Vum' => ['type' => 'integer', 'format' => 'int64'], + 'SucceedRequestRate' => ['type' => 'number', 'format' => 'float'], + 'ChargeType' => ['type' => 'string'], 'ConfigData' => [ 'type' => 'object', 'properties' => [ - 'EndTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'AgentPool' => [ - 'type' => 'string', - ], - 'AutoStep' => [ - 'type' => 'boolean', - ], - 'BeginTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'AgentCount' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'KeepTime' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'EndTime' => ['type' => 'integer', 'format' => 'int64'], + 'AgentPool' => ['type' => 'string'], + 'AutoStep' => ['type' => 'boolean'], + 'BeginTime' => ['type' => 'integer', 'format' => 'int64'], + 'AgentCount' => ['type' => 'integer', 'format' => 'int32'], + 'KeepTime' => ['type' => 'integer', 'format' => 'int32'], 'VpcConfig' => [ 'type' => 'object', 'properties' => [ - 'VpcName' => [ - 'type' => 'string', - ], - 'VpcId' => [ - 'type' => 'string', - ], - 'VSwitchId' => [ - 'type' => 'string', - ], - 'SecurityGroupId' => [ - 'type' => 'string', - ], - 'SecurityGroupName' => [ - 'type' => 'string', - ], - 'VSwitchName' => [ - 'type' => 'string', - ], - 'RegionId' => [ - 'type' => 'string', - ], - ], - ], - 'Duration' => [ - 'type' => 'string', - ], - 'Mode' => [ - 'type' => 'string', - ], - 'Increment' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'VpcName' => ['type' => 'string'], + 'VpcId' => ['type' => 'string'], + 'VSwitchId' => ['type' => 'string'], + 'SecurityGroupId' => ['type' => 'string'], + 'SecurityGroupName' => ['type' => 'string'], + 'VSwitchName' => ['type' => 'string'], + 'RegionId' => ['type' => 'string'], + ], + ], + 'Duration' => ['type' => 'string'], + 'Mode' => ['type' => 'string'], + 'Increment' => ['type' => 'integer', 'format' => 'int32'], ], ], - 'FailedRequestCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'AvgTps' => [ - 'type' => 'number', - 'format' => 'float', - ], + 'FailedRequestCount' => ['type' => 'integer', 'format' => 'int64'], + 'AvgTps' => ['type' => 'number', 'format' => 'float'], 'AgentsLocation' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Region' => [ - 'type' => 'string', - ], - 'Isp' => [ - 'type' => 'string', - ], - 'Count' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Province' => [ - 'type' => 'string', - ], - 'Global' => [ - 'type' => 'boolean', - ], + 'Region' => ['type' => 'string'], + 'Isp' => ['type' => 'string'], + 'Count' => ['type' => 'integer', 'format' => 'int32'], + 'Province' => ['type' => 'string'], + 'Global' => ['type' => 'boolean'], 'ipList' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], ], ], ], 'AgentIpList' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'ShowPrometheus' => [ - 'type' => 'boolean', - ], - 'PrometheusOverviewUrl' => [ - 'type' => 'string', - ], - 'PrometheusSelfMonitorUrl' => [ - 'type' => 'string', + 'items' => ['type' => 'string'], ], + 'ShowPrometheus' => ['type' => 'boolean'], + 'PrometheusOverviewUrl' => ['type' => 'string'], + 'PrometheusSelfMonitorUrl' => ['type' => 'string'], ], ], ], ], 'errorCodes' => [ 404 => [ - [ - 'errorCode' => 'QuerySceneGroupsFail', - 'errorMessage' => 'Failed to query scene groups.', - ], + ['errorCode' => 'QuerySceneGroupsFail', 'errorMessage' => 'Failed to query scene groups.'], ], ], ], 'DescribeReportChainSummary' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3223,19 +1712,13 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'ReportId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], ], 'responses' => [ @@ -3243,167 +1726,62 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'Message' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], 'ChainSummary' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'MaxRequestBps' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'FailedRequestCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Seg75Rt' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'TotalRequest' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'CountTimeout' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'AverageTps' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'AvgResponseBps' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'AllResponseBps' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Seg50Rt' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Seg90Rt' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'MaxResponseBps' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'AverageRt' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'FailedBusinessCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'RelationId' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Count3XX' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'RelationName' => [ - 'type' => 'string', - ], - 'AllRequestBps' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Exceptions' => [ - 'type' => 'string', - ], - 'SucceedRequestRate' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'MinRt' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'SucceedBusinessRate' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'Seg99Rt' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Count4XX' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'AvgRequestBps' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'MaxRt' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'AverageConcurrency' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'HasCheckPoint' => [ - 'type' => 'boolean', - ], - 'Count5XX' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'ChainName' => [ - 'type' => 'string', - ], - 'NodeId' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'MaxRequestBps' => ['type' => 'integer', 'format' => 'int64'], + 'FailedRequestCount' => ['type' => 'integer', 'format' => 'int64'], + 'Seg75Rt' => ['type' => 'integer', 'format' => 'int64'], + 'TotalRequest' => ['type' => 'integer', 'format' => 'int64'], + 'CountTimeout' => ['type' => 'integer', 'format' => 'int64'], + 'AverageTps' => ['type' => 'number', 'format' => 'float'], + 'AvgResponseBps' => ['type' => 'number', 'format' => 'float'], + 'AllResponseBps' => ['type' => 'integer', 'format' => 'int64'], + 'Seg50Rt' => ['type' => 'integer', 'format' => 'int32'], + 'Seg90Rt' => ['type' => 'integer', 'format' => 'int64'], + 'MaxResponseBps' => ['type' => 'integer', 'format' => 'int64'], + 'AverageRt' => ['type' => 'number', 'format' => 'float'], + 'FailedBusinessCount' => ['type' => 'integer', 'format' => 'int64'], + 'RelationId' => ['type' => 'integer', 'format' => 'int64'], + 'Count3XX' => ['type' => 'integer', 'format' => 'int64'], + 'RelationName' => ['type' => 'string'], + 'AllRequestBps' => ['type' => 'integer', 'format' => 'int64'], + 'Exceptions' => ['type' => 'string'], + 'SucceedRequestRate' => ['type' => 'number', 'format' => 'float'], + 'MinRt' => ['type' => 'integer', 'format' => 'int32'], + 'SucceedBusinessRate' => ['type' => 'number', 'format' => 'float'], + 'Seg99Rt' => ['type' => 'integer', 'format' => 'int32'], + 'Count4XX' => ['type' => 'integer', 'format' => 'int64'], + 'AvgRequestBps' => ['type' => 'number', 'format' => 'float'], + 'MaxRt' => ['type' => 'integer', 'format' => 'int32'], + 'AverageConcurrency' => ['type' => 'number', 'format' => 'float'], + 'HasCheckPoint' => ['type' => 'boolean'], + 'Count5XX' => ['type' => 'integer', 'format' => 'int64'], + 'ChainName' => ['type' => 'string'], + 'NodeId' => ['type' => 'integer', 'format' => 'int64'], ], ], ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'QuerySceneGroupsFail', - 'errorMessage' => 'Failed to query scene groups.', - ], + ['errorCode' => 'QuerySceneGroupsFail', 'errorMessage' => 'Failed to query scene groups.'], ], ], ], 'DescribeSampleMetric' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3423,45 +1801,28 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'ReportId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'SamplerId', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'BeginTime', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], ], 'responses' => [ @@ -3469,39 +1830,20 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Code' => [ - 'type' => 'string', - ], - 'SampleMetricList' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], + 'RequestId' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'Code' => ['type' => 'string'], + 'SampleMetricList' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], ], ], ], ], ], 'DescribeSamplingLog' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3521,134 +1863,78 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'ReportId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], [ 'name' => 'NodeId', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'minimum' => '1', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'minimum' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '200', - 'minimum' => '1', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '200', 'minimum' => '1'], ], [ 'name' => 'ErrorCode', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'HttpResponseStatus', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'RtRange', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'BeginTime', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'minimum' => '0', - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '0'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'minimum' => '0', - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '0'], ], [ 'name' => 'TransId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'HttpResponseHeader', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['type' => 'string'], ], [ 'name' => 'DebugRealTimeQuery', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - ], + 'schema' => ['type' => 'boolean'], ], [ 'name' => 'MaxRt', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'MinRt', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'schema' => ['type' => 'integer', 'format' => 'int64'], ], ], 'responses' => [ @@ -3657,281 +1943,84 @@ 'title' => 'result', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'requestId', - 'type' => 'string', - ], - 'Message' => [ - 'title' => 'message', - 'type' => 'string', - ], - 'PageSize' => [ - 'title' => 'pageSize', - 'type' => 'integer', - 'format' => 'int32', - ], - 'DynamicCtx' => [ - 'title' => 'dynamicCtx', - 'type' => 'string', - ], - 'DocumentUrl' => [ - 'title' => 'documentUrl', - 'type' => 'string', - ], - 'CodeKey' => [ - 'title' => 'codeKey', - 'type' => 'string', - ], + 'RequestId' => ['title' => 'requestId', 'type' => 'string'], + 'Message' => ['title' => 'message', 'type' => 'string'], + 'PageSize' => ['title' => 'pageSize', 'type' => 'integer', 'format' => 'int32'], + 'DynamicCtx' => ['title' => 'dynamicCtx', 'type' => 'string'], + 'DocumentUrl' => ['title' => 'documentUrl', 'type' => 'string'], + 'CodeKey' => ['title' => 'codeKey', 'type' => 'string'], 'JdbcSamplingLogs' => [ 'title' => 'jdbcSamplingLogs', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'JdbcMethod' => [ - 'title' => 'jdbcMethod', - 'type' => 'string', - ], - 'JdbcResponseBody' => [ - 'title' => 'jdbcResponseBody', - 'type' => 'string', - ], - 'Trans_id' => [ - 'title' => 'trans_id', - 'type' => 'string', - ], - 'Rt' => [ - 'title' => 'rt', - 'type' => 'string', - ], - '__source__' => [ - 'title' => '__source__', - 'type' => 'string', - ], - 'Biz_id' => [ - 'title' => 'biz_id', - 'type' => 'string', - ], - 'JdbcStartTime' => [ - 'title' => 'jdbcStartTime', - 'type' => 'integer', - 'format' => 'int64', - ], - 'ExportContent' => [ - 'title' => 'exportContent', - 'type' => 'string', - ], - 'Group_name' => [ - 'title' => 'group_name', - 'type' => 'string', - ], - 'ImportContent' => [ - 'title' => 'importContent', - 'type' => 'string', - ], - 'Timestamp' => [ - 'title' => 'timestamp', - 'type' => 'integer', - 'format' => 'int64', - ], - 'JdbcResponseFailMsg' => [ - 'title' => 'jdbcResponseFailMsg', - 'type' => 'string', - ], - 'JdbcUrl' => [ - 'title' => 'jdbcUrl', - 'type' => 'string', - ], - 'Logger_saver_type' => [ - 'title' => 'logger_saver_type', - 'type' => 'string', - ], - 'GroupTag' => [ - 'title' => 'groupTag', - 'type' => 'integer', - 'format' => 'int32', - ], - 'JdbcResponseStatus' => [ - 'title' => 'jdbcResponseStatus', - 'type' => 'string', - ], - 'DataSourceName' => [ - 'title' => 'dataSourceName', - 'type' => 'string', - ], - 'Log_agent_ip' => [ - 'title' => 'log_agent_ip', - 'type' => 'string', - ], - 'JdbcSql' => [ - 'title' => 'jdbcSql', - 'type' => 'string', - ], - 'ExportConfig' => [ - 'title' => 'exportConfig', - 'type' => 'string', - ], - 'CheckResult' => [ - 'title' => 'checkResult', - 'type' => 'string', - ], - 'NodeId' => [ - 'title' => 'nodeId', - 'type' => 'string', - ], - 'Sn' => [ - 'title' => 'sn', - 'type' => 'string', - ], - 'ChainId' => [ - 'title' => 'chainId', - 'type' => 'string', - ], - 'ChainName' => [ - 'type' => 'string', - ], + 'JdbcMethod' => ['title' => 'jdbcMethod', 'type' => 'string'], + 'JdbcResponseBody' => ['title' => 'jdbcResponseBody', 'type' => 'string'], + 'Trans_id' => ['title' => 'trans_id', 'type' => 'string'], + 'Rt' => ['title' => 'rt', 'type' => 'string'], + '__source__' => ['title' => '__source__', 'type' => 'string'], + 'Biz_id' => ['title' => 'biz_id', 'type' => 'string'], + 'JdbcStartTime' => ['title' => 'jdbcStartTime', 'type' => 'integer', 'format' => 'int64'], + 'ExportContent' => ['title' => 'exportContent', 'type' => 'string'], + 'Group_name' => ['title' => 'group_name', 'type' => 'string'], + 'ImportContent' => ['title' => 'importContent', 'type' => 'string'], + 'Timestamp' => ['title' => 'timestamp', 'type' => 'integer', 'format' => 'int64'], + 'JdbcResponseFailMsg' => ['title' => 'jdbcResponseFailMsg', 'type' => 'string'], + 'JdbcUrl' => ['title' => 'jdbcUrl', 'type' => 'string'], + 'Logger_saver_type' => ['title' => 'logger_saver_type', 'type' => 'string'], + 'GroupTag' => ['title' => 'groupTag', 'type' => 'integer', 'format' => 'int32'], + 'JdbcResponseStatus' => ['title' => 'jdbcResponseStatus', 'type' => 'string'], + 'DataSourceName' => ['title' => 'dataSourceName', 'type' => 'string'], + 'Log_agent_ip' => ['title' => 'log_agent_ip', 'type' => 'string'], + 'JdbcSql' => ['title' => 'jdbcSql', 'type' => 'string'], + 'ExportConfig' => ['title' => 'exportConfig', 'type' => 'string'], + 'CheckResult' => ['title' => 'checkResult', 'type' => 'string'], + 'NodeId' => ['title' => 'nodeId', 'type' => 'string'], + 'Sn' => ['title' => 'sn', 'type' => 'string'], + 'ChainId' => ['title' => 'chainId', 'type' => 'string'], + 'ChainName' => ['type' => 'string'], ], ], ], - 'Code' => [ - 'title' => 'code', - 'type' => 'string', - ], - 'Success' => [ - 'title' => 'success', - 'type' => 'boolean', - ], - 'TotalCount' => [ - 'title' => 'totalCount', - 'type' => 'integer', - 'format' => 'int64', - ], - 'PageNumber' => [ - 'title' => 'pageNumber', - 'type' => 'integer', - 'format' => 'int32', - ], - 'HttpStatusCode' => [ - 'title' => 'httpStatusCode', - 'type' => 'integer', - 'format' => 'int32', - ], + 'Code' => ['title' => 'code', 'type' => 'string'], + 'Success' => ['title' => 'success', 'type' => 'boolean'], + 'TotalCount' => ['title' => 'totalCount', 'type' => 'integer', 'format' => 'int64'], + 'PageNumber' => ['title' => 'pageNumber', 'type' => 'integer', 'format' => 'int32'], + 'HttpStatusCode' => ['title' => 'httpStatusCode', 'type' => 'integer', 'format' => 'int32'], 'SamplingLogs' => [ 'title' => 'samplingLogs', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'HttpRequestMethod' => [ - 'title' => 'httpRequestMethod', - 'type' => 'string', - ], - 'Trans_id' => [ - 'title' => 'trans_id', - 'type' => 'string', - ], - 'HttpResponseStatus' => [ - 'title' => 'httpResponseStatus', - 'type' => 'string', - ], - 'Biz_id' => [ - 'title' => 'biz_id', - 'type' => 'string', - ], - 'Timestamp' => [ - 'title' => 'timestamp', - 'type' => 'integer', - 'format' => 'int64', - ], - 'ExportConfig' => [ - 'title' => 'exportConfig', - 'type' => 'string', - ], - 'HttpResponseFailMsg' => [ - 'title' => 'httpResponseFailMsg', - 'type' => 'string', - ], - 'CheckResult' => [ - 'title' => 'checkResult', - 'type' => 'string', - ], - 'HttpResponseBody' => [ - 'title' => 'httpResponseBody', - 'type' => 'string', - ], - 'ChainId' => [ - 'title' => 'chainId', - 'type' => 'string', - ], - 'HttpRequestHeaders' => [ - 'title' => 'httpRequestHeaders', - 'type' => 'string', - ], - 'Rt' => [ - 'title' => 'rt', - 'type' => 'string', - ], - 'HttpResponseHeaders' => [ - 'title' => 'httpResponseHeaders', - 'type' => 'string', - ], - 'HttpStartTime' => [ - 'title' => 'httpStartTime', - 'type' => 'integer', - 'format' => 'int64', - ], - '__source__' => [ - 'title' => '__source__', - 'type' => 'string', - ], - 'ExportContent' => [ - 'title' => 'exportContent', - 'type' => 'string', - ], - 'Group_name' => [ - 'title' => 'group_name', - 'type' => 'string', - ], - 'ImportContent' => [ - 'title' => 'importContent', - 'type' => 'string', - ], - 'HttpTiming' => [ - 'title' => 'httpTiming', - 'type' => 'string', - ], - 'Logger_saver_type' => [ - 'title' => 'logger_saver_type', - 'type' => 'string', - ], - 'GroupTag' => [ - 'title' => 'groupTag', - 'type' => 'integer', - 'format' => 'int32', - ], - 'HttpRequestBody' => [ - 'title' => 'httpRequestBody', - 'type' => 'string', - ], - 'Log_agent_ip' => [ - 'title' => 'log_agent_ip', - 'type' => 'string', - ], - 'NodeId' => [ - 'title' => 'nodeId', - 'type' => 'string', - ], - 'Sn' => [ - 'title' => 'sn', - 'type' => 'string', - ], - 'HttpRequestUrl' => [ - 'title' => 'httpRequestUrl', - 'type' => 'string', - ], - 'ChainName' => [ - 'type' => 'string', - ], + 'HttpRequestMethod' => ['title' => 'httpRequestMethod', 'type' => 'string'], + 'Trans_id' => ['title' => 'trans_id', 'type' => 'string'], + 'HttpResponseStatus' => ['title' => 'httpResponseStatus', 'type' => 'string'], + 'Biz_id' => ['title' => 'biz_id', 'type' => 'string'], + 'Timestamp' => ['title' => 'timestamp', 'type' => 'integer', 'format' => 'int64'], + 'ExportConfig' => ['title' => 'exportConfig', 'type' => 'string'], + 'HttpResponseFailMsg' => ['title' => 'httpResponseFailMsg', 'type' => 'string'], + 'CheckResult' => ['title' => 'checkResult', 'type' => 'string'], + 'HttpResponseBody' => ['title' => 'httpResponseBody', 'type' => 'string'], + 'ChainId' => ['title' => 'chainId', 'type' => 'string'], + 'HttpRequestHeaders' => ['title' => 'httpRequestHeaders', 'type' => 'string'], + 'Rt' => ['title' => 'rt', 'type' => 'string'], + 'HttpResponseHeaders' => ['title' => 'httpResponseHeaders', 'type' => 'string'], + 'HttpStartTime' => ['title' => 'httpStartTime', 'type' => 'integer', 'format' => 'int64'], + '__source__' => ['title' => '__source__', 'type' => 'string'], + 'ExportContent' => ['title' => 'exportContent', 'type' => 'string'], + 'Group_name' => ['title' => 'group_name', 'type' => 'string'], + 'ImportContent' => ['title' => 'importContent', 'type' => 'string'], + 'HttpTiming' => ['title' => 'httpTiming', 'type' => 'string'], + 'Logger_saver_type' => ['title' => 'logger_saver_type', 'type' => 'string'], + 'GroupTag' => ['title' => 'groupTag', 'type' => 'integer', 'format' => 'int32'], + 'HttpRequestBody' => ['title' => 'httpRequestBody', 'type' => 'string'], + 'Log_agent_ip' => ['title' => 'log_agent_ip', 'type' => 'string'], + 'NodeId' => ['title' => 'nodeId', 'type' => 'string'], + 'Sn' => ['title' => 'sn', 'type' => 'string'], + 'HttpRequestUrl' => ['title' => 'httpRequestUrl', 'type' => 'string'], + 'ChainName' => ['type' => 'string'], ], ], ], @@ -3941,14 +2030,8 @@ ], ], 'DescribeScene' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3968,19 +2051,13 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'SceneId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], ], 'responses' => [ @@ -3988,51 +2065,26 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'Message' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], 'Scene' => [ 'type' => 'object', 'properties' => [ 'Status' => [ 'type' => 'object', 'properties' => [ - 'Testing' => [ - 'type' => 'boolean', - ], - 'CronEditable' => [ - 'type' => 'boolean', - ], - 'Tips' => [ - 'type' => 'string', - ], - 'IsCronable' => [ - 'type' => 'boolean', - ], - 'Debugging' => [ - 'type' => 'boolean', - ], - 'IsWaitToStart' => [ - 'type' => 'boolean', - ], - 'Operations' => [ - 'type' => 'object', - ], - 'IsReusable' => [ - 'type' => 'boolean', - ], + 'Testing' => ['type' => 'boolean'], + 'CronEditable' => ['type' => 'boolean'], + 'Tips' => ['type' => 'string'], + 'IsCronable' => ['type' => 'boolean'], + 'Debugging' => ['type' => 'boolean'], + 'IsWaitToStart' => ['type' => 'boolean'], + 'Operations' => ['type' => 'object'], + 'IsReusable' => ['type' => 'boolean'], ], ], - 'Type' => [ - 'type' => 'string', - ], + 'Type' => ['type' => 'string'], 'Relations' => [ 'type' => 'array', 'items' => [ @@ -4043,66 +2095,31 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'NodeType' => [ - 'type' => 'string', - ], - 'ParentNodeId' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Name' => [ - 'type' => 'string', - ], - 'Config' => [ - 'type' => 'string', - ], - 'NodeId' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'NodeType' => ['type' => 'string'], + 'ParentNodeId' => ['type' => 'integer', 'format' => 'int64'], + 'Name' => ['type' => 'string'], + 'Config' => ['type' => 'string'], + 'NodeId' => ['type' => 'integer', 'format' => 'int64'], ], ], ], - 'Disabled' => [ - 'type' => 'boolean', - ], - 'Name' => [ - 'type' => 'string', - ], + 'Disabled' => ['type' => 'boolean'], + 'Name' => ['type' => 'string'], 'RelationTestConfig' => [ 'type' => 'object', 'properties' => [ - 'EndStep' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'BeginStep' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Increment' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'EndStep' => ['type' => 'integer', 'format' => 'int32'], + 'BeginStep' => ['type' => 'integer', 'format' => 'int32'], + 'Increment' => ['type' => 'integer', 'format' => 'int32'], ], ], - 'Headers' => [ - 'type' => 'object', - ], - 'Id' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'Headers' => ['type' => 'object'], + 'Id' => ['type' => 'integer', 'format' => 'int64'], 'RelationExecuteConfig' => [ 'type' => 'object', 'properties' => [ - 'RelationExecuteType' => [ - 'type' => 'string', - ], - 'ExecuteCount' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'RelationExecuteType' => ['type' => 'string'], + 'ExecuteCount' => ['type' => 'integer', 'format' => 'int32'], ], ], ], @@ -4113,19 +2130,10 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Condition' => [ - 'type' => 'string', - ], - 'Dimension' => [ - 'type' => 'string', - ], - 'Indicator' => [ - 'type' => 'string', - ], - 'Threshold' => [ - 'type' => 'number', - 'format' => 'double', - ], + 'Condition' => ['type' => 'string'], + 'Dimension' => ['type' => 'string'], + 'Indicator' => ['type' => 'string'], + 'Threshold' => ['type' => 'number', 'format' => 'double'], ], ], ], @@ -4139,118 +2147,60 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'AppId' => [ - 'type' => 'string', - ], - 'AppName' => [ - 'type' => 'string', - ], - 'Label' => [ - 'type' => 'string', - ], - 'Pid' => [ - 'type' => 'string', - ], - 'ResourceGroupId' => [ - 'type' => 'string', - ], - 'CreateTime' => [ - 'type' => 'string', - ], - 'UpdateTime' => [ - 'type' => 'string', - ], - 'Type' => [ - 'type' => 'string', - ], - 'ClusterId' => [ - 'type' => 'string', - ], - 'Namespace' => [ - 'type' => 'string', - ], + 'AppId' => ['type' => 'string'], + 'AppName' => ['type' => 'string'], + 'Label' => ['type' => 'string'], + 'Pid' => ['type' => 'string'], + 'ResourceGroupId' => ['type' => 'string'], + 'CreateTime' => ['type' => 'string'], + 'UpdateTime' => ['type' => 'string'], + 'Type' => ['type' => 'string'], + 'ClusterId' => ['type' => 'string'], + 'Namespace' => ['type' => 'string'], ], ], ], - 'RegionId' => [ - 'type' => 'string', - ], + 'RegionId' => ['type' => 'string'], 'EcsInstances' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'InstanceId' => [ - 'type' => 'string', - ], - 'InstanceName' => [ - 'type' => 'string', - ], - 'HostName' => [ - 'type' => 'string', - ], - 'Memory' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Cpu' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'InternetMaxBandwidthOut' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'InternetMaxBandwidthIn' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'InstanceType' => [ - 'type' => 'string', - ], - 'ZoneId' => [ - 'type' => 'string', - ], + 'InstanceId' => ['type' => 'string'], + 'InstanceName' => ['type' => 'string'], + 'HostName' => ['type' => 'string'], + 'Memory' => ['type' => 'integer', 'format' => 'int32'], + 'Cpu' => ['type' => 'integer', 'format' => 'int32'], + 'InternetMaxBandwidthOut' => ['type' => 'integer', 'format' => 'int32'], + 'InternetMaxBandwidthIn' => ['type' => 'integer', 'format' => 'int32'], + 'InstanceType' => ['type' => 'string'], + 'ZoneId' => ['type' => 'string'], 'PublicIpAddress' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], 'SecurityGroupIds' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], 'Tags' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'TagKey' => [ - 'type' => 'string', - ], - 'TagValue' => [ - 'type' => 'string', - ], + 'TagKey' => ['type' => 'string'], + 'TagValue' => ['type' => 'string'], ], ], ], 'VpcAttributes' => [ 'type' => 'object', 'properties' => [ - 'VpcId' => [ - 'type' => 'string', - ], - 'VSwitchId' => [ - 'type' => 'string', - ], + 'VpcId' => ['type' => 'string'], + 'VSwitchId' => ['type' => 'string'], 'PrivateIpAddress' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], ], ], @@ -4262,51 +2212,24 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'VpcId' => [ - 'type' => 'string', - ], - 'VSwitchId' => [ - 'type' => 'string', - ], - 'LoadBalancerId' => [ - 'type' => 'string', - ], - 'AddressType' => [ - 'type' => 'string', - ], - 'AddressIPVersion' => [ - 'type' => 'string', - ], - 'LoadBalancerName' => [ - 'type' => 'string', - ], - 'Bandwidth' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Address' => [ - 'type' => 'string', - ], - 'SlaveZoneId' => [ - 'type' => 'string', - ], - 'MasterZoneId' => [ - 'type' => 'string', - ], - 'LoadBalancerSpec' => [ - 'type' => 'string', - ], + 'VpcId' => ['type' => 'string'], + 'VSwitchId' => ['type' => 'string'], + 'LoadBalancerId' => ['type' => 'string'], + 'AddressType' => ['type' => 'string'], + 'AddressIPVersion' => ['type' => 'string'], + 'LoadBalancerName' => ['type' => 'string'], + 'Bandwidth' => ['type' => 'integer', 'format' => 'int32'], + 'Address' => ['type' => 'string'], + 'SlaveZoneId' => ['type' => 'string'], + 'MasterZoneId' => ['type' => 'string'], + 'LoadBalancerSpec' => ['type' => 'string'], 'Tags' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'TagKey' => [ - 'type' => 'string', - ], - 'TagValue' => [ - 'type' => 'string', - ], + 'TagKey' => ['type' => 'string'], + 'TagValue' => ['type' => 'string'], ], ], ], @@ -4318,182 +2241,83 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'VpcId' => [ - 'type' => 'string', - ], - 'VSwitchId' => [ - 'type' => 'string', - ], - 'Engine' => [ - 'type' => 'string', - ], - 'EngineVersion' => [ - 'type' => 'string', - ], - 'DBInstanceClass' => [ - 'type' => 'string', - ], - 'DBInstanceId' => [ - 'type' => 'string', - ], - 'DBInstanceType' => [ - 'type' => 'string', - ], - 'Category' => [ - 'type' => 'string', - ], - 'ZoneId' => [ - 'type' => 'string', - ], + 'VpcId' => ['type' => 'string'], + 'VSwitchId' => ['type' => 'string'], + 'Engine' => ['type' => 'string'], + 'EngineVersion' => ['type' => 'string'], + 'DBInstanceClass' => ['type' => 'string'], + 'DBInstanceId' => ['type' => 'string'], + 'DBInstanceType' => ['type' => 'string'], + 'Category' => ['type' => 'string'], + 'ZoneId' => ['type' => 'string'], ], ], ], - 'ApplicationTopologyGraph' => [ - 'type' => 'string', - ], + 'ApplicationTopologyGraph' => ['type' => 'string'], ], ], ], - 'Remark' => [ - 'type' => 'string', - ], + 'Remark' => ['type' => 'string'], 'TestConfig' => [ 'type' => 'object', 'properties' => [ - 'AgentPool' => [ - 'type' => 'string', - ], - 'IntelligentTest' => [ - 'type' => 'boolean', - ], - 'ScenarizedInfo' => [ - 'type' => 'string', - ], + 'AgentPool' => ['type' => 'string'], + 'IntelligentTest' => ['type' => 'boolean'], + 'ScenarizedInfo' => ['type' => 'string'], 'VpcConfig' => [ 'type' => 'object', 'properties' => [ - 'VpcId' => [ - 'type' => 'string', - ], - 'VpcName' => [ - 'type' => 'string', - ], - 'VSwitchId' => [ - 'type' => 'string', - ], - 'SecurityGroupId' => [ - 'type' => 'string', - ], - 'SecurityGroupName' => [ - 'type' => 'string', - ], - 'VSwitchName' => [ - 'type' => 'string', - ], - 'RegionId' => [ - 'type' => 'string', - ], + 'VpcId' => ['type' => 'string'], + 'VpcName' => ['type' => 'string'], + 'VSwitchId' => ['type' => 'string'], + 'SecurityGroupId' => ['type' => 'string'], + 'SecurityGroupName' => ['type' => 'string'], + 'VSwitchName' => ['type' => 'string'], + 'RegionId' => ['type' => 'string'], ], ], - 'CustomConfig' => [ - 'type' => 'string', - ], + 'CustomConfig' => ['type' => 'string'], 'Conditions' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Amount' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Region' => [ - 'type' => 'string', - ], - 'Isp' => [ - 'type' => 'string', - ], + 'Amount' => ['type' => 'integer', 'format' => 'int32'], + 'Region' => ['type' => 'string'], + 'Isp' => ['type' => 'string'], ], ], ], - 'Mode' => [ - 'type' => 'string', - ], - 'ConditionSatisfiedExactly' => [ - 'type' => 'string', - ], - 'AutoStep' => [ - 'type' => 'boolean', - ], - 'AgentCount' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'KeepTime' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'CustomTraffic' => [ - 'type' => 'boolean', - ], - 'MaxDuration' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'ConcurrencyLimit' => [ - 'type' => 'string', - ], - 'Increment' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'TpsLimit' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'CustomPool' => [ - 'type' => 'boolean', - ], - 'NeedPublicIpv6' => [ - 'type' => 'boolean', - ], - ], - ], - 'CreateTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Sla' => [ - 'type' => 'string', - ], - 'Variables' => [ - 'type' => 'object', - ], - 'Headers' => [ - 'type' => 'object', - ], - 'Creator' => [ - 'type' => 'string', - ], - 'Modifier' => [ - 'type' => 'string', - ], + 'Mode' => ['type' => 'string'], + 'ConditionSatisfiedExactly' => ['type' => 'string'], + 'AutoStep' => ['type' => 'boolean'], + 'AgentCount' => ['type' => 'integer', 'format' => 'int32'], + 'KeepTime' => ['type' => 'integer', 'format' => 'int32'], + 'CustomTraffic' => ['type' => 'boolean'], + 'MaxDuration' => ['type' => 'integer', 'format' => 'int32'], + 'ConcurrencyLimit' => ['type' => 'string'], + 'Increment' => ['type' => 'integer', 'format' => 'int32'], + 'TpsLimit' => ['type' => 'integer', 'format' => 'int32'], + 'CustomPool' => ['type' => 'boolean'], + 'NeedPublicIpv6' => ['type' => 'boolean'], + ], + ], + 'CreateTime' => ['type' => 'integer', 'format' => 'int64'], + 'Sla' => ['type' => 'string'], + 'Variables' => ['type' => 'object'], + 'Headers' => ['type' => 'object'], + 'Creator' => ['type' => 'string'], + 'Modifier' => ['type' => 'string'], 'Vips' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Domain' => [ - 'type' => 'string', - ], - 'Enabled' => [ - 'type' => 'boolean', - ], + 'Domain' => ['type' => 'string'], + 'Enabled' => ['type' => 'boolean'], 'Ips' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], ], ], @@ -4503,136 +2327,64 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'CreateTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'FileKey' => [ - 'type' => 'string', - ], - 'Exports' => [ - 'type' => 'string', - ], - 'PreviewData' => [ - 'type' => 'string', - ], - 'FileName' => [ - 'type' => 'string', - ], - 'UseOnce' => [ - 'type' => 'boolean', - ], - 'Columns' => [ - 'type' => 'string', - ], + 'CreateTime' => ['type' => 'integer', 'format' => 'int64'], + 'FileKey' => ['type' => 'string'], + 'Exports' => ['type' => 'string'], + 'PreviewData' => ['type' => 'string'], + 'FileName' => ['type' => 'string'], + 'UseOnce' => ['type' => 'boolean'], + 'Columns' => ['type' => 'string'], 'ExportedParams' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Column' => [ - 'type' => 'string', - ], - 'Name' => [ - 'type' => 'string', - ], + 'Column' => ['type' => 'string'], + 'Name' => ['type' => 'string'], ], ], ], - 'BizType' => [ - 'type' => 'string', - ], - 'RemoteUrl' => [ - 'type' => 'string', - ], - 'SkipFirstLine' => [ - 'type' => 'boolean', - ], - 'Delimiter' => [ - 'type' => 'string', - ], - 'Length' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'ProcessedLineCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'LineCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'OssUrl' => [ - 'type' => 'string', - ], - 'FileId' => [ - 'title' => '文件ID', - 'type' => 'integer', - 'format' => 'int64', - ], - 'OriginalSource' => [ - 'type' => 'string', - ], - 'AutoRefresh' => [ - 'type' => 'boolean', - ], + 'BizType' => ['type' => 'string'], + 'RemoteUrl' => ['type' => 'string'], + 'SkipFirstLine' => ['type' => 'boolean'], + 'Delimiter' => ['type' => 'string'], + 'Length' => ['type' => 'integer', 'format' => 'int64'], + 'ProcessedLineCount' => ['type' => 'integer', 'format' => 'int64'], + 'LineCount' => ['type' => 'integer', 'format' => 'int64'], + 'OssUrl' => ['type' => 'string'], + 'FileId' => ['title' => '文件ID', 'type' => 'integer', 'format' => 'int64'], + 'OriginalSource' => ['type' => 'string'], + 'AutoRefresh' => ['type' => 'boolean'], ], ], ], - 'Name' => [ - 'type' => 'string', - ], - 'Id' => [ - 'type' => 'string', - ], - 'ModifyTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'Name' => ['type' => 'string'], + 'Id' => ['type' => 'string'], + 'ModifyTime' => ['type' => 'integer', 'format' => 'int64'], 'DataSource' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'DataSourceType' => [ - 'type' => 'string', - ], + 'DataSourceType' => ['type' => 'string'], 'DataSourceConfig' => [ 'type' => 'object', 'properties' => [ - 'Url' => [ - 'type' => 'string', - ], - 'Username' => [ - 'type' => 'string', - ], - 'Password' => [ - 'type' => 'string', - ], - 'Sql' => [ - 'type' => 'string', - ], + 'Url' => ['type' => 'string'], + 'Username' => ['type' => 'string'], + 'Password' => ['type' => 'string'], + 'Sql' => ['type' => 'string'], ], ], - 'DataSourceName' => [ - 'type' => 'string', - ], + 'DataSourceName' => ['type' => 'string'], 'DataSourceRef' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Index' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Column' => [ - 'type' => 'string', - ], - 'Name' => [ - 'type' => 'string', - ], + 'Index' => ['type' => 'integer', 'format' => 'int64'], + 'Column' => ['type' => 'string'], + 'Name' => ['type' => 'string'], ], ], ], @@ -4641,12 +2393,8 @@ ], ], ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], ], ], ], @@ -4654,14 +2402,8 @@ 'responseDemo' => null, ], 'DescribeSceneRunningStatus' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4681,27 +2423,19 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'SceneId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], [ 'name' => 'PlanId', 'in' => 'query', 'allowEmptyValue' => true, - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['type' => 'string'], ], ], 'responses' => [ @@ -4709,267 +2443,101 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'type' => 'string', - ], - 'BeginTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'Message' => ['type' => 'string'], + 'BeginTime' => ['type' => 'integer', 'format' => 'int64'], 'AgentsLocation' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Region' => [ - 'type' => 'string', - ], - 'Isp' => [ - 'type' => 'string', - ], - 'Count' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Province' => [ - 'type' => 'string', - ], - 'Global' => [ - 'type' => 'boolean', - ], + 'Region' => ['type' => 'string'], + 'Isp' => ['type' => 'string'], + 'Count' => ['type' => 'integer', 'format' => 'int32'], + 'Province' => ['type' => 'string'], + 'Global' => ['type' => 'boolean'], 'IpList' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], ], ], ], - 'TotalAgents' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'ResponseBps' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], - 'AverageRt' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'ReqSuccessRate' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'Concurrency' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Tps' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'TpsLimit' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'AliveAgents' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Status' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'TotalRequestCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'HasReport' => [ - 'type' => 'boolean', - ], - 'ConcurrencyLimit' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'UseCustomPool' => [ - 'type' => 'boolean', - ], - 'ReportId' => [ - 'type' => 'string', - ], - 'Seg90Rt' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Vum' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'TotalAgents' => ['type' => 'integer', 'format' => 'int32'], + 'ResponseBps' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], + 'AverageRt' => ['type' => 'integer', 'format' => 'int64'], + 'ReqSuccessRate' => ['type' => 'number', 'format' => 'float'], + 'Concurrency' => ['type' => 'integer', 'format' => 'int32'], + 'Tps' => ['type' => 'integer', 'format' => 'int32'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'TpsLimit' => ['type' => 'integer', 'format' => 'int32'], + 'AliveAgents' => ['type' => 'integer', 'format' => 'int32'], + 'Status' => ['type' => 'integer', 'format' => 'int32'], + 'TotalRequestCount' => ['type' => 'integer', 'format' => 'int64'], + 'HasReport' => ['type' => 'boolean'], + 'ConcurrencyLimit' => ['type' => 'integer', 'format' => 'int32'], + 'RequestId' => ['type' => 'string'], + 'UseCustomPool' => ['type' => 'boolean'], + 'ReportId' => ['type' => 'string'], + 'Seg90Rt' => ['type' => 'integer', 'format' => 'int64'], + 'Code' => ['type' => 'string'], + 'Vum' => ['type' => 'integer', 'format' => 'int64'], 'ChainMonitorDataList' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'TimePoint' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Count3XX' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'FixedSpeed' => [ - 'type' => 'boolean', - ], - 'Qps3XX' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'QueueSize' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'MinRt' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Qps2XX' => [ - 'type' => 'number', - 'format' => 'float', - ], + 'TimePoint' => ['type' => 'integer', 'format' => 'int64'], + 'Count3XX' => ['type' => 'integer', 'format' => 'int64'], + 'FixedSpeed' => ['type' => 'boolean'], + 'Qps3XX' => ['type' => 'integer', 'format' => 'int64'], + 'QueueSize' => ['type' => 'integer', 'format' => 'int32'], + 'MinRt' => ['type' => 'integer', 'format' => 'int32'], + 'Qps2XX' => ['type' => 'number', 'format' => 'float'], 'QpsSummary' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Qps' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'StatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'TotalCount' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'Qps' => ['type' => 'number', 'format' => 'float'], + 'StatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'TotalCount' => ['type' => 'integer', 'format' => 'int32'], ], ], ], - 'MaxRt' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'ConfigQps' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'FailedQps' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'FailedCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'AverageRt' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'MaxRt' => ['type' => 'integer', 'format' => 'int32'], + 'ConfigQps' => ['type' => 'integer', 'format' => 'int32'], + 'FailedQps' => ['type' => 'number', 'format' => 'float'], + 'FailedCount' => ['type' => 'integer', 'format' => 'int64'], + 'AverageRt' => ['type' => 'integer', 'format' => 'int32'], 'CheckPointResult' => [ 'type' => 'object', 'properties' => [ - 'SucceedBusinessCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'SucceedBusinessQps' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'FailedBusinessCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'FailedBusinessQps' => [ - 'type' => 'number', - 'format' => 'float', - ], + 'SucceedBusinessCount' => ['type' => 'integer', 'format' => 'int64'], + 'SucceedBusinessQps' => ['type' => 'number', 'format' => 'float'], + 'FailedBusinessCount' => ['type' => 'integer', 'format' => 'int64'], + 'FailedBusinessQps' => ['type' => 'number', 'format' => 'float'], ], ], - 'QueueCapacity' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Count2XX' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'RealQps' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'NodeId' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Concurrency' => [ - 'type' => 'number', - 'format' => 'float', - ], + 'QueueCapacity' => ['type' => 'integer', 'format' => 'int32'], + 'Count2XX' => ['type' => 'integer', 'format' => 'int64'], + 'RealQps' => ['type' => 'number', 'format' => 'float'], + 'NodeId' => ['type' => 'integer', 'format' => 'int64'], + 'Concurrency' => ['type' => 'number', 'format' => 'float'], ], ], ], - 'RequestBps' => [ - 'type' => 'string', - ], - 'BizSuccessRate' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'FailedBusinessCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'CurrentTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'FailedRequestCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'HasError' => [ - 'type' => 'boolean', - ], - 'Tips' => [ - 'type' => 'string', - ], - 'ChargeType' => [ - 'title' => '计费类型', - 'type' => 'string', - 'example' => 'BY_TIME', - ], + 'RequestBps' => ['type' => 'string'], + 'BizSuccessRate' => ['type' => 'number', 'format' => 'float'], + 'FailedBusinessCount' => ['type' => 'integer', 'format' => 'int64'], + 'CurrentTime' => ['type' => 'integer', 'format' => 'int64'], + 'FailedRequestCount' => ['type' => 'integer', 'format' => 'int64'], + 'HasError' => ['type' => 'boolean'], + 'Tips' => ['type' => 'string'], + 'ChargeType' => ['title' => '计费类型', 'type' => 'string', 'example' => 'BY_TIME'], 'AgentIpList' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], ], ], @@ -4977,14 +2545,8 @@ ], ], 'DescribeSlaTemplate' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5004,37 +2566,23 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'Type', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => false, 'docRequired' => true], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], 'responses' => [ @@ -5042,91 +2590,41 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'PageSize' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'PageNumber' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'TotalCount' => ['type' => 'integer', 'format' => 'int32'], + 'RequestId' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'PageSize' => ['type' => 'integer', 'format' => 'int32'], + 'PageNumber' => ['type' => 'integer', 'format' => 'int32'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], 'Templates' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Type' => [ - 'type' => 'string', - ], - 'ModifiedTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Description' => [ - 'type' => 'string', - ], - 'BusinessChildGroup' => [ - 'type' => 'string', - ], - 'BusinessGroup' => [ - 'type' => 'string', - ], - 'Deleted' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Classification' => [ - 'type' => 'string', - ], - 'Name' => [ - 'type' => 'string', - ], - 'Rules' => [ - 'type' => 'string', - ], - 'Id' => [ - 'type' => 'string', - ], - 'Uid' => [ - 'type' => 'string', - ], + 'Type' => ['type' => 'string'], + 'ModifiedTime' => ['type' => 'integer', 'format' => 'int64'], + 'Description' => ['type' => 'string'], + 'BusinessChildGroup' => ['type' => 'string'], + 'BusinessGroup' => ['type' => 'string'], + 'Deleted' => ['type' => 'integer', 'format' => 'int32'], + 'Classification' => ['type' => 'string'], + 'Name' => ['type' => 'string'], + 'Rules' => ['type' => 'string'], + 'Id' => ['type' => 'string'], + 'Uid' => ['type' => 'string'], ], ], ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], ], ], ], ], ], 'ExecuteSceneFunction' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5146,19 +2644,13 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'Expression', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], ], 'responses' => [ @@ -5166,39 +2658,20 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], - 'Result' => [ - 'type' => 'string', - ], + 'RequestId' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], + 'Result' => ['type' => 'string'], ], ], ], ], ], 'InvokeRecorder' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5218,28 +2691,18 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'Command', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], [ 'name' => 'Parameters', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => false, 'docRequired' => true], ], ], 'responses' => [ @@ -5247,47 +2710,25 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Data' => [ - 'type' => 'string', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], + 'RequestId' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'Data' => ['type' => 'string'], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], ], ], ], ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter is invalid.', - ], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter is invalid.'], ], ], ], 'ListGroupScenes' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5307,51 +2748,28 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '50', - 'minimum' => '1', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '50', 'minimum' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '20', - 'minimum' => '1', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '20', 'minimum' => '1'], ], [ 'name' => 'GroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], [ 'name' => 'Keywords', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], 'responses' => [ @@ -5359,97 +2777,45 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'TotalCount' => ['type' => 'integer', 'format' => 'int64'], 'Scenes' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Status' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'ExecStatus' => [ - 'type' => 'string', - ], - 'SceneType' => [ - 'type' => 'string', - ], - 'AgentPool' => [ - 'type' => 'string', - ], - 'ModifiedTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'AllsparkId' => [ - 'type' => 'string', - ], - 'Duration' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'SceneName' => [ - 'type' => 'string', - ], - 'SceneId' => [ - 'type' => 'string', - ], - 'Cronable' => [ - 'type' => 'boolean', - ], + 'Status' => ['type' => 'integer', 'format' => 'int32'], + 'ExecStatus' => ['type' => 'string'], + 'SceneType' => ['type' => 'string'], + 'AgentPool' => ['type' => 'string'], + 'ModifiedTime' => ['type' => 'integer', 'format' => 'int64'], + 'AllsparkId' => ['type' => 'string'], + 'Duration' => ['type' => 'integer', 'format' => 'int32'], + 'SceneName' => ['type' => 'string'], + 'SceneId' => ['type' => 'string'], + 'Cronable' => ['type' => 'boolean'], ], ], ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'PageSize' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'PageNumber' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], + 'RequestId' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'PageSize' => ['type' => 'integer', 'format' => 'int32'], + 'PageNumber' => ['type' => 'integer', 'format' => 'int32'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], ], ], ], ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'QueryGroupSceneFail', - 'errorMessage' => 'Failed to query scene group.', - ], + ['errorCode' => 'QueryGroupSceneFail', 'errorMessage' => 'Failed to query scene group.'], ], ], ], 'ListReports' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5469,77 +2835,44 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'Keyword', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '20', - 'minimum' => '1', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '20', 'minimum' => '1'], ], [ 'name' => 'SceneTypes', 'in' => 'query', 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'default' => '', - ], + 'schema' => ['type' => 'object', 'required' => false, 'default' => ''], ], [ 'name' => 'BeginTime', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'minimum' => '1', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'minimum' => '1'], ], [ 'name' => 'SceneId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], 'responses' => [ @@ -5547,92 +2880,41 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'PageSize' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'PageNumber' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'TotalCount' => ['type' => 'integer', 'format' => 'int32'], + 'RequestId' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'PageSize' => ['type' => 'integer', 'format' => 'int32'], + 'PageNumber' => ['type' => 'integer', 'format' => 'int32'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], 'Reports' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'SceneDeleted' => [ - 'type' => 'boolean', - ], - 'SceneType' => [ - 'type' => 'string', - ], - 'BeginTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Duration' => [ - 'type' => 'string', - ], - 'MaxConcurrency' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'SceneName' => [ - 'type' => 'string', - ], - 'ReportName' => [ - 'type' => 'string', - ], - 'SceneId' => [ - 'type' => 'string', - ], - 'ReportId' => [ - 'type' => 'string', - ], - 'Vum' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'UseCustomPool' => [ - 'type' => 'boolean', - ], + 'SceneDeleted' => ['type' => 'boolean'], + 'SceneType' => ['type' => 'string'], + 'BeginTime' => ['type' => 'integer', 'format' => 'int64'], + 'Duration' => ['type' => 'string'], + 'MaxConcurrency' => ['type' => 'integer', 'format' => 'int32'], + 'SceneName' => ['type' => 'string'], + 'ReportName' => ['type' => 'string'], + 'SceneId' => ['type' => 'string'], + 'ReportId' => ['type' => 'string'], + 'Vum' => ['type' => 'integer', 'format' => 'int32'], + 'UseCustomPool' => ['type' => 'boolean'], ], ], ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], ], ], ], ], ], 'ListSceneGroups' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5652,9 +2934,7 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [], 'responses' => [ @@ -5662,65 +2942,36 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'SceneId' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Code' => [ - 'type' => 'string', - ], + 'SceneId' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'Code' => ['type' => 'string'], 'SceneGroupDOList' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'ModifiedTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'GroupId' => [ - 'type' => 'string', - ], - 'SceneGroupName' => [ - 'type' => 'string', - ], + 'ModifiedTime' => ['type' => 'integer', 'format' => 'int64'], + 'GroupId' => ['type' => 'string'], + 'SceneGroupName' => ['type' => 'string'], ], ], ], - 'Success' => [ - 'type' => 'boolean', - ], + 'Success' => ['type' => 'boolean'], ], ], ], ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'QueryGroupSceneFail', - 'errorMessage' => 'Failed to query scene group.', - ], + ['errorCode' => 'QueryGroupSceneFail', 'errorMessage' => 'Failed to query scene group.'], ], ], ], 'ListScenes' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5740,50 +2991,29 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'Keywords', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'minimum' => '1', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'minimum' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '20', - 'minimum' => '1', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '20', 'minimum' => '1'], ], [ 'name' => 'SceneTypes', 'in' => 'query', 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - ], + 'schema' => ['type' => 'object', 'required' => false], ], ], 'responses' => [ @@ -5791,84 +3021,39 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'TotalCount' => ['type' => 'integer', 'format' => 'int64'], 'Scenes' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Status' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'Status' => ['type' => 'integer', 'format' => 'int32'], 'ParamFileIds' => [ 'type' => 'array', - 'items' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'items' => ['type' => 'integer', 'format' => 'int64'], ], 'ParamFileNames' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'ExecStatus' => [ - 'type' => 'string', - ], - 'SceneType' => [ - 'type' => 'string', - ], - 'AgentPool' => [ - 'type' => 'string', - ], - 'ModifiedTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'AllsparkId' => [ - 'type' => 'string', - ], - 'Duration' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'SceneName' => [ - 'type' => 'string', - ], - 'SceneId' => [ - 'type' => 'string', - ], - 'Cronable' => [ - 'type' => 'boolean', - ], + 'items' => ['type' => 'string'], + ], + 'ExecStatus' => ['type' => 'string'], + 'SceneType' => ['type' => 'string'], + 'AgentPool' => ['type' => 'string'], + 'ModifiedTime' => ['type' => 'integer', 'format' => 'int64'], + 'AllsparkId' => ['type' => 'string'], + 'Duration' => ['type' => 'integer', 'format' => 'int32'], + 'SceneName' => ['type' => 'string'], + 'SceneId' => ['type' => 'string'], + 'Cronable' => ['type' => 'boolean'], ], ], ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'PageSize' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'PageNumber' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], + 'RequestId' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'PageSize' => ['type' => 'integer', 'format' => 'int32'], + 'PageNumber' => ['type' => 'integer', 'format' => 'int32'], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], ], ], ], @@ -5876,14 +3061,8 @@ 'responseDemo' => null, ], 'ListSlaSnapshotReal' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5903,19 +3082,13 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'ReportId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], ], 'responses' => [ @@ -5923,44 +3096,25 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'Message' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], 'SlaInfo' => [ 'type' => 'object', 'properties' => [ - 'RuleTypeItemMap' => [ - 'type' => 'object', - ], + 'RuleTypeItemMap' => ['type' => 'object'], ], ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], ], ], ], ], ], 'ListSlaSnapshotSummary' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5980,19 +3134,13 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'PlanId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], ], 'responses' => [ @@ -6000,39 +3148,20 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'SlaSummaryVO' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], + 'SlaSummaryVO' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], ], ], ], ], ], 'ListSlaWarnings' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6052,39 +3181,23 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'PlanId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true], ], ], 'responses' => [ @@ -6092,51 +3205,23 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'PageSize' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'PageNumber' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Warnings' => [ - 'type' => 'string', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], + 'TotalCount' => ['type' => 'integer', 'format' => 'int64'], + 'RequestId' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'PageSize' => ['type' => 'integer', 'format' => 'int32'], + 'PageNumber' => ['type' => 'integer', 'format' => 'int32'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'Warnings' => ['type' => 'string'], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], ], ], ], ], ], 'ListWithGroupsScenes' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6156,42 +3241,23 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'Keywords', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '1000', - 'minimum' => '1', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '1000', 'minimum' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '100', - 'minimum' => '1', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '100', 'minimum' => '1'], ], ], 'responses' => [ @@ -6199,103 +3265,47 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'TotalCount' => ['type' => 'integer', 'format' => 'int64'], 'Scenes' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Status' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'ExecStatus' => [ - 'type' => 'string', - ], - 'AgentPool' => [ - 'type' => 'string', - ], - 'IsInGroup' => [ - 'type' => 'boolean', - ], - 'SceneName' => [ - 'type' => 'string', - ], - 'Cronable' => [ - 'type' => 'boolean', - ], - 'SceneType' => [ - 'type' => 'string', - ], - 'ModifiedTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'AllsparkId' => [ - 'type' => 'string', - ], - 'Duration' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'SceneId' => [ - 'type' => 'string', - ], - 'IsGroup' => [ - 'type' => 'boolean', - ], + 'Status' => ['type' => 'integer', 'format' => 'int32'], + 'ExecStatus' => ['type' => 'string'], + 'AgentPool' => ['type' => 'string'], + 'IsInGroup' => ['type' => 'boolean'], + 'SceneName' => ['type' => 'string'], + 'Cronable' => ['type' => 'boolean'], + 'SceneType' => ['type' => 'string'], + 'ModifiedTime' => ['type' => 'integer', 'format' => 'int64'], + 'AllsparkId' => ['type' => 'string'], + 'Duration' => ['type' => 'integer', 'format' => 'int32'], + 'SceneId' => ['type' => 'string'], + 'IsGroup' => ['type' => 'boolean'], ], ], ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'PageSize' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'PageNumber' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], + 'RequestId' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'PageSize' => ['type' => 'integer', 'format' => 'int32'], + 'PageNumber' => ['type' => 'integer', 'format' => 'int32'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], ], ], ], ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'QuerySceneGroupsFail', - 'errorMessage' => 'Failed to query scene groups.', - ], + ['errorCode' => 'QuerySceneGroupsFail', 'errorMessage' => 'Failed to query scene groups.'], ], ], ], 'ParseScene' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6315,39 +3325,23 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'maximum' => '9223372036854775807', - 'minimum' => '-1', - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true, 'maximum' => '9223372036854775807', 'minimum' => '-1'], ], [ 'name' => 'SceneData', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], [ 'name' => 'SceneName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], ], 'responses' => [ @@ -6355,47 +3349,25 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'SceneId' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], + 'SceneId' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], ], ], ], ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter is invalid.', - ], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter is invalid.'], ], ], ], 'RemoveInstanceFromGroup' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6406,40 +3378,24 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'GroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true], ], [ 'name' => 'InstanceIdAndPorts', 'in' => 'query', 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'object', 'required' => true, 'docRequired' => true], ], [ 'name' => 'Ver', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true], ], ], 'responses' => [ @@ -6447,36 +3403,19 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], + 'Message' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], ], ], ], ], ], 'RemoveSceneGroup' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6496,18 +3435,13 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'GroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], 'responses' => [ @@ -6515,49 +3449,26 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'SceneId' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'RemoveResult' => [ - 'type' => 'boolean', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], + 'SceneId' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'RemoveResult' => ['type' => 'boolean'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], ], ], ], ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'UpdateSceneGroupFail', - 'errorMessage' => 'Failed to update the scene group.', - ], + ['errorCode' => 'UpdateSceneGroupFail', 'errorMessage' => 'Failed to update the scene group.'], ], ], ], 'RemoveScenes' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6576,20 +3487,14 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'SceneIds', 'in' => 'query', 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'object', 'required' => true, 'docRequired' => true], ], ], 'responses' => [ @@ -6597,36 +3502,19 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], + 'Message' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], ], ], ], ], ], 'ReplaceOssFile' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6637,45 +3525,28 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'SceneId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], [ 'name' => 'OriginalOssFileUrl', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], [ 'name' => 'NewOssFileUrl', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], [ 'name' => 'JobId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], 'responses' => [ @@ -6683,45 +3554,22 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Finished' => [ - 'type' => 'boolean', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'Timeout' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], - 'JobId' => [ - 'type' => 'string', - ], + 'Finished' => ['type' => 'boolean'], + 'RequestId' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'Timeout' => ['type' => 'integer', 'format' => 'int32'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], + 'JobId' => ['type' => 'string'], ], ], ], ], ], 'SaveScene' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6741,19 +3589,13 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'Scene', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], ], 'responses' => [ @@ -6761,49 +3603,23 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'SceneId' => [ - 'type' => 'string', - ], - 'ChargeType' => [ - 'title' => '计费类型', - 'type' => 'string', - 'example' => 'BY_TIME', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'DocumentUrl' => [ - 'type' => 'string', - ], - 'CodeKey' => [ - 'type' => 'string', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], + 'SceneId' => ['type' => 'string'], + 'ChargeType' => ['title' => '计费类型', 'type' => 'string', 'example' => 'BY_TIME'], + 'RequestId' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'DocumentUrl' => ['type' => 'string'], + 'CodeKey' => ['type' => 'string'], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], ], ], ], ], ], 'StartJMeterTesting' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6823,19 +3639,13 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'SceneId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], ], 'responses' => [ @@ -6843,25 +3653,12 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'PlanId' => [ - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], + 'RequestId' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'PlanId' => ['type' => 'string'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], ], ], ], @@ -6870,13 +3667,8 @@ ], 'StartSceneTesting' => [ 'summary' => '启动压测场景', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6898,18 +3690,13 @@ 'riskType' => 'none', 'chargeType' => 'paid', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'SceneId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], 'responses' => [ @@ -6917,41 +3704,21 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'PlanId' => [ - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], - 'DocumentUrl' => [ - 'type' => 'string', - ], + 'RequestId' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'PlanId' => ['type' => 'string'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], + 'DocumentUrl' => ['type' => 'string'], ], ], ], ], ], 'StopJMeterTesting' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6971,19 +3738,13 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'SceneId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], ], 'responses' => [ @@ -6991,22 +3752,11 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], + 'Message' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], ], ], ], @@ -7014,13 +3764,8 @@ 'responseDemo' => null, ], 'StopSceneTesting' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7040,26 +3785,18 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'SceneId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], [ 'name' => 'TriggerTeardown', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - ], + 'schema' => ['type' => 'boolean'], ], ], 'responses' => [ @@ -7067,38 +3804,20 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'IsSuccess' => [ - 'type' => 'boolean', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], + 'IsSuccess' => ['type' => 'boolean'], + 'RequestId' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], ], ], ], ], ], 'SubmitProgress' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7118,26 +3837,18 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'SceneId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], 'responses' => [ @@ -7145,38 +3856,20 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'SubmitResult' => [ - 'type' => 'string', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], + 'RequestId' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'SubmitResult' => ['type' => 'string'], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], ], ], ], ], ], 'SubmitTesting' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7196,18 +3889,13 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'SceneId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], 'responses' => [ @@ -7215,39 +3903,20 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'SubmitResult' => [ - 'type' => 'string', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], + 'RequestId' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'SubmitResult' => ['type' => 'string'], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], ], ], ], ], ], 'UpdateSceneGroup' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7267,29 +3936,19 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'GroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], [ 'name' => 'SceneIds', 'in' => 'query', 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'object', 'required' => true, 'docRequired' => true], ], ], 'responses' => [ @@ -7297,50 +3956,26 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'SceneId' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Code' => [ - 'type' => 'string', - ], - 'UpdateResult' => [ - 'type' => 'boolean', - ], - 'Success' => [ - 'type' => 'boolean', - ], + 'SceneId' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'Code' => ['type' => 'string'], + 'UpdateResult' => ['type' => 'boolean'], + 'Success' => ['type' => 'boolean'], ], ], ], ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'UpdateSceneGroupFail', - 'errorMessage' => 'Failed to update the scene group.', - ], + ['errorCode' => 'UpdateSceneGroupFail', 'errorMessage' => 'Failed to update the scene group.'], ], ], ], 'UpdateSceneGroupName' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7360,29 +3995,19 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'SceneGroupName', 'in' => 'query', 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'object', 'required' => true, 'docRequired' => true], ], [ 'name' => 'GroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], ], 'responses' => [ @@ -7390,50 +4015,26 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'SceneId' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Code' => [ - 'type' => 'string', - ], - 'UpdateResult' => [ - 'type' => 'boolean', - ], - 'Success' => [ - 'type' => 'boolean', - ], + 'SceneId' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'Code' => ['type' => 'string'], + 'UpdateResult' => ['type' => 'boolean'], + 'Success' => ['type' => 'boolean'], ], ], ], ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'UpdateSceneGroupFail', - 'errorMessage' => 'Failed to update the scene group.', - ], + ['errorCode' => 'UpdateSceneGroupFail', 'errorMessage' => 'Failed to update the scene group.'], ], ], ], 'UploadFileFromOSS' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7453,26 +4054,18 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'OssUrl', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'JobId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], 'responses' => [ @@ -7480,129 +4073,55 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], - 'Finished' => [ - 'type' => 'boolean', - ], - 'JobId' => [ - 'type' => 'string', - ], - 'Timeout' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'Message' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], + 'Finished' => ['type' => 'boolean'], + 'JobId' => ['type' => 'string'], + 'Timeout' => ['type' => 'integer', 'format' => 'int64'], 'UploadedResult' => [ 'type' => 'object', 'properties' => [ - 'FileTags' => [ - 'type' => 'object', - ], - 'FileType' => [ - 'type' => 'string', - ], - 'Md5' => [ - 'type' => 'string', - ], - 'Uri' => [ - 'type' => 'string', - ], - 'FileSize' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'FileTags' => ['type' => 'object'], + 'FileType' => ['type' => 'string'], + 'Md5' => ['type' => 'string'], + 'Uri' => ['type' => 'string'], + 'FileSize' => ['type' => 'integer', 'format' => 'int64'], 'PtsDataFile' => [ 'title' => '文件信息', 'type' => 'object', 'properties' => [ - 'FileId' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'FileKey' => [ - 'type' => 'string', - ], - 'FileName' => [ - 'type' => 'string', - ], - 'OssUrl' => [ - 'type' => 'string', - ], - 'CreateTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'ProcessedOssUrl' => [ - 'type' => 'string', - ], - 'Columns' => [ - 'type' => 'string', - ], - 'Delimiter' => [ - 'type' => 'string', - ], - 'UseOnce' => [ - 'type' => 'boolean', - ], - 'SkipFirstLine' => [ - 'type' => 'boolean', - ], - 'Length' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'LineCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'ProcessedLineCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'HeadLines' => [ - 'type' => 'string', - ], - 'OriginalSource' => [ - 'type' => 'string', - ], - 'AutoRefresh' => [ - 'type' => 'boolean', - ], + 'FileId' => ['type' => 'integer', 'format' => 'int64'], + 'FileKey' => ['type' => 'string'], + 'FileName' => ['type' => 'string'], + 'OssUrl' => ['type' => 'string'], + 'CreateTime' => ['type' => 'integer', 'format' => 'int64'], + 'ProcessedOssUrl' => ['type' => 'string'], + 'Columns' => ['type' => 'string'], + 'Delimiter' => ['type' => 'string'], + 'UseOnce' => ['type' => 'boolean'], + 'SkipFirstLine' => ['type' => 'boolean'], + 'Length' => ['type' => 'integer', 'format' => 'int64'], + 'LineCount' => ['type' => 'integer', 'format' => 'int64'], + 'ProcessedLineCount' => ['type' => 'integer', 'format' => 'int64'], + 'HeadLines' => ['type' => 'string'], + 'OriginalSource' => ['type' => 'string'], + 'AutoRefresh' => ['type' => 'boolean'], ], ], ], ], - 'Md5' => [ - 'type' => 'string', - ], + 'Md5' => ['type' => 'string'], ], ], ], ], ], 'ListPtsReports' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7622,81 +4141,43 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '50', - 'minimum' => '1', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '50', 'minimum' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '20', - 'minimum' => '1', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '20', 'minimum' => '1'], ], [ 'name' => 'SceneId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], [ 'name' => 'SceneType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'BeginTime', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '0', - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '0'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '0', - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '0'], ], [ 'name' => 'Keyword', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], 'responses' => [ @@ -7704,117 +4185,49 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'PageSize' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'PageNumber' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'TotalCount' => ['type' => 'integer', 'format' => 'int64'], + 'RequestId' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'PageSize' => ['type' => 'integer', 'format' => 'int32'], + 'PageNumber' => ['type' => 'integer', 'format' => 'int32'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], 'Reports' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'FailCountBiz' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'AvgTps' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'ReportId' => [ - 'type' => 'string', - ], - 'SceneName' => [ - 'type' => 'string', - ], - 'Seg99Rt' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'Vum' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'ActualStartTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Seg90Rt' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'ReportName' => [ - 'type' => 'string', - ], - 'SuccessRateBiz' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'ActualEndTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'AvgRt' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'FailCountReq' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'SuccessRateReq' => [ - 'type' => 'number', - 'format' => 'float', - ], + 'FailCountBiz' => ['type' => 'integer', 'format' => 'int64'], + 'AvgTps' => ['type' => 'number', 'format' => 'float'], + 'ReportId' => ['type' => 'string'], + 'SceneName' => ['type' => 'string'], + 'Seg99Rt' => ['type' => 'number', 'format' => 'float'], + 'Vum' => ['type' => 'integer', 'format' => 'int64'], + 'ActualStartTime' => ['type' => 'integer', 'format' => 'int64'], + 'Seg90Rt' => ['type' => 'number', 'format' => 'float'], + 'ReportName' => ['type' => 'string'], + 'SuccessRateBiz' => ['type' => 'number', 'format' => 'float'], + 'ActualEndTime' => ['type' => 'integer', 'format' => 'int64'], + 'AvgRt' => ['type' => 'number', 'format' => 'float'], + 'FailCountReq' => ['type' => 'integer', 'format' => 'int64'], + 'SuccessRateReq' => ['type' => 'number', 'format' => 'float'], ], ], ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], ], ], ], ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'QueryGroupSceneFail', - 'errorMessage' => 'Failed to query scene group.', - ], + ['errorCode' => 'QueryGroupSceneFail', 'errorMessage' => 'Failed to query scene group.'], ], ], ], 'ListPtsScenesWithReport' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7834,59 +4247,33 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '50', - 'minimum' => '1', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '50', 'minimum' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '20', - 'minimum' => '1', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '20', 'minimum' => '1'], ], [ 'name' => 'Keywords', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'GroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'SceneType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => false, 'docRequired' => true], ], ], 'responses' => [ @@ -7894,133 +4281,55 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'TotalCount' => ['type' => 'integer', 'format' => 'int64'], 'Scenes' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'ExecStatus' => [ - 'type' => 'string', - ], - 'Status' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'FailCountBiz' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'AgentPool' => [ - 'type' => 'string', - ], - 'AvgTps' => [ - 'type' => 'string', - ], - 'SceneName' => [ - 'type' => 'string', - ], - 'ReportId' => [ - 'type' => 'string', - ], - 'Seg99Rt' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'Seg90Rt' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'Cronable' => [ - 'type' => 'boolean', - ], - 'ReportName' => [ - 'type' => 'string', - ], - 'SceneType' => [ - 'type' => 'string', - ], - 'ModifiedTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'SuccessRateBiz' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'AvgRt' => [ - 'type' => 'string', - ], - 'AllsparkId' => [ - 'type' => 'string', - ], - 'FailCountReq' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Duration' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'SceneId' => [ - 'type' => 'string', - ], - 'SuccessRateReq' => [ - 'type' => 'number', - 'format' => 'float', - ], + 'ExecStatus' => ['type' => 'string'], + 'Status' => ['type' => 'integer', 'format' => 'int32'], + 'FailCountBiz' => ['type' => 'integer', 'format' => 'int64'], + 'AgentPool' => ['type' => 'string'], + 'AvgTps' => ['type' => 'string'], + 'SceneName' => ['type' => 'string'], + 'ReportId' => ['type' => 'string'], + 'Seg99Rt' => ['type' => 'number', 'format' => 'float'], + 'Seg90Rt' => ['type' => 'number', 'format' => 'float'], + 'Cronable' => ['type' => 'boolean'], + 'ReportName' => ['type' => 'string'], + 'SceneType' => ['type' => 'string'], + 'ModifiedTime' => ['type' => 'integer', 'format' => 'int64'], + 'SuccessRateBiz' => ['type' => 'number', 'format' => 'float'], + 'AvgRt' => ['type' => 'string'], + 'AllsparkId' => ['type' => 'string'], + 'FailCountReq' => ['type' => 'integer', 'format' => 'int64'], + 'Duration' => ['type' => 'integer', 'format' => 'int32'], + 'SceneId' => ['type' => 'string'], + 'SuccessRateReq' => ['type' => 'number', 'format' => 'float'], ], ], ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'PageSize' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'PageNumber' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], + 'RequestId' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'PageSize' => ['type' => 'integer', 'format' => 'int32'], + 'PageNumber' => ['type' => 'integer', 'format' => 'int32'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], ], ], ], ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'QueryGroupSceneFail', - 'errorMessage' => 'Failed to query scene group.', - ], + ['errorCode' => 'QueryGroupSceneFail', 'errorMessage' => 'Failed to query scene group.'], ], ], ], 'QuerySceneGroups' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8040,50 +4349,28 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'Keywords', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'SceneType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '2147483647', - 'minimum' => '1', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '2147483647', 'minimum' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '1000', - 'minimum' => '1', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '1000', 'minimum' => '1'], ], ], 'responses' => [ @@ -8091,83 +4378,41 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'SceneId' => [ - 'type' => 'string', - ], - 'TotalCount' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'PageSize' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'PageNumber' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'SceneId' => ['type' => 'string'], + 'TotalCount' => ['type' => 'integer', 'format' => 'int32'], + 'RequestId' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'PageSize' => ['type' => 'integer', 'format' => 'int32'], + 'PageNumber' => ['type' => 'integer', 'format' => 'int32'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], 'SceneGroupViewList' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Type' => [ - 'type' => 'string', - ], - 'ModifiedTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'GroupId' => [ - 'type' => 'string', - ], - 'CreateTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'SceneGroupName' => [ - 'type' => 'string', - ], + 'Type' => ['type' => 'string'], + 'ModifiedTime' => ['type' => 'integer', 'format' => 'int64'], + 'GroupId' => ['type' => 'string'], + 'CreateTime' => ['type' => 'integer', 'format' => 'int64'], + 'SceneGroupName' => ['type' => 'string'], ], ], ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], ], ], ], ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'QueryGroupSceneFail', - 'errorMessage' => 'Failed to query scene group.', - ], + ['errorCode' => 'QueryGroupSceneFail', 'errorMessage' => 'Failed to query scene group.'], ], ], ], 'CreatePluginScene' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8187,19 +4432,13 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'Scene', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], ], 'responses' => [ @@ -8207,50 +4446,27 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'SceneId' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'CodeKey' => [ - 'type' => 'string', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], + 'SceneId' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'CodeKey' => ['type' => 'string'], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], ], ], ], ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'QueryGroupSceneFail', - 'errorMessage' => 'Failed to query scene group.', - ], + ['errorCode' => 'QueryGroupSceneFail', 'errorMessage' => 'Failed to query scene group.'], ], ], ], 'ListPtsSceneOperation' => [ 'summary' => '查询PTS场景操作记录', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8261,52 +4477,33 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true], ], [ 'name' => 'SceneId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'BeginTime', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'schema' => ['type' => 'integer', 'format' => 'int64'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'schema' => ['type' => 'integer', 'format' => 'int64'], ], ], 'responses' => [ @@ -8320,162 +4517,73 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'SnapshotId' => [ - 'type' => 'string', - ], - 'ModifyTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'ModifyContent' => [ - 'type' => 'string', - ], - 'OperateType' => [ - 'type' => 'string', - ], - 'PlanId' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'SnapshotId' => ['type' => 'string'], + 'ModifyTime' => ['type' => 'integer', 'format' => 'int64'], + 'ModifyContent' => ['type' => 'string'], + 'OperateType' => ['type' => 'string'], + 'PlanId' => ['type' => 'integer', 'format' => 'int64'], 'MonitorGroupInfo' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Id' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'GmtCreate' => [ - 'type' => 'string', - ], - 'GmtModified' => [ - 'type' => 'string', - ], - 'GroupName' => [ - 'type' => 'string', - ], - 'SceneId' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Type' => [ - 'type' => 'string', - ], - 'IsDeleted' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'AliyunGroupId' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Uid' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'Id' => ['type' => 'integer', 'format' => 'int64'], + 'GmtCreate' => ['type' => 'string'], + 'GmtModified' => ['type' => 'string'], + 'GroupName' => ['type' => 'string'], + 'SceneId' => ['type' => 'integer', 'format' => 'int64'], + 'Type' => ['type' => 'string'], + 'IsDeleted' => ['type' => 'integer', 'format' => 'int32'], + 'AliyunGroupId' => ['type' => 'integer', 'format' => 'int64'], + 'Uid' => ['type' => 'integer', 'format' => 'int64'], 'InstancesDOs' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Id' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'GmtCreate' => [ - 'type' => 'string', - ], - 'GmtModified' => [ - 'type' => 'string', - ], - 'InstanceId' => [ - 'type' => 'string', - ], - 'Type' => [ - 'type' => 'string', - ], - 'InnerIp' => [ - 'type' => 'string', - ], - 'PublicIp' => [ - 'type' => 'string', - ], - 'SceneId' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'AddressPort' => [ - 'type' => 'string', - ], - 'GroupId' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'Id' => ['type' => 'integer', 'format' => 'int64'], + 'GmtCreate' => ['type' => 'string'], + 'GmtModified' => ['type' => 'string'], + 'InstanceId' => ['type' => 'string'], + 'Type' => ['type' => 'string'], + 'InnerIp' => ['type' => 'string'], + 'PublicIp' => ['type' => 'string'], + 'SceneId' => ['type' => 'integer', 'format' => 'int64'], + 'AddressPort' => ['type' => 'string'], + 'GroupId' => ['type' => 'integer', 'format' => 'int64'], ], ], ], ], ], ], - 'Operator' => [ - 'type' => 'string', - ], + 'Operator' => ['type' => 'string'], ], ], ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], - 'HttpStatusCode' => [ - 'type' => 'string', - ], - 'DocumentUrl' => [ - 'type' => 'string', - ], - 'PageNumber' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'PageSize' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'TotalCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'RequestId' => ['type' => 'string'], + 'Code' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], + 'HttpStatusCode' => ['type' => 'string'], + 'DocumentUrl' => ['type' => 'string'], + 'PageNumber' => ['type' => 'integer', 'format' => 'int32'], + 'PageSize' => ['type' => 'integer', 'format' => 'int32'], + 'TotalCount' => ['type' => 'integer', 'format' => 'int64'], ], ], ], ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'AddSceneGroupFail', - 'errorMessage' => 'Failed to add the scene group.', - ], + ['errorCode' => 'AddSceneGroupFail', 'errorMessage' => 'Failed to add the scene group.'], ], ], ], 'GetJMeterSnapshot' => [ 'summary' => '查询单个JMeter操作记录', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8486,26 +4594,18 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'SceneId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'SnapshotId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], 'responses' => [ @@ -8516,144 +4616,69 @@ 'Scene' => [ 'type' => 'object', 'properties' => [ - 'SceneId' => [ - 'type' => 'string', - ], - 'Name' => [ - 'type' => 'string', - ], - 'Pool' => [ - 'type' => 'string', - ], - 'RegionId' => [ - 'type' => 'string', - ], - 'VpcId' => [ - 'type' => 'string', - ], - 'SecurityGroupId' => [ - 'type' => 'string', - ], - 'VSwitchId' => [ - 'type' => 'string', - ], - 'VpcName' => [ - 'type' => 'string', - ], - 'SecurityGroupName' => [ - 'type' => 'string', - ], - 'VSwitchName' => [ - 'type' => 'string', - ], + 'SceneId' => ['type' => 'string'], + 'Name' => ['type' => 'string'], + 'Pool' => ['type' => 'string'], + 'RegionId' => ['type' => 'string'], + 'VpcId' => ['type' => 'string'], + 'SecurityGroupId' => ['type' => 'string'], + 'VSwitchId' => ['type' => 'string'], + 'VpcName' => ['type' => 'string'], + 'SecurityGroupName' => ['type' => 'string'], + 'VSwitchName' => ['type' => 'string'], 'BaseInfo' => [ 'type' => 'object', 'properties' => [ - 'Remark' => [ - 'type' => 'string', - ], - 'Principal' => [ - 'type' => 'string', - ], - 'CreateName' => [ - 'type' => 'string', - ], - 'ModifyName' => [ - 'type' => 'string', - ], - ], - ], - 'EnvironmentId' => [ - 'type' => 'string', - ], - 'EnvId' => [ - 'type' => 'string', - ], - 'JmeterVersion' => [ - 'type' => 'string', - ], - 'Concurrency' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'RampUp' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Steps' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'Remark' => ['type' => 'string'], + 'Principal' => ['type' => 'string'], + 'CreateName' => ['type' => 'string'], + 'ModifyName' => ['type' => 'string'], + ], + ], + 'EnvironmentId' => ['type' => 'string'], + 'EnvId' => ['type' => 'string'], + 'JmeterVersion' => ['type' => 'string'], + 'Concurrency' => ['type' => 'integer', 'format' => 'int32'], + 'RampUp' => ['type' => 'integer', 'format' => 'int32'], + 'Steps' => ['type' => 'integer', 'format' => 'int32'], 'DnsCacheConfig' => [ 'type' => 'object', 'properties' => [ - 'ClearCacheEachIteration' => [ - 'type' => 'boolean', - ], + 'ClearCacheEachIteration' => ['type' => 'boolean'], 'DnsServers' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], 'HostTable' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], + 'additionalProperties' => ['type' => 'string'], ], ], ], - 'DnsCache' => [ - 'type' => 'string', - ], - 'HoldFor' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'DnsCache' => ['type' => 'string'], + 'HoldFor' => ['type' => 'integer', 'format' => 'int64'], ], ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'DocumentUrl' => [ - 'type' => 'string', - ], + 'RequestId' => ['type' => 'string'], + 'Code' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'DocumentUrl' => ['type' => 'string'], ], ], ], ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Code', - 'errorMessage' => 'The specified parameter is invalid.', - ], + ['errorCode' => 'Code', 'errorMessage' => 'The specified parameter is invalid.'], ], ], ], 'GetPtsSceneSnapshot' => [ 'summary' => '查询单个场景快照', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8664,26 +4689,18 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'SceneId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'SnapshotId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], 'responses' => [ @@ -8691,193 +4708,87 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'type' => 'string', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'DocumentUrl' => [ - 'type' => 'string', - ], + 'RequestId' => ['type' => 'string'], + 'Code' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'DocumentUrl' => ['type' => 'string'], 'SceneVO' => [ 'type' => 'object', 'properties' => [ - 'SnapshotId' => [ - 'type' => 'string', - ], - 'ModifyTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'ModifyContent' => [ - 'type' => 'string', - ], - 'OperateType' => [ - 'type' => 'string', - ], - 'PlanId' => [ - 'type' => 'string', - ], + 'SnapshotId' => ['type' => 'string'], + 'ModifyTime' => ['type' => 'integer', 'format' => 'int64'], + 'ModifyContent' => ['type' => 'string'], + 'OperateType' => ['type' => 'string'], + 'PlanId' => ['type' => 'string'], 'MonitorGroupInfo' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Id' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'GmtCreate' => [ - 'type' => 'string', - ], - 'GmtModified' => [ - 'type' => 'string', - ], - 'GroupName' => [ - 'type' => 'string', - ], - 'SceneId' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Type' => [ - 'type' => 'string', - ], - 'IsDeleted' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'AliyunGroupId' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Uid' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'Id' => ['type' => 'integer', 'format' => 'int64'], + 'GmtCreate' => ['type' => 'string'], + 'GmtModified' => ['type' => 'string'], + 'GroupName' => ['type' => 'string'], + 'SceneId' => ['type' => 'integer', 'format' => 'int64'], + 'Type' => ['type' => 'string'], + 'IsDeleted' => ['type' => 'integer', 'format' => 'int32'], + 'AliyunGroupId' => ['type' => 'integer', 'format' => 'int64'], + 'Uid' => ['type' => 'integer', 'format' => 'int64'], 'InstancesDOs' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Id' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'GmtCreate' => [ - 'type' => 'string', - ], - 'GmtModified' => [ - 'type' => 'string', - ], - 'InstanceId' => [ - 'type' => 'string', - ], - 'Type' => [ - 'type' => 'string', - ], - 'InnerIp' => [ - 'type' => 'string', - ], - 'PublicIp' => [ - 'type' => 'string', - ], - 'SceneId' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'AddressPort' => [ - 'type' => 'string', - ], - 'GroupId' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'Id' => ['type' => 'integer', 'format' => 'int64'], + 'GmtCreate' => ['type' => 'string'], + 'GmtModified' => ['type' => 'string'], + 'InstanceId' => ['type' => 'string'], + 'Type' => ['type' => 'string'], + 'InnerIp' => ['type' => 'string'], + 'PublicIp' => ['type' => 'string'], + 'SceneId' => ['type' => 'integer', 'format' => 'int64'], + 'AddressPort' => ['type' => 'string'], + 'GroupId' => ['type' => 'integer', 'format' => 'int64'], ], ], ], ], ], ], - 'SceneId' => [ - 'type' => 'string', - ], - 'Name' => [ - 'type' => 'string', - ], + 'SceneId' => ['type' => 'string'], + 'Name' => ['type' => 'string'], 'BaseInfo' => [ 'type' => 'object', 'properties' => [ - 'Remark' => [ - 'type' => 'string', - ], - 'Principal' => [ - 'type' => 'string', - ], - 'Resource' => [ - 'type' => 'string', - ], - 'CreateName' => [ - 'type' => 'string', - ], - 'ModifyName' => [ - 'type' => 'string', - ], - 'IsBaseLine' => [ - 'type' => 'boolean', - ], + 'Remark' => ['type' => 'string'], + 'Principal' => ['type' => 'string'], + 'Resource' => ['type' => 'string'], + 'CreateName' => ['type' => 'string'], + 'ModifyName' => ['type' => 'string'], + 'IsBaseLine' => ['type' => 'boolean'], ], ], - 'Type' => [ - 'type' => 'string', - ], + 'Type' => ['type' => 'string'], 'Relations' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Id' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Name' => [ - 'type' => 'string', - ], - 'Disabled' => [ - 'type' => 'boolean', - ], + 'Id' => ['type' => 'integer', 'format' => 'int64'], + 'Name' => ['type' => 'string'], + 'Disabled' => ['type' => 'boolean'], 'Headers' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], + 'additionalProperties' => ['type' => 'string'], ], 'RelationTestConfig' => [ 'type' => 'object', 'properties' => [ - 'Increment' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'BeginStep' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'EndStep' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'Increment' => ['type' => 'integer', 'format' => 'int32'], + 'BeginStep' => ['type' => 'integer', 'format' => 'int32'], + 'EndStep' => ['type' => 'integer', 'format' => 'int32'], ], ], 'Nodes' => [ @@ -8885,19 +4796,10 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'NodeId' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Name' => [ - 'type' => 'string', - ], - 'NodeType' => [ - 'type' => 'string', - ], - 'Config' => [ - 'type' => 'string', - ], + 'NodeId' => ['type' => 'integer', 'format' => 'int64'], + 'Name' => ['type' => 'string'], + 'NodeType' => ['type' => 'string'], + 'Config' => ['type' => 'string'], ], ], ], @@ -8909,17 +4811,11 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Domain' => [ - 'type' => 'string', - ], - 'Enabled' => [ - 'type' => 'boolean', - ], + 'Domain' => ['type' => 'string'], + 'Enabled' => ['type' => 'boolean'], 'Ips' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], ], ], @@ -8929,12 +4825,8 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Name' => [ - 'type' => 'string', - ], - 'Value' => [ - 'type' => 'string', - ], + 'Name' => ['type' => 'string'], + 'Value' => ['type' => 'string'], ], ], ], @@ -8943,81 +4835,38 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Id' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'FileKey' => [ - 'type' => 'string', - ], - 'FileName' => [ - 'type' => 'string', - ], - 'OssUrl' => [ - 'type' => 'string', - ], - 'ProcessedRemoteUrl' => [ - 'type' => 'string', - ], + 'Id' => ['type' => 'integer', 'format' => 'int64'], + 'FileKey' => ['type' => 'string'], + 'FileName' => ['type' => 'string'], + 'OssUrl' => ['type' => 'string'], + 'ProcessedRemoteUrl' => ['type' => 'string'], 'Columns' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'Delimiter' => [ - 'type' => 'string', - ], - 'SkipFirstLine' => [ - 'type' => 'boolean', - ], - 'Length' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'LineCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'ProcessedLineCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'BizId' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'items' => ['type' => 'string'], + ], + 'Delimiter' => ['type' => 'string'], + 'SkipFirstLine' => ['type' => 'boolean'], + 'Length' => ['type' => 'integer', 'format' => 'int64'], + 'LineCount' => ['type' => 'integer', 'format' => 'int64'], + 'ProcessedLineCount' => ['type' => 'integer', 'format' => 'int64'], + 'BizId' => ['type' => 'integer', 'format' => 'int64'], 'Exports' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Name' => [ - 'type' => 'string', - ], - 'Column' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'Name' => ['type' => 'string'], + 'Column' => ['type' => 'integer', 'format' => 'int64'], ], ], ], - 'CreateTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'CreateTime' => ['type' => 'integer', 'format' => 'int64'], 'PreviewData' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - 'UseOnce' => [ - 'type' => 'boolean', - ], - 'BizType' => [ - 'type' => 'string', + 'additionalProperties' => ['type' => 'string'], ], + 'UseOnce' => ['type' => 'boolean'], + 'BizType' => ['type' => 'string'], ], ], ], @@ -9026,16 +4875,9 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Name' => [ - 'type' => 'string', - ], - 'Value' => [ - 'type' => 'string', - ], - 'Type' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'Name' => ['type' => 'string'], + 'Value' => ['type' => 'string'], + 'Type' => ['type' => 'integer', 'format' => 'int64'], ], ], ], @@ -9044,113 +4886,48 @@ 'properties' => [ 'Operations' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'boolean', - ], - ], - 'Tips' => [ - 'type' => 'string', - ], - 'Debugging' => [ - 'type' => 'boolean', - ], - 'Testing' => [ - 'type' => 'boolean', - ], - 'IsCronable' => [ - 'type' => 'boolean', - ], - 'IsReusable' => [ - 'type' => 'boolean', - ], - 'CronEditable' => [ - 'type' => 'boolean', - ], - 'IsWaitToStart' => [ - 'type' => 'boolean', + 'additionalProperties' => ['type' => 'boolean'], ], + 'Tips' => ['type' => 'string'], + 'Debugging' => ['type' => 'boolean'], + 'Testing' => ['type' => 'boolean'], + 'IsCronable' => ['type' => 'boolean'], + 'IsReusable' => ['type' => 'boolean'], + 'CronEditable' => ['type' => 'boolean'], + 'IsWaitToStart' => ['type' => 'boolean'], ], ], - 'Creator' => [ - 'type' => 'string', - ], - 'Modifier' => [ - 'type' => 'string', - ], - 'CreateTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'Creator' => ['type' => 'string'], + 'Modifier' => ['type' => 'string'], + 'CreateTime' => ['type' => 'integer', 'format' => 'int64'], 'Sla' => [ 'type' => 'object', 'properties' => [ - 'id' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'gmtCreate' => [ - 'type' => 'string', - ], - 'gmtModified' => [ - 'type' => 'string', - ], - 'type' => [ - 'type' => 'string', - ], - 'name' => [ - 'type' => 'string', - ], - 'description' => [ - 'type' => 'string', - ], - 'busGroup' => [ - 'type' => 'string', - ], - 'busGroupFirst' => [ - 'type' => 'string', - ], - 'sceneId' => [ - 'type' => 'string', - ], - 'sceneKeyId' => [ - 'type' => 'string', - ], - 'uid' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'sysIndividual' => [ - 'type' => 'string', - ], + 'id' => ['type' => 'integer', 'format' => 'int64'], + 'gmtCreate' => ['type' => 'string'], + 'gmtModified' => ['type' => 'string'], + 'type' => ['type' => 'string'], + 'name' => ['type' => 'string'], + 'description' => ['type' => 'string'], + 'busGroup' => ['type' => 'string'], + 'busGroupFirst' => ['type' => 'string'], + 'sceneId' => ['type' => 'string'], + 'sceneKeyId' => ['type' => 'string'], + 'uid' => ['type' => 'integer', 'format' => 'int64'], + 'sysIndividual' => ['type' => 'string'], 'ruleItemList' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'ruleName' => [ - 'type' => 'string', - ], - 'ruleType' => [ - 'type' => 'string', - ], - 'ruleIndicatorItem' => [ - 'type' => 'string', - ], - 'condition' => [ - 'type' => 'string', - ], - 'degree' => [ - 'type' => 'string', - ], - 'ruleValue' => [ - 'type' => 'string', - ], - 'action' => [ - 'type' => 'string', - ], - 'chainIds' => [ - 'type' => 'string', - ], + 'ruleName' => ['type' => 'string'], + 'ruleType' => ['type' => 'string'], + 'ruleIndicatorItem' => ['type' => 'string'], + 'condition' => ['type' => 'string'], + 'degree' => ['type' => 'string'], + 'ruleValue' => ['type' => 'string'], + 'action' => ['type' => 'string'], + 'chainIds' => ['type' => 'string'], ], ], ], @@ -9159,26 +4936,18 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'actionName' => [ - 'type' => 'string', - ], + 'actionName' => ['type' => 'string'], 'noticerNameIds' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'name' => [ - 'type' => 'string', - ], - 'encodedId' => [ - 'type' => 'string', - ], + 'name' => ['type' => 'string'], + 'encodedId' => ['type' => 'string'], ], ], ], - 'noticeWay' => [ - 'type' => 'string', - ], + 'noticeWay' => ['type' => 'string'], ], ], ], @@ -9187,119 +4956,54 @@ 'TestConfig' => [ 'type' => 'object', 'properties' => [ - 'Mode' => [ - 'type' => 'string', - ], - 'MaxDuration' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'AutoStep' => [ - 'type' => 'boolean', - ], - 'Increment' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'KeepTime' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'AgentPool' => [ - 'type' => 'string', - ], - 'AgentCount' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'UseShadowTable' => [ - 'type' => 'boolean', - ], - 'ConcurrencyLimit' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'Mode' => ['type' => 'string'], + 'MaxDuration' => ['type' => 'integer', 'format' => 'int32'], + 'AutoStep' => ['type' => 'boolean'], + 'Increment' => ['type' => 'integer', 'format' => 'int32'], + 'KeepTime' => ['type' => 'integer', 'format' => 'int32'], + 'AgentPool' => ['type' => 'string'], + 'AgentCount' => ['type' => 'integer', 'format' => 'int32'], + 'UseShadowTable' => ['type' => 'boolean'], + 'ConcurrencyLimit' => ['type' => 'integer', 'format' => 'int32'], 'CustomConfig' => [ 'type' => 'object', 'properties' => [ - 'connectTimeout' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'succeedStatusCodes' => [ - 'type' => 'string', - ], - 'decodeFirst' => [ - 'type' => 'boolean', - ], - 'samplingRatio' => [ - 'type' => 'string', - ], + 'connectTimeout' => ['type' => 'integer', 'format' => 'int32'], + 'succeedStatusCodes' => ['type' => 'string'], + 'decodeFirst' => ['type' => 'boolean'], + 'samplingRatio' => ['type' => 'string'], ], ], - 'TpsLimit' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'TpsLimit' => ['type' => 'integer', 'format' => 'int32'], 'Conditions' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Region' => [ - 'type' => 'string', - ], - 'Province' => [ - 'type' => 'string', - ], - 'City' => [ - 'type' => 'string', - ], - 'Isp' => [ - 'type' => 'string', - ], - 'Amount' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'Region' => ['type' => 'string'], + 'Province' => ['type' => 'string'], + 'City' => ['type' => 'string'], + 'Isp' => ['type' => 'string'], + 'Amount' => ['type' => 'integer', 'format' => 'int32'], ], ], ], 'VpcConfig' => [ 'type' => 'object', 'properties' => [ - 'RegionId' => [ - 'type' => 'string', - ], - 'VSwitchId' => [ - 'type' => 'string', - ], - 'VSwitchName' => [ - 'type' => 'string', - ], - 'SecurityGroupId' => [ - 'type' => 'string', - ], - 'SecurityGroupName' => [ - 'type' => 'string', - ], - 'VpcId' => [ - 'type' => 'string', - ], - 'VpcName' => [ - 'type' => 'string', - ], + 'RegionId' => ['type' => 'string'], + 'VSwitchId' => ['type' => 'string'], + 'VSwitchName' => ['type' => 'string'], + 'SecurityGroupId' => ['type' => 'string'], + 'SecurityGroupName' => ['type' => 'string'], + 'VpcId' => ['type' => 'string'], + 'VpcName' => ['type' => 'string'], ], ], - 'ConditionSatisfiedExactly' => [ - 'type' => 'boolean', - ], + 'ConditionSatisfiedExactly' => ['type' => 'boolean'], ], ], - 'DataVersion' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'DataVersion' => ['type' => 'integer', 'format' => 'int64'], ], ], ], @@ -9308,22 +5012,14 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Code', - 'errorMessage' => 'The specified parameter is invalid.', - ], + ['errorCode' => 'Code', 'errorMessage' => 'The specified parameter is invalid.'], ], ], ], 'ListJMeterOperation' => [ 'summary' => '批量查询JMeter操作记录', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9334,52 +5030,33 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true], ], [ 'name' => 'SceneId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'BeginTime', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'schema' => ['type' => 'integer', 'format' => 'int64'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'schema' => ['type' => 'integer', 'format' => 'int64'], ], ], 'responses' => [ @@ -9392,90 +5069,41 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'SnapshotId' => [ - 'type' => 'string', - ], - 'ModifyTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'SceneId' => [ - 'type' => 'string', - ], - 'SceneName' => [ - 'type' => 'string', - ], - 'Uid' => [ - 'type' => 'string', - ], - 'Operator' => [ - 'type' => 'string', - ], - 'ModifyContent' => [ - 'type' => 'string', - ], - 'OperateType' => [ - 'type' => 'string', - ], - 'PlanId' => [ - 'type' => 'string', - ], + 'SnapshotId' => ['type' => 'string'], + 'ModifyTime' => ['type' => 'integer', 'format' => 'int64'], + 'SceneId' => ['type' => 'string'], + 'SceneName' => ['type' => 'string'], + 'Uid' => ['type' => 'string'], + 'Operator' => ['type' => 'string'], + 'ModifyContent' => ['type' => 'string'], + 'OperateType' => ['type' => 'string'], + 'PlanId' => ['type' => 'string'], ], ], ], - 'PageNumber' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'PageSize' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'TotalCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'DocumentUrl' => [ - 'type' => 'string', - ], + 'PageNumber' => ['type' => 'integer', 'format' => 'int32'], + 'PageSize' => ['type' => 'integer', 'format' => 'int32'], + 'TotalCount' => ['type' => 'integer', 'format' => 'int64'], + 'RequestId' => ['type' => 'string'], + 'Code' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'DocumentUrl' => ['type' => 'string'], ], ], ], ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Code', - 'errorMessage' => 'The specified parameter is invalid.', - ], + ['errorCode' => 'Code', 'errorMessage' => 'The specified parameter is invalid.'], ], ], ], 'DescribeJMeterReportChart' => [ 'summary' => '查看报告中的三个图标', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9495,18 +5123,13 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'ReportId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], 'responses' => [ @@ -9514,22 +5137,11 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], + 'RequestId' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], 'ChartData' => [ 'type' => 'object', 'properties' => [ @@ -9538,18 +5150,9 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Time' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Concurrency' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'ReqSuccessRate' => [ - 'type' => 'number', - 'format' => 'float', - ], + 'Time' => ['type' => 'integer', 'format' => 'int64'], + 'Concurrency' => ['type' => 'integer', 'format' => 'int32'], + 'ReqSuccessRate' => ['type' => 'number', 'format' => 'float'], ], ], ], @@ -9558,18 +5161,9 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Time' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Concurrency' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'AvgRt' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'Time' => ['type' => 'integer', 'format' => 'int64'], + 'Concurrency' => ['type' => 'integer', 'format' => 'int32'], + 'AvgRt' => ['type' => 'integer', 'format' => 'int32'], ], ], ], @@ -9578,18 +5172,9 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Time' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Concurrency' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Tps' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'Time' => ['type' => 'integer', 'format' => 'int64'], + 'Concurrency' => ['type' => 'integer', 'format' => 'int32'], + 'Tps' => ['type' => 'integer', 'format' => 'int32'], ], ], ], @@ -9601,23 +5186,14 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Code', - 'errorMessage' => 'The specified parameter is invalid.', - ], + ['errorCode' => 'Code', 'errorMessage' => 'The specified parameter is invalid.'], ], ], ], 'DescribeRunningChart' => [ 'summary' => '压测中,查询三个成功率,RT,并发,TPS三个主要图', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9637,26 +5213,18 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'SceneId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'PlanId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], 'responses' => [ @@ -9664,34 +5232,15 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Code' => [ - 'type' => 'string', - ], - 'DocumentUrl' => [ - 'type' => 'string', - ], - 'CodeKey' => [ - 'type' => 'string', - ], - 'DynamicCtx' => [ - 'type' => 'string', - ], - 'Mode' => [ - 'type' => 'string', - ], + 'Message' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'RequestId' => ['type' => 'string'], + 'Code' => ['type' => 'string'], + 'DocumentUrl' => ['type' => 'string'], + 'CodeKey' => ['type' => 'string'], + 'DynamicCtx' => ['type' => 'string'], + 'Mode' => ['type' => 'string'], 'ChartData' => [ 'type' => 'object', 'properties' => [ @@ -9700,26 +5249,11 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Time' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'BizSuccessRate' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'ReqSuccessRate' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'Concurrency' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Rps' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'Time' => ['type' => 'integer', 'format' => 'int64'], + 'BizSuccessRate' => ['type' => 'number', 'format' => 'float'], + 'ReqSuccessRate' => ['type' => 'number', 'format' => 'float'], + 'Concurrency' => ['type' => 'integer', 'format' => 'int32'], + 'Rps' => ['type' => 'integer', 'format' => 'int64'], ], ], ], @@ -9728,22 +5262,10 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Time' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'AvgRt' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Concurrency' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Rps' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'Time' => ['type' => 'integer', 'format' => 'int64'], + 'AvgRt' => ['type' => 'integer', 'format' => 'int32'], + 'Concurrency' => ['type' => 'integer', 'format' => 'int32'], + 'Rps' => ['type' => 'integer', 'format' => 'int64'], ], ], ], @@ -9752,22 +5274,10 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Time' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Tps' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'Concurrency' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Rps' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'Time' => ['type' => 'integer', 'format' => 'int64'], + 'Tps' => ['type' => 'number', 'format' => 'float'], + 'Concurrency' => ['type' => 'integer', 'format' => 'int32'], + 'Rps' => ['type' => 'integer', 'format' => 'int64'], ], ], ], @@ -9779,23 +5289,14 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Code', - 'errorMessage' => 'The specified parameter is invalid.', - ], + ['errorCode' => 'Code', 'errorMessage' => 'The specified parameter is invalid.'], ], ], ], 'DescribeCustomPool' => [ 'summary' => '查询定制资源池信息', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9806,17 +5307,13 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'Type', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['type' => 'string'], ], ], 'responses' => [ @@ -9824,43 +5321,21 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'type' => 'string', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'DocumentUrl' => [ - 'type' => 'string', - ], - 'IsValidCustomPool' => [ - 'type' => 'boolean', - ], + 'RequestId' => ['type' => 'string'], + 'Code' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'DocumentUrl' => ['type' => 'string'], + 'IsValidCustomPool' => ['type' => 'boolean'], 'ApplyViews' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Id' => [ - 'type' => 'string', - ], - 'CustomPoolName' => [ - 'type' => 'string', - ], - 'AgentCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'Id' => ['type' => 'string'], + 'CustomPoolName' => ['type' => 'string'], + 'AgentCount' => ['type' => 'integer', 'format' => 'int64'], ], ], ], @@ -9870,22 +5345,14 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Code', - 'errorMessage' => 'The specified parameter is invalid.', - ], + ['errorCode' => 'Code', 'errorMessage' => 'The specified parameter is invalid.'], ], ], ], 'DescribeJMeterRunningChart' => [ 'summary' => '查询JMeter运行中的三个图标数据', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9905,27 +5372,18 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'SceneId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], [ 'name' => 'PlanId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], 'responses' => [ @@ -9933,22 +5391,11 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], + 'Message' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], 'ChartData' => [ 'type' => 'object', 'properties' => [ @@ -9957,18 +5404,9 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Time' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'ReqSuccessRate' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'Concurrency' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'Time' => ['type' => 'integer', 'format' => 'int64'], + 'ReqSuccessRate' => ['type' => 'number', 'format' => 'float'], + 'Concurrency' => ['type' => 'integer', 'format' => 'int32'], ], ], ], @@ -9977,18 +5415,9 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Time' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'AvgRt' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Concurrency' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'Time' => ['type' => 'integer', 'format' => 'int64'], + 'AvgRt' => ['type' => 'integer', 'format' => 'int32'], + 'Concurrency' => ['type' => 'integer', 'format' => 'int32'], ], ], ], @@ -9997,18 +5426,9 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Time' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Tps' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Concurrency' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'Time' => ['type' => 'integer', 'format' => 'int64'], + 'Tps' => ['type' => 'integer', 'format' => 'int32'], + 'Concurrency' => ['type' => 'integer', 'format' => 'int32'], ], ], ], @@ -10020,22 +5440,14 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Code', - 'errorMessage' => 'The specified parameter is invalid.', - ], + ['errorCode' => 'Code', 'errorMessage' => 'The specified parameter is invalid.'], ], ], ], 'CreateSceneFromSnapshot' => [ 'summary' => '通过快照创建场景', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10046,26 +5458,18 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'SceneName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'SnapshotId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], 'responses' => [ @@ -10073,51 +5477,27 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'type' => 'string', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'DocumentUrl' => [ - 'type' => 'string', - ], - 'SceneId' => [ - 'type' => 'string', - ], + 'RequestId' => ['type' => 'string'], + 'Code' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'DocumentUrl' => ['type' => 'string'], + 'SceneId' => ['type' => 'string'], ], ], ], ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Code', - 'errorMessage' => 'The specified parameter is invalid.', - ], + ['errorCode' => 'Code', 'errorMessage' => 'The specified parameter is invalid.'], ], ], ], 'ListParameterizeFile' => [ 'summary' => '列出满足条件的参数文件', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10137,67 +5517,38 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'title' => '当前页码', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'maximum' => '2147483647', - 'minimum' => '1', - ], + 'schema' => ['title' => '当前页码', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '2147483647', 'minimum' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'title' => '页面大小', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'maximum' => '200', - 'minimum' => '1', - ], + 'schema' => ['title' => '页面大小', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '200', 'minimum' => '1'], ], [ 'name' => 'Keywords', 'in' => 'query', - 'schema' => [ - 'title' => '关键字', - 'type' => 'string', - ], + 'schema' => ['title' => '关键字', 'type' => 'string'], ], [ 'name' => 'SmallerFileLength', 'in' => 'query', - 'schema' => [ - 'title' => '最小文件大小', - 'type' => 'integer', - 'format' => 'int64', - ], + 'schema' => ['title' => '最小文件大小', 'type' => 'integer', 'format' => 'int64'], ], [ 'name' => 'LargerFileLength', 'in' => 'query', - 'schema' => [ - 'title' => '最大文件大小', - 'type' => 'integer', - 'format' => 'int64', - ], + 'schema' => ['title' => '最大文件大小', 'type' => 'integer', 'format' => 'int64'], ], [ 'name' => 'SceneId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['type' => 'string'], ], ], 'responses' => [ @@ -10205,84 +5556,32 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Code' => [ - 'type' => 'string', - ], - 'DocumentUrl' => [ - 'type' => 'string', - ], - 'PageNumber' => [ - 'title' => '当前页码', - 'type' => 'integer', - 'format' => 'int32', - ], - 'PageSize' => [ - 'title' => '页面大小', - 'type' => 'integer', - 'format' => 'int32', - ], - 'TotalCount' => [ - 'title' => '总数', - 'type' => 'integer', - 'format' => 'int64', - ], + 'Message' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'RequestId' => ['type' => 'string'], + 'Code' => ['type' => 'string'], + 'DocumentUrl' => ['type' => 'string'], + 'PageNumber' => ['title' => '当前页码', 'type' => 'integer', 'format' => 'int32'], + 'PageSize' => ['title' => '页面大小', 'type' => 'integer', 'format' => 'int32'], + 'TotalCount' => ['title' => '总数', 'type' => 'integer', 'format' => 'int64'], 'ParameterizeFiles' => [ 'title' => '参数文件', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'FileId' => [ - 'title' => '文件ID', - 'type' => 'integer', - 'format' => 'int64', - ], - 'FileName' => [ - 'title' => '文件名', - 'type' => 'string', - ], - 'FileKey' => [ - 'title' => '文件key', - 'type' => 'string', - ], - 'CreateName' => [ - 'title' => '创建者名', - 'type' => 'string', - ], - 'ModifyTime' => [ - 'title' => '修改时间', - 'type' => 'integer', - 'format' => 'int64', - ], - 'Length' => [ - 'title' => '文件大小', - 'type' => 'integer', - 'format' => 'int64', - ], - 'LineCount' => [ - 'title' => '文件总行数', - 'type' => 'integer', - 'format' => 'int64', - ], + 'FileId' => ['title' => '文件ID', 'type' => 'integer', 'format' => 'int64'], + 'FileName' => ['title' => '文件名', 'type' => 'string'], + 'FileKey' => ['title' => '文件key', 'type' => 'string'], + 'CreateName' => ['title' => '创建者名', 'type' => 'string'], + 'ModifyTime' => ['title' => '修改时间', 'type' => 'integer', 'format' => 'int64'], + 'Length' => ['title' => '文件大小', 'type' => 'integer', 'format' => 'int64'], + 'LineCount' => ['title' => '文件总行数', 'type' => 'integer', 'format' => 'int64'], 'Columns' => [ 'title' => '默认参数名', 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], 'Scenes' => [ 'title' => '引用的场景', @@ -10290,52 +5589,20 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'SceneId' => [ - 'title' => '场景id', - 'type' => 'string', - ], - 'SceneName' => [ - 'title' => '场景名', - 'type' => 'string', - ], - 'SceneType' => [ - 'title' => '场景类型', - 'type' => 'string', - ], + 'SceneId' => ['title' => '场景id', 'type' => 'string'], + 'SceneName' => ['title' => '场景名', 'type' => 'string'], + 'SceneType' => ['title' => '场景类型', 'type' => 'string'], ], ], ], - 'OssUrl' => [ - 'title' => '存储在oss的地址', - 'type' => 'string', - ], - 'HeadLines' => [ - 'title' => '文件前三行内容', - 'type' => 'string', - ], - 'TailLines' => [ - 'title' => '文件尾三行内容', - 'type' => 'string', - ], - 'Delimiter' => [ - 'title' => '分隔符', - 'type' => 'string', - ], - 'IsSkipFirstLine' => [ - 'title' => '是否跳过首行', - 'type' => 'boolean', - ], - 'ProcessedLineCount' => [ - 'title' => '文件处理后的总行数', - 'type' => 'number', - 'format' => 'float', - ], - 'OriginalSource' => [ - 'type' => 'string', - ], - 'AutoRefresh' => [ - 'type' => 'boolean', - ], + 'OssUrl' => ['title' => '存储在oss的地址', 'type' => 'string'], + 'HeadLines' => ['title' => '文件前三行内容', 'type' => 'string'], + 'TailLines' => ['title' => '文件尾三行内容', 'type' => 'string'], + 'Delimiter' => ['title' => '分隔符', 'type' => 'string'], + 'IsSkipFirstLine' => ['title' => '是否跳过首行', 'type' => 'boolean'], + 'ProcessedLineCount' => ['title' => '文件处理后的总行数', 'type' => 'number', 'format' => 'float'], + 'OriginalSource' => ['type' => 'string'], + 'AutoRefresh' => ['type' => 'boolean'], ], ], ], @@ -10345,23 +5612,14 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Code', - 'errorMessage' => 'The specified parameter is invalid.', - ], + ['errorCode' => 'Code', 'errorMessage' => 'The specified parameter is invalid.'], ], ], ], 'ListOssAddresses' => [ 'summary' => '列出oss地址', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10381,34 +5639,18 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'title' => '当前页码', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'maximum' => '2147483647', - 'minimum' => '1', - ], + 'schema' => ['title' => '当前页码', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '2147483647', 'minimum' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'title' => '页面大小', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'maximum' => '2147483647', - 'minimum' => '1', - ], + 'schema' => ['title' => '页面大小', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '2147483647', 'minimum' => '1'], ], ], 'responses' => [ @@ -10416,70 +5658,27 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Code' => [ - 'type' => 'string', - ], - 'DocumentUrl' => [ - 'type' => 'string', - ], - 'PageNumber' => [ - 'title' => '当前页码', - 'type' => 'integer', - 'format' => 'int32', - ], - 'PageSize' => [ - 'title' => '页面大小', - 'type' => 'integer', - 'format' => 'int32', - ], - 'TotalCount' => [ - 'title' => '总数', - 'type' => 'integer', - 'format' => 'int64', - ], + 'Message' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'RequestId' => ['type' => 'string'], + 'Code' => ['type' => 'string'], + 'DocumentUrl' => ['type' => 'string'], + 'PageNumber' => ['title' => '当前页码', 'type' => 'integer', 'format' => 'int32'], + 'PageSize' => ['title' => '页面大小', 'type' => 'integer', 'format' => 'int32'], + 'TotalCount' => ['title' => '总数', 'type' => 'integer', 'format' => 'int64'], 'OssAddresses' => [ 'title' => '参数文件集合', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Id' => [ - 'title' => '文件ID', - 'type' => 'integer', - 'format' => 'int64', - ], - 'OssUrl' => [ - 'title' => '存储在oss的地址', - 'type' => 'string', - ], - 'CreateTime' => [ - 'title' => '创建时间', - 'type' => 'integer', - 'format' => 'int64', - ], - 'Bucket' => [ - 'type' => 'string', - ], - 'Endpoint' => [ - 'type' => 'string', - ], - 'FileName' => [ - 'title' => '文件名', - 'type' => 'string', - ], + 'Id' => ['title' => '文件ID', 'type' => 'integer', 'format' => 'int64'], + 'OssUrl' => ['title' => '存储在oss的地址', 'type' => 'string'], + 'CreateTime' => ['title' => '创建时间', 'type' => 'integer', 'format' => 'int64'], + 'Bucket' => ['type' => 'string'], + 'Endpoint' => ['type' => 'string'], + 'FileName' => ['title' => '文件名', 'type' => 'string'], ], ], ], @@ -10489,22 +5688,14 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Code', - 'errorMessage' => 'The specified parameter is invalid.', - ], + ['errorCode' => 'Code', 'errorMessage' => 'The specified parameter is invalid.'], ], ], ], 'CreateHttpInterface' => [ 'summary' => '新建时保存接口', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10524,9 +5715,7 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ @@ -10543,99 +5732,37 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Type' => [ - 'title' => 'type', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'Value' => [ - 'title' => 'value', - 'type' => 'string', - 'required' => false, - ], - 'Name' => [ - 'title' => 'name', - 'type' => 'string', - 'required' => false, - ], + 'Type' => ['title' => 'type', 'type' => 'integer', 'format' => 'int32', 'required' => false], + 'Value' => ['title' => 'value', 'type' => 'string', 'required' => false], + 'Name' => ['title' => 'name', 'type' => 'string', 'required' => false], ], ], 'required' => false, ], - 'RedirectCountLimit' => [ - 'title' => 'redirectCountLimit', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'CollectionId' => [ - 'title' => 'collectionId', - 'type' => 'string', - ], - 'Method' => [ - 'title' => 'method', - 'type' => 'string', - 'required' => false, - ], - 'Url' => [ - 'title' => 'url', - 'type' => 'string', - 'required' => false, - ], - 'Name' => [ - 'title' => 'name', - 'type' => 'string', - 'required' => false, - ], - 'TimeoutInMilliSeconds' => [ - 'title' => 'timeoutInMilliSeconds', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'RedirectCountLimit' => ['title' => 'redirectCountLimit', 'type' => 'integer', 'format' => 'int32', 'required' => false], + 'CollectionId' => ['title' => 'collectionId', 'type' => 'string'], + 'Method' => ['title' => 'method', 'type' => 'string', 'required' => false], + 'Url' => ['title' => 'url', 'type' => 'string', 'required' => false], + 'Name' => ['title' => 'name', 'type' => 'string', 'required' => false], + 'TimeoutInMilliSeconds' => ['title' => 'timeoutInMilliSeconds', 'type' => 'integer', 'format' => 'int32', 'required' => false], 'CheckPoints' => [ 'title' => 'checkPoints', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Type' => [ - 'title' => 'type', - 'type' => 'string', - 'required' => false, - ], - 'Point' => [ - 'title' => 'point', - 'type' => 'string', - 'required' => false, - ], + 'Type' => ['title' => 'type', 'type' => 'string', 'required' => false], + 'Point' => ['title' => 'point', 'type' => 'string', 'required' => false], 'Checkers' => [ 'title' => 'checkers', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Operator' => [ - 'title' => 'operator', - 'type' => 'string', - 'required' => false, - ], - 'RealValue' => [ - 'title' => 'realValue', - 'type' => 'string', - 'required' => false, - ], - 'ParsedExpectValue' => [ - 'title' => 'parsedExpectValue', - 'type' => 'string', - 'required' => false, - ], - 'ExpectValue' => [ - 'title' => 'expectValue', - 'type' => 'string', - 'required' => false, - ], + 'Operator' => ['title' => 'operator', 'type' => 'string', 'required' => false], + 'RealValue' => ['title' => 'realValue', 'type' => 'string', 'required' => false], + 'ParsedExpectValue' => ['title' => 'parsedExpectValue', 'type' => 'string', 'required' => false], + 'ExpectValue' => ['title' => 'expectValue', 'type' => 'string', 'required' => false], ], ], 'required' => false, @@ -10656,22 +5783,10 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Name' => [ - 'title' => 'name', - 'type' => 'string', - ], - 'Type' => [ - 'title' => 'type', - 'type' => 'string', - ], - 'Value' => [ - 'title' => 'value', - 'type' => 'string', - ], - 'Count' => [ - 'title' => 'count', - 'type' => 'string', - ], + 'Name' => ['title' => 'name', 'type' => 'string'], + 'Type' => ['title' => 'type', 'type' => 'string'], + 'Value' => ['title' => 'value', 'type' => 'string'], + 'Count' => ['title' => 'count', 'type' => 'string'], ], ], ], @@ -10682,25 +5797,13 @@ 'title' => 'body', 'type' => 'object', 'properties' => [ - 'ContentType' => [ - 'title' => 'contentType', - 'type' => 'string', - 'required' => false, - ], - 'Value' => [ - 'title' => 'value', - 'type' => 'string', - 'required' => false, - ], + 'ContentType' => ['title' => 'contentType', 'type' => 'string', 'required' => false], + 'Value' => ['title' => 'value', 'type' => 'string', 'required' => false], ], 'required' => false, ], - 'PreNodes' => [ - 'type' => 'string', - ], - 'PostNodes' => [ - 'type' => 'string', - ], + 'PreNodes' => ['type' => 'string'], + 'PostNodes' => ['type' => 'string'], ], 'required' => false, ], @@ -10712,39 +5815,14 @@ 'title' => 'result', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'title' => 'message', - 'type' => 'string', - ], - 'RequestId' => [ - 'title' => 'requestId', - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'title' => 'httpStatusCode', - 'type' => 'integer', - 'format' => 'int32', - ], - 'DocumentUrl' => [ - 'title' => 'documentUrl', - 'type' => 'string', - ], - 'CodeKey' => [ - 'title' => 'codeKey', - 'type' => 'string', - ], - 'InterfaceId' => [ - 'title' => 'interfaceId', - 'type' => 'string', - ], - 'Code' => [ - 'title' => 'code', - 'type' => 'string', - ], - 'Success' => [ - 'title' => 'success', - 'type' => 'boolean', - ], + 'Message' => ['title' => 'message', 'type' => 'string'], + 'RequestId' => ['title' => 'requestId', 'type' => 'string'], + 'HttpStatusCode' => ['title' => 'httpStatusCode', 'type' => 'integer', 'format' => 'int32'], + 'DocumentUrl' => ['title' => 'documentUrl', 'type' => 'string'], + 'CodeKey' => ['title' => 'codeKey', 'type' => 'string'], + 'InterfaceId' => ['title' => 'interfaceId', 'type' => 'string'], + 'Code' => ['title' => 'code', 'type' => 'string'], + 'Success' => ['title' => 'success', 'type' => 'boolean'], ], ], ], @@ -10752,14 +5830,8 @@ ], 'ConvertInterfaceToScene' => [ 'summary' => '接口转换场景', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10779,9 +5851,7 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ @@ -10791,9 +5861,7 @@ 'schema' => [ 'title' => 'interfaceIds', 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], 'required' => true, ], ], @@ -10804,39 +5872,14 @@ 'title' => 'result', 'type' => 'object', 'properties' => [ - 'SceneId' => [ - 'title' => 'sceneId', - 'type' => 'string', - ], - 'Message' => [ - 'title' => 'message', - 'type' => 'string', - ], - 'RequestId' => [ - 'title' => 'requestId', - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'title' => 'httpStatusCode', - 'type' => 'integer', - 'format' => 'int32', - ], - 'DocumentUrl' => [ - 'title' => 'documentUrl', - 'type' => 'string', - ], - 'CodeKey' => [ - 'title' => 'codeKey', - 'type' => 'string', - ], - 'Code' => [ - 'title' => 'code', - 'type' => 'string', - ], - 'Success' => [ - 'title' => 'success', - 'type' => 'boolean', - ], + 'SceneId' => ['title' => 'sceneId', 'type' => 'string'], + 'Message' => ['title' => 'message', 'type' => 'string'], + 'RequestId' => ['title' => 'requestId', 'type' => 'string'], + 'HttpStatusCode' => ['title' => 'httpStatusCode', 'type' => 'integer', 'format' => 'int32'], + 'DocumentUrl' => ['title' => 'documentUrl', 'type' => 'string'], + 'CodeKey' => ['title' => 'codeKey', 'type' => 'string'], + 'Code' => ['title' => 'code', 'type' => 'string'], + 'Success' => ['title' => 'success', 'type' => 'boolean'], ], ], ], @@ -10844,13 +5887,8 @@ ], 'RemoveHttpInterface' => [ 'summary' => '删除接口', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10869,19 +5907,13 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'InterfaceId', 'in' => 'query', - 'schema' => [ - 'title' => 'interfaceId', - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['title' => 'interfaceId', 'type' => 'string', 'required' => false], ], ], 'responses' => [ @@ -10890,35 +5922,13 @@ 'title' => 'result', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'title' => 'message', - 'type' => 'string', - ], - 'RequestId' => [ - 'title' => 'requestId', - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'title' => 'httpStatusCode', - 'type' => 'integer', - 'format' => 'int32', - ], - 'DocumentUrl' => [ - 'title' => 'documentUrl', - 'type' => 'string', - ], - 'CodeKey' => [ - 'title' => 'codeKey', - 'type' => 'string', - ], - 'Code' => [ - 'title' => 'code', - 'type' => 'string', - ], - 'Success' => [ - 'title' => 'success', - 'type' => 'boolean', - ], + 'Message' => ['title' => 'message', 'type' => 'string'], + 'RequestId' => ['title' => 'requestId', 'type' => 'string'], + 'HttpStatusCode' => ['title' => 'httpStatusCode', 'type' => 'integer', 'format' => 'int32'], + 'DocumentUrl' => ['title' => 'documentUrl', 'type' => 'string'], + 'CodeKey' => ['title' => 'codeKey', 'type' => 'string'], + 'Code' => ['title' => 'code', 'type' => 'string'], + 'Success' => ['title' => 'success', 'type' => 'boolean'], ], ], ], @@ -10926,14 +5936,8 @@ ], 'ConvertHarToScene' => [ 'summary' => 'har转换场景', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10953,19 +5957,13 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'OssUrl', 'in' => 'query', - 'schema' => [ - 'title' => 'ossUrl', - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['title' => 'ossUrl', 'type' => 'string', 'required' => false], ], ], 'responses' => [ @@ -10974,39 +5972,14 @@ 'title' => 'result', 'type' => 'object', 'properties' => [ - 'SceneId' => [ - 'title' => 'sceneId', - 'type' => 'string', - ], - 'Message' => [ - 'title' => 'message', - 'type' => 'string', - ], - 'RequestId' => [ - 'title' => 'requestId', - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'title' => 'httpStatusCode', - 'type' => 'integer', - 'format' => 'int32', - ], - 'DocumentUrl' => [ - 'title' => 'documentUrl', - 'type' => 'string', - ], - 'CodeKey' => [ - 'title' => 'codeKey', - 'type' => 'string', - ], - 'Code' => [ - 'title' => 'code', - 'type' => 'string', - ], - 'Success' => [ - 'title' => 'success', - 'type' => 'boolean', - ], + 'SceneId' => ['title' => 'sceneId', 'type' => 'string'], + 'Message' => ['title' => 'message', 'type' => 'string'], + 'RequestId' => ['title' => 'requestId', 'type' => 'string'], + 'HttpStatusCode' => ['title' => 'httpStatusCode', 'type' => 'integer', 'format' => 'int32'], + 'DocumentUrl' => ['title' => 'documentUrl', 'type' => 'string'], + 'CodeKey' => ['title' => 'codeKey', 'type' => 'string'], + 'Code' => ['title' => 'code', 'type' => 'string'], + 'Success' => ['title' => 'success', 'type' => 'boolean'], ], ], ], @@ -11014,14 +5987,8 @@ ], 'DescribeInterfaceSamplingLog' => [ 'summary' => '查询发送接口响应,参考调试场景DescribeSamplingLog', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11041,19 +6008,13 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'PlanId', 'in' => 'query', - 'schema' => [ - 'title' => 'planId', - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['title' => 'planId', 'type' => 'string', 'required' => true], ], ], 'responses' => [ @@ -11066,123 +6027,36 @@ 'title' => 'samplingLog', 'type' => 'object', 'properties' => [ - 'HttpRequestMethod' => [ - 'title' => 'httpRequestMethod', - 'type' => 'string', - ], - 'TransId' => [ - 'title' => 'trans_id', - 'type' => 'string', - ], - 'HttpResponseStatus' => [ - 'title' => 'httpResponseStatus', - 'type' => 'string', - ], - 'Timestamp' => [ - 'title' => 'timestamp', - 'type' => 'integer', - 'format' => 'int64', - ], - 'ExportConfig' => [ - 'title' => 'exportConfig', - 'type' => 'string', - ], - 'HttpResponseFailMsg' => [ - 'title' => 'httpResponseFailMsg', - 'type' => 'string', - ], - 'CheckResult' => [ - 'title' => 'checkResult', - 'type' => 'string', - ], - 'HttpResponseBody' => [ - 'title' => 'httpResponseBody', - 'type' => 'string', - ], - 'ChainId' => [ - 'title' => 'chainId', - 'type' => 'string', - ], - 'HttpRequestHeaders' => [ - 'title' => 'httpRequestHeaders', - 'type' => 'string', - ], - 'Rt' => [ - 'title' => 'rt', - 'type' => 'string', - ], - 'HttpResponseHeaders' => [ - 'title' => 'httpResponseHeaders', - 'type' => 'string', - ], - 'HttpStartTime' => [ - 'title' => 'httpStartTime', - 'type' => 'integer', - 'format' => 'int64', - ], - 'ExportContent' => [ - 'title' => 'exportContent', - 'type' => 'string', - ], - 'ImportContent' => [ - 'title' => 'importContent', - 'type' => 'string', - ], - 'HttpTiming' => [ - 'title' => 'httpTiming', - 'type' => 'string', - ], - 'GroupTag' => [ - 'title' => 'groupTag', - 'type' => 'integer', - 'format' => 'int32', - ], - 'HttpRequestBody' => [ - 'title' => 'httpRequestBody', - 'type' => 'string', - ], - 'NodeId' => [ - 'title' => 'nodeId', - 'type' => 'string', - ], - 'HttpRequestUrl' => [ - 'type' => 'string', - ], + 'HttpRequestMethod' => ['title' => 'httpRequestMethod', 'type' => 'string'], + 'TransId' => ['title' => 'trans_id', 'type' => 'string'], + 'HttpResponseStatus' => ['title' => 'httpResponseStatus', 'type' => 'string'], + 'Timestamp' => ['title' => 'timestamp', 'type' => 'integer', 'format' => 'int64'], + 'ExportConfig' => ['title' => 'exportConfig', 'type' => 'string'], + 'HttpResponseFailMsg' => ['title' => 'httpResponseFailMsg', 'type' => 'string'], + 'CheckResult' => ['title' => 'checkResult', 'type' => 'string'], + 'HttpResponseBody' => ['title' => 'httpResponseBody', 'type' => 'string'], + 'ChainId' => ['title' => 'chainId', 'type' => 'string'], + 'HttpRequestHeaders' => ['title' => 'httpRequestHeaders', 'type' => 'string'], + 'Rt' => ['title' => 'rt', 'type' => 'string'], + 'HttpResponseHeaders' => ['title' => 'httpResponseHeaders', 'type' => 'string'], + 'HttpStartTime' => ['title' => 'httpStartTime', 'type' => 'integer', 'format' => 'int64'], + 'ExportContent' => ['title' => 'exportContent', 'type' => 'string'], + 'ImportContent' => ['title' => 'importContent', 'type' => 'string'], + 'HttpTiming' => ['title' => 'httpTiming', 'type' => 'string'], + 'GroupTag' => ['title' => 'groupTag', 'type' => 'integer', 'format' => 'int32'], + 'HttpRequestBody' => ['title' => 'httpRequestBody', 'type' => 'string'], + 'NodeId' => ['title' => 'nodeId', 'type' => 'string'], + 'HttpRequestUrl' => ['type' => 'string'], ], ], - 'Finished' => [ - 'title' => 'finished', - 'type' => 'boolean', - ], - 'Message' => [ - 'title' => 'message', - 'type' => 'string', - ], - 'RequestId' => [ - 'title' => 'requestId', - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'title' => 'httpStatusCode', - 'type' => 'integer', - 'format' => 'int32', - ], - 'DocumentUrl' => [ - 'title' => 'documentUrl', - 'type' => 'string', - ], - 'CodeKey' => [ - 'title' => 'codeKey', - 'type' => 'string', - ], - 'Code' => [ - 'title' => 'code', - 'type' => 'string', - ], - 'Success' => [ - 'title' => 'success', - 'type' => 'boolean', - ], + 'Finished' => ['title' => 'finished', 'type' => 'boolean'], + 'Message' => ['title' => 'message', 'type' => 'string'], + 'RequestId' => ['title' => 'requestId', 'type' => 'string'], + 'HttpStatusCode' => ['title' => 'httpStatusCode', 'type' => 'integer', 'format' => 'int32'], + 'DocumentUrl' => ['title' => 'documentUrl', 'type' => 'string'], + 'CodeKey' => ['title' => 'codeKey', 'type' => 'string'], + 'Code' => ['title' => 'code', 'type' => 'string'], + 'Success' => ['title' => 'success', 'type' => 'boolean'], ], ], ], @@ -11190,14 +6064,8 @@ ], 'ListHttpInterfaces' => [ 'summary' => '分页查询接口列表', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11217,56 +6085,33 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'title' => 'pageNumber', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['title' => 'pageNumber', 'type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'Method', 'in' => 'query', - 'schema' => [ - 'title' => 'method', - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['title' => 'method', 'type' => 'string', 'required' => false], ], [ 'name' => 'CollectionId', 'in' => 'query', - 'schema' => [ - 'title' => 'collectionId', - 'type' => 'string', - ], + 'schema' => ['title' => 'collectionId', 'type' => 'string'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'title' => 'pageSize', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['title' => 'pageSize', 'type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'Keyword', 'in' => 'query', - 'schema' => [ - 'title' => 'keyword', - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['title' => 'keyword', 'type' => 'string', 'required' => false], ], ], 'responses' => [ @@ -11281,120 +6126,54 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'CreatorId' => [ - 'title' => 'creatorId', - 'type' => 'string', - ], + 'CreatorId' => ['title' => 'creatorId', 'type' => 'string'], 'Headers' => [ 'title' => 'headers', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Type' => [ - 'title' => 'type', - 'type' => 'integer', - 'format' => 'int32', - ], - 'Value' => [ - 'title' => 'value', - 'type' => 'string', - ], - 'Name' => [ - 'title' => 'name', - 'type' => 'string', - ], + 'Type' => ['title' => 'type', 'type' => 'integer', 'format' => 'int32'], + 'Value' => ['title' => 'value', 'type' => 'string'], + 'Name' => ['title' => 'name', 'type' => 'string'], ], ], ], - 'RedirectCountLimit' => [ - 'title' => 'redirectCountLimit', - 'type' => 'integer', - 'format' => 'int32', - ], - 'RecordRequestId' => [ - 'title' => 'recordRequestId', - 'type' => 'string', - ], - 'Method' => [ - 'title' => 'method', - 'type' => 'string', - ], - 'Url' => [ - 'title' => 'url', - 'type' => 'string', - ], - 'Source' => [ - 'title' => 'source', - 'type' => 'string', - ], - 'Name' => [ - 'title' => 'name', - 'type' => 'string', - ], - 'TimeoutInMilliSeconds' => [ - 'title' => 'timeoutInMilliSeconds', - 'type' => 'integer', - 'format' => 'int32', - ], - 'AccessId' => [ - 'title' => 'accessId', - 'type' => 'string', - ], - 'Id' => [ - 'title' => 'id', - 'type' => 'string', - ], + 'RedirectCountLimit' => ['title' => 'redirectCountLimit', 'type' => 'integer', 'format' => 'int32'], + 'RecordRequestId' => ['title' => 'recordRequestId', 'type' => 'string'], + 'Method' => ['title' => 'method', 'type' => 'string'], + 'Url' => ['title' => 'url', 'type' => 'string'], + 'Source' => ['title' => 'source', 'type' => 'string'], + 'Name' => ['title' => 'name', 'type' => 'string'], + 'TimeoutInMilliSeconds' => ['title' => 'timeoutInMilliSeconds', 'type' => 'integer', 'format' => 'int32'], + 'AccessId' => ['title' => 'accessId', 'type' => 'string'], + 'Id' => ['title' => 'id', 'type' => 'string'], 'CheckPoints' => [ 'title' => 'checkPoints', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Type' => [ - 'title' => 'type', - 'type' => 'string', - ], - 'Point' => [ - 'title' => 'point', - 'type' => 'string', - ], + 'Type' => ['title' => 'type', 'type' => 'string'], + 'Point' => ['title' => 'point', 'type' => 'string'], 'Checkers' => [ 'title' => 'checkers', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Operator' => [ - 'title' => 'operator', - 'type' => 'string', - ], - 'RealValue' => [ - 'title' => 'realValue', - 'type' => 'string', - ], - 'ParsedExpectValue' => [ - 'title' => 'parsedExpectValue', - 'type' => 'string', - ], - 'ExpectValue' => [ - 'title' => 'expectValue', - 'type' => 'string', - ], + 'Operator' => ['title' => 'operator', 'type' => 'string'], + 'RealValue' => ['title' => 'realValue', 'type' => 'string'], + 'ParsedExpectValue' => ['title' => 'parsedExpectValue', 'type' => 'string'], + 'ExpectValue' => ['title' => 'expectValue', 'type' => 'string'], ], ], ], ], ], ], - 'RecordTaskId' => [ - 'title' => 'recordTaskId', - 'type' => 'string', - ], - 'Protocol' => [ - 'title' => 'protocol', - 'type' => 'string', - ], + 'RecordTaskId' => ['title' => 'recordTaskId', 'type' => 'string'], + 'Protocol' => ['title' => 'protocol', 'type' => 'string'], 'PostActions' => [ 'title' => 'postActions', 'type' => 'array', @@ -11407,22 +6186,10 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Name' => [ - 'title' => 'name', - 'type' => 'string', - ], - 'Type' => [ - 'title' => 'type', - 'type' => 'string', - ], - 'Value' => [ - 'title' => 'value', - 'type' => 'string', - ], - 'Count' => [ - 'title' => 'count', - 'type' => 'string', - ], + 'Name' => ['title' => 'name', 'type' => 'string'], + 'Type' => ['title' => 'type', 'type' => 'string'], + 'Value' => ['title' => 'value', 'type' => 'string'], + 'Count' => ['title' => 'count', 'type' => 'string'], ], ], ], @@ -11433,74 +6200,26 @@ 'title' => 'body', 'type' => 'object', 'properties' => [ - 'ContentType' => [ - 'title' => 'contentType', - 'type' => 'string', - ], - 'Value' => [ - 'title' => 'value', - 'type' => 'string', - ], + 'ContentType' => ['title' => 'contentType', 'type' => 'string'], + 'Value' => ['title' => 'value', 'type' => 'string'], ], ], - 'BindSceneCount' => [ - 'title' => 'bindSceneCount', - 'type' => 'integer', - 'format' => 'int32', - ], - 'PreNodes' => [ - 'type' => 'string', - ], - 'PostNodes' => [ - 'type' => 'string', - ], + 'BindSceneCount' => ['title' => 'bindSceneCount', 'type' => 'integer', 'format' => 'int32'], + 'PreNodes' => ['type' => 'string'], + 'PostNodes' => ['type' => 'string'], ], ], ], - 'TotalCount' => [ - 'title' => 'totalCount', - 'type' => 'integer', - 'format' => 'int64', - ], - 'Message' => [ - 'title' => 'message', - 'type' => 'string', - ], - 'PageSize' => [ - 'title' => 'pageSize', - 'type' => 'integer', - 'format' => 'int32', - ], - 'RequestId' => [ - 'title' => 'requestId', - 'type' => 'string', - ], - 'PageNumber' => [ - 'title' => 'pageNumber', - 'type' => 'integer', - 'format' => 'int32', - ], - 'HttpStatusCode' => [ - 'title' => 'httpStatusCode', - 'type' => 'integer', - 'format' => 'int32', - ], - 'DocumentUrl' => [ - 'title' => 'documentUrl', - 'type' => 'string', - ], - 'CodeKey' => [ - 'title' => 'codeKey', - 'type' => 'string', - ], - 'Code' => [ - 'title' => 'code', - 'type' => 'string', - ], - 'Success' => [ - 'title' => 'success', - 'type' => 'boolean', - ], + 'TotalCount' => ['title' => 'totalCount', 'type' => 'integer', 'format' => 'int64'], + 'Message' => ['title' => 'message', 'type' => 'string'], + 'PageSize' => ['title' => 'pageSize', 'type' => 'integer', 'format' => 'int32'], + 'RequestId' => ['title' => 'requestId', 'type' => 'string'], + 'PageNumber' => ['title' => 'pageNumber', 'type' => 'integer', 'format' => 'int32'], + 'HttpStatusCode' => ['title' => 'httpStatusCode', 'type' => 'integer', 'format' => 'int32'], + 'DocumentUrl' => ['title' => 'documentUrl', 'type' => 'string'], + 'CodeKey' => ['title' => 'codeKey', 'type' => 'string'], + 'Code' => ['title' => 'code', 'type' => 'string'], + 'Success' => ['title' => 'success', 'type' => 'boolean'], ], ], ], @@ -11508,13 +6227,8 @@ ], 'SaveHttpInterface' => [ 'summary' => '编辑后保存接口', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11534,9 +6248,7 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ @@ -11553,105 +6265,38 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Type' => [ - 'title' => 'type', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'Value' => [ - 'title' => 'value', - 'type' => 'string', - 'required' => false, - ], - 'Name' => [ - 'title' => 'name', - 'type' => 'string', - 'required' => false, - ], + 'Type' => ['title' => 'type', 'type' => 'integer', 'format' => 'int32', 'required' => false], + 'Value' => ['title' => 'value', 'type' => 'string', 'required' => false], + 'Name' => ['title' => 'name', 'type' => 'string', 'required' => false], ], ], 'required' => false, ], - 'RedirectCountLimit' => [ - 'title' => 'redirectCountLimit', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'Method' => [ - 'title' => 'method', - 'type' => 'string', - 'required' => false, - ], - 'Url' => [ - 'title' => 'url', - 'type' => 'string', - 'required' => false, - ], - 'Name' => [ - 'title' => 'name', - 'type' => 'string', - 'required' => false, - ], - 'TimeoutInMilliSeconds' => [ - 'title' => 'timeoutInMilliSeconds', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'AccessId' => [ - 'title' => 'accessId', - 'type' => 'string', - 'required' => false, - ], - 'Id' => [ - 'title' => 'id', - 'type' => 'string', - 'required' => false, - ], + 'RedirectCountLimit' => ['title' => 'redirectCountLimit', 'type' => 'integer', 'format' => 'int32', 'required' => false], + 'Method' => ['title' => 'method', 'type' => 'string', 'required' => false], + 'Url' => ['title' => 'url', 'type' => 'string', 'required' => false], + 'Name' => ['title' => 'name', 'type' => 'string', 'required' => false], + 'TimeoutInMilliSeconds' => ['title' => 'timeoutInMilliSeconds', 'type' => 'integer', 'format' => 'int32', 'required' => false], + 'AccessId' => ['title' => 'accessId', 'type' => 'string', 'required' => false], + 'Id' => ['title' => 'id', 'type' => 'string', 'required' => false], 'CheckPoints' => [ 'title' => 'checkPoints', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Type' => [ - 'title' => 'type', - 'type' => 'string', - 'required' => false, - ], - 'Point' => [ - 'title' => 'point', - 'type' => 'string', - 'required' => false, - ], + 'Type' => ['title' => 'type', 'type' => 'string', 'required' => false], + 'Point' => ['title' => 'point', 'type' => 'string', 'required' => false], 'Checkers' => [ 'title' => 'checkers', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Operator' => [ - 'title' => 'operator', - 'type' => 'string', - 'required' => false, - ], - 'RealValue' => [ - 'title' => 'realValue', - 'type' => 'string', - 'required' => false, - ], - 'ParsedExpectValue' => [ - 'title' => 'parsedExpectValue', - 'type' => 'string', - 'required' => false, - ], - 'ExpectValue' => [ - 'title' => 'expectValue', - 'type' => 'string', - 'required' => false, - ], + 'Operator' => ['title' => 'operator', 'type' => 'string', 'required' => false], + 'RealValue' => ['title' => 'realValue', 'type' => 'string', 'required' => false], + 'ParsedExpectValue' => ['title' => 'parsedExpectValue', 'type' => 'string', 'required' => false], + 'ExpectValue' => ['title' => 'expectValue', 'type' => 'string', 'required' => false], ], ], 'required' => false, @@ -11660,11 +6305,7 @@ ], 'required' => false, ], - 'Protocol' => [ - 'title' => 'protocol', - 'type' => 'string', - 'required' => false, - ], + 'Protocol' => ['title' => 'protocol', 'type' => 'string', 'required' => false], 'PostActions' => [ 'title' => 'postActions', 'type' => 'array', @@ -11677,22 +6318,10 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Name' => [ - 'title' => 'name', - 'type' => 'string', - ], - 'Type' => [ - 'title' => 'type', - 'type' => 'string', - ], - 'Value' => [ - 'title' => 'value', - 'type' => 'string', - ], - 'Count' => [ - 'title' => 'count', - 'type' => 'string', - ], + 'Name' => ['title' => 'name', 'type' => 'string'], + 'Type' => ['title' => 'type', 'type' => 'string'], + 'Value' => ['title' => 'value', 'type' => 'string'], + 'Count' => ['title' => 'count', 'type' => 'string'], ], ], ], @@ -11703,25 +6332,13 @@ 'title' => 'body', 'type' => 'object', 'properties' => [ - 'ContentType' => [ - 'title' => 'contentType', - 'type' => 'string', - 'required' => false, - ], - 'Value' => [ - 'title' => 'value', - 'type' => 'string', - 'required' => false, - ], + 'ContentType' => ['title' => 'contentType', 'type' => 'string', 'required' => false], + 'Value' => ['title' => 'value', 'type' => 'string', 'required' => false], ], 'required' => false, ], - 'PreNodes' => [ - 'type' => 'string', - ], - 'PostNodes' => [ - 'type' => 'string', - ], + 'PreNodes' => ['type' => 'string'], + 'PostNodes' => ['type' => 'string'], ], 'required' => false, ], @@ -11733,39 +6350,14 @@ 'title' => 'result', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'title' => 'message', - 'type' => 'string', - ], - 'RequestId' => [ - 'title' => 'requestId', - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'title' => 'httpStatusCode', - 'type' => 'integer', - 'format' => 'int32', - ], - 'DocumentUrl' => [ - 'title' => 'documentUrl', - 'type' => 'string', - ], - 'CodeKey' => [ - 'title' => 'codeKey', - 'type' => 'string', - ], - 'InterfaceId' => [ - 'title' => 'interfaceId', - 'type' => 'string', - ], - 'Code' => [ - 'title' => 'code', - 'type' => 'string', - ], - 'Success' => [ - 'title' => 'success', - 'type' => 'boolean', - ], + 'Message' => ['title' => 'message', 'type' => 'string'], + 'RequestId' => ['title' => 'requestId', 'type' => 'string'], + 'HttpStatusCode' => ['title' => 'httpStatusCode', 'type' => 'integer', 'format' => 'int32'], + 'DocumentUrl' => ['title' => 'documentUrl', 'type' => 'string'], + 'CodeKey' => ['title' => 'codeKey', 'type' => 'string'], + 'InterfaceId' => ['title' => 'interfaceId', 'type' => 'string'], + 'Code' => ['title' => 'code', 'type' => 'string'], + 'Success' => ['title' => 'success', 'type' => 'boolean'], ], ], ], @@ -11773,14 +6365,8 @@ ], 'StopDebuggingInterface' => [ 'summary' => '停止调试接口', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11800,19 +6386,13 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'PlanId', 'in' => 'query', - 'schema' => [ - 'title' => 'planId', - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['title' => 'planId', 'type' => 'string', 'required' => true], ], ], 'responses' => [ @@ -11821,35 +6401,13 @@ 'title' => 'result', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'title' => 'message', - 'type' => 'string', - ], - 'RequestId' => [ - 'title' => 'requestId', - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'title' => 'httpStatusCode', - 'type' => 'integer', - 'format' => 'int32', - ], - 'DocumentUrl' => [ - 'title' => 'documentUrl', - 'type' => 'string', - ], - 'CodeKey' => [ - 'title' => 'codeKey', - 'type' => 'string', - ], - 'Code' => [ - 'title' => 'code', - 'type' => 'string', - ], - 'Success' => [ - 'title' => 'success', - 'type' => 'boolean', - ], + 'Message' => ['title' => 'message', 'type' => 'string'], + 'RequestId' => ['title' => 'requestId', 'type' => 'string'], + 'HttpStatusCode' => ['title' => 'httpStatusCode', 'type' => 'integer', 'format' => 'int32'], + 'DocumentUrl' => ['title' => 'documentUrl', 'type' => 'string'], + 'CodeKey' => ['title' => 'codeKey', 'type' => 'string'], + 'Code' => ['title' => 'code', 'type' => 'string'], + 'Success' => ['title' => 'success', 'type' => 'boolean'], ], ], ], @@ -11857,14 +6415,8 @@ ], 'RenameInterfaceCollection' => [ 'summary' => '重命名接口集合', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11884,28 +6436,18 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'title' => 'name', - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['title' => 'name', 'type' => 'string', 'required' => true], ], [ 'name' => 'CollectionId', 'in' => 'query', - 'schema' => [ - 'title' => 'collectionId', - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['title' => 'collectionId', 'type' => 'string', 'required' => true], ], ], 'responses' => [ @@ -11914,39 +6456,14 @@ 'title' => 'result', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'title' => 'message', - 'type' => 'string', - ], - 'RequestId' => [ - 'title' => 'requestId', - 'type' => 'string', - ], - 'DynamicCtx' => [ - 'title' => 'dynamicCtx', - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'title' => 'httpStatusCode', - 'type' => 'integer', - 'format' => 'int32', - ], - 'DocumentUrl' => [ - 'title' => 'documentUrl', - 'type' => 'string', - ], - 'CodeKey' => [ - 'title' => 'codeKey', - 'type' => 'string', - ], - 'Code' => [ - 'title' => 'code', - 'type' => 'string', - ], - 'Success' => [ - 'title' => 'success', - 'type' => 'boolean', - ], + 'Message' => ['title' => 'message', 'type' => 'string'], + 'RequestId' => ['title' => 'requestId', 'type' => 'string'], + 'DynamicCtx' => ['title' => 'dynamicCtx', 'type' => 'string'], + 'HttpStatusCode' => ['title' => 'httpStatusCode', 'type' => 'integer', 'format' => 'int32'], + 'DocumentUrl' => ['title' => 'documentUrl', 'type' => 'string'], + 'CodeKey' => ['title' => 'codeKey', 'type' => 'string'], + 'Code' => ['title' => 'code', 'type' => 'string'], + 'Success' => ['title' => 'success', 'type' => 'boolean'], ], ], ], @@ -11954,14 +6471,8 @@ ], 'DeleteInterfaceCollection' => [ 'summary' => '删除接口集合', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11981,19 +6492,13 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'CollectionId', 'in' => 'query', - 'schema' => [ - 'title' => 'collectionId', - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['title' => 'collectionId', 'type' => 'string', 'required' => true], ], ], 'responses' => [ @@ -12002,39 +6507,14 @@ 'title' => 'result', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'title' => 'message', - 'type' => 'string', - ], - 'RequestId' => [ - 'title' => 'requestId', - 'type' => 'string', - ], - 'DynamicCtx' => [ - 'title' => 'dynamicCtx', - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'title' => 'httpStatusCode', - 'type' => 'integer', - 'format' => 'int32', - ], - 'DocumentUrl' => [ - 'title' => 'documentUrl', - 'type' => 'string', - ], - 'CodeKey' => [ - 'title' => 'codeKey', - 'type' => 'string', - ], - 'Code' => [ - 'title' => 'code', - 'type' => 'string', - ], - 'Success' => [ - 'title' => 'success', - 'type' => 'boolean', - ], + 'Message' => ['title' => 'message', 'type' => 'string'], + 'RequestId' => ['title' => 'requestId', 'type' => 'string'], + 'DynamicCtx' => ['title' => 'dynamicCtx', 'type' => 'string'], + 'HttpStatusCode' => ['title' => 'httpStatusCode', 'type' => 'integer', 'format' => 'int32'], + 'DocumentUrl' => ['title' => 'documentUrl', 'type' => 'string'], + 'CodeKey' => ['title' => 'codeKey', 'type' => 'string'], + 'Code' => ['title' => 'code', 'type' => 'string'], + 'Success' => ['title' => 'success', 'type' => 'boolean'], ], ], ], @@ -12042,14 +6522,8 @@ ], 'ConvertSwaggerToScene' => [ 'summary' => 'swagger转换场景', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12069,19 +6543,13 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'OssUrl', 'in' => 'query', - 'schema' => [ - 'title' => 'ossUrl', - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['title' => 'ossUrl', 'type' => 'string', 'required' => false], ], ], 'responses' => [ @@ -12090,39 +6558,14 @@ 'title' => 'result', 'type' => 'object', 'properties' => [ - 'SceneId' => [ - 'title' => 'sceneId', - 'type' => 'string', - ], - 'Message' => [ - 'title' => 'message', - 'type' => 'string', - ], - 'RequestId' => [ - 'title' => 'requestId', - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'title' => 'httpStatusCode', - 'type' => 'integer', - 'format' => 'int32', - ], - 'DocumentUrl' => [ - 'title' => 'documentUrl', - 'type' => 'string', - ], - 'CodeKey' => [ - 'title' => 'codeKey', - 'type' => 'string', - ], - 'Code' => [ - 'title' => 'code', - 'type' => 'string', - ], - 'Success' => [ - 'title' => 'success', - 'type' => 'boolean', - ], + 'SceneId' => ['title' => 'sceneId', 'type' => 'string'], + 'Message' => ['title' => 'message', 'type' => 'string'], + 'RequestId' => ['title' => 'requestId', 'type' => 'string'], + 'HttpStatusCode' => ['title' => 'httpStatusCode', 'type' => 'integer', 'format' => 'int32'], + 'DocumentUrl' => ['title' => 'documentUrl', 'type' => 'string'], + 'CodeKey' => ['title' => 'codeKey', 'type' => 'string'], + 'Code' => ['title' => 'code', 'type' => 'string'], + 'Success' => ['title' => 'success', 'type' => 'boolean'], ], ], ], @@ -12130,14 +6573,8 @@ ], 'CreateInterfaceCollection' => [ 'summary' => '新增接口集合', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12157,26 +6594,18 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'title' => 'name', - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['title' => 'name', 'type' => 'string', 'required' => true], ], [ 'name' => 'ParentId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['type' => 'string'], ], ], 'responses' => [ @@ -12185,39 +6614,14 @@ 'title' => 'result', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'title' => 'message', - 'type' => 'string', - ], - 'RequestId' => [ - 'title' => 'requestId', - 'type' => 'string', - ], - 'DynamicCtx' => [ - 'title' => 'dynamicCtx', - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'title' => 'httpStatusCode', - 'type' => 'integer', - 'format' => 'int32', - ], - 'DocumentUrl' => [ - 'title' => 'documentUrl', - 'type' => 'string', - ], - 'CodeKey' => [ - 'title' => 'codeKey', - 'type' => 'string', - ], - 'Code' => [ - 'title' => 'code', - 'type' => 'string', - ], - 'Success' => [ - 'title' => 'success', - 'type' => 'boolean', - ], + 'Message' => ['title' => 'message', 'type' => 'string'], + 'RequestId' => ['title' => 'requestId', 'type' => 'string'], + 'DynamicCtx' => ['title' => 'dynamicCtx', 'type' => 'string'], + 'HttpStatusCode' => ['title' => 'httpStatusCode', 'type' => 'integer', 'format' => 'int32'], + 'DocumentUrl' => ['title' => 'documentUrl', 'type' => 'string'], + 'CodeKey' => ['title' => 'codeKey', 'type' => 'string'], + 'Code' => ['title' => 'code', 'type' => 'string'], + 'Success' => ['title' => 'success', 'type' => 'boolean'], ], ], ], @@ -12225,14 +6629,8 @@ ], 'ListInterfaceCollection' => [ 'summary' => '列表查询接口集合', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12252,19 +6650,13 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'title' => 'name', - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['title' => 'name', 'type' => 'string', 'required' => false], ], ], 'responses' => [ @@ -12273,64 +6665,27 @@ 'title' => 'result', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'title' => 'message', - 'type' => 'string', - ], - 'RequestId' => [ - 'title' => 'requestId', - 'type' => 'string', - ], - 'DynamicCtx' => [ - 'title' => 'dynamicCtx', - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'title' => 'httpStatusCode', - 'type' => 'integer', - 'format' => 'int32', - ], - 'DocumentUrl' => [ - 'title' => 'documentUrl', - 'type' => 'string', - ], - 'CodeKey' => [ - 'title' => 'codeKey', - 'type' => 'string', - ], - 'Code' => [ - 'title' => 'code', - 'type' => 'string', - ], + 'Message' => ['title' => 'message', 'type' => 'string'], + 'RequestId' => ['title' => 'requestId', 'type' => 'string'], + 'DynamicCtx' => ['title' => 'dynamicCtx', 'type' => 'string'], + 'HttpStatusCode' => ['title' => 'httpStatusCode', 'type' => 'integer', 'format' => 'int32'], + 'DocumentUrl' => ['title' => 'documentUrl', 'type' => 'string'], + 'CodeKey' => ['title' => 'codeKey', 'type' => 'string'], + 'Code' => ['title' => 'code', 'type' => 'string'], 'InterfaceCollections' => [ 'title' => 'interfaceCollections', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'ParentId' => [ - 'title' => 'parentId', - 'type' => 'string', - ], - 'Id' => [ - 'title' => 'id', - 'type' => 'string', - ], - 'Name' => [ - 'title' => 'name', - 'type' => 'string', - ], - 'UpdateTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'ParentId' => ['title' => 'parentId', 'type' => 'string'], + 'Id' => ['title' => 'id', 'type' => 'string'], + 'Name' => ['title' => 'name', 'type' => 'string'], + 'UpdateTime' => ['type' => 'integer', 'format' => 'int64'], ], ], ], - 'Success' => [ - 'title' => 'success', - 'type' => 'boolean', - ], + 'Success' => ['title' => 'success', 'type' => 'boolean'], ], ], ], @@ -12338,13 +6693,8 @@ ], 'ParseJMeter' => [ 'summary' => 'Chrome插件导出JMeter脚本', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12364,19 +6714,13 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'Scene', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], ], 'responses' => [ @@ -12384,51 +6728,27 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'DownloadUrl' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'CodeKey' => [ - 'type' => 'string', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], + 'DownloadUrl' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'CodeKey' => ['type' => 'string'], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], ], ], ], ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'QueryGroupSceneFail', - 'errorMessage' => 'Failed to query scene group.', - ], + ['errorCode' => 'QueryGroupSceneFail', 'errorMessage' => 'Failed to query scene group.'], ], ], ], 'StartApiTesting' => [ 'summary' => '快速压测API', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12448,18 +6768,13 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'MaxDuration', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'schema' => ['type' => 'integer', 'format' => 'int64'], ], [ 'name' => 'ApiRpsConfig', @@ -12470,13 +6785,8 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'InterfaceId' => [ - 'type' => 'string', - ], - 'Rps' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'InterfaceId' => ['type' => 'string'], + 'Rps' => ['type' => 'integer', 'format' => 'int32'], ], ], ], @@ -12488,42 +6798,15 @@ 'title' => 'result', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'title' => 'message', - 'type' => 'string', - ], - 'RequestId' => [ - 'title' => 'requestId', - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'title' => 'httpStatusCode', - 'type' => 'integer', - 'format' => 'int32', - ], - 'DocumentUrl' => [ - 'title' => 'documentUrl', - 'type' => 'string', - ], - 'CodeKey' => [ - 'title' => 'codeKey', - 'type' => 'string', - ], - 'Code' => [ - 'title' => 'code', - 'type' => 'string', - ], - 'Success' => [ - 'title' => 'success', - 'type' => 'boolean', - ], - 'SceneId' => [ - 'title' => 'sceneId', - 'type' => 'string', - ], - 'PlanId' => [ - 'type' => 'string', - ], + 'Message' => ['title' => 'message', 'type' => 'string'], + 'RequestId' => ['title' => 'requestId', 'type' => 'string'], + 'HttpStatusCode' => ['title' => 'httpStatusCode', 'type' => 'integer', 'format' => 'int32'], + 'DocumentUrl' => ['title' => 'documentUrl', 'type' => 'string'], + 'CodeKey' => ['title' => 'codeKey', 'type' => 'string'], + 'Code' => ['title' => 'code', 'type' => 'string'], + 'Success' => ['title' => 'success', 'type' => 'boolean'], + 'SceneId' => ['title' => 'sceneId', 'type' => 'string'], + 'PlanId' => ['type' => 'string'], ], ], ], @@ -12531,13 +6814,8 @@ ], 'ScalePlanAgents' => [ 'summary' => '为任务伸缩引擎', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12547,25 +6825,18 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'PlanId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['type' => 'string'], ], [ 'name' => 'AgentCount', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'schema' => ['type' => 'integer', 'format' => 'int64'], ], ], 'responses' => [ @@ -12574,26 +6845,12 @@ 'title' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'type' => 'string', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'DocumentUrl' => [ - 'type' => 'string', - ], + 'RequestId' => ['title' => 'Id of the request', 'type' => 'string'], + 'Code' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int64'], + 'DocumentUrl' => ['type' => 'string'], ], ], ], @@ -12601,13 +6858,8 @@ ], 'ScalePlanConcurrency' => [ 'summary' => '扩展任务并发上限', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12617,33 +6869,23 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'PlanId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['type' => 'string'], ], [ 'name' => 'Concurrency', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'schema' => ['type' => 'integer', 'format' => 'int64'], ], [ 'name' => 'Rps', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'schema' => ['type' => 'integer', 'format' => 'int64'], ], ], 'responses' => [ @@ -12652,26 +6894,12 @@ 'title' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'type' => 'string', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'DocumentUrl' => [ - 'type' => 'string', - ], + 'RequestId' => ['title' => 'Id of the request', 'type' => 'string'], + 'Code' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int64'], + 'DocumentUrl' => ['type' => 'string'], ], ], ], @@ -12679,13 +6907,8 @@ ], 'DescribeJMeterPrometheusConfig' => [ 'summary' => '查看Prometheus配置', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12705,19 +6928,13 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'ReportId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], ], 'responses' => [ @@ -12725,25 +6942,12 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], - 'PrometheusConfig' => [ - 'type' => 'string', - ], + 'Message' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], + 'PrometheusConfig' => ['type' => 'string'], ], ], ], @@ -12751,13 +6955,8 @@ ], 'DescribePrometheusConfig' => [ 'summary' => '查看Prometheus配置', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12777,19 +6976,13 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'PlanId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], ], 'responses' => [ @@ -12797,25 +6990,12 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], - 'PrometheusConfig' => [ - 'type' => 'string', - ], + 'Message' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], + 'PrometheusConfig' => ['type' => 'string'], ], ], ], @@ -12823,14 +7003,8 @@ ], 'DescribeAgentAggPerformance' => [ 'summary' => '查询机器监控数据', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12850,46 +7024,28 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'ReportId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], [ 'name' => 'Agg', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], [ 'name' => 'BeginTime', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], ], 'responses' => [ @@ -12897,47 +7053,26 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], - 'AggPerformance' => [ - 'type' => 'object', - ], + 'Message' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], + 'AggPerformance' => ['type' => 'object'], ], ], ], ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter is invalid.', - ], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter is invalid.'], ], ], ], 'StartEasyApiTesting' => [ 'summary' => '发送请求,参考调试场景接口', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12957,9 +7092,7 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ @@ -12976,105 +7109,38 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Type' => [ - 'title' => 'type', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'Value' => [ - 'title' => 'value', - 'type' => 'string', - 'required' => false, - ], - 'Name' => [ - 'title' => 'name', - 'type' => 'string', - 'required' => false, - ], + 'Type' => ['title' => 'type', 'type' => 'integer', 'format' => 'int32', 'required' => false], + 'Value' => ['title' => 'value', 'type' => 'string', 'required' => false], + 'Name' => ['title' => 'name', 'type' => 'string', 'required' => false], ], ], 'required' => false, ], - 'RedirectCountLimit' => [ - 'title' => 'redirectCountLimit', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'Method' => [ - 'title' => 'method', - 'type' => 'string', - 'required' => false, - ], - 'Url' => [ - 'title' => 'url', - 'type' => 'string', - 'required' => false, - ], - 'Name' => [ - 'title' => 'name', - 'type' => 'string', - 'required' => false, - ], - 'TimeoutInMilliSeconds' => [ - 'title' => 'timeoutInMilliSeconds', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'AccessId' => [ - 'title' => 'accessId', - 'type' => 'string', - 'required' => false, - ], - 'Id' => [ - 'title' => 'id', - 'type' => 'string', - 'required' => false, - ], + 'RedirectCountLimit' => ['title' => 'redirectCountLimit', 'type' => 'integer', 'format' => 'int32', 'required' => false], + 'Method' => ['title' => 'method', 'type' => 'string', 'required' => false], + 'Url' => ['title' => 'url', 'type' => 'string', 'required' => false], + 'Name' => ['title' => 'name', 'type' => 'string', 'required' => false], + 'TimeoutInMilliSeconds' => ['title' => 'timeoutInMilliSeconds', 'type' => 'integer', 'format' => 'int32', 'required' => false], + 'AccessId' => ['title' => 'accessId', 'type' => 'string', 'required' => false], + 'Id' => ['title' => 'id', 'type' => 'string', 'required' => false], 'CheckPoints' => [ 'title' => 'checkPoints', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Type' => [ - 'title' => 'type', - 'type' => 'string', - 'required' => false, - ], - 'Point' => [ - 'title' => 'point', - 'type' => 'string', - 'required' => false, - ], + 'Type' => ['title' => 'type', 'type' => 'string', 'required' => false], + 'Point' => ['title' => 'point', 'type' => 'string', 'required' => false], 'Checkers' => [ 'title' => 'checkers', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Operator' => [ - 'title' => 'operator', - 'type' => 'string', - 'required' => false, - ], - 'RealValue' => [ - 'title' => 'realValue', - 'type' => 'string', - 'required' => false, - ], - 'ParsedExpectValue' => [ - 'title' => 'parsedExpectValue', - 'type' => 'string', - 'required' => false, - ], - 'ExpectValue' => [ - 'title' => 'expectValue', - 'type' => 'string', - 'required' => false, - ], + 'Operator' => ['title' => 'operator', 'type' => 'string', 'required' => false], + 'RealValue' => ['title' => 'realValue', 'type' => 'string', 'required' => false], + 'ParsedExpectValue' => ['title' => 'parsedExpectValue', 'type' => 'string', 'required' => false], + 'ExpectValue' => ['title' => 'expectValue', 'type' => 'string', 'required' => false], ], ], 'required' => false, @@ -13083,11 +7149,7 @@ ], 'required' => false, ], - 'Protocol' => [ - 'title' => 'protocol', - 'type' => 'string', - 'required' => false, - ], + 'Protocol' => ['title' => 'protocol', 'type' => 'string', 'required' => false], 'PostActions' => [ 'title' => 'postActions', 'type' => 'array', @@ -13100,22 +7162,10 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Name' => [ - 'title' => 'name', - 'type' => 'string', - ], - 'Type' => [ - 'title' => 'type', - 'type' => 'string', - ], - 'Value' => [ - 'title' => 'value', - 'type' => 'string', - ], - 'Count' => [ - 'title' => 'count', - 'type' => 'string', - ], + 'Name' => ['title' => 'name', 'type' => 'string'], + 'Type' => ['title' => 'type', 'type' => 'string'], + 'Value' => ['title' => 'value', 'type' => 'string'], + 'Count' => ['title' => 'count', 'type' => 'string'], ], ], ], @@ -13126,25 +7176,12 @@ 'title' => 'body', 'type' => 'object', 'properties' => [ - 'ContentType' => [ - 'title' => 'contentType', - 'type' => 'string', - 'required' => false, - ], - 'Value' => [ - 'title' => 'value', - 'type' => 'string', - 'required' => false, - ], + 'ContentType' => ['title' => 'contentType', 'type' => 'string', 'required' => false], + 'Value' => ['title' => 'value', 'type' => 'string', 'required' => false], ], 'required' => false, ], - 'BindSceneCount' => [ - 'title' => 'bindSceneCount', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'BindSceneCount' => ['title' => 'bindSceneCount', 'type' => 'integer', 'format' => 'int32', 'required' => false], ], 'required' => false, ], @@ -13152,18 +7189,12 @@ [ 'name' => 'Rps', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'schema' => ['type' => 'integer', 'format' => 'int64'], ], [ 'name' => 'MaxDuration', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'schema' => ['type' => 'integer', 'format' => 'int64'], ], ], 'responses' => [ @@ -13172,46 +7203,16 @@ 'title' => 'result', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'title' => 'message', - 'type' => 'string', - ], - 'RequestId' => [ - 'title' => 'requestId', - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'title' => 'httpStatusCode', - 'type' => 'integer', - 'format' => 'int32', - ], - 'DocumentUrl' => [ - 'title' => 'documentUrl', - 'type' => 'string', - ], - 'CodeKey' => [ - 'title' => 'codeKey', - 'type' => 'string', - ], - 'Code' => [ - 'title' => 'code', - 'type' => 'string', - ], - 'Success' => [ - 'title' => 'success', - 'type' => 'boolean', - ], - 'Async' => [ - 'title' => 'async', - 'type' => 'boolean', - ], - 'PlanId' => [ - 'title' => 'planId', - 'type' => 'string', - ], - 'SceneId' => [ - 'type' => 'string', - ], + 'Message' => ['title' => 'message', 'type' => 'string'], + 'RequestId' => ['title' => 'requestId', 'type' => 'string'], + 'HttpStatusCode' => ['title' => 'httpStatusCode', 'type' => 'integer', 'format' => 'int32'], + 'DocumentUrl' => ['title' => 'documentUrl', 'type' => 'string'], + 'CodeKey' => ['title' => 'codeKey', 'type' => 'string'], + 'Code' => ['title' => 'code', 'type' => 'string'], + 'Success' => ['title' => 'success', 'type' => 'boolean'], + 'Async' => ['title' => 'async', 'type' => 'boolean'], + 'PlanId' => ['title' => 'planId', 'type' => 'string'], + 'SceneId' => ['type' => 'string'], ], ], ], @@ -13219,14 +7220,8 @@ ], 'SearchInterface' => [ 'summary' => '搜索接口、接口集合', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13246,19 +7241,13 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'Keyword', 'in' => 'query', - 'schema' => [ - 'title' => 'name', - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['title' => 'name', 'type' => 'string', 'required' => false], ], ], 'responses' => [ @@ -13267,81 +7256,36 @@ 'title' => 'result', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'title' => 'message', - 'type' => 'string', - ], - 'RequestId' => [ - 'title' => 'requestId', - 'type' => 'string', - ], - 'DynamicCtx' => [ - 'title' => 'dynamicCtx', - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'title' => 'httpStatusCode', - 'type' => 'integer', - 'format' => 'int32', - ], - 'DocumentUrl' => [ - 'title' => 'documentUrl', - 'type' => 'string', - ], - 'CodeKey' => [ - 'title' => 'codeKey', - 'type' => 'string', - ], - 'Code' => [ - 'title' => 'code', - 'type' => 'string', - ], + 'Message' => ['title' => 'message', 'type' => 'string'], + 'RequestId' => ['title' => 'requestId', 'type' => 'string'], + 'DynamicCtx' => ['title' => 'dynamicCtx', 'type' => 'string'], + 'HttpStatusCode' => ['title' => 'httpStatusCode', 'type' => 'integer', 'format' => 'int32'], + 'DocumentUrl' => ['title' => 'documentUrl', 'type' => 'string'], + 'CodeKey' => ['title' => 'codeKey', 'type' => 'string'], + 'Code' => ['title' => 'code', 'type' => 'string'], 'InterfaceCollections' => [ 'title' => 'interfaceCollections', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'ParentId' => [ - 'title' => 'parentId', - 'type' => 'string', - ], - 'Id' => [ - 'title' => 'id', - 'type' => 'string', - ], - 'Name' => [ - 'title' => 'name', - 'type' => 'string', - ], - 'UpdateTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'ParentId' => ['title' => 'parentId', 'type' => 'string'], + 'Id' => ['title' => 'id', 'type' => 'string'], + 'Name' => ['title' => 'name', 'type' => 'string'], + 'UpdateTime' => ['type' => 'integer', 'format' => 'int64'], ], ], ], - 'Success' => [ - 'title' => 'success', - 'type' => 'boolean', - ], + 'Success' => ['title' => 'success', 'type' => 'boolean'], 'Interfaces' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Id' => [ - 'type' => 'string', - ], - 'Name' => [ - 'type' => 'string', - ], - 'CollectionId' => [ - 'type' => 'string', - ], - 'Method' => [ - 'type' => 'string', - ], + 'Id' => ['type' => 'string'], + 'Name' => ['type' => 'string'], + 'CollectionId' => ['type' => 'string'], + 'Method' => ['type' => 'string'], ], ], ], @@ -13352,14 +7296,8 @@ ], 'DescribeHttpInterfaces' => [ 'summary' => '查询接口详情列表', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13379,9 +7317,7 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ @@ -13390,9 +7326,7 @@ 'style' => 'json', 'schema' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], ], ], @@ -13408,120 +7342,54 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'CreatorId' => [ - 'title' => 'creatorId', - 'type' => 'string', - ], + 'CreatorId' => ['title' => 'creatorId', 'type' => 'string'], 'Headers' => [ 'title' => 'headers', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Type' => [ - 'title' => 'type', - 'type' => 'integer', - 'format' => 'int32', - ], - 'Value' => [ - 'title' => 'value', - 'type' => 'string', - ], - 'Name' => [ - 'title' => 'name', - 'type' => 'string', - ], + 'Type' => ['title' => 'type', 'type' => 'integer', 'format' => 'int32'], + 'Value' => ['title' => 'value', 'type' => 'string'], + 'Name' => ['title' => 'name', 'type' => 'string'], ], ], ], - 'RedirectCountLimit' => [ - 'title' => 'redirectCountLimit', - 'type' => 'integer', - 'format' => 'int32', - ], - 'RecordRequestId' => [ - 'title' => 'recordRequestId', - 'type' => 'string', - ], - 'Method' => [ - 'title' => 'method', - 'type' => 'string', - ], - 'Url' => [ - 'title' => 'url', - 'type' => 'string', - ], - 'Source' => [ - 'title' => 'source', - 'type' => 'string', - ], - 'Name' => [ - 'title' => 'name', - 'type' => 'string', - ], - 'TimeoutInMilliSeconds' => [ - 'title' => 'timeoutInMilliSeconds', - 'type' => 'integer', - 'format' => 'int32', - ], - 'AccessId' => [ - 'title' => 'accessId', - 'type' => 'string', - ], - 'Id' => [ - 'title' => 'id', - 'type' => 'string', - ], + 'RedirectCountLimit' => ['title' => 'redirectCountLimit', 'type' => 'integer', 'format' => 'int32'], + 'RecordRequestId' => ['title' => 'recordRequestId', 'type' => 'string'], + 'Method' => ['title' => 'method', 'type' => 'string'], + 'Url' => ['title' => 'url', 'type' => 'string'], + 'Source' => ['title' => 'source', 'type' => 'string'], + 'Name' => ['title' => 'name', 'type' => 'string'], + 'TimeoutInMilliSeconds' => ['title' => 'timeoutInMilliSeconds', 'type' => 'integer', 'format' => 'int32'], + 'AccessId' => ['title' => 'accessId', 'type' => 'string'], + 'Id' => ['title' => 'id', 'type' => 'string'], 'CheckPoints' => [ 'title' => 'checkPoints', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Type' => [ - 'title' => 'type', - 'type' => 'string', - ], - 'Point' => [ - 'title' => 'point', - 'type' => 'string', - ], + 'Type' => ['title' => 'type', 'type' => 'string'], + 'Point' => ['title' => 'point', 'type' => 'string'], 'Checkers' => [ 'title' => 'checkers', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Operator' => [ - 'title' => 'operator', - 'type' => 'string', - ], - 'RealValue' => [ - 'title' => 'realValue', - 'type' => 'string', - ], - 'ParsedExpectValue' => [ - 'title' => 'parsedExpectValue', - 'type' => 'string', - ], - 'ExpectValue' => [ - 'title' => 'expectValue', - 'type' => 'string', - ], + 'Operator' => ['title' => 'operator', 'type' => 'string'], + 'RealValue' => ['title' => 'realValue', 'type' => 'string'], + 'ParsedExpectValue' => ['title' => 'parsedExpectValue', 'type' => 'string'], + 'ExpectValue' => ['title' => 'expectValue', 'type' => 'string'], ], ], ], ], ], ], - 'RecordTaskId' => [ - 'title' => 'recordTaskId', - 'type' => 'string', - ], - 'Protocol' => [ - 'title' => 'protocol', - 'type' => 'string', - ], + 'RecordTaskId' => ['title' => 'recordTaskId', 'type' => 'string'], + 'Protocol' => ['title' => 'protocol', 'type' => 'string'], 'PostActions' => [ 'title' => 'postActions', 'type' => 'array', @@ -13534,22 +7402,10 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Name' => [ - 'title' => 'name', - 'type' => 'string', - ], - 'Type' => [ - 'title' => 'type', - 'type' => 'string', - ], - 'Value' => [ - 'title' => 'value', - 'type' => 'string', - ], - 'Count' => [ - 'title' => 'count', - 'type' => 'string', - ], + 'Name' => ['title' => 'name', 'type' => 'string'], + 'Type' => ['title' => 'type', 'type' => 'string'], + 'Value' => ['title' => 'value', 'type' => 'string'], + 'Count' => ['title' => 'count', 'type' => 'string'], ], ], ], @@ -13560,62 +7416,24 @@ 'title' => 'body', 'type' => 'object', 'properties' => [ - 'ContentType' => [ - 'title' => 'contentType', - 'type' => 'string', - ], - 'Value' => [ - 'title' => 'value', - 'type' => 'string', - ], + 'ContentType' => ['title' => 'contentType', 'type' => 'string'], + 'Value' => ['title' => 'value', 'type' => 'string'], ], ], - 'BindSceneCount' => [ - 'title' => 'bindSceneCount', - 'type' => 'integer', - 'format' => 'int32', - ], - 'CollectionId' => [ - 'type' => 'string', - ], - 'PreNodes' => [ - 'type' => 'string', - ], - 'PostNodes' => [ - 'type' => 'string', - ], + 'BindSceneCount' => ['title' => 'bindSceneCount', 'type' => 'integer', 'format' => 'int32'], + 'CollectionId' => ['type' => 'string'], + 'PreNodes' => ['type' => 'string'], + 'PostNodes' => ['type' => 'string'], ], ], ], - 'Message' => [ - 'title' => 'message', - 'type' => 'string', - ], - 'RequestId' => [ - 'title' => 'requestId', - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'title' => 'httpStatusCode', - 'type' => 'integer', - 'format' => 'int32', - ], - 'DocumentUrl' => [ - 'title' => 'documentUrl', - 'type' => 'string', - ], - 'CodeKey' => [ - 'title' => 'codeKey', - 'type' => 'string', - ], - 'Code' => [ - 'title' => 'code', - 'type' => 'string', - ], - 'Success' => [ - 'title' => 'success', - 'type' => 'boolean', - ], + 'Message' => ['title' => 'message', 'type' => 'string'], + 'RequestId' => ['title' => 'requestId', 'type' => 'string'], + 'HttpStatusCode' => ['title' => 'httpStatusCode', 'type' => 'integer', 'format' => 'int32'], + 'DocumentUrl' => ['title' => 'documentUrl', 'type' => 'string'], + 'CodeKey' => ['title' => 'codeKey', 'type' => 'string'], + 'Code' => ['title' => 'code', 'type' => 'string'], + 'Success' => ['title' => 'success', 'type' => 'boolean'], ], ], ], @@ -13623,14 +7441,8 @@ ], 'ListDataSource' => [ 'summary' => '列出满足条件数据源', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13650,34 +7462,18 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'title' => '当前页码', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'maximum' => '2147483647', - 'minimum' => '1', - ], + 'schema' => ['title' => '当前页码', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '2147483647', 'minimum' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'title' => '页面大小', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'maximum' => '200', - 'minimum' => '1', - ], + 'schema' => ['title' => '页面大小', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '200', 'minimum' => '1'], ], ], 'responses' => [ @@ -13686,33 +7482,12 @@ 'title' => 'result', 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'title' => 'totalCount', - 'type' => 'integer', - 'format' => 'int64', - ], - 'Message' => [ - 'title' => 'message', - 'type' => 'string', - ], - 'PageSize' => [ - 'title' => 'pageSize', - 'type' => 'integer', - 'format' => 'int32', - ], - 'RequestId' => [ - 'title' => 'requestId', - 'type' => 'string', - ], - 'PageNumber' => [ - 'title' => 'pageNumber', - 'type' => 'integer', - 'format' => 'int32', - ], - 'DynamicCtx' => [ - 'title' => 'dynamicCtx', - 'type' => 'string', - ], + 'TotalCount' => ['title' => 'totalCount', 'type' => 'integer', 'format' => 'int64'], + 'Message' => ['title' => 'message', 'type' => 'string'], + 'PageSize' => ['title' => 'pageSize', 'type' => 'integer', 'format' => 'int32'], + 'RequestId' => ['title' => 'requestId', 'type' => 'string'], + 'PageNumber' => ['title' => 'pageNumber', 'type' => 'integer', 'format' => 'int32'], + 'DynamicCtx' => ['title' => 'dynamicCtx', 'type' => 'string'], 'DataSourceList' => [ 'title' => 'dataSourceList', 'type' => 'array', @@ -13725,98 +7500,45 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Column' => [ - 'title' => 'column', - 'type' => 'string', - ], - 'Index' => [ - 'title' => 'index', - 'type' => 'integer', - 'format' => 'int32', - ], - 'Name' => [ - 'title' => 'name', - 'type' => 'string', - ], + 'Column' => ['title' => 'column', 'type' => 'string'], + 'Index' => ['title' => 'index', 'type' => 'integer', 'format' => 'int32'], + 'Name' => ['title' => 'name', 'type' => 'string'], ], ], ], - 'DataSourceName' => [ - 'title' => 'dataSourceName', - 'type' => 'string', - ], + 'DataSourceName' => ['title' => 'dataSourceName', 'type' => 'string'], 'DataSourceConfig' => [ 'type' => 'object', 'properties' => [ - 'Url' => [ - 'type' => 'string', - ], - 'Username' => [ - 'type' => 'string', - ], - 'Password' => [ - 'type' => 'string', - ], - 'Sql' => [ - 'type' => 'string', - ], + 'Url' => ['type' => 'string'], + 'Username' => ['type' => 'string'], + 'Password' => ['type' => 'string'], + 'Sql' => ['type' => 'string'], ], ], - 'DataSourceType' => [ - 'title' => 'dataSourceType', - 'type' => 'string', - ], - 'Id' => [ - 'title' => 'id', - 'type' => 'integer', - 'format' => 'int64', - ], + 'DataSourceType' => ['title' => 'dataSourceType', 'type' => 'string'], + 'Id' => ['title' => 'id', 'type' => 'integer', 'format' => 'int64'], ], ], ], - 'HttpStatusCode' => [ - 'title' => 'httpStatusCode', - 'type' => 'integer', - 'format' => 'int32', - ], - 'DocumentUrl' => [ - 'title' => 'documentUrl', - 'type' => 'string', - ], - 'CodeKey' => [ - 'title' => 'codeKey', - 'type' => 'string', - ], - 'Code' => [ - 'title' => 'code', - 'type' => 'string', - ], - 'Success' => [ - 'title' => 'success', - 'type' => 'boolean', - ], + 'HttpStatusCode' => ['title' => 'httpStatusCode', 'type' => 'integer', 'format' => 'int32'], + 'DocumentUrl' => ['title' => 'documentUrl', 'type' => 'string'], + 'CodeKey' => ['title' => 'codeKey', 'type' => 'string'], + 'Code' => ['title' => 'code', 'type' => 'string'], + 'Success' => ['title' => 'success', 'type' => 'boolean'], ], ], ], ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Code', - 'errorMessage' => 'The specified parameter is invalid.', - ], + ['errorCode' => 'Code', 'errorMessage' => 'The specified parameter is invalid.'], ], ], ], 'StartApiDebugging' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13836,19 +7558,13 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '22790', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ 'name' => 'Scene', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], ], 'responses' => [ @@ -13856,31 +7572,14 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'ReportId' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'DocumentUrl' => [ - 'type' => 'string', - ], - 'CodeKey' => [ - 'type' => 'string', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], + 'ReportId' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'DocumentUrl' => ['type' => 'string'], + 'CodeKey' => ['type' => 'string'], + 'Code' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], ], ], ], @@ -13888,101 +7587,29 @@ ], ], 'endpoints' => [ - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-qingdao', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangjiakou', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-huhehaote', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-chengdu', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'ap-northeast-1', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-2', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-3', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-5', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'us-east-1', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'us-west-1', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'eu-west-1', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'eu-central-1', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'ap-south-1', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'me-east-1', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-finance', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-finance-1', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-finance-1', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing-finance-1', - 'endpoint' => 'pts.aliyuncs.com', - ], + ['regionId' => 'cn-hangzhou', 'endpoint' => 'pts.aliyuncs.com'], + ['regionId' => 'cn-qingdao', 'endpoint' => 'pts.aliyuncs.com'], + ['regionId' => 'cn-beijing', 'endpoint' => 'pts.aliyuncs.com'], + ['regionId' => 'cn-zhangjiakou', 'endpoint' => 'pts.aliyuncs.com'], + ['regionId' => 'cn-huhehaote', 'endpoint' => 'pts.aliyuncs.com'], + ['regionId' => 'cn-shanghai', 'endpoint' => 'pts.aliyuncs.com'], + ['regionId' => 'cn-shenzhen', 'endpoint' => 'pts.aliyuncs.com'], + ['regionId' => 'cn-chengdu', 'endpoint' => 'pts.aliyuncs.com'], + ['regionId' => 'cn-hongkong', 'endpoint' => 'pts.aliyuncs.com'], + ['regionId' => 'ap-northeast-1', 'endpoint' => 'pts.aliyuncs.com'], + ['regionId' => 'ap-southeast-1', 'endpoint' => 'pts.aliyuncs.com'], + ['regionId' => 'ap-southeast-2', 'endpoint' => 'pts.aliyuncs.com'], + ['regionId' => 'ap-southeast-3', 'endpoint' => 'pts.aliyuncs.com'], + ['regionId' => 'ap-southeast-5', 'endpoint' => 'pts.aliyuncs.com'], + ['regionId' => 'us-east-1', 'endpoint' => 'pts.aliyuncs.com'], + ['regionId' => 'us-west-1', 'endpoint' => 'pts.aliyuncs.com'], + ['regionId' => 'eu-west-1', 'endpoint' => 'pts.aliyuncs.com'], + ['regionId' => 'eu-central-1', 'endpoint' => 'pts.aliyuncs.com'], + ['regionId' => 'ap-south-1', 'endpoint' => 'pts.aliyuncs.com'], + ['regionId' => 'me-east-1', 'endpoint' => 'pts.aliyuncs.com'], + ['regionId' => 'cn-hangzhou-finance', 'endpoint' => 'pts.aliyuncs.com'], + ['regionId' => 'cn-shanghai-finance-1', 'endpoint' => 'pts.aliyuncs.com'], + ['regionId' => 'cn-shenzhen-finance-1', 'endpoint' => 'pts.aliyuncs.com'], + ['regionId' => 'cn-beijing-finance-1', 'endpoint' => 'pts.aliyuncs.com'], ], ]; diff --git a/data/en_us/pts/2020-10-20/api-docs.php b/data/en_us/pts/2020-10-20/api-docs.php index f720a5c..44a1a48 100644 --- a/data/en_us/pts/2020-10-20/api-docs.php +++ b/data/en_us/pts/2020-10-20/api-docs.php @@ -1,145 +1,73 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'PTS', - 'version' => '2020-10-20', - ], + 'info' => ['style' => 'RPC', 'product' => 'PTS', 'version' => '2020-10-20'], 'directories' => [ [ - 'id' => 94910, - 'title' => 'PTS Stress Testing', - 'type' => 'directory', 'children' => [ [ - 'id' => 94911, - 'title' => 'Stress Testing Baseline', + 'children' => ['CreatePtsSceneBaseLineFromReport', 'DeletePtsSceneBaseLine', 'UpdatePtsSceneBaseLine', 'GetPtsSceneBaseLine'], 'type' => 'directory', - 'children' => [ - 'CreatePtsSceneBaseLineFromReport', - 'DeletePtsSceneBaseLine', - 'UpdatePtsSceneBaseLine', - 'GetPtsSceneBaseLine', - ], + 'title' => 'Stress testing baseline', ], [ - 'id' => 94916, - 'title' => 'Stress Testing Report', + 'children' => ['ListPtsReports', 'GetPtsReportDetails', 'GetPtsReportsBySceneId', 'GetPtsDebugSampleLogs'], 'type' => 'directory', - 'children' => [ - 'ListPtsReports', - 'GetPtsReportDetails', - 'GetPtsReportsBySceneId', - 'GetPtsDebugSampleLogs', - ], + 'title' => 'Stress testing report', ], [ - 'id' => 94919, - 'title' => 'Stress Testing Execution', + 'children' => ['StartDebugPtsScene', 'StartPtsScene', 'StopDebugPtsScene', 'StopPtsScene', 'GetPtsSceneRunningData', 'GetPtsSceneRunningStatus', 'AdjustPtsSceneSpeed'], 'type' => 'directory', - 'children' => [ - 'StartDebugPtsScene', - 'StartPtsScene', - 'StopDebugPtsScene', - 'StopPtsScene', - 'GetPtsSceneRunningData', - 'GetPtsSceneRunningStatus', - 'AdjustPtsSceneSpeed', - ], + 'title' => 'Stress testing execution', ], [ - 'id' => 94926, - 'title' => 'Stress Testing Scenario', + 'children' => ['CreatePtsScene', 'SavePtsScene', 'DeletePtsScene', 'DeletePtsScenes', 'ModifyPtsScene', 'GetPtsScene', 'ListPtsScene'], 'type' => 'directory', - 'children' => [ - 'CreatePtsScene', - 'SavePtsScene', - 'DeletePtsScene', - 'DeletePtsScenes', - 'ModifyPtsScene', - 'GetPtsScene', - 'ListPtsScene', - ], + 'title' => 'Stress testing scenario', ], ], + 'type' => 'directory', + 'title' => 'PTS stress testing', ], [ - 'id' => 94889, - 'title' => 'JMeter Stress Testing', - 'type' => 'directory', 'children' => [ [ - 'id' => 94890, - 'title' => 'Stress Testing Report', + 'children' => ['GetJMeterReportDetails', 'GetJMeterLogs', 'GetJMeterSampleMetrics', 'GetJMeterSamplingLogs', 'ListJMeterReports'], 'type' => 'directory', - 'children' => [ - 'GetJMeterReportDetails', - 'GetJMeterLogs', - 'GetJMeterSampleMetrics', - 'GetJMeterSamplingLogs', - 'ListJMeterReports', - ], + 'title' => 'Stress testing report', ], [ - 'id' => 94895, - 'title' => 'Stress Testing Execution', + 'children' => ['StartDebuggingJMeterScene', 'StartTestingJMeterScene', 'StopDebuggingJMeterScene', 'StopTestingJMeterScene', 'GetJMeterSceneRunningData', 'AdjustJMeterSceneSpeed'], 'type' => 'directory', - 'children' => [ - 'StartDebuggingJMeterScene', - 'StartTestingJMeterScene', - 'StopDebuggingJMeterScene', - 'StopTestingJMeterScene', - 'GetJMeterSceneRunningData', - 'AdjustJMeterSceneSpeed', - ], + 'title' => 'Stress testing execution', ], [ - 'id' => 94901, - 'title' => 'Stress Testing Scenario', + 'children' => ['RemoveOpenJMeterScene', 'SaveOpenJMeterScene', 'GetOpenJMeterScene', 'ListOpenJMeterScenes'], 'type' => 'directory', - 'children' => [ - 'RemoveOpenJMeterScene', - 'SaveOpenJMeterScene', - 'GetOpenJMeterScene', - 'ListOpenJMeterScenes', - ], + 'title' => 'Stress testing scenario', ], [ - 'id' => 94906, - 'title' => 'Stress Testing Environment', + 'children' => ['RemoveEnv', 'SaveEnv', 'ListEnvs'], 'type' => 'directory', - 'children' => [ - 'RemoveEnv', - 'SaveEnv', - 'ListEnvs', - ], + 'title' => 'Stress testing environment', ], ], + 'type' => 'directory', + 'title' => 'JMeter stress testing', ], [ - 'id' => 167110, - 'title' => 'Other', + 'children' => ['GetAllRegions', 'GetUserVpcs', 'GetUserVpcSecurityGroup', 'GetUserVpcVSwitch'], 'type' => 'directory', - 'children' => [ - 'GetAllRegions', - 'GetUserVpcs', - 'GetUserVpcSecurityGroup', - 'GetUserVpcVSwitch', - ], + 'title' => 'Others', ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ - 'CreatePtsSceneBaseLineFromReport' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'AdjustJMeterSceneSpeed' => [ + 'summary' => 'Adjusting the JMeter load size.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -159,26 +87,14 @@ 'systemTags' => [], 'parameters' => [ [ - 'name' => 'SceneId', + 'name' => 'ReportId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the scene. For more information, see the [table](~~201321~~) provided in this topic.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'VCB78HB', - ], + 'schema' => ['title' => '', 'description' => 'The report ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'DYYPZIH'], ], [ - 'name' => 'ReportId', + 'name' => 'Speed', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the report. For more information, see the [table](~~201321~~) provided in this topic.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'HNB78HB', - ], + 'schema' => ['title' => '', 'description' => 'The target load value.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '1', 'example' => '100'], ], ], 'responses' => [ @@ -186,63 +102,52 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => 'null'."\n", - 'type' => 'string', - 'example' => '', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '4F7D2CE0-AE4C-4143-954A-8E4595AF86A6', - ], - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Code' => [ - 'description' => 'The system status code.'."\n", - 'type' => 'string', - 'example' => '200', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful.'."\n" - ."\n" - .'* true'."\n" - .'* false:'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'Message' => ['description' => 'The message returned for the request.', 'type' => 'string', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'DC4E31DDA77-6745-4925-B423-4E89VV34221A'], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'title' => ''], + 'Code' => ['description' => 'The response code.', 'type' => 'string', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n" + ."\n" + .'- true: The request was successful.'."\n" + .'- false: The request failed.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], + 'ReportId' => ['title' => '', 'description' => 'The report ID.', 'type' => 'string', 'example' => 'DYYPZIH'], ], 'description' => '', + 'title' => '', ], ], ], 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'CreatePtsSceneBaseLineFromReportFail', - 'errorMessage' => 'The scene or the report cannot be empty.', - ], + 403 => [ + ['errorCode' => 'SceneNotExist', 'errorMessage' => 'The scene does not exist.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"空\\",\\n \\"RequestId\\": \\"4F7D2CE0-AE4C-4143-954A-8E4595AF86A6\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<CreatePtsSceneBaseLineFromReportResponse>\\n <Message/>\\n <RequestId>4F7D2CE0-AE4C-4143-954A-8E4595AF86A6</RequestId>\\n <HttpStatusCode>200</HttpStatusCode>\\n <Code>200</Code>\\n <Success>true</Success>\\n</CreatePtsSceneBaseLineFromReportResponse>","errorExample":""}]', - 'title' => 'CreatePtsSceneBaseLineFromReport', - 'summary' => 'null', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DeletePtsSceneBaseLine' => [ - 'methods' => [ - 'post', + 'title' => 'AdjustJMeterSceneSpeed', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AdjustJMeterSceneSpeed'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => '', + 'ramAction' => [ + 'action' => 'pts:AdjustJMeterSceneSpeed', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PTS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"\\",\\n \\"RequestId\\": \\"DC4E31DDA77-6745-4925-B423-4E89VV34221A\\",\\n \\"HttpStatusCode\\": 0,\\n \\"Code\\": \\"\\",\\n \\"Success\\": true,\\n \\"ReportId\\": \\"DYYPZIH\\"\\n}","type":"json"}]', + ], + 'AdjustPtsSceneSpeed' => [ + 'summary' => 'Adjusts the load of a PTS scenario.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -264,12 +169,27 @@ [ 'name' => 'SceneId', 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The scenario ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'DYYPZIH'], + ], + [ + 'name' => 'ApiSpeedList', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'NHGV4CDG', + 'description' => 'The speed adjustment configuration.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ApiId' => ['description' => 'The API ID. Use this ID to find the corresponding API information in the relation.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'DYXXX12H'], + 'Speed' => ['description' => 'The target stress value. In concurrent mode, this is the concurrent value. In RPS mode, this is the RPS value.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'title' => '', 'example' => '30'], + ], + 'required' => false, + 'description' => '', + 'title' => '', + ], + 'required' => false, + 'title' => '', ], ], ], @@ -278,58 +198,53 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '4F7D2XE0-AE4C-4143-955A-8E4595AF86A6', - ], - 'HttpStatusCode' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Code' => [ - 'description' => '', - 'type' => 'string', - 'example' => '200', - ], - 'Success' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'true', - ], + 'Message' => ['description' => 'The error message. This parameter is empty if the request is successful.', 'type' => 'string', 'title' => '', 'example' => '空'], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '4F7D2CE0-XXXX-4143-955A-8E4595AF86A6'], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '200'], + 'Code' => ['description' => 'The system status code.', 'type' => 'string', 'title' => '', 'example' => '200'], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n" + ."\n" + .'- true: The request was successful.'."\n" + .'- false: The request failed.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], ], + 'description' => '', + 'title' => '', ], ], ], 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'DeletePtsSceneBaseLineFail', - 'errorMessage' => 'The scene cannot be empty.', + 403 => [ + ['errorCode' => 'SceneNotExist', 'errorMessage' => 'The scene does not exist.', 'description' => ''], + ], + ], + 'title' => 'AdjustPtsSceneSpeed', + 'description' => 'In concurrent mode, pass the concurrent value for the first API in each trace. This value will be used for the entire trace.'."\n" + ."\n" + .'In Requests Per Second (RPS) mode, you can adjust the RPS value for each API. Within the same trace, ensure that the RPS values decrease for each subsequent API.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AdjustPtsSceneSpeed'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => '', + 'ramAction' => [ + 'action' => 'pts:AdjustPtsSceneSpeed', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PTS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"空\\",\\n \\"RequestId\\": \\"4F7D2XE0-AE4C-4143-955A-8E4595AF86A6\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<DeletePtsSceneBaseLineResponse>\\n <Message/>\\n <RequestId>4F7D2XE0-AE4C-4143-955A-8E4595AF86A6</RequestId>\\n <HttpStatusCode>200</HttpStatusCode>\\n <Code>200</Code>\\n <Success>true</Success>\\n</DeletePtsSceneBaseLineResponse>","errorExample":""}]', - 'title' => 'DeletePtsSceneBaseLine', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"空\\",\\n \\"RequestId\\": \\"4F7D2CE0-XXXX-4143-955A-8E4595AF86A6\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', ], - 'UpdatePtsSceneBaseLine' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreatePtsScene' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -346,40 +261,16 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [], + 'systemTags' => [ + 'operationType' => 'create', + 'abilityTreeCode' => '22649', + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], + ], 'parameters' => [ [ - 'name' => 'SceneId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the scene. For more information, see the [table](~~201321~~) provided in this topic.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'NB54CV', - ], - ], - [ - 'name' => 'SceneBaseline', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'null null'."\n", - 'type' => 'object', - 'required' => false, - 'example' => '{"avgRt":1,"avgTps":1,"failCountBiz":1,"failCountReq":1,"seg90Rt":1,"seg99Rt":2,"successRateBiz":0.5,"successRateReq":1}', - ], - ], - [ - 'name' => 'ApiBaselines', + 'name' => 'Scene', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'null null'."\n", - 'type' => 'object', - 'required' => false, - 'example' => '[{"avgRt":1,"avgTps":1,"failCountBiz":1,"failCountReq":182381,"id":362447,"maxRt":3051,"minRt":0,"name":"1-1","seg50Rt":1,"seg75Rt":1,"seg90Rt":1,"seg99Rt":3,"successRateBiz":1,"successRateReq":0,"timingConnAvg":0},{"avgRt":1.06,"avgTps":1,"failCountBiz":0,"failCountReq":151143,"id":362446,"maxRt":3068,"minRt":0,"name":"dd","seg50Rt":1,"seg75Rt":1,"seg90Rt":1,"seg99Rt":2,"successRateBiz":1,"successRateReq":0}]', - ], + 'schema' => ['description' => 'The information about the scenario.', 'type' => 'string', 'example' => '{"loadConfig":{"agentCount":1,"apiLoadConfigList":[{"rpsBegin":10,"rpsLimit":100}],"configuration":{"allRpsBegin":10,"allRpsLimit":100},"maxRunningTime":1,"testMode":"tps_mode"},"relationList":[{"apiList":[{"apiName":"API 1 of chain 1","body":{"bodyValue":"{\\"key1\\":\\"111\\",\\"key2\\":\\"222\\"}","contentType":"application/x-www-form-urlencoded"},"checkPointList":[{"checkPoint":"userId","checkType":"EXPORTED_PARAM","expectValue":"111","operator":"ctn"}],"exportList":[{"exportName":"userId","exportType":"STATUS_CODE"}],"headerList":[{"headerName":"userName","headerValue":"John"}],"method":"GET","url":"https://www.aliyundoc.com"}],"relationName":"Chain 1"}],"sceneName":"xing-test-OpenAPI-1"}', 'required' => true, 'docRequired' => true, 'title' => ''], ], ], 'responses' => [ @@ -387,63 +278,46 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => 'null'."\n", - 'type' => 'string', - 'example' => '', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '4F7D2CE0-AE4C-4143-955A-8E4595AF86A6', - ], - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Code' => [ - 'description' => 'The system status code.'."\n", - 'type' => 'string', - 'example' => '200', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful.'."\n" - ."\n" - .'* true'."\n" - .'* false:'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'SceneId' => ['description' => 'The ID of the scenario that was created.', 'type' => 'string', 'example' => 'SDR3CX', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '4F7D2CE0-AE4C-4143-955A-8E4595AF86A6', 'title' => ''], + 'Message' => ['description' => 'The error message. This parameter is not returned if the call is successful.', 'type' => 'string', 'example' => '创建或者修改场景入参必须是实体类Scene的JSON串', 'title' => ''], + 'HttpStatusCode' => ['description' => 'The HTTP status code. This parameter is not returned if the call is successful.', 'type' => 'integer', 'format' => 'int32', 'example' => '400', 'title' => ''], + 'Code' => ['description' => 'The system status code. This parameter is not returned if the call is successful.', 'type' => 'string', 'example' => '4001', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the call was successful.'."\n" + ."\n" + .'- true: successful'."\n" + ."\n" + .'- false: failed', 'type' => 'boolean', 'example' => 'false', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'UpdatePtsSceneBaseLineFail', - 'errorMessage' => 'The scene cannot be empty.', - ], + ['errorCode' => 'CreateSceneFail', 'errorMessage' => 'Create scene cannot be empty', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"空\\",\\n \\"RequestId\\": \\"4F7D2CE0-AE4C-4143-955A-8E4595AF86A6\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<UpdatePtsSceneBaseLineResponse>\\n <Message/>\\n <RequestId>4F7D2CE0-AE4C-4143-955A-8E4595AF86A6</RequestId>\\n <HttpStatusCode>200</HttpStatusCode>\\n <Code>200</Code>\\n <Success>true</Success>\\n</UpdatePtsSceneBaseLineResponse>","errorExample":""}]', - 'title' => 'UpdatePtsSceneBaseLine', - 'summary' => 'null', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"SceneId\\": \\"SDR3CX\\",\\n \\"RequestId\\": \\"4F7D2CE0-AE4C-4143-955A-8E4595AF86A6\\",\\n \\"Message\\": \\"创建或者修改场景入参必须是实体类Scene的JSON串\\",\\n \\"HttpStatusCode\\": 400,\\n \\"Code\\": \\"4001\\",\\n \\"Success\\": false\\n}","type":"json"}]', + 'title' => 'CreatePtsScene', + 'summary' => 'Creates a stress testing scenario.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'GetPtsSceneBaseLine' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreatePtsScene'], + ], ], + 'ramActions' => [], + 'translator' => 'machine', + ], + 'CreatePtsSceneBaseLineFromReport' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -458,20 +332,19 @@ 'BearerToken' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'SceneId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the scene. For more information, see the [table](~~201321~~) provided in this topic.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'NB54CV', - ], + 'schema' => ['description' => 'The scenario ID. For more information, see [Parameters](~~201321~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'VCB78HB'], + ], + [ + 'name' => 'ReportId', + 'in' => 'query', + 'schema' => ['description' => 'The report ID. For more information, see [Parameters](~~201321~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'HNB78HB'], ], ], 'responses' => [ @@ -479,216 +352,54 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'SceneId' => [ - 'description' => 'The ID of the scene.'."\n", - 'type' => 'string', - 'example' => 'NHG67BF', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '4F7D2CE0-AE4C-4143-955A-8E4595AF86A6', - ], - 'Message' => [ - 'description' => 'null'."\n", - 'type' => 'string', - 'example' => '', - ], - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Baseline' => [ - 'description' => 'Baseline data'."\n", - 'type' => 'object', - 'properties' => [ - 'SceneBaseline' => [ - 'description' => 'null'."\n", - 'type' => 'object', - 'properties' => [ - 'FailCountBiz' => [ - 'description' => 'null'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'SuccessRateBiz' => [ - 'description' => 'null'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.1', - ], - 'AvgRt' => [ - 'description' => 'Average RT'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '10', - ], - 'FailCountReq' => [ - 'description' => 'Failures'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'AvgTps' => [ - 'description' => 'null'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '1000', - ], - 'Seg99Rt' => [ - 'description' => 'null'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '10', - ], - 'SuccessRateReq' => [ - 'description' => 'request success rate'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.9', - ], - 'Seg90Rt' => [ - 'description' => 'null'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '10', - ], - ], - ], - 'Name' => [ - 'description' => 'Scenario'."\n", - 'type' => 'string', - 'example' => '', - ], - 'ApiBaselines' => [ - 'description' => 'null'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'FailCountBiz' => [ - 'description' => 'null'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'AvgTps' => [ - 'description' => 'null'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '1000', - ], - 'MinRt' => [ - 'description' => 'null'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '8', - ], - 'Seg99Rt' => [ - 'description' => 'null'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '50', - ], - 'MaxRt' => [ - 'description' => 'null'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '50', - ], - 'Seg90Rt' => [ - 'description' => 'null'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '40', - ], - 'SuccessRateBiz' => [ - 'description' => 'null'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.1', - ], - 'AvgRt' => [ - 'description' => 'Average RT'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '10', - ], - 'FailCountReq' => [ - 'description' => 'Failures'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'Name' => [ - 'description' => 'The name of the API operation.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'SuccessRateReq' => [ - 'description' => 'request success rate'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.9', - ], - 'Id' => [ - 'description' => 'The API ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '76543', - ], - ], - 'description' => '', - ], - ], - ], - ], - 'Code' => [ - 'description' => 'The system status code.'."\n", - 'type' => 'string', - 'example' => '200', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful.'."\n" - ."\n" - .'* true'."\n" - .'* false:'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'Message' => ['description' => 'The error message returned. This parameter is empty if the request is successful.', 'type' => 'string', 'title' => '', 'example' => '空'], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '4F7D2CE0-AE4C-4143-954A-8E4595AF86A6'], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '200'], + 'Code' => ['description' => 'The status code.', 'type' => 'string', 'title' => '', 'example' => '200'], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n" + ."\n" + .'- true: The request was successful.'."\n" + .'- false: The request failed.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], ], 'description' => '', + 'title' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'GetPtsSceneBaseLineFail', - 'errorMessage' => 'The scene information cannot be empty.', - ], + ['errorCode' => 'CreatePtsSceneBaseLineFromReportFail', 'errorMessage' => 'The scene or the report cannot be empty.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"SceneId\\": \\"NHG67BF\\",\\n \\"RequestId\\": \\"4F7D2CE0-AE4C-4143-955A-8E4595AF86A6\\",\\n \\"Message\\": \\"空\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Baseline\\": {\\n \\"SceneBaseline\\": {\\n \\"FailCountBiz\\": 1000,\\n \\"SuccessRateBiz\\": 0.1,\\n \\"AvgRt\\": 10,\\n \\"FailCountReq\\": 1000,\\n \\"AvgTps\\": 1000,\\n \\"Seg99Rt\\": 10,\\n \\"SuccessRateReq\\": 0.9,\\n \\"Seg90Rt\\": 10\\n },\\n \\"Name\\": \\"压测场景\\",\\n \\"ApiBaselines\\": [\\n {\\n \\"FailCountBiz\\": 100,\\n \\"AvgTps\\": 1000,\\n \\"MinRt\\": 8,\\n \\"Seg99Rt\\": 50,\\n \\"MaxRt\\": 50,\\n \\"Seg90Rt\\": 40,\\n \\"SuccessRateBiz\\": 0.1,\\n \\"AvgRt\\": 10,\\n \\"FailCountReq\\": 100,\\n \\"Name\\": \\"下单API\\",\\n \\"SuccessRateReq\\": 0.9,\\n \\"Id\\": 76543\\n }\\n ]\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<GetPtsSceneBaseLineResponse>\\n <SceneId>NHG67BF</SceneId>\\n <RequestId>4F7D2CE0-AE4C-4143-955A-8E4595AF86A6</RequestId>\\n <Message/>\\n <HttpStatusCode>200</HttpStatusCode>\\n <Baseline>\\n <SceneBaseline>\\n <FailCountBiz>1000</FailCountBiz>\\n <SuccessRateBiz>0.1</SuccessRateBiz>\\n <AvgRt>10</AvgRt>\\n <FailCountReq>1000</FailCountReq>\\n <AvgTps>1000</AvgTps>\\n <Seg99Rt>10</Seg99Rt>\\n <SuccessRateReq>0.9</SuccessRateReq>\\n <Seg90Rt>10</Seg90Rt>\\n </SceneBaseline>\\n <Name>压测场景</Name>\\n <ApiBaselines>\\n <FailCountBiz>100</FailCountBiz>\\n <AvgTps>1000</AvgTps>\\n <MinRt>8</MinRt>\\n <Seg99Rt>50</Seg99Rt>\\n <MaxRt>50</MaxRt>\\n <Seg90Rt>40</Seg90Rt>\\n <SuccessRateBiz>0.1</SuccessRateBiz>\\n <AvgRt>10</AvgRt>\\n <FailCountReq>100</FailCountReq>\\n <Name>下单API</Name>\\n <SuccessRateReq>0.9</SuccessRateReq>\\n <Id>76543</Id>\\n </ApiBaselines>\\n </Baseline>\\n <Code>200</Code>\\n <Success>true</Success>\\n</GetPtsSceneBaseLineResponse>","errorExample":""}]', - 'title' => 'GetPtsSceneBaseLine', - 'summary' => 'null', + 'title' => 'CreatePtsSceneBaseLineFromReport', + 'summary' => 'Sets a report as the baseline for a scenario.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListPtsReports' => [ - 'summary' => 'Queries Performance Testing Service (PTS) reports based on specified conditions.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '5', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreatePtsSceneBaseLineFromReport'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => '', + 'ramAction' => [ + 'action' => 'pts:CreatePtsSceneBaseLineFromReport', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PTS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"空\\",\\n \\"RequestId\\": \\"4F7D2CE0-AE4C-4143-954A-8E4595AF86A6\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'DeletePtsScene' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -703,216 +414,69 @@ 'BearerToken' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ - 'name' => 'PageNumber', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The number of the page to return. The page number starts from 1.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '50', - 'minimum' => '1', - 'example' => '1', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The number of reports to return per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '20', - 'minimum' => '1', - 'example' => '10', - ], - ], - [ 'name' => 'SceneId', - 'in' => 'formData', - 'schema' => [ - 'title' => '要查看的报告的场景id', - 'description' => 'The ID of the scenario whose report you want to view.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '1PDAL8H', - ], - ], - [ - 'name' => 'ReportId', - 'in' => 'formData', - 'schema' => [ - 'title' => '报告ID', - 'description' => 'The report ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '7RLPM3Y2', - ], - ], - [ - 'name' => 'BeginTime', - 'in' => 'formData', - 'schema' => [ - 'title' => '报告的起始时间,单位为ms', - 'description' => 'The timestamp when the stress testing starts. Unit: ms.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '0', - 'example' => '1637115303000', - ], - ], - [ - 'name' => 'EndTime', - 'in' => 'formData', - 'schema' => [ - 'title' => '报告的结束时间', - 'description' => 'The timestamp when the stress testing ends. Unit: ms.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '0', - 'example' => '1637115306000', - ], - ], - [ - 'name' => 'Keyword', - 'in' => 'formData', - 'schema' => [ - 'title' => '报告关键字', - 'description' => 'The report keyword.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'in' => 'query', + 'schema' => ['description' => 'The unique ID of the scenario. The system generates this ID after the scenario is created.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'XANH3H'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'Sample response:'."\n", 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => 'The total number of reports returned based on the condition.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'A8E4LR80-15P1-555A-9ZZF-B736AZO5E5ID', - ], - 'Message' => [ - 'description' => 'The returned message. If the request was successful, an empty string is returned.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'PageSize' => [ - 'description' => 'The number of reports returned per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'PageNumber' => [ - 'description' => 'The number of the returned page. The page number starts from 1.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Reports' => [ - 'description' => 'The reports.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The report.'."\n", - 'type' => 'object', - 'properties' => [ - 'ReportName' => [ - 'title' => '报告名称', - 'description' => 'The report name.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'Duration' => [ - 'title' => '压测持续时间', - 'description' => 'The stress testing duration.'."\n", - 'type' => 'string', - 'example' => '10分钟', - ], - 'ReportId' => [ - 'title' => '报告id', - 'description' => 'The report ID.'."\n", - 'type' => 'string', - 'example' => '7RLPM3Y2', - ], - 'Vum' => [ - 'title' => '消耗的vum', - 'description' => 'The consumed Virtual User Minutes (VUM).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'ActualStartTime' => [ - 'title' => '压测开始时间', - 'description' => 'The timestamp when the stress testing starts. Unit: ms.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1637157073000', - ], - ], - ], - ], - 'Code' => [ - 'description' => 'The system status code.'."\n", - 'type' => 'string', - 'example' => '200', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values: true false'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'Message' => ['description' => 'The error message. This parameter is not returned if the request is successful.', 'type' => 'string', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => 'A3ED870E-C3BF-44F4-B460-A30785E0256B'], + 'HttpStatusCode' => ['description' => 'The HTTP status code. This parameter is not returned if the request is successful.', 'type' => 'integer', 'format' => 'int32', 'title' => ''], + 'Code' => ['description' => 'The status code. This parameter is not returned if the request is successful.', 'type' => 'string', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n" + ."\n" + .'- true: The request was successful.'."\n" + .'- false: The request failed.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], ], + 'description' => '', + 'title' => '', ], ], ], 'errorCodes' => [ - 403 => [ - [ - 'errorCode' => 'ReportNotExist', - 'errorMessage' => 'The report does not exist.', - ], + 400 => [ + ['errorCode' => 'DeletePtsSceneFail', 'errorMessage' => 'Delete Scene failed, please check the scene ID is correct', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 100,\\n \\"RequestId\\": \\"A8E4LR80-15P1-555A-9ZZF-B736AZO5E5ID\\",\\n \\"Message\\": \\"空\\",\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"HttpStatusCode\\": 200,\\n \\"Reports\\": [\\n {\\n \\"ReportName\\": \\"test\\",\\n \\"Duration\\": \\"10分钟\\",\\n \\"ReportId\\": \\"7RLPM3Y2\\",\\n \\"Vum\\": 1000,\\n \\"ActualStartTime\\": 1637157073000\\n }\\n ],\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<ListPtsReportsResponse>\\n <TotalCount>100</TotalCount>\\n <RequestId>A8E16480-15C1-555A-922F-B736A005E52D</RequestId>\\n <Message/>\\n <PageSize>10</PageSize>\\n <PageNumber>1</PageNumber>\\n <HttpStatusCode>200</HttpStatusCode>\\n <Reports>\\n <ReportName>test</ReportName>\\n <Duration>10分钟</Duration>\\n <ReportId>7R4RE352</ReportId>\\n <Vum>1000</Vum>\\n <ActualStartTime>1637157073000</ActualStartTime>\\n </Reports>\\n <Code>200</Code>\\n <Success>true</Success>\\n</ListPtsReportsResponse>","errorExample":""}]', - 'title' => 'ListPtsReports', - ], - 'GetPtsReportDetails' => [ - 'methods' => [ - 'post', + 'title' => 'DeletePtsScene', + 'summary' => 'This operation deletes a scenario.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeletePtsScene'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => '', + 'ramAction' => [ + 'action' => 'pts:DeletePtsScene', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PTS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"\\",\\n \\"RequestId\\": \\"A3ED870E-C3BF-44F4-B460-A30785E0256B\\",\\n \\"HttpStatusCode\\": 0,\\n \\"Code\\": \\"\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'DeletePtsSceneBaseLine' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -927,31 +491,14 @@ 'BearerToken' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'SceneId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the scenario.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'G5HCVS', - ], - ], - [ - 'name' => 'PlanId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the performance testing task. A task ID is generated each time a PTS scenario is started.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'OH5HA3VB', - ], + 'schema' => ['description' => 'The scenario ID. For more information, see [Parameters](~~201321~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'NHGV4CDG'], ], ], 'responses' => [ @@ -959,657 +506,54 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => 'The error message. If the operation is successful, this parameter is not returned.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'DC4E3177-6745-4925-B423-4E89VV34221A', - ], - 'ReportOverView' => [ - 'description' => 'The summary of the report.'."\n", - 'type' => 'object', - 'properties' => [ - 'ReportName' => [ - 'description' => 'The name of the report.'."\n", - 'type' => 'string', - 'example' => 'PTS-TEST', - ], - 'EndTime' => [ - 'description' => 'The end time of the performance testing task.'."\n", - 'type' => 'string', - 'example' => '2024-09-20 10:41:33'."\n", - ], - 'StartTime' => [ - 'description' => 'The start time of the performance testing task.'."\n", - 'type' => 'string', - 'example' => '2024-09-20 10:39:33'."\n", - ], - 'AgentCount' => [ - 'description' => 'The number of load generators. Each load generator has an IP address.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'ReportId' => [ - 'description' => 'The ID of the report.'."\n", - 'type' => 'string', - 'example' => 'GHB56VD', - ], - 'Vum' => [ - 'description' => 'The virtual user minutes (VUM).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1012'."\n", - ], - ], - ], - 'SceneMetrics' => [ - 'description' => 'The metrics of the scenario.'."\n", - 'type' => 'object', - 'properties' => [ - 'FailCountBiz' => [ - 'description' => 'The number of business failures in the scenario.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'AllCount' => [ - 'description' => 'The number of requests in the scenario.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '11872'."\n", - ], - 'SuccessRateBiz' => [ - 'description' => 'The business success rate in the scenario.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0', - ], - 'AvgRt' => [ - 'description' => 'The average response time in the scenario.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '170.49'."\n", - ], - 'FailCountReq' => [ - 'description' => 'The number of failed requests in the scenario.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0'."\n", - ], - 'AvgTps' => [ - 'description' => 'The average transactions per second (TPS) in the scenario.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '100.61'."\n", - ], - 'Seg99Rt' => [ - 'description' => 'The 99th percentile response time.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '284'."\n", - ], - 'SuccessRateReq' => [ - 'description' => 'The request success rate in the scenario.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '1', - ], - 'Seg90Rt' => [ - 'description' => 'The 90th percentile response time.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '170'."\n", - ], - ], - ], - 'ApiMetricsList' => [ - 'description' => 'The metrics for API operations in the PTS scenario'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'FailCountBiz' => [ - 'description' => 'The number of business-related failures. If a checkpoint is defined, a failure occurs when the conditions for the checkpoint are not satisfied.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Seg75Rt' => [ - 'description' => 'The 75th percentile response time.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '169'."\n", - ], - 'AllCount' => [ - 'description' => 'The total number of requests.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '11872'."\n", - ], - 'AvgTps' => [ - 'description' => 'The average TPS.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '100.61'."\n", - ], - 'MinRt' => [ - 'description' => 'The minimum response time. Unit: ms.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '162'."\n", - ], - 'Seg99Rt' => [ - 'description' => 'The 99th percentile response time.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '284'."\n", - ], - 'Seg50Rt' => [ - 'description' => 'The 50th percentile response time.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '168'."\n", - ], - 'MaxRt' => [ - 'description' => 'The maximum response time. Unit: ms.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '600'."\n", - ], - 'Seg90Rt' => [ - 'description' => 'The 90th percentile response time.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '170'."\n", - ], - 'SuccessRateBiz' => [ - 'description' => 'The business success rate. The value is the ratio of the number of successful business to the total number of business.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0', - ], - 'AvgRt' => [ - 'description' => 'The average response time. Unit: ms.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '170.49'."\n", - ], - 'FailCountReq' => [ - 'description' => 'The number of failed requests.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'SuccessRateReq' => [ - 'description' => 'The request success rate. The value is the ratio of the number of successful requests to the total number of requests.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '1', - ], - 'ApiName' => [ - 'description' => 'The name of the API.'."\n", - 'type' => 'string', - 'example' => 'Test-API'."\n", - ], - ], - 'description' => '', - ], - ], - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code. If the operation is successful, this parameter is not returned.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Code' => [ - 'description' => 'The system status code. If the operation is successful, this parameter is not returned.', - 'type' => 'string', - 'example' => '200', - ], - 'SceneSnapShot' => [ - 'description' => 'The snapshot of the scenario.'."\n", - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => 'The status of the scenario.'."\n", - 'type' => 'string', - 'example' => 'STOPPED', - ], - 'LoadConfig' => [ - 'description' => 'The load settings.'."\n", - 'type' => 'object', - 'properties' => [ - 'ApiLoadConfigList' => [ - 'description' => 'The API request load settings.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'RpsBegin' => [ - 'description' => 'The starting requests per second (RPS).'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'RpsLimit' => [ - 'description' => 'The maximum RPS.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - ], - 'description' => '', - ], - ], - 'MaxRunningTime' => [ - 'description' => 'The maximum running time. Unit: minutes.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'RelationLoadConfigList' => [ - 'description' => 'The settings of the session.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ConcurrencyBegin' => [ - 'description' => 'The starting number of concurrent virtual users.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'ConcurrencyLimit' => [ - 'description' => 'The maximum number of concurrent virtual users.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - ], - 'description' => '', - ], - ], - 'Configuration' => [ - 'description' => 'The concurrency and RPS limits in the scenario.'."\n", - 'type' => 'object', - 'properties' => [ - 'AllRpsBegin' => [ - 'description' => 'The starting RPS in the scenario.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'AllConcurrencyBegin' => [ - 'description' => 'The starting number of concurrent virtual users in the scenario.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'AllConcurrencyLimit' => [ - 'description' => 'The maximum number of concurrent virtual users in the scenario.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '500', - ], - 'AllRpsLimit' => [ - 'description' => 'The maximum RPS in the scenario.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1000', - ], - ], - ], - 'AgentCount' => [ - 'description' => 'The number of load generators.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TestMode' => [ - 'description' => 'The load application mode.'."\n", - 'type' => 'string', - 'example' => 'TPS', - ], - ], - ], - 'FileParameterList' => [ - 'description' => 'The file used in the scenario.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'FileOssAddress' => [ - 'description' => 'The Object Storage Service (OSS) URL of the file.'."\n", - 'type' => 'string', - 'example' => 'https://test-bucket.oss-cn-shanghai.aliyuncs.com/test.csv', - ], - 'FileName' => [ - 'description' => 'The name of the file.'."\n", - 'type' => 'string', - 'example' => 'test.csv'."\n", - ], - ], - 'description' => '', - ], - ], - 'ModifiedTime' => [ - 'description' => 'The last modification time of the scenario.'."\n", - 'type' => 'string', - 'example' => '2020-10-10 10:10:10', - ], - 'AdvanceSetting' => [ - 'description' => 'The advanced settings of the scenario.'."\n", - 'type' => 'object', - 'properties' => [ - 'LogRate' => [ - 'description' => 'The log sampling rate.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'DomainBindingList' => [ - 'description' => 'The domain name-IP address binding relationships.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Domain' => [ - 'description' => 'The domain name.'."\n", - 'type' => 'string', - 'example' => 'www.example.com'."\n", - ], - 'Ips' => [ - 'description' => 'The IP addresses bound to the domain name.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The IP address bound to the domain name.'."\n", - 'type' => 'string', - 'example' => '[192.168.0.1]'."\n", - ], - ], - ], - 'description' => '', - ], - ], - 'ConnectionTimeoutInSecond' => [ - 'description' => 'The timeout period of the scenario.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'SuccessCode' => [ - 'description' => 'The custom success code.'."\n", - 'type' => 'string', - 'example' => '429,404', - ], - ], - ], - 'CreateTime' => [ - 'description' => 'The time when the scenario was created.'."\n", - 'type' => 'string', - 'example' => '2024-09-20 09:28:10'."\n", - ], - 'RelationList' => [ - 'description' => 'The sessions.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'RelationName' => [ - 'description' => 'The name of the session.'."\n", - 'type' => 'string', - 'example' => 'Test-session-1'."\n", - ], - 'FileParameterExplainList' => [ - 'description' => 'The file parameters used by the session.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'CycleOnce' => [ - 'description' => 'Indicates whether the parameters are used once.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'FileParamName' => [ - 'description' => 'The parameters in the file.'."\n", - 'type' => 'string', - 'example' => 'username', - ], - 'FileName' => [ - 'description' => 'The name of the file.'."\n", - 'type' => 'string', - 'example' => 'test.csv'."\n", - ], - 'BaseFile' => [ - 'description' => 'Indicates whether the file is used as the baseline file.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - ], - 'description' => '', - ], - ], - 'ApiList' => [ - 'description' => 'The settings of the API operation.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ApiId' => [ - 'description' => 'The ID of the API operation.'."\n", - 'type' => 'string', - 'example' => 'MNB45', - ], - 'CheckPointList' => [ - 'description' => 'The checkpoints of the API operation.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'CheckType' => [ - 'description' => 'The check type.'."\n", - 'type' => 'string', - 'example' => 'EXPORTED_PARAM', - ], - 'Operator' => [ - 'description' => 'The check operator.'."\n", - 'type' => 'string', - 'example' => 'ctn', - ], - 'ExpectValue' => [ - 'description' => 'The expected value.'."\n", - 'type' => 'string', - 'example' => '111', - ], - 'CheckPoint' => [ - 'description' => 'The checked item.'."\n", - 'type' => 'string', - 'example' => 'userId', - ], - ], - 'description' => '', - ], - ], - 'HeaderList' => [ - 'description' => 'The headers.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'HeaderValue' => [ - 'description' => 'The value of the header.'."\n", - 'type' => 'string', - 'example' => 'PTS'."\n", - ], - 'HeaderName' => [ - 'description' => 'The name of the header.'."\n", - 'type' => 'string', - 'example' => 'User-Agent'."\n", - ], - ], - 'description' => '', - ], - ], - 'TimeoutInSecond' => [ - 'description' => 'The timeout period.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'ExportList' => [ - 'description' => 'The export parameters.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ExportType' => [ - 'description' => 'The source of the export parameter.'."\n", - 'type' => 'string', - 'example' => 'BODY_JSON', - ], - 'ExportValue' => [ - 'description' => 'The actual path from which you want to extract the export parameter values.'."\n", - 'type' => 'string', - 'example' => 'data.userId', - ], - 'ExportName' => [ - 'description' => 'The name of the export parameter.'."\n", - 'type' => 'string', - 'example' => 'userId', - ], - 'Count' => [ - 'description' => 'The index of the export parameter.'."\n", - 'type' => 'string', - 'example' => '1', - ], - ], - 'description' => '', - ], - ], - 'Url' => [ - 'description' => 'The URL to which the API request is sent.'."\n", - 'type' => 'string', - 'example' => 'http://www.example.com/'."\n", - ], - 'Method' => [ - 'description' => 'The method of the request.'."\n", - 'type' => 'string', - 'example' => 'GET', - ], - 'Body' => [ - 'description' => 'The request body.'."\n", - 'type' => 'object', - 'properties' => [ - 'BodyValue' => [ - 'description' => 'The content of the request body.'."\n", - 'type' => 'string', - 'example' => '{key:value}', - ], - 'ContentType' => [ - 'description' => 'The type of the request body.'."\n", - 'type' => 'string', - 'example' => 'application/x-www-form-urlencoded', - ], - ], - ], - 'RedirectCountLimit' => [ - 'description' => 'The number of redirections.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'ApiName' => [ - 'description' => 'The name of the API operation.'."\n", - 'type' => 'string', - 'example' => 'Test-API'."\n", - ], - ], - 'description' => '', - ], - ], - 'RelationId' => [ - 'description' => 'The ID of the session.'."\n", - 'type' => 'string', - 'example' => 'HGBN4D', - ], - ], - 'description' => '', - ], - ], - 'SceneName' => [ - 'description' => 'The name of the scenario.'."\n", - 'type' => 'string', - 'example' => 'PTS-TEST'."\n", - ], - 'SceneId' => [ - 'description' => 'The ID of the scenario.'."\n", - 'type' => 'string', - 'example' => '7HBNS3', - ], - 'GlobalParameterList' => [ - 'description' => 'The global parameters.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ParamName' => [ - 'description' => 'The name of the parameter.'."\n", - 'type' => 'string', - 'example' => 'username', - ], - 'ParamValue' => [ - 'description' => 'The value of the parameter.'."\n", - 'type' => 'string', - 'example' => 'user01', - ], - ], - 'description' => '', - ], - ], - ], - ], - 'Success' => [ - 'description' => 'Indicates whether the operation is successful. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'Message' => ['description' => 'The error message. This parameter is empty if the request is successful.', 'type' => 'string', 'title' => '', 'example' => '空'], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '4F7D2XE0-AE4C-4143-955A-8E4595AF86A6'], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '200'], + 'Code' => ['description' => 'The system status code.', 'type' => 'string', 'title' => '', 'example' => '200'], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n" + ."\n" + .'- true: The request was successful.'."\n" + .'- false: The request failed.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], ], 'description' => '', + 'title' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'GetPtsReportDetailsFail', - 'errorMessage' => 'Report does not exist', - ], + ['errorCode' => 'DeletePtsSceneBaseLineFail', 'errorMessage' => 'The scene cannot be empty.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"\\",\\n \\"RequestId\\": \\"DC4E3177-6745-4925-B423-4E89VV34221A\\",\\n \\"ReportOverView\\": {\\n \\"ReportName\\": \\"PTS-TEST\\",\\n \\"EndTime\\": \\"2024-09-20 10:41:33\\",\\n \\"StartTime\\": \\"2024-09-20 10:39:33\\",\\n \\"AgentCount\\": 1,\\n \\"ReportId\\": \\"GHB56VD\\",\\n \\"Vum\\": 1012\\n },\\n \\"SceneMetrics\\": {\\n \\"FailCountBiz\\": 0,\\n \\"AllCount\\": 11872,\\n \\"SuccessRateBiz\\": 0,\\n \\"AvgRt\\": 170.49,\\n \\"FailCountReq\\": 0,\\n \\"AvgTps\\": 100.61,\\n \\"Seg99Rt\\": 284,\\n \\"SuccessRateReq\\": 1,\\n \\"Seg90Rt\\": 170\\n },\\n \\"ApiMetricsList\\": [\\n {\\n \\"FailCountBiz\\": 0,\\n \\"Seg75Rt\\": 169,\\n \\"AllCount\\": 11872,\\n \\"AvgTps\\": 100.61,\\n \\"MinRt\\": 162,\\n \\"Seg99Rt\\": 284,\\n \\"Seg50Rt\\": 168,\\n \\"MaxRt\\": 600,\\n \\"Seg90Rt\\": 170,\\n \\"SuccessRateBiz\\": 0,\\n \\"AvgRt\\": 170.49,\\n \\"FailCountReq\\": 0,\\n \\"SuccessRateReq\\": 1,\\n \\"ApiName\\": \\"Test-API\\"\\n }\\n ],\\n \\"HttpStatusCode\\": 0,\\n \\"Code\\": \\"\\",\\n \\"SceneSnapShot\\": {\\n \\"Status\\": \\"STOPPED\\",\\n \\"LoadConfig\\": {\\n \\"ApiLoadConfigList\\": [\\n {\\n \\"RpsBegin\\": 10,\\n \\"RpsLimit\\": 10\\n }\\n ],\\n \\"MaxRunningTime\\": 2,\\n \\"RelationLoadConfigList\\": [\\n {\\n \\"ConcurrencyBegin\\": 10,\\n \\"ConcurrencyLimit\\": 20\\n }\\n ],\\n \\"Configuration\\": {\\n \\"AllRpsBegin\\": 100,\\n \\"AllConcurrencyBegin\\": 0,\\n \\"AllConcurrencyLimit\\": 500,\\n \\"AllRpsLimit\\": 1000\\n },\\n \\"AgentCount\\": 1,\\n \\"TestMode\\": \\"TPS\\"\\n },\\n \\"FileParameterList\\": [\\n {\\n \\"FileOssAddress\\": \\"https://test-bucket.oss-cn-shanghai.aliyuncs.com/test.csv\\",\\n \\"FileName\\": \\"test.csv\\"\\n }\\n ],\\n \\"ModifiedTime\\": \\"2020-10-10 10:10:10\\",\\n \\"AdvanceSetting\\": {\\n \\"LogRate\\": 1,\\n \\"DomainBindingList\\": [\\n {\\n \\"Domain\\": \\"www.example.com\\",\\n \\"Ips\\": [\\n \\"[192.168.0.1]\\"\\n ]\\n }\\n ],\\n \\"ConnectionTimeoutInSecond\\": 5,\\n \\"SuccessCode\\": \\"\\"\\n },\\n \\"CreateTime\\": \\"2024-09-20 09:28:10\\",\\n \\"RelationList\\": [\\n {\\n \\"RelationName\\": \\"Test-session-1\\",\\n \\"FileParameterExplainList\\": [\\n {\\n \\"CycleOnce\\": false,\\n \\"FileParamName\\": \\"username\\",\\n \\"FileName\\": \\"test.csv\\",\\n \\"BaseFile\\": true\\n }\\n ],\\n \\"ApiList\\": [\\n {\\n \\"ApiId\\": \\"MNB45\\",\\n \\"CheckPointList\\": [\\n {\\n \\"CheckType\\": \\"EXPORTED_PARAM\\",\\n \\"Operator\\": \\"ctn\\",\\n \\"ExpectValue\\": \\"111\\",\\n \\"CheckPoint\\": \\"userId\\"\\n }\\n ],\\n \\"HeaderList\\": [\\n {\\n \\"HeaderValue\\": \\"PTS\\",\\n \\"HeaderName\\": \\"User-Agent\\"\\n }\\n ],\\n \\"TimeoutInSecond\\": 5,\\n \\"ExportList\\": [\\n {\\n \\"ExportType\\": \\"BODY_JSON\\",\\n \\"ExportValue\\": \\"data.userId\\",\\n \\"ExportName\\": \\"userId\\",\\n \\"Count\\": \\"1\\"\\n }\\n ],\\n \\"Url\\": \\"http://www.example.com/\\",\\n \\"Method\\": \\"GET\\",\\n \\"Body\\": {\\n \\"BodyValue\\": \\"{key:value}\\",\\n \\"ContentType\\": \\"application/x-www-form-urlencoded\\"\\n },\\n \\"RedirectCountLimit\\": 5,\\n \\"ApiName\\": \\"Test-API\\"\\n }\\n ],\\n \\"RelationId\\": \\"HGBN4D\\"\\n }\\n ],\\n \\"SceneName\\": \\"PTS-TEST\\",\\n \\"SceneId\\": \\"7HBNS3\\",\\n \\"GlobalParameterList\\": [\\n {\\n \\"ParamName\\": \\"username\\",\\n \\"ParamValue\\": \\"user01\\"\\n }\\n ]\\n },\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<GetPtsReportDetailsResponse>\\n <Message/>\\n <RequestId>DC4E3177-6745-4925-B423-4E89VV34221A</RequestId>\\n <ReportOverView>\\n <ReportName>下单场景</ReportName>\\n <AgentCount>1</AgentCount>\\n <EndTime>1988203944</EndTime>\\n <StartTime>1988202944</StartTime>\\n <ReportId>GHB56VD</ReportId>\\n <Vum>100</Vum>\\n </ReportOverView>\\n <SceneMetrics>\\n <AllCount>100000</AllCount>\\n <SuccessRateBiz>0.97</SuccessRateBiz>\\n <Seg99Rt>56</Seg99Rt>\\n <FailCountBiz>35</FailCountBiz>\\n <SuccessRateReq>0.99</SuccessRateReq>\\n <Seg90Rt>35</Seg90Rt>\\n <FailCountReq>34</FailCountReq>\\n <AvgTps>78</AvgTps>\\n <AvgRt>23</AvgRt>\\n </SceneMetrics>\\n <ApiMetricsList>\\n <Seg50Rt>39</Seg50Rt>\\n <AllCount>1000</AllCount>\\n <SuccessRateBiz>0.98</SuccessRateBiz>\\n <Seg99Rt>35</Seg99Rt>\\n <FailCountBiz>30</FailCountBiz>\\n <Seg75Rt>26</Seg75Rt>\\n <SuccessRateReq>0.99</SuccessRateReq>\\n <MinRt>10</MinRt>\\n <Seg90Rt>23</Seg90Rt>\\n <FailCountReq>40</FailCountReq>\\n <MaxRt>50</MaxRt>\\n <AvgTps>55</AvgTps>\\n <AvgRt>34.5</AvgRt>\\n </ApiMetricsList>\\n <HttpStatusCode>200</HttpStatusCode>\\n <Code>200</Code>\\n <SceneSnapShot>\\n <Status>STOPPED</Status>\\n <SceneId>7HBNS3</SceneId>\\n <ModifiedTime>2020-10-10 10:10:10</ModifiedTime>\\n <SceneName>下单场景</SceneName>\\n <CreateTime>12684449000</CreateTime>\\n <RelationList>\\n <RelationId>HGBN4D</RelationId>\\n <RelationName>下单链路</RelationName>\\n <ApiList>\\n <ApiName>测试API</ApiName>\\n <RedirectCountLimit>5</RedirectCountLimit>\\n <Method>GET</Method>\\n <TimeoutInSecond>5</TimeoutInSecond>\\n <ApiId>MNB45</ApiId>\\n <Url>https://www.aliyundoc.com</Url>\\n <ExportList>\\n <ExportType>BODY_JSON</ExportType>\\n <ExportName>userId</ExportName>\\n <Count>1</Count>\\n <ExportValue>data.userId</ExportValue>\\n </ExportList>\\n <CheckPointList>\\n <Operator>ctn</Operator>\\n <ExpectValue>111</ExpectValue>\\n <CheckType>EXPORTED_PARAM</CheckType>\\n <CheckPoint>userId</CheckPoint>\\n </CheckPointList>\\n <HeaderList>\\n <HeaderValue>userName</HeaderValue>\\n <HeaderName>1111</HeaderName>\\n </HeaderList>\\n <Body>\\n <ContentType>application/x-www-form-urlencoded</ContentType>\\n <BodyValue>{key:value}</BodyValue>\\n </Body>\\n </ApiList>\\n <FileParameterExplainList>\\n <BaseFile>true</BaseFile>\\n <CycleOnce>true</CycleOnce>\\n <FileParamName>address,name</FileParamName>\\n <FileName>city.csv</FileName>\\n </FileParameterExplainList>\\n </RelationList>\\n <FileParameterList>\\n <FileName>city.csv</FileName>\\n <FileOssAddress>https://www.sss.ccv</FileOssAddress>\\n </FileParameterList>\\n <GlobalParameterList>\\n <ParamValue>lisi</ParamValue>\\n <ParamName>userName</ParamName>\\n </GlobalParameterList>\\n <LoadConfig>\\n <AgentCount>1</AgentCount>\\n <TestMode>tps_mode</TestMode>\\n <MaxRunningTime>2</MaxRunningTime>\\n <ApiLoadConfigList>\\n <RpsLimit>10</RpsLimit>\\n <RpsBegin>10</RpsBegin>\\n </ApiLoadConfigList>\\n <RelationLoadConfigList>\\n <ConcurrencyLimit>20</ConcurrencyLimit>\\n <ConcurrencyBegin>10</ConcurrencyBegin>\\n </RelationLoadConfigList>\\n <Configuration>\\n <AllRpsBegin>80</AllRpsBegin>\\n <AllRpsLimit>160</AllRpsLimit>\\n <AllConcurrencyBegin>10</AllConcurrencyBegin>\\n <AllConcurrencyLimit>10</AllConcurrencyLimit>\\n </Configuration>\\n </LoadConfig>\\n <AdvanceSetting>\\n <LogRate>1</LogRate>\\n <ConnectionTimeoutInSecond>5</ConnectionTimeoutInSecond>\\n <SuccessCode>429,404</SuccessCode>\\n <DomainBindingList>\\n <Domain>www.aliyundoc.com</Domain>\\n <Ips>[1.1.1.1]</Ips>\\n </DomainBindingList>\\n </AdvanceSetting>\\n </SceneSnapShot>\\n <Success>true</Success>\\n</GetPtsReportDetailsResponse>","errorExample":""}]', - 'title' => 'GetPtsReportDetails', - 'summary' => 'Queries the details of a report for a performance testing task in a Performance Testing Service (PTS) scenario.', + 'title' => 'DeletePtsSceneBaseLine', + 'summary' => 'Deletes a scenario baseline.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'GetPtsReportsBySceneId' => [ - 'methods' => [ - 'post', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeletePtsSceneBaseLine'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => '', + 'ramAction' => [ + 'action' => 'pts:DeletePtsSceneBaseLine', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PTS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"空\\",\\n \\"RequestId\\": \\"4F7D2XE0-AE4C-4143-955A-8E4595AF86A6\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'DeletePtsScenes' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1624,47 +568,22 @@ 'BearerToken' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ - 'name' => 'SceneId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The scenario ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'NGBCD4K', - ], - ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to display in the paging operation.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '2147483647', - 'minimum' => '1', - 'example' => '1', - ], - ], - [ - 'name' => 'PageSize', + 'name' => 'SceneIds', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The number of reports to display per page. Valid values: 5 to 100.'."\n", - 'type' => 'integer', - 'format' => 'int32', + 'description' => 'A list of IDs of the scenarios to delete.', + 'type' => 'array', + 'items' => ['description' => 'A collection of scenario IDs.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '["5DG9WQJ","9HG9TYJ"]'], 'required' => true, 'docRequired' => true, - 'maximum' => '100', - 'minimum' => '5', - 'example' => '10', + 'example' => '["XVB4DF","AFG3CV"]', + 'title' => '', ], ], ], @@ -1673,643 +592,384 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => 'The returned message. If the request was successful, this parameter is left empty.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'DC4E3177-6745-4925-B423-4E89VV34221A', - ], - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'ReportOverViewList' => [ - 'description' => 'The reports.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ReportName' => [ - 'description' => 'The title of the report.'."\n", - 'type' => 'string', - 'example' => 'PTS-test-20240920094710', - ], - 'EndTime' => [ - 'description' => 'The end time of the stress testing.'."\n", - 'type' => 'string', - 'example' => '2021-02-26 16:38:30', - ], - 'StartTime' => [ - 'description' => 'The start time of the stress testing.'."\n", - 'type' => 'string', - 'example' => '2021-02-26 16:28:30', - ], - 'AgentCount' => [ - 'description' => 'The number of stress testers.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'ReportId' => [ - 'description' => 'The report ID.'."\n", - 'type' => 'string', - 'example' => 'NGGB5FV', - ], - 'Vum' => [ - 'description' => 'The consumed Virtual User Minutes (VUM).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - ], - 'description' => '', - ], - ], - 'Code' => [ - 'description' => 'The system status code.'."\n", - 'type' => 'string', - 'example' => '200', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'Message' => ['description' => 'The error message. This parameter is not returned if the request is successful.', 'type' => 'string', 'title' => '', 'example' => '空'], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '35290A5B-AB50-46BD-81E0-E316F86128C4'], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '200'], + 'Code' => ['description' => 'The system status code.', 'type' => 'string', 'title' => '', 'example' => '200'], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n" + ."\n" + .'- true: The request was successful.'."\n" + .'- false: The request failed.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], ], 'description' => '', + 'title' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'GetPtsReportsBySceneIdFail', - 'errorMessage' => 'The scene has not started', - ], + ['errorCode' => 'DeletePtsScenesFail', 'errorMessage' => 'Scene is running', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"\\",\\n \\"RequestId\\": \\"DC4E3177-6745-4925-B423-4E89VV34221A\\",\\n \\"HttpStatusCode\\": 200,\\n \\"ReportOverViewList\\": [\\n {\\n \\"ReportName\\": \\"PTS-test-20240920094710\\",\\n \\"EndTime\\": \\"2024-09-20 09:49:11\\",\\n \\"StartTime\\": \\"2024-09-20 09:47:11\\",\\n \\"AgentCount\\": 1,\\n \\"ReportId\\": \\"NGGB5FV\\",\\n \\"Vum\\": 1007\\n }\\n ],\\n \\"Code\\": \\"\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<GetPtsReportsBySceneIdResponse>\\n <Message/>\\n <RequestId>DC4E3177-6745-4925-B423-4E89VV34221A</RequestId>\\n <HttpStatusCode>200</HttpStatusCode>\\n <ReportOverViewList>\\n <ReportName>下单场景</ReportName>\\n <AgentCount>1</AgentCount>\\n <EndTime>2021-02-26 16:38:30</EndTime>\\n <StartTime>2021-02-26 16:28:30</StartTime>\\n <ReportId>NGGB5FV</ReportId>\\n <Vum>100</Vum>\\n </ReportOverViewList>\\n <Code>200</Code>\\n <Success>true</Success>\\n</GetPtsReportsBySceneIdResponse>","errorExample":""}]', - 'title' => 'GetPtsReportsBySceneId', - 'summary' => 'Queries all reports of multiple scenarios that are generated during the stress testing in batch.', + 'title' => 'DeletePtsScenes', + 'summary' => 'Deletes multiple scenarios in a batch.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'GetPtsDebugSampleLogs' => [ - 'summary' => 'Queries the sampling logs for a Performance Testing Service (PTS) debugging task.', - 'methods' => [ - 'post', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeletePtsScenes'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => '', + 'ramAction' => [ + 'action' => 'pts:DeletePtsScenes', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PTS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"空\\",\\n \\"RequestId\\": \\"35290A5B-AB50-46BD-81E0-E316F86128C4\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'GetAllRegions' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [], - 'parameters' => [ [ - 'name' => 'PlanId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the debugging task.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => ' NJJBH8B', - ], + 'APP' => [], ], [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'description' => 'The page number.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'PrivateKey' => [], ], [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'BearerToken' => [], ], ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'A8E16480-15C1-555A-922F-B736A005E52D', - ], - 'SamplingLogs' => [ - 'title' => 'samplingLogs', - 'description' => 'The sampling logs.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The sampling log.'."\n", - 'type' => 'object', - 'properties' => [ - 'HttpRequestMethod' => [ - 'title' => 'httpRequestMethod', - 'description' => 'The request method.'."\n", - 'type' => 'string', - 'example' => 'GET', - ], - 'HttpResponseStatus' => [ - 'title' => 'httpResponseStatus', - 'description' => 'The HTTP status code.'."\n", - 'type' => 'string', - 'example' => '200', - ], - 'Timestamp' => [ - 'title' => 'timestamp', - 'description' => 'The timestamp. Unit: ms.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1650253024471', - ], - 'ExportConfig' => [ - 'title' => 'exportConfig', - 'description' => 'The parameter export configuration.'."\n", - 'type' => 'string', - 'example' => '{\\"skuId\\":\\"{R:json@$.page.list[0].skuId}\\"}', - ], - 'HttpResponseFailMsg' => [ - 'title' => 'httpResponseFailMsg', - 'description' => 'The error message.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'CheckResult' => [ - 'title' => 'checkResult', - 'description' => 'The assertion check result.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'HttpResponseBody' => [ - 'title' => 'httpResponseBody', - 'description' => 'The response body.'."\n", - 'type' => 'string', - 'example' => '{"timestamp":1679903049155,"status":404,"error":"Not Found","message":"No message available","path":"/"}', - ], - 'ChainId' => [ - 'title' => 'chainId', - 'description' => 'The ID of the session.'."\n", - 'type' => 'string', - 'example' => '65354719', - ], - 'HttpRequestHeaders' => [ - 'title' => 'httpRequestHeaders', - 'description' => 'The request headers.'."\n", - 'type' => 'string', - 'example' => '[{"name":"v2","sensitive":false,"value":"1"},{"name":"x-pts-test","sensitive":false,"value":"2"}]', - ], - 'Rt' => [ - 'title' => 'rt', - 'description' => 'The response time. Unit: ms.'."\n", - 'type' => 'string', - 'example' => '230', - ], - 'HttpResponseHeaders' => [ - 'title' => 'httpResponseHeaders', - 'description' => 'The response headers.'."\n", - 'type' => 'string', - 'example' => '[{"valuePos":18,"name":"transfer-encoding","buffer":{"empty":false,"full":false},"sensitive":false,"value":"chunked"},{"valuePos":13,"name":"Content-Type","buffer":{"empty":false,"full":false},"sensitive":false,"value":"application/json;charset=UTF-8"},{"valuePos":5,"name":"Date","buffer":{"empty":false,"full":false},"sensitive":false,"value":"Mon, 27 Mar 2023 07:44:08 GMT"}]', - ], - 'HttpStartTime' => [ - 'title' => 'httpStartTime', - 'description' => 'The time when the request was sent.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12', - ], - 'ExportContent' => [ - 'title' => 'exportContent', - 'description' => 'The exported parameters.'."\n", - 'type' => 'string', - 'example' => '{"skuId":"1"}', - ], - 'ImportContent' => [ - 'title' => 'importContent', - 'description' => 'The imported parameters.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'HttpTiming' => [ - 'title' => 'httpTiming', - 'description' => 'The HTTP timing information in a waterfall format.'."\n", - 'type' => 'string', - 'example' => '{"traceId":"0:1:10a94f66pts-2069351-allsparktask","requests":[{"lease":{"conn":{"duration":-1,"finish":-1,"operation":"conn","start":-1},"dns":{"duration":-1,"finish":-1,"operation":"dns","start":-1},"duration":-1,"finish":-1,"operation":"lease","start":32277914755},"recv":{"duration":225975,"finish":32283700284,"message":"","operation":"recv","start":32283474309},"sent":{"duration":594179,"finish":32278776504,"message":"","operation":"sent","start":32278182325},"tag":"GET http://tomcodemall.com:30080/api/product/skuinfo/list?key=2&vv=4&t4=%EF%BB%BF101"}],"message":""}', - ], - 'HttpRequestBody' => [ - 'title' => 'httpRequestBody', - 'description' => 'The body of the request.'."\n", - 'type' => 'string', - 'example' => '{"loginacct":"acce"}', - ], - 'NodeId' => [ - 'title' => 'nodeId', - 'description' => 'The ID of the node.'."\n", - 'type' => 'string', - 'example' => '1345531', - ], - 'HttpRequestUrl' => [ - 'title' => 'httpRequestUrl', - 'description' => 'The endpoint that specifies where the request is directed.'."\n", - 'type' => 'string', - 'example' => 'http://www.example.com', - ], - 'ChainName' => [ - 'description' => 'The name of the session.'."\n", - 'type' => 'string', - 'example' => '', - ], - ], - ], - ], - 'PageNumber' => [ - 'description' => 'The page number.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => 'The number of entries per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalCount' => [ - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'Success' => [ - 'description' => 'Indicates whether the operation is successful. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'Code' => [ - 'description' => 'The system status code. If the operation is successful, this parameter is not returned.'."\n", - 'type' => 'string', - 'example' => '4001', - ], - 'Message' => [ - 'description' => 'The error message. If the operation is successful, this parameter is not returned.'."\n", - 'type' => 'string', + 'Message' => ['description' => 'The error message. This parameter is not returned if the request is successful.', 'type' => 'string', 'example' => '空', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '73D16B8D-0FCD-5596-B7BE-A47042989318', 'title' => ''], + 'AllRegions' => [ + 'description' => 'A list of region information.', + 'type' => 'object', + 'additionalProperties' => ['description' => 'Region information.', 'type' => 'string', 'example' => '{'."\n" + .' "cn-shenzhen": "华南1(深圳)",'."\n" + .' "cn-qingdao": "华北1(青岛)",'."\n" + .' "cn-beijing": "华北2(北京)",'."\n" + .' "cn-shanghai": "华东2(上海)",'."\n" + .' "cn-hongkong": "中国香港",'."\n" + .' "ap-southeast-1": "新加坡",'."\n" + .' "cn-huhehaote": "华北5(呼和浩特)",'."\n" + .' "cn-zhangjiakou": "华北3(张家口)",'."\n" + .' "cn-hangzhou": "华东1(杭州)",'."\n" + .' "cn-chengdu": "西南1(成都)"'."\n" + .' }', 'title' => ''], + 'title' => '', 'example' => '', ], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'Code' => ['description' => 'The status code. This parameter is not returned if the request is successful.', 'type' => 'string', 'example' => '200', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n" + ."\n" + .'- true: The request was successful.'."\n" + ."\n" + .'- false: The request failed.', 'type' => 'boolean', 'example' => 'True', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'GetPtsDebugSampleLogsFail', - 'errorMessage' => 'planId not exist', - ], + 403 => [ + ['errorCode' => 'Code', 'errorMessage' => 'The specified parameter is invalid.', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => 'GetAllRegions', + 'summary' => 'Retrieves all regions.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetAllRegions'], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A8E16480-15C1-555A-922F-B736A005E52D\\",\\n \\"SamplingLogs\\": [\\n {\\n \\"HttpRequestMethod\\": \\"GET\\",\\n \\"HttpResponseStatus\\": \\"200\\",\\n \\"Timestamp\\": 1650253024471,\\n \\"ExportConfig\\": \\"{\\\\\\\\\\\\\\"skuId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"{R:json@$.page.list[0].skuId}\\\\\\\\\\\\\\"}\\",\\n \\"HttpResponseFailMsg\\": \\"\\",\\n \\"CheckResult\\": \\"[{\\\\\\"checkPointType\\\\\\":\\\\\\"StatusCode\\\\\\",\\\\\\"checker\\\\\\":{\\\\\\"expect\\\\\\":\\\\\\"200\\\\\\",\\\\\\"operate\\\\\\":\\\\\\"eq\\\\\\",\\\\\\"parsedExpectValue\\\\\\":\\\\\\"200\\\\\\",\\\\\\"realValue\\\\\\":\\\\\\"200\\\\\\"},\\\\\\"hit\\\\\\":true,\\\\\\"point\\\\\\":\\\\\\"状态码\\\\\\"}]\\",\\n \\"HttpResponseBody\\": \\"{\\\\\\"timestamp\\\\\\":1679903049155,\\\\\\"status\\\\\\":404,\\\\\\"error\\\\\\":\\\\\\"Not Found\\\\\\",\\\\\\"message\\\\\\":\\\\\\"No message available\\\\\\",\\\\\\"path\\\\\\":\\\\\\"/\\\\\\"}\\",\\n \\"ChainId\\": \\"65354719\\",\\n \\"HttpRequestHeaders\\": \\"[{\\\\\\"name\\\\\\":\\\\\\"v2\\\\\\",\\\\\\"sensitive\\\\\\":false,\\\\\\"value\\\\\\":\\\\\\"1\\\\\\"},{\\\\\\"name\\\\\\":\\\\\\"x-pts-test\\\\\\",\\\\\\"sensitive\\\\\\":false,\\\\\\"value\\\\\\":\\\\\\"2\\\\\\"}]\\",\\n \\"Rt\\": \\"230\\",\\n \\"HttpResponseHeaders\\": \\"[{\\\\\\"valuePos\\\\\\":18,\\\\\\"name\\\\\\":\\\\\\"transfer-encoding\\\\\\",\\\\\\"buffer\\\\\\":{\\\\\\"empty\\\\\\":false,\\\\\\"full\\\\\\":false},\\\\\\"sensitive\\\\\\":false,\\\\\\"value\\\\\\":\\\\\\"chunked\\\\\\"},{\\\\\\"valuePos\\\\\\":13,\\\\\\"name\\\\\\":\\\\\\"Content-Type\\\\\\",\\\\\\"buffer\\\\\\":{\\\\\\"empty\\\\\\":false,\\\\\\"full\\\\\\":false},\\\\\\"sensitive\\\\\\":false,\\\\\\"value\\\\\\":\\\\\\"application/json;charset=UTF-8\\\\\\"},{\\\\\\"valuePos\\\\\\":5,\\\\\\"name\\\\\\":\\\\\\"Date\\\\\\",\\\\\\"buffer\\\\\\":{\\\\\\"empty\\\\\\":false,\\\\\\"full\\\\\\":false},\\\\\\"sensitive\\\\\\":false,\\\\\\"value\\\\\\":\\\\\\"Mon, 27 Mar 2023 07:44:08 GMT\\\\\\"}]\\",\\n \\"HttpStartTime\\": 12,\\n \\"ExportContent\\": \\"{\\\\\\"skuId\\\\\\":\\\\\\"1\\\\\\"}\\",\\n \\"ImportContent\\": \\"\\",\\n \\"HttpTiming\\": \\"{\\\\\\"traceId\\\\\\":\\\\\\"0:1:10a94f66pts-2069351-allsparktask\\\\\\",\\\\\\"requests\\\\\\":[{\\\\\\"lease\\\\\\":{\\\\\\"conn\\\\\\":{\\\\\\"duration\\\\\\":-1,\\\\\\"finish\\\\\\":-1,\\\\\\"operation\\\\\\":\\\\\\"conn\\\\\\",\\\\\\"start\\\\\\":-1},\\\\\\"dns\\\\\\":{\\\\\\"duration\\\\\\":-1,\\\\\\"finish\\\\\\":-1,\\\\\\"operation\\\\\\":\\\\\\"dns\\\\\\",\\\\\\"start\\\\\\":-1},\\\\\\"duration\\\\\\":-1,\\\\\\"finish\\\\\\":-1,\\\\\\"operation\\\\\\":\\\\\\"lease\\\\\\",\\\\\\"start\\\\\\":32277914755},\\\\\\"recv\\\\\\":{\\\\\\"duration\\\\\\":225975,\\\\\\"finish\\\\\\":32283700284,\\\\\\"message\\\\\\":\\\\\\"\\\\\\",\\\\\\"operation\\\\\\":\\\\\\"recv\\\\\\",\\\\\\"start\\\\\\":32283474309},\\\\\\"sent\\\\\\":{\\\\\\"duration\\\\\\":594179,\\\\\\"finish\\\\\\":32278776504,\\\\\\"message\\\\\\":\\\\\\"\\\\\\",\\\\\\"operation\\\\\\":\\\\\\"sent\\\\\\",\\\\\\"start\\\\\\":32278182325},\\\\\\"tag\\\\\\":\\\\\\"GET http://tomcodemall.com:30080/api/product/skuinfo/list?key=2&vv=4&t4=%EF%BB%BF101\\\\\\"}],\\\\\\"message\\\\\\":\\\\\\"\\\\\\"}\\",\\n \\"HttpRequestBody\\": \\"{\\\\\\"loginacct\\\\\\":\\\\\\"acce\\\\\\"}\\",\\n \\"NodeId\\": \\"1345531\\",\\n \\"HttpRequestUrl\\": \\"http://www.example.com\\",\\n \\"ChainName\\": \\"串联链路\\"\\n }\\n ],\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 100,\\n \\"Success\\": true,\\n \\"Code\\": \\"\\",\\n \\"Message\\": \\"\\"\\n}","type":"json"}]', - 'title' => 'GetPtsDebugSampleLogs', + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"空\\",\\n \\"RequestId\\": \\"73D16B8D-0FCD-5596-B7BE-A47042989318\\",\\n \\"AllRegions\\": {\\n \\"key\\": \\"{\\\\n \\\\\\"cn-shenzhen\\\\\\": \\\\\\"华南1(深圳)\\\\\\",\\\\n \\\\\\"cn-qingdao\\\\\\": \\\\\\"华北1(青岛)\\\\\\",\\\\n \\\\\\"cn-beijing\\\\\\": \\\\\\"华北2(北京)\\\\\\",\\\\n \\\\\\"cn-shanghai\\\\\\": \\\\\\"华东2(上海)\\\\\\",\\\\n \\\\\\"cn-hongkong\\\\\\": \\\\\\"中国香港\\\\\\",\\\\n \\\\\\"ap-southeast-1\\\\\\": \\\\\\"新加坡\\\\\\",\\\\n \\\\\\"cn-huhehaote\\\\\\": \\\\\\"华北5(呼和浩特)\\\\\\",\\\\n \\\\\\"cn-zhangjiakou\\\\\\": \\\\\\"华北3(张家口)\\\\\\",\\\\n \\\\\\"cn-hangzhou\\\\\\": \\\\\\"华东1(杭州)\\\\\\",\\\\n \\\\\\"cn-chengdu\\\\\\": \\\\\\"西南1(成都)\\\\\\"\\\\n }\\"\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', ], - 'StartDebugPtsScene' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetJMeterLogs' => [ + 'summary' => 'Retrieves the run logs for a JMeter test. By default, this operation queries the logs from machine 0 and returns the total number of machines.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'abilityTreeCode' => '22662', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', + [ + 'APP' => [], + ], + [ + 'PrivateKey' => [], + ], + [ + 'BearerToken' => [], ], ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], 'parameters' => [ [ - 'name' => 'SceneId', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => 'The scenario ID.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'NHBGB8B', - ], + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The number of the page to return.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '10000000', 'exclusiveMaximum' => false, 'minimum' => '1', 'title' => '', 'example' => '1'], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'C1905194-EE28-4F78-AD81-85A40D52D1BC', - ], - 'Message' => [ - 'description' => 'The returned message. If the request was successful, this parameter is left empty.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'PlanId' => [ - 'description' => 'The ID of the stress testing task.'."\n", - 'type' => 'string', - 'example' => ' NJJBH8B', - ], - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Code' => [ - 'description' => 'The system status code.'."\n", - 'type' => 'string', - 'example' => '200', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - ], - 'description' => '', - ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The number of entries to return on each page.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '200', 'minimum' => '1', 'title' => '', 'example' => '10'], ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'StartDebugPtsSceneFail', - 'errorMessage' => 'The scene does not exit', - ], + [ + 'name' => 'ReportId', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The report ID.', 'type' => 'string', 'required' => true, 'example' => 'KS2YE3J2'], ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C1905194-EE28-4F78-AD81-85A40D52D1BC\\",\\n \\"Message\\": \\"空\\",\\n \\"PlanId\\": \\" NJJBH8B\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<StartDebugPtsSceneResponse>\\n <RequestId>C1905194-EE28-4F78-AD81-85A40D52D1BC</RequestId>\\n <Message/>\\n <PlanId> NJJBH8B</PlanId>\\n <HttpStatusCode>200</HttpStatusCode>\\n <Code>200</Code>\\n <Success>true</Success>\\n</StartDebugPtsSceneResponse>","errorExample":""}]', - 'title' => 'StartDebugPtsScene', - 'summary' => 'Starts the debugging of a scenario to check whether the settings of the scenario take effect.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'StartPtsScene' => [ - 'summary' => 'Starts a scenario by using its ID.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'BeginTime', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The start time. This value is a UNIX timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1637115306000'], ], [ - 'APP' => [], + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The end time. This value is a UNIX timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1637115309000'], ], [ - 'PrivateKey' => [], + 'name' => 'AgentIndex', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'If you specify an invalid index, the logs of engine 0 are returned.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0'], ], [ - 'BearerToken' => [], + 'name' => 'Level', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The log level. Valid values:'."\n" + ."\n" + .'- ERROR'."\n" + .'- WARN'."\n" + .'- INFO: The default value.'."\n" + .'- DEBUG'."\n" + .'- TRACE', 'type' => 'string', 'required' => false, 'example' => 'info'], ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'high', - 'chargeType' => 'paid', - 'abilityTreeCode' => '22663', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', + [ + 'name' => 'Thread', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The thread name.', 'type' => 'string', 'required' => false, 'example' => 'main'], ], - ], - 'parameters' => [ [ - 'name' => 'SceneId', + 'name' => 'Keyword', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the scenario that you want to start, which is the ID that is returned after the scenario is created. You can view scenario IDs on the scenario list page.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'FGSRA3', - ], + 'schema' => ['title' => '', 'description' => 'The keyword to search for in the logs.', 'type' => 'string', 'required' => false, 'example' => 'test'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'The data returned.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'BD12DCC9-5E48-4E77-9657-8D34D8C0F97B', - ], - 'Message' => [ - 'description' => 'The error message. If the operation is successful, this parameter is not returned.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'PlanId' => [ - 'description' => 'The performance testing plan ID. If the scenario is successfully started, this parameter is returned.'."\n", - 'type' => 'string', - 'example' => 'SFVAFE', - ], - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Code' => [ - 'description' => 'The system status code.'."\n", - 'type' => 'string', - 'example' => '200', - ], - 'Success' => [ - 'description' => 'Indicates whether the operation is successful. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'true', + 'TotalCount' => ['description' => 'The total number of log entries.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '100'], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'A8E16480-15C1-555A-922F-B736A005E52D'], + 'Message' => ['description' => 'The error message. If the request is successful, this parameter is empty.', 'type' => 'string', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries returned per page.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '10'], + 'PageNumber' => ['description' => 'The page number of the returned page.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], + 'Logs' => [ + 'title' => '', + 'description' => 'The log entries.', + 'type' => 'array', + 'items' => ['description' => 'The log record.', 'type' => 'object', 'title' => '', 'example' => ' {'."\n" + .' "timeTS": 1720492300643,'."\n" + .' "level": "INFO",'."\n" + .' "logger": "org.apache.jmeter.JMeter",'."\n" + .' "thread": "main",'."\n" + .' "logText": "os.version=4.18.0-348.2.1.el8_5.x86_64\\n",'."\n" + .' "instanceId": 0,'."\n" + .' "time": "2024-07-09T10:31Z"'."\n" + .' }'], + 'example' => '{ "timeTS":1637114804326, "instanceId":0, "level":"INFO", "logger":"org.apache.jmeter.util.JMeterUtils", "sceneId":251546, "planId":1501546, "thread":"main", "time":"2021-11-17T10:06Z", "taskId":15015460000, "logText":"Setting Locale to en_EN\\n" }', ], + 'Code' => ['description' => 'The status code. If the request is successful, this parameter is empty.', 'type' => 'string', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n" + ."\n" + .'- true: The request was successful.'."\n" + .'- false: The request failed.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], + 'AgentCount' => ['title' => '', 'description' => 'The number of engines. You can use this value to specify the engine from which you want to retrieve logs.', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], ], - 'description' => '', + 'title' => '', ], ], ], 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'StartPtsSceneFail', - 'errorMessage' => 'Scene not exist', - ], + 403 => [ + ['errorCode' => 'ReportNotExist', 'errorMessage' => 'The report does not exist.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BD12DCC9-5E48-4E77-9657-8D34D8C0F97B\\",\\n \\"Message\\": \\"空\\",\\n \\"PlanId\\": \\"SFVAFE\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<StartPtsSceneResponse>\\n <RequestId>BD12DCC9-5E48-4E77-9657-8D34D8C0F97B</RequestId>\\n <Message/>\\n <PlanId>SFVAFE</PlanId>\\n <HttpStatusCode>200</HttpStatusCode>\\n <Code>200</Code>\\n <Success>true</Success>\\n</StartPtsSceneResponse>","errorExample":""}]', - 'title' => 'StartPtsScene', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'StopDebugPtsScene' => [ - 'methods' => [ - 'post', + 'title' => 'GetJMeterLogs', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetJMeterLogs'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => '', + 'ramAction' => [ + 'action' => 'pts:GetJMeterLogs', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PTS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 100,\\n \\"RequestId\\": \\"A8E16480-15C1-555A-922F-B736A005E52D\\",\\n \\"Message\\": \\"\\",\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"Logs\\": [\\n {\\n \\"timeTS\\": 1720492300643,\\n \\"level\\": \\"INFO\\",\\n \\"logger\\": \\"org.apache.jmeter.JMeter\\",\\n \\"thread\\": \\"main\\",\\n \\"logText\\": \\"os.version=4.18.0-348.2.1.el8_5.x86_64\\\\n\\",\\n \\"instanceId\\": 0,\\n \\"time\\": \\"2024-07-09T10:31Z\\"\\n }\\n ],\\n \\"Code\\": \\"\\",\\n \\"Success\\": true,\\n \\"AgentCount\\": 3\\n}","type":"json"}]', + ], + 'GetJMeterReportDetails' => [ + 'summary' => 'Obtains the details of a JMeter report.', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], + [ + 'APP' => [], + ], + [ + 'PrivateKey' => [], + ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ - 'name' => 'SceneId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The scenario ID.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'RDDCF7', - ], - ], - [ - 'name' => 'PlanId', + 'name' => 'ReportId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the stress testing task.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'FVDC7HB', - ], + 'schema' => ['description' => 'The report ID.', 'type' => 'string', 'required' => true, 'example' => 'KS2YE3J2', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'GetJMeterReportDetailsResponse', + 'description' => 'GetJMeterReportDetailsResponse', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => 'The returned message. If the request was successful, this parameter is left empty.'."\n", - 'type' => 'string', + 'ReportOverView' => [ + 'title' => '', + 'description' => 'The details of the report.', + 'type' => 'object', + 'properties' => [ + 'ReportId' => ['description' => 'The report ID.', 'type' => 'string', 'title' => '', 'example' => 'GHB56VD'], + 'ReportName' => ['description' => 'The report name.', 'type' => 'string', 'example' => 'Order scenario-20220202222222', 'title' => ''], + 'StartTime' => ['description' => 'The beginning of the queried time range.', 'type' => 'string', 'title' => '', 'example' => '2023-05-03 10:35:11'], + 'EndTime' => ['description' => 'The end of the queried time range.', 'type' => 'string', 'title' => '', 'example' => '2023-05-03 10:45:11'], + 'AgentCount' => ['description' => 'The number of used engines.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], + 'Vum' => ['description' => 'The consumed Virtual User Minutes (VUM).', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '4452'], + ], 'example' => '', ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '0AE6505C-55CE-444A-B73B-810D0ED27C66', - ], - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Code' => [ - 'description' => 'The system status code.'."\n", - 'type' => 'string', - 'example' => '200', + 'SceneMetrics' => [ + 'title' => '', + 'description' => 'The dimensions of the whole scenario.', + 'type' => 'object', + 'properties' => [ + 'AvgTps' => ['description' => 'The average transactions per second (TPS).', 'type' => 'number', 'format' => 'double', 'title' => '', 'example' => '78'], + 'AvgRt' => ['description' => 'The average response time (RT). Unit: milliseconds.', 'type' => 'number', 'format' => 'double', 'title' => '', 'example' => '23'], + 'Seg90Rt' => ['description' => 'The 90th percentile of RT. Unit: milliseconds.', 'type' => 'number', 'format' => 'double', 'title' => '', 'example' => '35'], + 'Seg99Rt' => ['description' => 'The 99th percentile of RT. Unit: milliseconds.', 'type' => 'number', 'format' => 'double', 'title' => '', 'example' => '56'], + 'SuccessRateReq' => ['description' => 'The request success rate. The parameter value must be a non-negative number less than or equal to 100.', 'type' => 'number', 'format' => 'double', 'title' => '', 'example' => '99.98'], + 'FailCountReq' => ['description' => 'The request failure rate.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '34'], + 'AllCount' => ['description' => 'The total number of requests.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '717'], + ], + 'example' => '', ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'true', + 'SamplerMetricsList' => [ + 'title' => '', + 'description' => 'The dimensions of APIs.', + 'type' => 'array', + 'items' => [ + 'description' => 'The dimensions of the API. An API has only one entry.', + 'type' => 'object', + 'properties' => [ + 'ApiName' => ['description' => 'The API name.', 'type' => 'string', 'example' => 'Logon', 'title' => ''], + 'AvgTps' => ['description' => 'The average TPS.', 'type' => 'number', 'format' => 'double', 'title' => '', 'example' => '12'], + 'AvgRt' => ['description' => 'The average RT. Unit: milliseconds.', 'type' => 'number', 'format' => 'double', 'title' => '', 'example' => '44.2'], + 'Seg75Rt' => ['description' => 'The 75th percentile of RT. Unit: milliseconds.', 'type' => 'number', 'format' => 'double', 'title' => '', 'example' => '22.4'], + 'Seg90Rt' => ['description' => 'The 90th percentile of RT. Unit: milliseconds.', 'type' => 'number', 'format' => 'double', 'title' => '', 'example' => '65'], + 'Seg99Rt' => ['description' => 'The 99th percentile of RT. Unit: milliseconds.', 'type' => 'number', 'format' => 'double', 'title' => '', 'example' => '77'], + 'MaxRt' => ['description' => 'The maximum RT. Unit: milliseconds.', 'type' => 'number', 'format' => 'double', 'title' => '', 'example' => '78'], + 'MinRt' => ['description' => 'The minimum RT. Unit: milliseconds.', 'type' => 'number', 'format' => 'double', 'title' => '', 'example' => '11'], + 'SuccessRateReq' => ['description' => 'The request success rate. The parameter value must be a non-negative number less than or equal to 100.', 'type' => 'number', 'format' => 'double', 'title' => '', 'example' => '100'], + 'FailCountReq' => ['description' => 'The request failure rate.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '10'], + 'AllCount' => ['description' => 'The total number of requests.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '731'], + ], + 'title' => '', + 'example' => '', + ], + 'example' => '', ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'A8E16480-15C1-555A-922F-B736A005E52D', 'title' => ''], + 'Code' => ['description' => 'The system status code. If the request was successful, this parameter is not returned.', 'type' => 'string', 'title' => '', 'example' => ''], + 'Message' => ['description' => 'The returned message. If the request was successful, this parameter is not returned.', 'type' => 'string', 'example' => 'Query report failed', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- true'."\n" + ."\n" + .'- false', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'DocumentUrl' => ['description' => 'The URL used to access the document.', 'type' => 'string', 'example' => '空', 'title' => ''], + 'CodeKey' => ['description' => 'The code key that corresponds to the key in Medusa. If no code key is available, or if the content corresponding to the code key fails to be obtained or is empty, the returned message is displayed as the default information.', 'type' => 'string', 'title' => '', 'example' => '空'], + 'DynamicCtx' => ['description' => 'The returned dynamic contents that are separated by the && operator.', 'type' => 'string', 'title' => '', 'example' => '空'], ], - 'description' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'StopDebugPtsSceneFail', - 'errorMessage' => 'The scene does not exit', - ], - ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ReportOverView\\": {\\n \\"ReportId\\": \\"GHB56VD\\",\\n \\"ReportName\\": \\"Order scenario-20220202222222\\",\\n \\"StartTime\\": \\"2023-05-03 10:35:11\\",\\n \\"EndTime\\": \\"2023-05-03 10:45:11\\",\\n \\"AgentCount\\": 1,\\n \\"Vum\\": 4452\\n },\\n \\"SceneMetrics\\": {\\n \\"AvgTps\\": 78,\\n \\"AvgRt\\": 23,\\n \\"Seg90Rt\\": 35,\\n \\"Seg99Rt\\": 56,\\n \\"SuccessRateReq\\": 99.98,\\n \\"FailCountReq\\": 34,\\n \\"AllCount\\": 717\\n },\\n \\"SamplerMetricsList\\": [\\n {\\n \\"ApiName\\": \\"Logon\\",\\n \\"AvgTps\\": 12,\\n \\"AvgRt\\": 44.2,\\n \\"Seg75Rt\\": 22.4,\\n \\"Seg90Rt\\": 65,\\n \\"Seg99Rt\\": 77,\\n \\"MaxRt\\": 78,\\n \\"MinRt\\": 11,\\n \\"SuccessRateReq\\": 100,\\n \\"FailCountReq\\": 10,\\n \\"AllCount\\": 731\\n }\\n ],\\n \\"RequestId\\": \\"A8E16480-15C1-555A-922F-B736A005E52D\\",\\n \\"Code\\": \\"\\",\\n \\"Message\\": \\"Query report failed\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"DocumentUrl\\": \\"空\\",\\n \\"CodeKey\\": \\"空\\",\\n \\"DynamicCtx\\": \\"空\\"\\n}","type":"json"}]', + 'title' => 'GetJMeterReportDetails', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"空\\",\\n \\"RequestId\\": \\"0AE6505C-55CE-444A-B73B-810D0ED27C66\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<StopDebugPtsSceneResponse>\\n <Message/>\\n <RequestId>0AE6505C-55CE-444A-B73B-810D0ED27C66</RequestId>\\n <HttpStatusCode>200</HttpStatusCode>\\n <Code>200</Code>\\n <Success>true</Success>\\n</StopDebugPtsSceneResponse>","errorExample":""}]', - 'title' => 'StopDebugPtsScene', - 'summary' => 'Stops the scenario that is in debugging.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', + 'ramActions' => [], + 'translator' => 'manual', ], - 'StopPtsScene' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetJMeterSampleMetrics' => [ + 'summary' => 'Retrieves the aggregate data for JMeter samplers based on specified conditions.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2324,85 +984,87 @@ 'BearerToken' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ - 'name' => 'SceneId', + 'name' => 'ReportId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the scenario that you want to stop, which is the ID that is returned after the scenario is created. You can view scenario IDs on the scenario list page in the PTS console.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'GV4DEBG', - ], + 'schema' => ['title' => '', 'description' => 'The report ID.', 'type' => 'string', 'required' => true, 'example' => '7R4RE352'], + ], + [ + 'name' => 'BeginTime', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The start time.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1637157070000'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The end time.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1637157073000'], + ], + [ + 'name' => 'SamplerId', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The sampler index. The index starts from 0. If you set this parameter to -1, data for the entire scenario is returned.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'The response.', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => 'The error message. If the operation is successful, this parameter is not returned.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'DD6F2ED8-E31B-497F-85AB-C4E358A5F6F9', - ], - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Code' => [ - 'description' => 'The system status code.'."\n", - 'type' => 'string', - 'example' => '200', - ], - 'Success' => [ - 'description' => 'Indicates whether the operation is successful. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'A8E16480-15C1-555A-922F-B736A005E52D'], + 'Message' => ['description' => 'The error message. This parameter is empty if the request is successful.', 'type' => 'string', 'title' => '', 'example' => '空'], + 'SampleMetricList' => [ + 'title' => '', + 'description' => 'A list of aggregate data for the samplers.', + 'type' => 'array', + 'items' => ['description' => 'A list of aggregate data for the samplers.', 'type' => 'string', 'title' => '', 'example' => '[ { "statusCodes":[ { "count":26, "name":"200" } ], "reqFailureRtMin":0, "requestBps":2389, "requestBytes":3536, "reqSuccessCount":26, "reqSuccessRtMin":12, "reqSuccessRtAvg":21, "reqSuccessTps":17.56756756756757, "rtMin":12, "rtAvg":21, "totalCount":26, "concurrency":103.0, "bucket":"d9fb4ee42f0e8eb3", "reqFailureCount":0, "reqFailureRtMax":0, "responseBytes":64922, "reqFailureTps":0.0, "tps":17.56756756756757, "responseBps":43866, "reqSuccessRtMax":30, "totalVum":13, "rtMax":30, "taskId":1475183, "timestamp":1649681740000 }, { "statusCodes":[ { "count":13, "name":"200" } ], "reqFailureRtMin":0, "requestBps":1782, "requestBytes":5304, "reqSuccessCount":13, "reqSuccessRtMin":11, "reqSuccessRtAvg":23, "reqSuccessTps":13.10483870967742, "rtMin":11, "rtAvg":24, "totalCount":13, "concurrency":411.0, "bucket":"d9fb4ee42f0e8eb3", "reqFailureCount":0, "reqFailureRtMax":0, "responseBytes":97383, "reqFailureTps":0.0, "tps":13.10483870967742, "responseBps":32723, "reqSuccessRtMax":37, "totalVum":21, "rtMax":37, "taskId":1475183, "timestamp":1649681741000 }, { "statusCodes":[ { "count":7, "name":"200" } ], "reqFailureRtMin":0, "requestBps":952, "requestBytes":6256, "reqSuccessCount":7, "reqSuccessRtMin":19, "reqSuccessRtAvg":20, "reqSuccessTps":7.0, "rtMin":19, "rtAvg":20, "totalCount":7, "concurrency":500.0, "bucket":"d9fb4ee42f0e8eb3", "reqFailureCount":0, "reqFailureRtMax":0, "responseBytes":114862, "reqFailureTps":0.0, "tps":7.0, "responseBps":17479, "reqSuccessRtMax":21, "totalVum":29, "rtMax":21, "taskId":1475183, "timestamp":1649681742000 }, { "statusCodes":[ { "count":12, "name":"200" } ], "reqFailureRtMin":0, "requestBps":1632, "requestBytes":7888, "reqSuccessCount":12, "reqSuccessRtMin":15, "reqSuccessRtAvg":24, "reqSuccessTps":12.0, "rtMin":15, "rtAvg":25, "totalCount":12, "concurrency":500.0, "bucket":"d9fb4ee42f0e8eb3", "reqFailureCount":0, "reqFailureRtMax":0, "responseBytes":144826, "reqFailureTps":0.0, "tps":12.0, "responseBps":29964, "reqSuccessRtMax":45, "totalVum":38, "rtMax":45, "taskId":1475183, "timestamp":1649681743000 }, { "statusCodes":[ { "count":10, "name":"200" } ], "reqFailureRtMin":0, "requestBps":1360, "requestBytes":9248, "reqSuccessCount":10, "reqSuccessRtMin":14, "reqSuccessRtAvg":21, "reqSuccessTps":10.0, "rtMin":14, "rtAvg":22, "totalCount":10, "concurrency":500.0, "bucket":"d9fb4ee42f0e8eb3", "reqFailureCount":0, "reqFailureRtMax":0, "responseBytes":169796, "reqFailureTps":0.0, "tps":10.0, "responseBps":24970, "reqSuccessRtMax":29, "totalVum":46, "rtMax":29, "taskId":1475183, "timestamp":1649681744000 }, { "statusCodes":[ { "count":9, "name":"200" } ], "reqFailureRtMin":0, "requestBps":1224, "requestBytes":10472, "reqSuccessCount":9, "reqSuccessRtMin":11, "reqSuccessRtAvg":23, "reqSuccessTps":9.0, "rtMin":11, "rtAvg":23, "totalCount":9, "concurrency":500.0, "bucket":"d9fb4ee42f0e8eb3", "reqFailureCount":0, "reqFailureRtMax":0, "responseBytes":192269, "reqFailureTps":0.0, "tps":9.0, "responseBps":22473, "reqSuccessRtMax":45, "totalVum":54, "rtMax":45, "taskId":1475183, "timestamp":1649681745000 }, { "statusCodes":[ { "count":14, "name":"200" } ], "reqFailureRtMin":0, "requestBps":1904, "requestBytes":12376, "reqSuccessCount":14, "reqSuccessRtMin":10, "reqSuccessRtAvg":20, "reqSuccessTps":14.0, "rtMin":10, "rtAvg":21, "totalCount":14, "concurrency":500.0, "bucket":"d9fb4ee42f0e8eb3", "reqFailureCount":0, "reqFailureRtMax":0, "responseBytes":227227, "reqFailureTps":0.0, "tps":14.0, "responseBps":34958, "reqSuccessRtMax":34, "totalVum":63, "rtMax":34, "taskId":1475183, "timestamp":1649681746000 }]'], + ], + 'SamplerMap' => ['title' => '', 'description' => 'The list of samplers. You can use this list to specify the samplers that you want to query.', 'type' => 'object', 'example' => '{0:"Http Request"}'], + 'Code' => ['description' => 'The system status code.', 'type' => 'string', 'title' => '', 'example' => '200'], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n" + ."\n" + .'- true: The request was successful.'."\n" + .'- false: The request failed.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], ], - 'description' => '', + 'title' => '', ], ], ], 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'StopPtsSceneFail', - 'errorMessage' => 'The scene 11434 has no plan', - ], + 403 => [ + ['errorCode' => 'ReportNotExist', 'errorMessage' => 'The report does not exist.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"空\\",\\n \\"RequestId\\": \\"DD6F2ED8-E31B-497F-85AB-C4E358A5F6F9\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<StopPtsSceneResponse>\\n <IsSuccess>true</IsSuccess>\\n <RequestId>DD6F2ED8-E31B-497F-85AB-C4E358A5F6F9</RequestId>\\n <Message/>\\n <HttpStatusCode>200</HttpStatusCode>\\n <Code>200</Code>\\n <Success>true</Success>\\n</StopPtsSceneResponse>","errorExample":""}]', - 'title' => 'StopPtsScene', - 'summary' => 'Stops a scenario by using its ID.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'GetPtsSceneRunningData' => [ - 'methods' => [ - 'post', - 'get', + 'title' => 'GetJMeterSampleMetrics', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetJMeterSampleMetrics'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => '', + 'ramAction' => [ + 'action' => 'pts:GetJMeterSampleMetrics', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PTS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A8E16480-15C1-555A-922F-B736A005E52D\\",\\n \\"Message\\": \\"空\\",\\n \\"SampleMetricList\\": [\\n \\"[ { \\\\\\"statusCodes\\\\\\":[ { \\\\\\"count\\\\\\":26, \\\\\\"name\\\\\\":\\\\\\"200\\\\\\" } ], \\\\\\"reqFailureRtMin\\\\\\":0, \\\\\\"requestBps\\\\\\":2389, \\\\\\"requestBytes\\\\\\":3536, \\\\\\"reqSuccessCount\\\\\\":26, \\\\\\"reqSuccessRtMin\\\\\\":12, \\\\\\"reqSuccessRtAvg\\\\\\":21, \\\\\\"reqSuccessTps\\\\\\":17.56756756756757, \\\\\\"rtMin\\\\\\":12, \\\\\\"rtAvg\\\\\\":21, \\\\\\"totalCount\\\\\\":26, \\\\\\"concurrency\\\\\\":103.0, \\\\\\"bucket\\\\\\":\\\\\\"d9fb4ee42f0e8eb3\\\\\\", \\\\\\"reqFailureCount\\\\\\":0, \\\\\\"reqFailureRtMax\\\\\\":0, \\\\\\"responseBytes\\\\\\":64922, \\\\\\"reqFailureTps\\\\\\":0.0, \\\\\\"tps\\\\\\":17.56756756756757, \\\\\\"responseBps\\\\\\":43866, \\\\\\"reqSuccessRtMax\\\\\\":30, \\\\\\"totalVum\\\\\\":13, \\\\\\"rtMax\\\\\\":30, \\\\\\"taskId\\\\\\":1475183, \\\\\\"timestamp\\\\\\":1649681740000 }, { \\\\\\"statusCodes\\\\\\":[ { \\\\\\"count\\\\\\":13, \\\\\\"name\\\\\\":\\\\\\"200\\\\\\" } ], \\\\\\"reqFailureRtMin\\\\\\":0, \\\\\\"requestBps\\\\\\":1782, \\\\\\"requestBytes\\\\\\":5304, \\\\\\"reqSuccessCount\\\\\\":13, \\\\\\"reqSuccessRtMin\\\\\\":11, \\\\\\"reqSuccessRtAvg\\\\\\":23, \\\\\\"reqSuccessTps\\\\\\":13.10483870967742, \\\\\\"rtMin\\\\\\":11, \\\\\\"rtAvg\\\\\\":24, \\\\\\"totalCount\\\\\\":13, \\\\\\"concurrency\\\\\\":411.0, \\\\\\"bucket\\\\\\":\\\\\\"d9fb4ee42f0e8eb3\\\\\\", \\\\\\"reqFailureCount\\\\\\":0, \\\\\\"reqFailureRtMax\\\\\\":0, \\\\\\"responseBytes\\\\\\":97383, \\\\\\"reqFailureTps\\\\\\":0.0, \\\\\\"tps\\\\\\":13.10483870967742, \\\\\\"responseBps\\\\\\":32723, \\\\\\"reqSuccessRtMax\\\\\\":37, \\\\\\"totalVum\\\\\\":21, \\\\\\"rtMax\\\\\\":37, \\\\\\"taskId\\\\\\":1475183, \\\\\\"timestamp\\\\\\":1649681741000 }, { \\\\\\"statusCodes\\\\\\":[ { \\\\\\"count\\\\\\":7, \\\\\\"name\\\\\\":\\\\\\"200\\\\\\" } ], \\\\\\"reqFailureRtMin\\\\\\":0, \\\\\\"requestBps\\\\\\":952, \\\\\\"requestBytes\\\\\\":6256, \\\\\\"reqSuccessCount\\\\\\":7, \\\\\\"reqSuccessRtMin\\\\\\":19, \\\\\\"reqSuccessRtAvg\\\\\\":20, \\\\\\"reqSuccessTps\\\\\\":7.0, \\\\\\"rtMin\\\\\\":19, \\\\\\"rtAvg\\\\\\":20, \\\\\\"totalCount\\\\\\":7, \\\\\\"concurrency\\\\\\":500.0, \\\\\\"bucket\\\\\\":\\\\\\"d9fb4ee42f0e8eb3\\\\\\", \\\\\\"reqFailureCount\\\\\\":0, \\\\\\"reqFailureRtMax\\\\\\":0, \\\\\\"responseBytes\\\\\\":114862, \\\\\\"reqFailureTps\\\\\\":0.0, \\\\\\"tps\\\\\\":7.0, \\\\\\"responseBps\\\\\\":17479, \\\\\\"reqSuccessRtMax\\\\\\":21, \\\\\\"totalVum\\\\\\":29, \\\\\\"rtMax\\\\\\":21, \\\\\\"taskId\\\\\\":1475183, \\\\\\"timestamp\\\\\\":1649681742000 }, { \\\\\\"statusCodes\\\\\\":[ { \\\\\\"count\\\\\\":12, \\\\\\"name\\\\\\":\\\\\\"200\\\\\\" } ], \\\\\\"reqFailureRtMin\\\\\\":0, \\\\\\"requestBps\\\\\\":1632, \\\\\\"requestBytes\\\\\\":7888, \\\\\\"reqSuccessCount\\\\\\":12, \\\\\\"reqSuccessRtMin\\\\\\":15, \\\\\\"reqSuccessRtAvg\\\\\\":24, \\\\\\"reqSuccessTps\\\\\\":12.0, \\\\\\"rtMin\\\\\\":15, \\\\\\"rtAvg\\\\\\":25, \\\\\\"totalCount\\\\\\":12, \\\\\\"concurrency\\\\\\":500.0, \\\\\\"bucket\\\\\\":\\\\\\"d9fb4ee42f0e8eb3\\\\\\", \\\\\\"reqFailureCount\\\\\\":0, \\\\\\"reqFailureRtMax\\\\\\":0, \\\\\\"responseBytes\\\\\\":144826, \\\\\\"reqFailureTps\\\\\\":0.0, \\\\\\"tps\\\\\\":12.0, \\\\\\"responseBps\\\\\\":29964, \\\\\\"reqSuccessRtMax\\\\\\":45, \\\\\\"totalVum\\\\\\":38, \\\\\\"rtMax\\\\\\":45, \\\\\\"taskId\\\\\\":1475183, \\\\\\"timestamp\\\\\\":1649681743000 }, { \\\\\\"statusCodes\\\\\\":[ { \\\\\\"count\\\\\\":10, \\\\\\"name\\\\\\":\\\\\\"200\\\\\\" } ], \\\\\\"reqFailureRtMin\\\\\\":0, \\\\\\"requestBps\\\\\\":1360, \\\\\\"requestBytes\\\\\\":9248, \\\\\\"reqSuccessCount\\\\\\":10, \\\\\\"reqSuccessRtMin\\\\\\":14, \\\\\\"reqSuccessRtAvg\\\\\\":21, \\\\\\"reqSuccessTps\\\\\\":10.0, \\\\\\"rtMin\\\\\\":14, \\\\\\"rtAvg\\\\\\":22, \\\\\\"totalCount\\\\\\":10, \\\\\\"concurrency\\\\\\":500.0, \\\\\\"bucket\\\\\\":\\\\\\"d9fb4ee42f0e8eb3\\\\\\", \\\\\\"reqFailureCount\\\\\\":0, \\\\\\"reqFailureRtMax\\\\\\":0, \\\\\\"responseBytes\\\\\\":169796, \\\\\\"reqFailureTps\\\\\\":0.0, \\\\\\"tps\\\\\\":10.0, \\\\\\"responseBps\\\\\\":24970, \\\\\\"reqSuccessRtMax\\\\\\":29, \\\\\\"totalVum\\\\\\":46, \\\\\\"rtMax\\\\\\":29, \\\\\\"taskId\\\\\\":1475183, \\\\\\"timestamp\\\\\\":1649681744000 }, { \\\\\\"statusCodes\\\\\\":[ { \\\\\\"count\\\\\\":9, \\\\\\"name\\\\\\":\\\\\\"200\\\\\\" } ], \\\\\\"reqFailureRtMin\\\\\\":0, \\\\\\"requestBps\\\\\\":1224, \\\\\\"requestBytes\\\\\\":10472, \\\\\\"reqSuccessCount\\\\\\":9, \\\\\\"reqSuccessRtMin\\\\\\":11, \\\\\\"reqSuccessRtAvg\\\\\\":23, \\\\\\"reqSuccessTps\\\\\\":9.0, \\\\\\"rtMin\\\\\\":11, \\\\\\"rtAvg\\\\\\":23, \\\\\\"totalCount\\\\\\":9, \\\\\\"concurrency\\\\\\":500.0, \\\\\\"bucket\\\\\\":\\\\\\"d9fb4ee42f0e8eb3\\\\\\", \\\\\\"reqFailureCount\\\\\\":0, \\\\\\"reqFailureRtMax\\\\\\":0, \\\\\\"responseBytes\\\\\\":192269, \\\\\\"reqFailureTps\\\\\\":0.0, \\\\\\"tps\\\\\\":9.0, \\\\\\"responseBps\\\\\\":22473, \\\\\\"reqSuccessRtMax\\\\\\":45, \\\\\\"totalVum\\\\\\":54, \\\\\\"rtMax\\\\\\":45, \\\\\\"taskId\\\\\\":1475183, \\\\\\"timestamp\\\\\\":1649681745000 }, { \\\\\\"statusCodes\\\\\\":[ { \\\\\\"count\\\\\\":14, \\\\\\"name\\\\\\":\\\\\\"200\\\\\\" } ], \\\\\\"reqFailureRtMin\\\\\\":0, \\\\\\"requestBps\\\\\\":1904, \\\\\\"requestBytes\\\\\\":12376, \\\\\\"reqSuccessCount\\\\\\":14, \\\\\\"reqSuccessRtMin\\\\\\":10, \\\\\\"reqSuccessRtAvg\\\\\\":20, \\\\\\"reqSuccessTps\\\\\\":14.0, \\\\\\"rtMin\\\\\\":10, \\\\\\"rtAvg\\\\\\":21, \\\\\\"totalCount\\\\\\":14, \\\\\\"concurrency\\\\\\":500.0, \\\\\\"bucket\\\\\\":\\\\\\"d9fb4ee42f0e8eb3\\\\\\", \\\\\\"reqFailureCount\\\\\\":0, \\\\\\"reqFailureRtMax\\\\\\":0, \\\\\\"responseBytes\\\\\\":227227, \\\\\\"reqFailureTps\\\\\\":0.0, \\\\\\"tps\\\\\\":14.0, \\\\\\"responseBps\\\\\\":34958, \\\\\\"reqSuccessRtMax\\\\\\":34, \\\\\\"totalVum\\\\\\":63, \\\\\\"rtMax\\\\\\":34, \\\\\\"taskId\\\\\\":1475183, \\\\\\"timestamp\\\\\\":1649681746000 }]\\"\\n ],\\n \\"SamplerMap\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'GetJMeterSamplingLogs' => [ + 'summary' => 'Retrieves the sampling logs for a JMeter sampler based on specified conditions.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2422,342 +1084,122 @@ 'systemTags' => [], 'parameters' => [ [ - 'name' => 'SceneId', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => 'The scenario ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'NKKI6GB', - ], + 'schema' => ['description' => 'The number of the page to return.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '10000000', 'minimum' => '1', 'example' => '1', 'title' => ''], ], [ - 'name' => 'PlanId', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the stress testing task. You can obtain the task ID by calling the StartPtsScene operation.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'NHBGVF8', - ], + 'schema' => ['description' => 'The number of sampling log entries to return on each page.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '200', 'minimum' => '1', 'example' => '10', 'title' => ''], + ], + [ + 'name' => 'BeginTime', + 'in' => 'query', + 'schema' => ['description' => 'The start time. This is a UNIX timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => true, 'example' => '1637157073000', 'title' => ''], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end time. This is a UNIX timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => true, 'example' => '1637157076000', 'title' => ''], + ], + [ + 'name' => 'ReportId', + 'in' => 'query', + 'schema' => ['description' => 'The report ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '7R4RE352', 'title' => ''], + ], + [ + 'name' => 'AgentId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the stress testing engine. This parameter is not yet available.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '14238000', 'title' => ''], + ], + [ + 'name' => 'SamplerId', + 'in' => 'query', + 'schema' => ['description' => 'The serial number of the sampler. The value starts from 0.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0', 'title' => ''], + ], + [ + 'name' => 'Success', + 'in' => 'query', + 'schema' => ['description' => 'Indicates whether the sampling is successful.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], + ], + [ + 'name' => 'Thread', + 'in' => 'query', + 'schema' => ['description' => 'The thread name. Fuzzy search is supported. The value is tokenized by spaces.', 'type' => 'string', 'required' => false, 'example' => 'main', 'title' => ''], + ], + [ + 'name' => 'Keyword', + 'in' => 'query', + 'schema' => ['description' => 'The keyword. Use this parameter to perform a fuzzy search by **SceneName** or an exact search by **SceneId**.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], + ], + [ + 'name' => 'MinRT', + 'in' => 'query', + 'schema' => ['description' => 'The minimum response time (RT). Unit: ms.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0', 'title' => ''], + ], + [ + 'name' => 'MaxRT', + 'in' => 'query', + 'schema' => ['description' => 'The maximum response time (RT). Unit: ms.', 'type' => 'integer', 'format' => 'int32', 'example' => '1000', 'title' => '', 'required' => false], + ], + [ + 'name' => 'ResponseCode', + 'in' => 'query', + 'schema' => ['description' => 'The response code.', 'type' => 'string', 'required' => false, 'example' => '200', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'The response.', 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => 'The scenario status. The default parameter value is 7.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '6', - ], - 'TotalRequestCount' => [ - 'description' => 'The total number of requests.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '8900', - ], - 'HasReport' => [ - 'description' => 'Indicates whether a report is generated.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'ConcurrencyLimit' => [ - 'description' => 'The maximum concurrency.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'Message' => [ - 'description' => 'The returned message. If the request was successful, this parameter is not returned.'."\n", - 'type' => 'string', - 'example' => 'no message', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'DC4E3177-6745-4925-B423-4E89VV34221A', - ], - 'BeginTime' => [ - 'description' => 'The start time of the stress testing that is displayed as a timestamp. Unit: ms.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1651895518339', - ], - 'AgentLocation' => [ - 'description' => 'The location information of stress testers.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Region' => [ - 'description' => 'The region in which the stress tester resides.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'Isp' => [ - 'description' => 'The provider of the stress tester.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'Count' => [ - 'description' => 'The number of stress testers.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'Province' => [ - 'description' => 'The province in which the stress tester resides.'."\n", - 'type' => 'string', - 'example' => '', - ], - ], - 'description' => '', - ], - ], - 'Seg90Rt' => [ - 'description' => 'The 90th percentile of reaction time (RT).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '45', - ], - 'ResponseBps' => [ - 'description' => 'The size of the response body.'."\n", - 'type' => 'string', - 'example' => '8kb', - ], - 'TotalAgents' => [ - 'description' => 'The total number of stress testers.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'Code' => [ - 'description' => 'The system status code. If the request was successful, this parameter is not returned.'."\n", - 'type' => 'string', - 'example' => '4001', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'Vum' => [ - 'description' => 'The consumed Virtual User Minutes (VUM).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'AverageRt' => [ - 'description' => 'The average RT.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '45', - ], - 'ChainMonitorDataList' => [ - 'description' => 'The stress testing details of the GetPtsSceneRunningData operation.'."\n", + 'TotalCount' => ['description' => 'The total number of log entries.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'A8E16480-15C1-555A-922F-B736A005E52D', 'title' => ''], + 'Message' => ['description' => 'The error message. This parameter is not returned if the request is successful.', 'type' => 'string', 'title' => '', 'example' => ''], + 'PageSize' => ['description' => 'The number of log entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'PageNumber' => ['description' => 'The returned page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'HttpStatusCode' => ['description' => 'The HTTP status code. This parameter is not returned if the request is successful.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => ''], + 'SampleResults' => [ + 'title' => '', + 'description' => 'The sampling results of the sampler.', 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'TimePoint' => [ - 'description' => 'The point in time at which the stress testing is performed.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1278908899', - ], - 'ApiId' => [ - 'description' => 'The API ID.'."\n", - 'type' => 'string', - 'example' => 'ANBDC8B', - ], - 'MinRt' => [ - 'description' => 'The minimum RT.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '16', - ], - 'Qps2XX' => [ - 'description' => 'The Requests Per Second (RPS) of successful requests.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '78', - ], - 'MaxRt' => [ - 'description' => 'The maximum RT.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '56', - ], - 'ConfigQps' => [ - 'description' => 'The RPS of successful and failed requests.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '78', - ], - 'FailedCount' => [ - 'description' => 'The total number of failed requests.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '456', - ], - 'FailedQps' => [ - 'description' => 'The RPS of failed requests.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '15', - ], - 'AverageRt' => [ - 'description' => 'The average RT.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '46', - ], - 'CheckPointResult' => [ - 'description' => 'The check point results.'."\n", - 'type' => 'object', - 'properties' => [ - 'SucceedBusinessCount' => [ - 'description' => 'The number of successful businesses.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '908', - ], - 'SucceedBusinessQps' => [ - 'description' => 'The RPS of the successful businesses.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '89', - ], - 'FailedBusinessCount' => [ - 'description' => 'The number of failed businesses.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'FailedBusinessQps' => [ - 'description' => 'The RPS of failed businesses.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '78', - ], - ], - ], - 'Count2XX' => [ - 'description' => 'The number of successful requests.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '7890', - ], - 'RealQps' => [ - 'description' => 'The actual RPS.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '23', - ], - 'ApiName' => [ - 'description' => 'The API name.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'NodeId' => [ - 'description' => 'The API ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '78509', - ], - 'Concurrency' => [ - 'description' => 'The concurrency.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '100', - ], - ], - 'description' => '', - ], - ], - 'RequestBps' => [ - 'description' => 'The size of the request body.'."\n", - 'type' => 'string', - 'example' => '89kb', - ], - 'FailedBusinessCount' => [ - 'description' => 'The total number of failed businesses.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '78', - ], - 'Concurrency' => [ - 'description' => 'The total concurrency.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code. If the request was successful, this parameter is not returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '400', - ], - 'FailedRequestCount' => [ - 'description' => 'The number of failed requests.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '90', - ], - 'TpsLimit' => [ - 'description' => 'The maximum transactions per second (TPS).'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '80', - ], - 'AliveAgents' => [ - 'description' => 'The number of healthy engines.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalRealQps' => [ - 'description' => 'The total number of queries per second (QPS).'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], + 'items' => ['description' => 'The sampling result of the sampler.', 'type' => 'string', 'example' => '{ "assertionResults":[], "endTimeTS":1650280351514, "dataEncoding":"utf-8", "latency":11, "samplerData":"GET http://testdomain/\\n\\nGET data:\\n\\n\\n[no cookies]\\n", "httpMethod":"GET", "subResults":[], "idleTime":0, "cookies":"", "responseCode":"200", "responseDataAsString":"response data", "startTimeTS":1650280351503, "requestByteCount":136, "instanceId":0, "samplerId":0, "connectTime":0, "sceneId":276685, "startTime":"2022-04-18T19:12Z", "planId":1736797, "requestData":"", "contentType":"text/html", "responseDataTruncated":false, "dataType":"text", "mediaType":"text/html", "requestDataTruncated":false, "responseByteCount":2497, "threadName":"线程组 1-1", "url":"http:/testdomain", "requestHeaders":"Connection: keep-alive\\nx-pts-test: 1\\nHost: testdomain\\nUser-Agent: Apache-HttpClient/4.5.6 (Java/11.0.7.7-AJDK)\\n", "responseHeaders":"HTTP/1.1 200 OK\\nContent-Length: 2381\\nContent-Type: text/html\\nServer: bfe\\nDate: Mon, 18 Apr 2022 11:12:31 GMT\\n", "success":true, "headersSize":116, "bodySize":2381, "endTime":"2022-04-18T19:12Z", "responseMessage":"OK", "taskId":17367970000, "elapsedTime":11 }', 'title' => ''], + 'example' => '{ "assertionResults":[], "endTimeTS":1650280351514, "dataEncoding":"utf-8", "latency":11, "samplerData":"GET http://testdomain/\\n\\nGET data:\\n\\n\\n[no cookies]\\n", "httpMethod":"GET", "subResults":[], "idleTime":0, "cookies":"", "responseCode":"200", "responseDataAsString":"response data", "startTimeTS":1650280351503, "requestByteCount":136, "instanceId":0, "samplerId":0, "connectTime":0, "sceneId":276685, "startTime":"2022-04-18T19:12Z", "planId":1736797, "requestData":"", "contentType":"text/html", "responseDataTruncated":false, "dataType":"text", "mediaType":"text/html", "requestDataTruncated":false, "responseByteCount":2497, "threadName":"Thread Group 1-1", "url":"http:/testdomain", "requestHeaders":"Connection: keep-alive\\nx-pts-test: 1\\nHost: testdomain\\nUser-Agent: Apache-HttpClient/4.5.6 (Java/11.0.7.7-AJDK)\\n", "responseHeaders":"HTTP/1.1 200 OK\\nContent-Length: 2381\\nContent-Type: text/html\\nServer: bfe\\nDate: Mon, 18 Apr 2022 11:12:31 GMT\\n", "success":true, "headersSize":116, "bodySize":2381, "endTime":"2022-04-18T19:12Z", "responseMessage":"OK", "taskId":17367970000, "elapsedTime":11 }', + ], + 'Code' => ['description' => 'The system status code. This parameter is not returned if the request is successful.', 'type' => 'string', 'title' => '', 'example' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n" + ."\n" + .'- true: The request was successful.'."\n" + ."\n" + .'- false: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], - 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'GetPtsSceneRunningDataFail', - 'errorMessage' => 'The scene does not exit', - ], + 403 => [ + ['errorCode' => 'ReportNotExist', 'errorMessage' => 'The report does not exist.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Status\\": 7,\\n \\"TotalRequestCount\\": 8900,\\n \\"HasReport\\": false,\\n \\"ConcurrencyLimit\\": 20,\\n \\"Message\\": \\"空\\",\\n \\"RequestId\\": \\"DC4E3177-6745-4925-B423-4E89VV34221A\\",\\n \\"BeginTime\\": 1651895518339,\\n \\"AgentLocation\\": [\\n {\\n \\"Region\\": \\"华东地区\\",\\n \\"Isp\\": \\"阿里巴巴\\",\\n \\"Count\\": 10,\\n \\"Province\\": \\"山东省\\"\\n }\\n ],\\n \\"Seg90Rt\\": 45,\\n \\"ResponseBps\\": \\"8kb\\",\\n \\"TotalAgents\\": 10,\\n \\"Code\\": \\"4001\\",\\n \\"Success\\": true,\\n \\"Vum\\": 100,\\n \\"AverageRt\\": 45,\\n \\"ChainMonitorDataList\\": [\\n {\\n \\"TimePoint\\": 1278908899,\\n \\"ApiId\\": \\"ANBDC8B\\",\\n \\"MinRt\\": 16,\\n \\"Qps2XX\\": 78,\\n \\"MaxRt\\": 56,\\n \\"ConfigQps\\": 78,\\n \\"FailedCount\\": 456,\\n \\"FailedQps\\": 15,\\n \\"AverageRt\\": 46,\\n \\"CheckPointResult\\": {\\n \\"SucceedBusinessCount\\": 908,\\n \\"SucceedBusinessQps\\": 89,\\n \\"FailedBusinessCount\\": 1000,\\n \\"FailedBusinessQps\\": 78\\n },\\n \\"Count2XX\\": 7890,\\n \\"RealQps\\": 23,\\n \\"ApiName\\": \\"第一个API\\",\\n \\"NodeId\\": 78509,\\n \\"Concurrency\\": 100\\n }\\n ],\\n \\"RequestBps\\": \\"89kb\\",\\n \\"FailedBusinessCount\\": 78,\\n \\"Concurrency\\": 10,\\n \\"HttpStatusCode\\": 400,\\n \\"FailedRequestCount\\": 90,\\n \\"TpsLimit\\": 80,\\n \\"AliveAgents\\": 10,\\n \\"TotalRealQps\\": 10\\n}","errorExample":""},{"type":"xml","example":"<GetPtsSceneRunningDataResponse>\\n <Status>6</Status>\\n <HasReport>false</HasReport>\\n <ConcurrencyLimit>20</ConcurrencyLimit>\\n <TotalRequestCount>8900</TotalRequestCount>\\n <RequestId>DC4E3177-6745-4925-B423-4E89VV34221A</RequestId>\\n <Message/>\\n <BeginTime>189009880000</BeginTime>\\n <AgentLocation>\\n <Isp>阿里巴巴</Isp>\\n <Region>华东地区</Region>\\n <Count>10</Count>\\n <Province>山东省</Province>\\n </AgentLocation>\\n <Seg90Rt>45</Seg90Rt>\\n <TotalAgents>10</TotalAgents>\\n <ResponseBps>8kb</ResponseBps>\\n <Code>4001</Code>\\n <Success>true</Success>\\n <Vum>100</Vum>\\n <AverageRt>45</AverageRt>\\n <ChainMonitorDataList>\\n <ApiId>ANBDC8B</ApiId>\\n <ApiName>第一个API</ApiName>\\n <AverageRt>46</AverageRt>\\n <Concurrency>100</Concurrency>\\n <FailedQps>15</FailedQps>\\n <RealQps>23</RealQps>\\n <TimePoint>1278908899</TimePoint>\\n <NodeId>78509</NodeId>\\n <FailedCount>456</FailedCount>\\n <Qps2XX>78</Qps2XX>\\n <MinRt>16</MinRt>\\n <MaxRt>56</MaxRt>\\n <ConfigQps>78</ConfigQps>\\n <Count2XX>7890</Count2XX>\\n <CheckPointResult>\\n <FailedBusinessCount>1000</FailedBusinessCount>\\n <FailedBusinessQps>78</FailedBusinessQps>\\n <SucceedBusinessQps>89</SucceedBusinessQps>\\n <SucceedBusinessCount>908</SucceedBusinessCount>\\n </CheckPointResult>\\n </ChainMonitorDataList>\\n <RequestBps>89kb</RequestBps>\\n <Concurrency>10</Concurrency>\\n <FailedBusinessCount>78</FailedBusinessCount>\\n <HttpStatusCode>400</HttpStatusCode>\\n <FailedRequestCount>90</FailedRequestCount>\\n <TpsLimit>80</TpsLimit>\\n <AliveAgents>10</AliveAgents>\\n</GetPtsSceneRunningDataResponse>","errorExample":""}]', - 'title' => 'GetPtsSceneRunningData', - 'summary' => 'Queries the runtime data of a stress testing or debugging scenario.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'GetPtsSceneRunningStatus' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 100,\\n \\"RequestId\\": \\"A8E16480-15C1-555A-922F-B736A005E52D\\",\\n \\"Message\\": \\"\\",\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"HttpStatusCode\\": 0,\\n \\"SampleResults\\": [\\n \\"{ \\\\\\"assertionResults\\\\\\":[], \\\\\\"endTimeTS\\\\\\":1650280351514, \\\\\\"dataEncoding\\\\\\":\\\\\\"utf-8\\\\\\", \\\\\\"latency\\\\\\":11, \\\\\\"samplerData\\\\\\":\\\\\\"GET http://testdomain/\\\\\\\\n\\\\\\\\nGET data:\\\\\\\\n\\\\\\\\n\\\\\\\\n[no cookies]\\\\\\\\n\\\\\\", \\\\\\"httpMethod\\\\\\":\\\\\\"GET\\\\\\", \\\\\\"subResults\\\\\\":[], \\\\\\"idleTime\\\\\\":0, \\\\\\"cookies\\\\\\":\\\\\\"\\\\\\", \\\\\\"responseCode\\\\\\":\\\\\\"200\\\\\\", \\\\\\"responseDataAsString\\\\\\":\\\\\\"response data\\\\\\", \\\\\\"startTimeTS\\\\\\":1650280351503, \\\\\\"requestByteCount\\\\\\":136, \\\\\\"instanceId\\\\\\":0, \\\\\\"samplerId\\\\\\":0, \\\\\\"connectTime\\\\\\":0, \\\\\\"sceneId\\\\\\":276685, \\\\\\"startTime\\\\\\":\\\\\\"2022-04-18T19:12Z\\\\\\", \\\\\\"planId\\\\\\":1736797, \\\\\\"requestData\\\\\\":\\\\\\"\\\\\\", \\\\\\"contentType\\\\\\":\\\\\\"text/html\\\\\\", \\\\\\"responseDataTruncated\\\\\\":false, \\\\\\"dataType\\\\\\":\\\\\\"text\\\\\\", \\\\\\"mediaType\\\\\\":\\\\\\"text/html\\\\\\", \\\\\\"requestDataTruncated\\\\\\":false, \\\\\\"responseByteCount\\\\\\":2497, \\\\\\"threadName\\\\\\":\\\\\\"线程组 1-1\\\\\\", \\\\\\"url\\\\\\":\\\\\\"http:/testdomain\\\\\\", \\\\\\"requestHeaders\\\\\\":\\\\\\"Connection: keep-alive\\\\\\\\nx-pts-test: 1\\\\\\\\nHost: testdomain\\\\\\\\nUser-Agent: Apache-HttpClient/4.5.6 (Java/11.0.7.7-AJDK)\\\\\\\\n\\\\\\", \\\\\\"responseHeaders\\\\\\":\\\\\\"HTTP/1.1 200 OK\\\\\\\\nContent-Length: 2381\\\\\\\\nContent-Type: text/html\\\\\\\\nServer: bfe\\\\\\\\nDate: Mon, 18 Apr 2022 11:12:31 GMT\\\\\\\\n\\\\\\", \\\\\\"success\\\\\\":true, \\\\\\"headersSize\\\\\\":116, \\\\\\"bodySize\\\\\\":2381, \\\\\\"endTime\\\\\\":\\\\\\"2022-04-18T19:12Z\\\\\\", \\\\\\"responseMessage\\\\\\":\\\\\\"OK\\\\\\", \\\\\\"taskId\\\\\\":17367970000, \\\\\\"elapsedTime\\\\\\":11 }\\"\\n ],\\n \\"Code\\": \\"\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'GetJMeterSamplingLogs', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetJMeterSamplingLogs'], + ], ], + 'ramActions' => [], + 'translator' => 'machine', + ], + 'GetJMeterSceneRunningData' => [ + 'summary' => 'Retrieves the data generated during a JMeter stress test based on the scenario ID.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2779,109 +1221,157 @@ [ 'name' => 'SceneId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the scenario.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'NHBG6V', - ], + 'schema' => ['description' => 'The scenario ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'DYYPZIH', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'The data returned.', 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => 'The status of the scenario. Valid values:'."\n" - ."\n" - .'* CREATED'."\n" - .'* SYNCING'."\n" - .'* SYNC_DONE'."\n" - .'* UPLOADING'."\n" - .'* UPLOADED'."\n" - .'* PREPARING'."\n" - .'* READY'."\n" - .'* RUNNING'."\n" - .'* STOPPING'."\n" - .'* STOPPED'."\n", - 'type' => 'string', - 'example' => 'RUNNING', - ], - 'ModifiedTime' => [ - 'description' => 'The last modification time of the scenario.'."\n", - 'type' => 'string', - 'example' => '2021-03-26 16:03:56', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'DC4E3177-6745-4925-B423-4E89VV34221A', - ], - 'Message' => [ - 'description' => 'The error message. If the operation is successful, this parameter is not returned.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'SceneName' => [ - 'description' => 'The name of the scenario.'."\n", - 'type' => 'string', + 'Message' => ['description' => 'The error message returned. This parameter is not returned if the request is successful.', 'type' => 'string', 'title' => '', 'example' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'A8E16480-15C1-555A-922F-B736A005E52D', 'title' => ''], + 'Code' => ['description' => 'The status code of the request. This parameter is not returned if the request is successful.', 'type' => 'string', 'title' => '', 'example' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n" + ."\n" + .'- true: The request was successful.'."\n" + ."\n" + .'- false: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'HttpStatusCode' => ['description' => 'The HTTP status code. This parameter is not returned if the request is successful.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => ''], + 'DocumentUrl' => ['description' => 'The link to the documentation.', 'type' => 'string', 'example' => '空', 'title' => ''], + 'RunningData' => [ + 'title' => '', + 'description' => 'The data of the running task.', + 'type' => 'object', + 'properties' => [ + 'SceneId' => ['description' => 'The scenario ID.', 'type' => 'string', 'example' => 'DYYPZIH', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message returned for the failed stress testing flow. This parameter is not returned if the flow is successful.', 'type' => 'string', 'example' => '引擎租用失败', 'title' => ''], + 'ReportId' => ['description' => 'The ID of the stress testing task. This is also the report ID.', 'type' => 'string', 'example' => 'DYYPLDKS', 'title' => ''], + 'HasError' => ['description' => 'Indicates whether an error occurred in the stress testing flow.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'SceneName' => ['description' => 'The name of the scenario.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'HoldFor' => ['description' => 'The duration of the stress test. Unit: seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '600', 'title' => ''], + 'AgentCount' => ['description' => 'The number of stress testing engines.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'AgentIdList' => [ + 'title' => '', + 'description' => 'A list of stress testing engine IDs.', + 'type' => 'array', + 'items' => ['description' => 'A stress testing engine ID.', 'type' => 'string', 'example' => '["116.19.153.94_3088020"]', 'title' => ''], + 'example' => '', + ], + 'Concurrency' => ['description' => 'The number of concurrent users.', 'type' => 'integer', 'format' => 'int32', 'example' => '1000', 'title' => ''], + 'HasReport' => ['description' => 'Indicates whether a report has been generated.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'IsDebugging' => ['description' => 'Indicates whether the test is a debug run.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'Status' => ['description' => 'The status of the stress test scenario.', 'type' => 'string', 'example' => 'RUNNING', 'title' => ''], + 'Vum' => ['description' => 'The number of virtual user minutes (VUMs) consumed.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], + 'StartTimeTS' => ['description' => 'The UNIX timestamp that indicates the start time of the stress test. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1639970040000', 'title' => ''], + 'StageName' => ['description' => 'The current stage of the task.', 'type' => 'string', 'example' => 'Task execution', 'title' => ''], + 'AllSampleStat' => ['description' => 'The overall sampling statistics of the scenario.', 'type' => 'object', 'example' => '{'."\n" + .' "statusCodes": {'."\n" + .' "200": 634'."\n" + .' }', 'title' => ''], + 'SampleStatList' => [ + 'title' => '', + 'description' => 'The statistics of each sampler.', + 'type' => 'array', + 'items' => ['description' => 'The statistics of a sampler.', 'type' => 'object', 'example' => '['."\n" + .' {'."\n" + .' "statusCodes": {'."\n" + .' "200": 634'."\n" + .' },'."\n" + .' "successRtAvg": 1,'."\n" + .' "successRtMin": 1,'."\n" + .' "responseBytesPerSecond": 453280,'."\n" + .' "successRtSum": 985,'."\n" + .' "samplerId": 0,'."\n" + .' "successRtMax": 9,'."\n" + .' "failRtSum": 0,'."\n" + .' "failCount": 0,'."\n" + .' "samplerLabel": "HTTP Request",'."\n" + .' "count": 634,'."\n" + .' "exceptions": {},'."\n" + .' "successTps": 634,'."\n" + .' "failRtAvg": 0,'."\n" + .' "failRtMin": 0,'."\n" + .' "rtMax": 9,'."\n" + .' "failTps": 0,'."\n" + .' "rtAvg": 1.553627760252366,'."\n" + .' "rtMin": 1,'."\n" + .' "failRtMax": 0,'."\n" + .' "duration": 1000,'."\n" + .' "fullStat": {'."\n" + .' "statusCodes": {'."\n" + .' "200": 1999372'."\n" + .' },'."\n" + .' "requestBytesSum": 411006848,'."\n" + .' "successRtAvg": 1,'."\n" + .' "successRtMin": 1,'."\n" + .' "responseBytesPerSecond": 463583.6830464281,'."\n" + .' "successRtSum": 3023438,'."\n" + .' "rtMedianSum": 1,'."\n" + .' "successRtMax": 25,'."\n" + .' "responseBytesSum": 1429451015,'."\n" + .' "failRtSum": 0,'."\n" + .' "failCount": 0,'."\n" + .' "count": 1999372,'."\n" + .' "rtSeg99": 3,'."\n" + .' "exceptions": {},'."\n" + .' "successTps": 648.4141294900567,'."\n" + .' "rtSeg90": 2,'."\n" + .' "rtSeg50": 1,'."\n" + .' "rtSeg99Sum": 3,'."\n" + .' "failRtAvg": 0,'."\n" + .' "failRtMin": 0,'."\n" + .' "rtMax": 25,'."\n" + .' "failTps": 0,'."\n" + .' "rtSeg75Sum": 2,'."\n" + .' "rtAvg": 1.5121938288622627,'."\n" + .' "rtMin": 1,'."\n" + .' "failRtMax": 0,'."\n" + .' "duration": 3083480,'."\n" + .' "successCount": 1999372,'."\n" + .' "rtSegStatCount": 1,'."\n" + .' "rtSeg75": 2,'."\n" + .' "rtSeg90Sum": 2,'."\n" + .' "tps": 648.4141294900567,'."\n" + .' "requestBytesPerSecond": 133293.17783802716'."\n" + .' },'."\n" + .' "successCount": 634,'."\n" + .' "tps": 634,'."\n" + .' "requestBytesPerSecond": 130388'."\n" + .' }'."\n" + .' ]', 'title' => ''], + 'example' => '', + ], + ], 'example' => '', ], - 'CreateTime' => [ - 'description' => 'The time when the scenario was created.'."\n", - 'type' => 'string', - 'example' => '2021-03-01 16:05:56', - ], - 'HttpStatusCode' => [ - 'description' => 'The request status code. If the operation is successful, this parameter is not returned'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '400', - ], - 'Code' => [ - 'description' => 'The system status code. If the operation is successful, this parameter is not returned'."\n", - 'type' => 'string', - 'example' => '4001', - ], - 'Success' => [ - 'description' => 'Indicates whether the operation is successful. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], ], - 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'GetPtsSceneRunningStatusFail', - 'errorMessage' => 'The scene does not exist', - ], + ['errorCode' => 'ReportNotExist', 'errorMessage' => 'The report does not exist.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Status\\": \\"RUNNING\\",\\n \\"ModifiedTime\\": \\"2021-03-26 16:03:56\\",\\n \\"RequestId\\": \\"DC4E3177-6745-4925-B423-4E89VV34221A\\",\\n \\"Message\\": \\"\\",\\n \\"SceneName\\": \\"下单场景\\",\\n \\"CreateTime\\": \\"2021-03-01 16:05:56\\",\\n \\"HttpStatusCode\\": 400,\\n \\"Code\\": \\"4001\\",\\n \\"Success\\": false\\n}","errorExample":""},{"type":"xml","example":"<GetPtsSceneRunningStatusResponse>\\n <Status>RUNNING</Status>\\n <ModifiedTime>2021-03-26 16:03:56</ModifiedTime>\\n <RequestId>DC4E3177-6745-4925-B423-4E89VV34221A</RequestId>\\n <Message>创建或者修改场景入参必须是实体类Scene的JSON串</Message>\\n <SceneName>下单场景</SceneName>\\n <CreateTime>2021-03-01 16:05:56</CreateTime>\\n <HttpStatusCode>400</HttpStatusCode>\\n <Code>4001</Code>\\n <Success>false</Success>\\n</GetPtsSceneRunningStatusResponse>","errorExample":""}]', - 'title' => 'GetPtsSceneRunningStatus', - 'summary' => 'Queries the runtime status of a Performance Testing Service (PTS) scenario.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'AdjustPtsSceneSpeed' => [ - 'summary' => 'Adjusts the stress in a Performance Testing Service (PTS) scenario.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"\\",\\n \\"RequestId\\": \\"A8E16480-15C1-555A-922F-B736A005E52D\\",\\n \\"Code\\": \\"\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 0,\\n \\"DocumentUrl\\": \\"空\\",\\n \\"RunningData\\": {\\n \\"SceneId\\": \\"DYYPZIH\\",\\n \\"ErrorMessage\\": \\"引擎租用失败\\",\\n \\"ReportId\\": \\"DYYPLDKS\\",\\n \\"HasError\\": false,\\n \\"SceneName\\": \\"test\\",\\n \\"HoldFor\\": 600,\\n \\"AgentCount\\": 2,\\n \\"AgentIdList\\": [\\n \\"[\\\\\\"116.19.153.94_3088020\\\\\\"]\\"\\n ],\\n \\"Concurrency\\": 1000,\\n \\"HasReport\\": false,\\n \\"IsDebugging\\": false,\\n \\"Status\\": \\"RUNNING\\",\\n \\"Vum\\": 100,\\n \\"StartTimeTS\\": 1639970040000,\\n \\"StageName\\": \\"Task execution\\",\\n \\"AllSampleStat\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"SampleStatList\\": [\\n [\\n {\\n \\"statusCodes\\": {\\n \\"200\\": 634\\n },\\n \\"successRtAvg\\": 1,\\n \\"successRtMin\\": 1,\\n \\"responseBytesPerSecond\\": 453280,\\n \\"successRtSum\\": 985,\\n \\"samplerId\\": 0,\\n \\"successRtMax\\": 9,\\n \\"failRtSum\\": 0,\\n \\"failCount\\": 0,\\n \\"samplerLabel\\": \\"HTTP Request\\",\\n \\"count\\": 634,\\n \\"exceptions\\": {},\\n \\"successTps\\": 634,\\n \\"failRtAvg\\": 0,\\n \\"failRtMin\\": 0,\\n \\"rtMax\\": 9,\\n \\"failTps\\": 0,\\n \\"rtAvg\\": 1.553627760252366,\\n \\"rtMin\\": 1,\\n \\"failRtMax\\": 0,\\n \\"duration\\": 1000,\\n \\"fullStat\\": {\\n \\"statusCodes\\": {\\n \\"200\\": 1999372\\n },\\n \\"requestBytesSum\\": 411006848,\\n \\"successRtAvg\\": 1,\\n \\"successRtMin\\": 1,\\n \\"responseBytesPerSecond\\": 463583.6830464281,\\n \\"successRtSum\\": 3023438,\\n \\"rtMedianSum\\": 1,\\n \\"successRtMax\\": 25,\\n \\"responseBytesSum\\": 1429451015,\\n \\"failRtSum\\": 0,\\n \\"failCount\\": 0,\\n \\"count\\": 1999372,\\n \\"rtSeg99\\": 3,\\n \\"exceptions\\": {},\\n \\"successTps\\": 648.4141294900567,\\n \\"rtSeg90\\": 2,\\n \\"rtSeg50\\": 1,\\n \\"rtSeg99Sum\\": 3,\\n \\"failRtAvg\\": 0,\\n \\"failRtMin\\": 0,\\n \\"rtMax\\": 25,\\n \\"failTps\\": 0,\\n \\"rtSeg75Sum\\": 2,\\n \\"rtAvg\\": 1.5121938288622627,\\n \\"rtMin\\": 1,\\n \\"failRtMax\\": 0,\\n \\"duration\\": 3083480,\\n \\"successCount\\": 1999372,\\n \\"rtSegStatCount\\": 1,\\n \\"rtSeg75\\": 2,\\n \\"rtSeg90Sum\\": 2,\\n \\"tps\\": 648.4141294900567,\\n \\"requestBytesPerSecond\\": 133293.17783802716\\n },\\n \\"successCount\\": 634,\\n \\"tps\\": 634,\\n \\"requestBytesPerSecond\\": 130388\\n }\\n ]\\n ]\\n }\\n}","type":"json"}]', + 'title' => 'GetJMeterSceneRunningData', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetJMeterSceneRunningData'], + ], ], + 'ramActions' => [], + 'translator' => 'machine', + ], + 'GetOpenJMeterScene' => [ + 'summary' => 'Retrieves the details of a JMeter scenario.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2896,217 +1386,255 @@ 'BearerToken' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'SceneId', 'in' => 'query', - 'schema' => [ - 'title' => '报告id', - 'description' => 'The scenario ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'DYXXX12H', - ], - ], - [ - 'name' => 'ApiSpeedList', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The stress testing speed in the PTS scenario.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ApiId' => [ - 'description' => 'The API ID. You can find the information of the API corresponding to the ID in the Relation response parameter of the GetPtsSceneRunningData operation based on the ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'DYXXX12H', - ], - 'Speed' => [ - 'description' => 'The new stress. In concurrency mode, the new stress is the concurrency. In RPS mode, the new stress is the RPS.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '30', - ], - ], - 'required' => false, - 'description' => '', - ], - 'required' => false, - ], + 'schema' => ['description' => 'The scenario ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'DYYPZIH', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'The response that is returned.', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => 'The returned message. If the request was successful, no data is returned.'."\n", - 'type' => 'string', + 'Message' => ['description' => 'The error message. This parameter is empty if the request is successful.', 'type' => 'string', 'example' => '空', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'A8E16480-15C1-555A-922F-B736A005E52D', 'title' => ''], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'Scene' => [ + 'title' => '', + 'description' => 'The details of the scenario.', + 'type' => 'object', + 'properties' => [ + 'SceneName' => ['description' => 'The scenario name.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'SceneId' => ['description' => 'The scenario ID.', 'type' => 'string', 'example' => 'DYYPZIH', 'title' => ''], + 'EnvironmentId' => ['description' => 'The environment ID.', 'type' => 'string', 'example' => 'EEDT7', 'title' => ''], + 'BaseInfo' => [ + 'title' => '', + 'description' => 'The basic information.', + 'type' => 'object', + 'properties' => [ + 'Remark' => ['description' => 'The remarks.', 'type' => 'string', 'example' => '小心压测', 'title' => ''], + 'Principal' => ['description' => 'The owner of the stress testing scenario.', 'type' => 'string', 'example' => 'test-person', 'title' => ''], + 'Resource' => ['description' => 'The source of the scenario.', 'type' => 'string', 'example' => 'create', 'title' => ''], + 'CreateName' => ['description' => 'The name of the user who created the scenario.', 'type' => 'string', 'example' => 'John Doe', 'title' => ''], + 'ModifyName' => ['description' => 'The name of the user who last modified the scenario.', 'type' => 'string', 'example' => 'Rees', 'title' => ''], + 'OperateType' => ['description' => 'The operation type.', 'type' => 'string', 'example' => 'Save and start stress test', 'title' => ''], + ], + 'example' => '', + ], + 'FileList' => [ + 'title' => '', + 'description' => 'The list of files.', + 'type' => 'array', + 'items' => [ + 'description' => 'The file details.', + 'type' => 'object', + 'properties' => [ + 'Id' => ['description' => 'The file ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '61660', 'title' => ''], + 'FileName' => ['description' => 'The file name.', 'type' => 'string', 'example' => 'json.jar', 'title' => ''], + 'FileOssAddress' => ['description' => 'The Object Storage Service (OSS) URL of the file.', 'type' => 'string', 'example' => 'https://test.oss-cn-shanghai.aliyuncs.com/json.jar', 'title' => ''], + 'SplitCsv' => ['description' => 'Indicates whether to chunk the CSV file.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'Md5' => ['description' => 'The MD5 hash of the JAR package.', 'type' => 'string', 'example' => '43B584026CE5E570F3DE638FA7EEF9E0', 'title' => ''], + 'FileSize' => ['description' => 'The file size, in bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '700', 'title' => ''], + 'FileType' => ['description' => 'The file type.', 'type' => 'string', 'example' => 'jar', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'example' => '', + ], + 'TestFile' => ['description' => 'The test file.', 'type' => 'string', 'example' => 'baidu.jmx', 'title' => ''], + 'IsVpcTest' => ['description' => 'Indicates whether to perform stress testing in a VPC.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'Duration' => ['description' => 'The duration of the stress test, in seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '600', 'title' => ''], + 'DnsCacheConfig' => [ + 'title' => '', + 'description' => 'The DNS configuration.', + 'type' => 'object', + 'properties' => [ + 'ClearCacheEachIteration' => ['description' => 'Indicates whether to clear the cache in each iteration.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'DnsServers' => [ + 'title' => '', + 'description' => 'The DNS servers.', + 'type' => 'array', + 'items' => ['description' => 'A DNS server.', 'type' => 'string', 'example' => '["8.8.8.8"]', 'title' => ''], + 'example' => '', + ], + 'HostTable' => ['description' => 'The domain name bindings.', 'type' => 'object', 'example' => '{"server.com":"6.6.6.6"}', 'title' => ''], + ], + 'example' => '', + ], + 'Concurrency' => ['description' => 'The maximum number of concurrent users.', 'type' => 'integer', 'format' => 'int32', 'example' => '1000', 'title' => ''], + 'AgentCount' => ['description' => 'The number of stress testing agents. Each agent supports a maximum of 500 concurrent users.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'RampUp' => ['description' => 'The ramp-up period, in seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], + 'Steps' => ['description' => 'The number of ramp-up steps. The pressure is applied based on the following rules:', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], + 'RegionId' => ['description' => 'The region ID. Configure this parameter for stress testing in a VPC.', 'type' => 'string', 'example' => 'cn-beijing', 'title' => ''], + 'VpcId' => ['description' => 'The VPC ID. Configure this parameter for stress testing in a VPC.', 'type' => 'string', 'example' => 'vpc-2ze2sahjdgahsebjkqhf4pyj', 'title' => ''], + 'SecurityGroupId' => ['description' => 'The security group ID. Configure this parameter for stress testing in a VPC.', 'type' => 'string', 'example' => 'sg-2zeid0dd7bhahsgdahspaly', 'title' => ''], + 'VSwitchId' => ['description' => 'The vSwitch ID. Configure this parameter for stress testing in a VPC.', 'type' => 'string', 'example' => 'vsw-2zehsgdhsahw1r', 'title' => ''], + 'SyncTimerType' => ['description' => 'The type of the synchronization timer.', 'type' => 'string', 'example' => 'GLOBAL', 'title' => ''], + 'ConstantThroughputTimerType' => ['title' => 'constantThroughputTimerType', 'description' => 'The type of the constant throughput timer.', 'type' => 'string', 'example' => 'STAND_ALONE'], + 'Pool' => ['description' => 'The source of the stress testing traffic. An empty string specifies that traffic originates from the internet. \\`intranet-vpc\\` specifies that traffic originates from a VPC.', 'type' => 'string', 'title' => '', 'example' => 'VPC'], + 'Mode' => ['description' => 'The stress testing mode. \\`concurrency\\_mode\\` indicates concurrent mode, and \\`tps\\_mode\\` indicates RPS mode.', 'type' => 'string', 'title' => '', 'example' => 'concurrency_mode'], + 'StartRps' => ['description' => 'The initial RPS. This parameter is valid only in RPS mode.', 'type' => 'integer', 'format' => 'int32', 'example' => 'true', 'title' => ''], + 'MaxRps' => ['description' => 'The maximum number of records per second (RPS). This parameter is valid only in RPS mode.', 'type' => 'integer', 'format' => 'int32', 'example' => 'true', 'title' => ''], + 'StartConcurrency' => ['description' => 'The initial number of concurrent users. This parameter is valid only in concurrent mode.', 'type' => 'integer', 'format' => 'int32', 'example' => 'true', 'title' => ''], + 'RegionalCondition' => [ + 'description' => 'The custom regional configuration for stress testing agents.', + 'type' => 'array', + 'items' => [ + 'description' => 'The number of stress testing agents in a single region.', + 'type' => 'object', + 'properties' => [ + 'Region' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'Amount' => ['description' => 'The number of stress testing agents.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], 'example' => '', ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '4F7D2CE0-XXXX-4143-955A-8E4595AF86A6', - ], - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Code' => [ - 'description' => 'The system status code.'."\n", - 'type' => 'string', - 'example' => '200', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'Code' => ['description' => 'The system status code.', 'type' => 'string', 'example' => '200', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n" + ."\n" + .'- true: The request was successful.'."\n" + ."\n" + .'- false: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], - 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'SceneNotExist', - 'errorMessage' => 'The scene does not exist.', - ], + ['errorCode' => 'SceneNotExist', 'errorMessage' => 'The scene does not exist.', 'description' => ''], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"空\\",\\n \\"RequestId\\": \\"4F7D2CE0-XXXX-4143-955A-8E4595AF86A6\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'AdjustPtsSceneSpeed', - 'description' => 'In concurrency mode, only the concurrency of the first API is passed as that of a session.'."\n" - ."\n" - .'In requests per second (RPS) mode, the RPS of each API can be adjusted. Make sure that the RPS decreases in the API order in the same session.'."\n", - ], - 'CreatePtsScene' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"空\\",\\n \\"RequestId\\": \\"A8E16480-15C1-555A-922F-B736A005E52D\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Scene\\": {\\n \\"SceneName\\": \\"test\\",\\n \\"SceneId\\": \\"DYYPZIH\\",\\n \\"EnvironmentId\\": \\"EEDT7\\",\\n \\"BaseInfo\\": {\\n \\"Remark\\": \\"小心压测\\",\\n \\"Principal\\": \\"test-person\\",\\n \\"Resource\\": \\"create\\",\\n \\"CreateName\\": \\"John Doe\\",\\n \\"ModifyName\\": \\"Rees\\",\\n \\"OperateType\\": \\"Save and start stress test\\"\\n },\\n \\"FileList\\": [\\n {\\n \\"Id\\": 61660,\\n \\"FileName\\": \\"json.jar\\",\\n \\"FileOssAddress\\": \\"https://test.oss-cn-shanghai.aliyuncs.com/json.jar\\",\\n \\"SplitCsv\\": false,\\n \\"Md5\\": \\"43B584026CE5E570F3DE638FA7EEF9E0\\",\\n \\"FileSize\\": 700,\\n \\"FileType\\": \\"jar\\"\\n }\\n ],\\n \\"TestFile\\": \\"baidu.jmx\\",\\n \\"IsVpcTest\\": false,\\n \\"Duration\\": 600,\\n \\"DnsCacheConfig\\": {\\n \\"ClearCacheEachIteration\\": false,\\n \\"DnsServers\\": [\\n \\"[\\\\\\"8.8.8.8\\\\\\"]\\"\\n ],\\n \\"HostTable\\": {\\n \\"server.com\\": \\"6.6.6.6\\"\\n }\\n },\\n \\"Concurrency\\": 1000,\\n \\"AgentCount\\": 2,\\n \\"RampUp\\": 100,\\n \\"Steps\\": 3,\\n \\"RegionId\\": \\"cn-beijing\\",\\n \\"VpcId\\": \\"vpc-2ze2sahjdgahsebjkqhf4pyj\\",\\n \\"SecurityGroupId\\": \\"sg-2zeid0dd7bhahsgdahspaly\\",\\n \\"VSwitchId\\": \\"vsw-2zehsgdhsahw1r\\",\\n \\"SyncTimerType\\": \\"GLOBAL\\",\\n \\"ConstantThroughputTimerType\\": \\"STAND_ALONE\\",\\n \\"Pool\\": \\"VPC\\",\\n \\"Mode\\": \\"concurrency_mode\\",\\n \\"StartRps\\": 0,\\n \\"MaxRps\\": 0,\\n \\"StartConcurrency\\": 0,\\n \\"RegionalCondition\\": [\\n {\\n \\"Region\\": \\"cn-hangzhou\\",\\n \\"Amount\\": 1\\n }\\n ]\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'GetOpenJMeterScene', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetOpenJMeterScene'], + ], ], + 'ramActions' => [], + 'translator' => 'machine', + ], + 'GetPtsDebugSampleLogs' => [ + 'summary' => 'Queries the sampling logs of a debug task in a PTS scenario.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ [ - 'APP' => [], - ], - [ - 'PrivateKey' => [], + 'name' => 'PlanId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the debug task.', 'type' => 'string', 'required' => false, 'example' => ' NJJBH8B', 'title' => ''], ], [ - 'BearerToken' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'abilityTreeCode' => '22649', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], - ], - 'parameters' => [ [ - 'name' => 'Scene', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The scenario details.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '', - ], + 'schema' => ['description' => 'The number of records to display on each page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response.', 'type' => 'object', 'properties' => [ - 'SceneId' => [ - 'description' => 'The ID of the created scenario.'."\n", - 'type' => 'string', - 'example' => 'SDR3CX', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '4F7D2CE0-AE4C-4143-955A-8E4595AF86A6', - ], - 'Message' => [ - 'description' => 'The returned message. If the request was successful, no data is returned.'."\n", - 'type' => 'string', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'A8E16480-15C1-555A-922F-B736A005E52D'], + 'SamplingLogs' => [ + 'title' => 'samplingLogs', + 'description' => 'The sampling logs.', + 'type' => 'array', + 'items' => [ + 'description' => 'The sampling log.', + 'type' => 'object', + 'properties' => [ + 'HttpRequestMethod' => ['title' => 'httpRequestMethod', 'description' => 'The request method.', 'type' => 'string', 'example' => 'GET'], + 'HttpResponseStatus' => ['title' => 'httpResponseStatus', 'description' => 'The response status code.', 'type' => 'string', 'example' => '200'], + 'Timestamp' => ['title' => 'timestamp', 'description' => 'The timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1650253024471'], + 'ExportConfig' => ['title' => 'exportConfig', 'description' => 'The response parameter settings.', 'type' => 'string', 'example' => '{\\"skuId\\":\\"{R:json@$.page.list[0].skuId}\\"}'], + 'HttpResponseFailMsg' => ['title' => 'httpResponseFailMsg', 'description' => 'The response error message.', 'type' => 'string', 'example' => ''], + 'CheckResult' => ['title' => 'checkResult', 'description' => 'The result of the assertion check.', 'type' => 'string', 'example' => '[{"checkPointType":"StatusCode","checker":{"expect":"200","operate":"eq","parsedExpectValue":"200","realValue":"200"},"hit":true,"point":"状态码"}]'], + 'HttpResponseBody' => ['title' => 'httpResponseBody', 'description' => 'The response body.', 'type' => 'string', 'example' => '{"timestamp":1679903049155,"status":404,"error":"Not Found","message":"No message available","path":"/"}'], + 'ChainId' => ['title' => 'chainId', 'description' => 'The trace ID.', 'type' => 'string', 'example' => '65354719'], + 'HttpRequestHeaders' => ['title' => 'httpRequestHeaders', 'description' => 'The request header.', 'type' => 'string', 'example' => '[{"name":"v2","sensitive":false,"value":"1"},{"name":"x-pts-test","sensitive":false,"value":"2"}]'], + 'Rt' => ['title' => 'rt', 'description' => 'The response time in milliseconds.', 'type' => 'string', 'example' => '230'], + 'HttpResponseHeaders' => ['title' => 'httpResponseHeaders', 'description' => 'The response header.', 'type' => 'string', 'example' => '[{"valuePos":18,"name":"transfer-encoding","buffer":{"empty":false,"full":false},"sensitive":false,"value":"chunked"},{"valuePos":13,"name":"Content-Type","buffer":{"empty":false,"full":false},"sensitive":false,"value":"application/json;charset=UTF-8"},{"valuePos":5,"name":"Date","buffer":{"empty":false,"full":false},"sensitive":false,"value":"Mon, 27 Mar 2023 07:44:08 GMT"}]'], + 'HttpStartTime' => ['title' => 'httpStartTime', 'description' => 'The time when the request was initiated.', 'type' => 'integer', 'format' => 'int64', 'example' => '12'], + 'ExportContent' => ['title' => 'exportContent', 'description' => 'The content of the exported parameter.', 'type' => 'string', 'example' => '{"skuId":"1"}'], + 'ImportContent' => ['title' => 'importContent', 'description' => 'The content of the imported parameter.', 'type' => 'string', 'example' => ''], + 'HttpTiming' => ['title' => 'httpTiming', 'description' => 'The HTTP timing waterfall.', 'type' => 'string', 'example' => '{"traceId":"0:1:10a94f66pts-2069351-allsparktask","requests":[{"lease":{"conn":{"duration":-1,"finish":-1,"operation":"conn","start":-1},"dns":{"duration":-1,"finish":-1,"operation":"dns","start":-1},"duration":-1,"finish":-1,"operation":"lease","start":32277914755},"recv":{"duration":225975,"finish":32283700284,"message":"","operation":"recv","start":32283474309},"sent":{"duration":594179,"finish":32278776504,"message":"","operation":"sent","start":32278182325},"tag":"GET http://tomcodemall.com:30080/api/product/skuinfo/list?key=2&vv=4&t4=%EF%BB%BF101"}],"message":""}'], + 'HttpRequestBody' => ['title' => 'httpRequestBody', 'description' => 'The request body.', 'type' => 'string', 'example' => '{"loginacct":"acce"}'], + 'NodeId' => ['title' => 'nodeId', 'description' => 'The node ID.', 'type' => 'string', 'example' => '1345531'], + 'HttpRequestUrl' => ['title' => 'httpRequestUrl', 'description' => 'The request URL.', 'type' => 'string', 'example' => 'http://www.example.com'], + 'ChainName' => ['description' => 'The trace name.', 'type' => 'string', 'example' => 'Serial chain', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], 'example' => '', ], - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code. If the request was successful, no data is returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '400', - ], - 'Code' => [ - 'description' => 'The system status code. If the request was successful, no data is returned.'."\n", - 'type' => 'string', - 'example' => '4001', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], + 'PageNumber' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries on the current page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n" + ."\n" + .'- true: The request was successful.'."\n" + ."\n" + .'- false: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Code' => ['description' => 'The system status code. This parameter is not returned if the request is successful.', 'type' => 'string', 'title' => '', 'example' => ''], + 'Message' => ['description' => 'The error message. This parameter is not returned if the request is successful.', 'type' => 'string', 'title' => '', 'example' => ''], ], - 'description' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'CreateSceneFail', - 'errorMessage' => 'Create scene cannot be empty', - ], + ['errorCode' => 'GetPtsDebugSampleLogsFail', 'errorMessage' => 'planId not exist', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"SceneId\\": \\"SDR3CX\\",\\n \\"RequestId\\": \\"4F7D2CE0-AE4C-4143-955A-8E4595AF86A6\\",\\n \\"Message\\": \\"创建或者修改场景入参必须是实体类Scene的JSON串\\",\\n \\"HttpStatusCode\\": 400,\\n \\"Code\\": \\"4001\\",\\n \\"Success\\": false\\n}","errorExample":""},{"type":"xml","example":"<CreatePtsSceneResponse>\\n <SceneId>SDR3CX</SceneId>\\n <RequestId>4F7D2CE0-AE4C-4143-955A-8E4595AF86A6</RequestId>\\n <Message>创建或者修改场景入参必须是实体类Scene的JSON串</Message>\\n <HttpStatusCode>400</HttpStatusCode>\\n <Code>4001</Code>\\n <Success>false</Success>\\n</CreatePtsSceneResponse>","errorExample":""}]', - 'title' => 'CreatePtsScene', - 'summary' => 'Creates a stress testing scenario.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'SavePtsScene' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A8E16480-15C1-555A-922F-B736A005E52D\\",\\n \\"SamplingLogs\\": [\\n {\\n \\"HttpRequestMethod\\": \\"GET\\",\\n \\"HttpResponseStatus\\": \\"200\\",\\n \\"Timestamp\\": 1650253024471,\\n \\"ExportConfig\\": \\"{\\\\\\\\\\\\\\"skuId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"{R:json@$.page.list[0].skuId}\\\\\\\\\\\\\\"}\\",\\n \\"HttpResponseFailMsg\\": \\"\\",\\n \\"CheckResult\\": \\"[{\\\\\\"checkPointType\\\\\\":\\\\\\"StatusCode\\\\\\",\\\\\\"checker\\\\\\":{\\\\\\"expect\\\\\\":\\\\\\"200\\\\\\",\\\\\\"operate\\\\\\":\\\\\\"eq\\\\\\",\\\\\\"parsedExpectValue\\\\\\":\\\\\\"200\\\\\\",\\\\\\"realValue\\\\\\":\\\\\\"200\\\\\\"},\\\\\\"hit\\\\\\":true,\\\\\\"point\\\\\\":\\\\\\"状态码\\\\\\"}]\\",\\n \\"HttpResponseBody\\": \\"{\\\\\\"timestamp\\\\\\":1679903049155,\\\\\\"status\\\\\\":404,\\\\\\"error\\\\\\":\\\\\\"Not Found\\\\\\",\\\\\\"message\\\\\\":\\\\\\"No message available\\\\\\",\\\\\\"path\\\\\\":\\\\\\"/\\\\\\"}\\",\\n \\"ChainId\\": \\"65354719\\",\\n \\"HttpRequestHeaders\\": \\"[{\\\\\\"name\\\\\\":\\\\\\"v2\\\\\\",\\\\\\"sensitive\\\\\\":false,\\\\\\"value\\\\\\":\\\\\\"1\\\\\\"},{\\\\\\"name\\\\\\":\\\\\\"x-pts-test\\\\\\",\\\\\\"sensitive\\\\\\":false,\\\\\\"value\\\\\\":\\\\\\"2\\\\\\"}]\\",\\n \\"Rt\\": \\"230\\",\\n \\"HttpResponseHeaders\\": \\"[{\\\\\\"valuePos\\\\\\":18,\\\\\\"name\\\\\\":\\\\\\"transfer-encoding\\\\\\",\\\\\\"buffer\\\\\\":{\\\\\\"empty\\\\\\":false,\\\\\\"full\\\\\\":false},\\\\\\"sensitive\\\\\\":false,\\\\\\"value\\\\\\":\\\\\\"chunked\\\\\\"},{\\\\\\"valuePos\\\\\\":13,\\\\\\"name\\\\\\":\\\\\\"Content-Type\\\\\\",\\\\\\"buffer\\\\\\":{\\\\\\"empty\\\\\\":false,\\\\\\"full\\\\\\":false},\\\\\\"sensitive\\\\\\":false,\\\\\\"value\\\\\\":\\\\\\"application/json;charset=UTF-8\\\\\\"},{\\\\\\"valuePos\\\\\\":5,\\\\\\"name\\\\\\":\\\\\\"Date\\\\\\",\\\\\\"buffer\\\\\\":{\\\\\\"empty\\\\\\":false,\\\\\\"full\\\\\\":false},\\\\\\"sensitive\\\\\\":false,\\\\\\"value\\\\\\":\\\\\\"Mon, 27 Mar 2023 07:44:08 GMT\\\\\\"}]\\",\\n \\"HttpStartTime\\": 12,\\n \\"ExportContent\\": \\"{\\\\\\"skuId\\\\\\":\\\\\\"1\\\\\\"}\\",\\n \\"ImportContent\\": \\"\\",\\n \\"HttpTiming\\": \\"{\\\\\\"traceId\\\\\\":\\\\\\"0:1:10a94f66pts-2069351-allsparktask\\\\\\",\\\\\\"requests\\\\\\":[{\\\\\\"lease\\\\\\":{\\\\\\"conn\\\\\\":{\\\\\\"duration\\\\\\":-1,\\\\\\"finish\\\\\\":-1,\\\\\\"operation\\\\\\":\\\\\\"conn\\\\\\",\\\\\\"start\\\\\\":-1},\\\\\\"dns\\\\\\":{\\\\\\"duration\\\\\\":-1,\\\\\\"finish\\\\\\":-1,\\\\\\"operation\\\\\\":\\\\\\"dns\\\\\\",\\\\\\"start\\\\\\":-1},\\\\\\"duration\\\\\\":-1,\\\\\\"finish\\\\\\":-1,\\\\\\"operation\\\\\\":\\\\\\"lease\\\\\\",\\\\\\"start\\\\\\":32277914755},\\\\\\"recv\\\\\\":{\\\\\\"duration\\\\\\":225975,\\\\\\"finish\\\\\\":32283700284,\\\\\\"message\\\\\\":\\\\\\"\\\\\\",\\\\\\"operation\\\\\\":\\\\\\"recv\\\\\\",\\\\\\"start\\\\\\":32283474309},\\\\\\"sent\\\\\\":{\\\\\\"duration\\\\\\":594179,\\\\\\"finish\\\\\\":32278776504,\\\\\\"message\\\\\\":\\\\\\"\\\\\\",\\\\\\"operation\\\\\\":\\\\\\"sent\\\\\\",\\\\\\"start\\\\\\":32278182325},\\\\\\"tag\\\\\\":\\\\\\"GET http://tomcodemall.com:30080/api/product/skuinfo/list?key=2&vv=4&t4=%EF%BB%BF101\\\\\\"}],\\\\\\"message\\\\\\":\\\\\\"\\\\\\"}\\",\\n \\"HttpRequestBody\\": \\"{\\\\\\"loginacct\\\\\\":\\\\\\"acce\\\\\\"}\\",\\n \\"NodeId\\": \\"1345531\\",\\n \\"HttpRequestUrl\\": \\"http://www.example.com\\",\\n \\"ChainName\\": \\"Serial chain\\"\\n }\\n ],\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 100,\\n \\"Success\\": true,\\n \\"Code\\": \\"\\",\\n \\"Message\\": \\"\\"\\n}","type":"json"}]', + 'title' => 'GetPtsDebugSampleLogs', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetPtsDebugSampleLogs'], + ], ], + 'ramActions' => [], + 'translator' => 'machine', + ], + 'GetPtsReportDetails' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3121,797 +1649,350 @@ 'BearerToken' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => [], 'parameters' => [ [ - 'name' => 'Scene', + 'name' => 'SceneId', 'in' => 'query', - 'style' => 'json', + 'schema' => ['description' => 'The ID of the scenario. This is a unique identifier that the system generates after you create the scenario.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'G5HCVS'], + ], + [ + 'name' => 'PlanId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the task that is generated each time you start the scenario.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'OH5HA3VB'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '场景详细信息', - 'description' => 'The information about the scenario.'."\n", 'type' => 'object', 'properties' => [ - 'SceneId' => [ - 'title' => '场景ID,不传为新建,传递为修改', - 'description' => 'The ID of the scenario. To save a new scenario, leave this parameter empty. To update an existing scenario, specify the ID of the scenario.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'IUYAHGJ', + 'Message' => ['description' => 'The error message. This parameter is not returned if the request is successful.', 'type' => 'string', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'DC4E3177-6745-4925-B423-4E89VV34221A'], + 'ReportOverView' => [ + 'description' => 'The report overview.', + 'type' => 'object', + 'properties' => [ + 'ReportName' => ['description' => 'The report name.', 'type' => 'string', 'title' => '', 'example' => 'PTS-TEST'], + 'EndTime' => ['description' => 'The end time of the stress test.', 'type' => 'string', 'title' => '', 'example' => '2024-09-20 10:41:33'], + 'StartTime' => ['description' => 'The start time.', 'type' => 'string', 'title' => '', 'example' => '2024-09-20 10:39:33'], + 'AgentCount' => ['description' => 'The number of stress testing agents.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], + 'ReportId' => ['description' => 'The report ID.', 'type' => 'string', 'title' => '', 'example' => 'GHB56VD'], + 'Vum' => ['description' => 'The number of virtual user minutes (VUMs) consumed.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1012'], + ], + 'title' => '', ], - 'SceneName' => [ - 'title' => '场景名', - 'description' => 'The name of the scenario.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'test', + 'SceneMetrics' => [ + 'description' => 'The metric information for the scenario dimension.', + 'type' => 'object', + 'properties' => [ + 'FailCountBiz' => ['description' => 'The number of business failures for the entire scenario.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'], + 'AllCount' => ['description' => 'The total number of requests for the entire scenario.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '11872'], + 'SuccessRateBiz' => ['description' => 'The business success rate for the entire scenario.', 'type' => 'number', 'format' => 'float', 'title' => '', 'example' => '0'], + 'AvgRt' => ['description' => 'The average RT for the entire scenario.', 'type' => 'number', 'format' => 'float', 'title' => '', 'example' => '170.49'], + 'FailCountReq' => ['description' => 'The number of failed requests for the entire scenario.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'], + 'AvgTps' => ['description' => 'The average TPS for the entire scenario.', 'type' => 'number', 'format' => 'float', 'title' => '', 'example' => '100.61'], + 'Seg99Rt' => ['description' => 'The 99th percentile RT.', 'type' => 'number', 'format' => 'float', 'title' => '', 'example' => '284'], + 'SuccessRateReq' => ['description' => 'The request success rate for the entire scenario.', 'type' => 'number', 'format' => 'float', 'title' => '', 'example' => '1'], + 'Seg90Rt' => ['description' => 'The 90th percentile RT.', 'type' => 'number', 'format' => 'float', 'title' => '', 'example' => '170'], + ], + 'title' => '', ], - 'RelationList' => [ - 'title' => '链路配置', - 'description' => 'The sessions.'."\n", + 'ApiMetricsList' => [ + 'description' => 'The metric information for the API dimension.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'RelationName' => [ - 'title' => '链路名', - 'description' => 'The name of the session.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '', - ], - 'RelationId' => [ - 'title' => '链路id', - 'description' => 'The ID of the session.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], - 'ApiList' => [ - 'title' => '链路下的API信息', - 'description' => 'The API operations on the session.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ApiName' => [ - 'title' => 'API名', - 'description' => 'The name of the API operation.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'api', - ], - 'Url' => [ - 'title' => '压测URL', - 'description' => 'The URL to which the API request is sent.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'http://www.example.com', - ], - 'Method' => [ - 'title' => '请求方法', - 'description' => 'The request method.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'GET', - ], - 'ApiId' => [ - 'title' => 'API的id', - 'description' => 'The ID of the API.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], - 'ExportList' => [ - 'title' => '出参', - 'description' => 'The export parameters.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ExportType' => [ - 'title' => '出参来源 请求体(BODY_TEXT),请求体(BODY_JSON),请求头(HEADER),响应状态码(STATUS_CODE)', - 'description' => 'The source of the export parameter. Valid values:'."\n" - ."\n" - .'* BODY_TEXT: the request body in the BODY_TEXT format'."\n" - .'* BODY_JSON: the request body in the BODY_JSON format.'."\n" - .'* HEADER: the request header'."\n" - .'* STATUS_CODE: the HTTP status code returned by the API'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'BODY_JSON', - ], - 'ExportName' => [ - 'title' => '出参名', - 'description' => 'The name of the export parameter.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], - 'Count' => [ - 'title' => '第几个匹配项,可以是数字 或 random( BODY_TEXT情况下才需要count)', - 'description' => 'The index of the matched item. You can specify a number or "Random". If you set ExportType to BODY_TEXT, you must specify this parameter.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '0', - ], - 'ExportValue' => [ - 'title' => '出参的解析表达式', - 'description' => 'The actual path from which you want to extract the export parameter values.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'data.itemlist[0]', - ], - ], - 'required' => false, - 'description' => '', - ], - 'required' => false, - ], - 'HeaderList' => [ - 'title' => 'headerList', - 'description' => 'The headers.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'HeaderName' => [ - 'title' => 'header参数名', - 'description' => 'The name of the header.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Accept-Encoding', - ], - 'HeaderValue' => [ - 'title' => '参数对应的值', - 'description' => 'The value of the header.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'gzip, deflate, br', - ], - ], - 'required' => false, - 'description' => '', - ], - 'required' => false, - ], - 'CheckPointList' => [ - 'title' => '检查点', - 'description' => 'The checkpoints.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Operator' => [ - 'title' => '检查条件 CheckPointOperator 中', - 'description' => 'The operation or condition that is checked against the expected value.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ctn', - ], - 'ExpectValue' => [ - 'title' => '检查内容,即期望值', - 'description' => 'The expected value.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '111', - ], - 'CheckType' => [ - 'title' => '检查点类型 响应body(BODY_TEXT),响应header(HEADER), 响应状态码(STATUS_CODE) ,出参(EXPORTED_PARAM)', - 'description' => 'The type of check. Valid values:'."\n" - ."\n" - .'* BODY_TEXT: the response body'."\n" - .'* HEADER: the response headers'."\n" - .'* STATUS_CODE: the HTTP status code returned by the API'."\n" - .'* EXPORTED_PARAM: a specific export parameter'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'EXPORTED_PARAM', - ], - 'CheckPoint' => [ - 'title' => '检查对象 type=HEADER 时,表示header中的字段,type=EXPORTED_PARAM ,表示出参名', - 'description' => 'The checked item.'."\n" - ."\n" - .'This parameter specifies the fields in the header if you specify `CheckType=HEADER` or the name of the export parameter if you specify `CheckType=EXPORTED_PARAM`.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'userId', - ], - ], - 'required' => false, - 'description' => '', - ], - 'required' => false, - ], - 'TimeoutInSecond' => [ - 'title' => 'API超时时间,单位秒,默认5s,范围[1-60]', - 'description' => 'The timeout period of the API operation. Unit: seconds. Default: 5. Valid values: 1 to 60.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '5', - ], - 'Body' => [ - 'title' => '请求body', - 'description' => 'The request body.'."\n", - 'type' => 'object', - 'properties' => [ - 'ContentType' => [ - 'title' => 'body 类型,默认 application/x-www-form-urlencoded', - 'description' => 'The body type. Default: `application/x-www-form-urlencoded`.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'application/x-www-form-urlencoded', - ], - 'BodyValue' => [ - 'title' => 'body 的实际内容 形式 {"key1":"value2","key2":"value2"}', - 'description' => 'The data in the body. For example, {"key1":"value2","key2":"value2"}.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{\\"global\\":\\"${global}\\",\\"name\\":\\"${name}\\"}', - ], - ], - 'required' => false, - ], - 'RedirectCountLimit' => [ - 'title' => '重定向次数,只能是0(允许重定向)或者10(不允许重定向)', - 'description' => 'The number of redirections. The value can be 0, which specifies that redirection is allowed, or 10, which specifies that redirection is not allowed. You can specify a value based on your business requirements.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '0', - ], - ], - 'required' => false, - 'description' => '', - ], - 'required' => true, - ], - 'FileParameterExplainList' => [ - 'title' => '链路中的文件参数配置信息', - 'description' => 'The file parameters of the session.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'FileName' => [ - 'title' => '文件名', - 'description' => 'The name of the file.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'fileName.csv', - ], - 'FileParamName' => [ - 'title' => '文件使用的参数列名', - 'description' => 'The parameter names in the file.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'name,uid,age', - ], - 'BaseFile' => [ - 'title' => '是否作为基准文件', - 'description' => 'Specifies whether the file is used as the baseline file.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], - 'CycleOnce' => [ - 'title' => '文件是否轮询一次', - 'description' => 'Specifies whether the file is used for a single execution of the test.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], - ], - 'required' => false, - 'description' => '', - ], - 'required' => false, - ], + 'FailCountBiz' => ['description' => 'The number of business failures. A failure is recorded if a response does not meet the conditions of a checkpoint.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'], + 'Seg75Rt' => ['description' => 'The 75th percentile RT.', 'type' => 'number', 'format' => 'float', 'title' => '', 'example' => '169'], + 'AllCount' => ['description' => 'The total number of requests.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '11872'], + 'AvgTps' => ['description' => 'The average transactions per second (TPS).', 'type' => 'number', 'format' => 'float', 'title' => '', 'example' => '100.61'], + 'MinRt' => ['description' => 'The minimum RT. Unit: ms.', 'type' => 'number', 'format' => 'float', 'title' => '', 'example' => '162'], + 'Seg99Rt' => ['description' => 'The 99th percentile RT.', 'type' => 'number', 'format' => 'float', 'title' => '', 'example' => '284'], + 'Seg50Rt' => ['description' => 'The 50th percentile RT.', 'type' => 'number', 'format' => 'float', 'title' => '', 'example' => '168'], + 'MaxRt' => ['description' => 'The maximum RT. Unit: ms.', 'type' => 'number', 'format' => 'float', 'title' => '', 'example' => '600'], + 'Seg90Rt' => ['description' => 'The 90th percentile RT.', 'type' => 'number', 'format' => 'float', 'title' => '', 'example' => '170'], + 'SuccessRateBiz' => ['description' => 'The business success rate. This is calculated by dividing the number of successful business transactions by the total number of requests.', 'type' => 'number', 'format' => 'float', 'title' => '', 'example' => '0'], + 'AvgRt' => ['description' => 'The average response time (RT). Unit: ms.', 'type' => 'number', 'format' => 'float', 'title' => '', 'example' => '170.49'], + 'FailCountReq' => ['description' => 'The number of failed requests.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'], + 'SuccessRateReq' => ['description' => 'The request success rate. This is calculated by dividing the number of successful requests by the total number of requests.', 'type' => 'number', 'format' => 'float', 'title' => '', 'example' => '1'], + 'ApiName' => ['description' => 'The API name.', 'type' => 'string', 'title' => '', 'example' => 'Test-API'], ], - 'required' => false, 'description' => '', + 'title' => '', ], - 'required' => true, + 'title' => '', ], - 'LoadConfig' => [ - 'title' => '施压配置', - 'description' => 'The load settings.'."\n", + 'HttpStatusCode' => ['description' => 'The HTTP status code. This parameter is not returned if the request is successful.', 'type' => 'integer', 'format' => 'int32', 'title' => ''], + 'Code' => ['description' => 'The system status code. This parameter is not returned if the request is successful.', 'type' => 'string', 'title' => ''], + 'SceneSnapShot' => [ + 'description' => 'The scenario snapshot information.', 'type' => 'object', 'properties' => [ - 'TestMode' => [ - 'title' => '施压模式,并发模式(concurrency_mode) 和RPS模式(tps_mode)', - 'description' => 'The load application mode. Valid values:'."\n" - ."\n" - .'* concurrency_mode: concurrency mode'."\n" - .'* tps_mode: RPS mode.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'concurrency_mode', - ], - 'Configuration' => [ - 'title' => '场景施压量级配置信息', - 'description' => 'The load level settings of the scenario.'."\n", + 'Status' => ['description' => 'The scenario status.', 'type' => 'string', 'title' => '', 'example' => 'STOPPED'], + 'LoadConfig' => [ + 'description' => 'The stress testing configuration.', 'type' => 'object', 'properties' => [ - 'AllRpsBegin' => [ - 'title' => '所有API的起始RPS总值,均分给每个API,在RPS模式下使用,若不设置该值,则apiLoadConfig必须填写', - 'description' => 'The starting RPS for all APIs.'."\n" - ."\n" - .'The value is evenly distributed among all APIs if you set TestMode to RPS. If you do not specify this parameter, you must specify **apiLoadConfig**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '100', - ], - 'AllRpsLimit' => [ - 'title' => '所有API的最大RPS总值,均分给每个API,在RPS模式下使用,若不设置该值,则apiLoadConfig必须填写', - 'description' => 'The maximum RPS for all APIs.'."\n" - ."\n" - .'The value is evenly distributed among all APIs if you set TestMode to RPS. If you do not specify this parameter, you must specify **apiLoadConfig**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '100', + 'ApiLoadConfigList' => [ + 'description' => 'The initial records per second (RPS) for the API.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'RpsBegin' => ['description' => 'The initial RPS.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '10'], + 'RpsLimit' => ['description' => 'The maximum RPS.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '10'], + ], + 'description' => '', + 'title' => '', + ], + 'title' => '', ], - 'AllConcurrencyBegin' => [ - 'title' => '所有链路的起始并发总值,均分给每个链路,在并发模式下使用,若不设置该值,则relationLoadConfig必须填写', - 'description' => 'The starting total number of concurrent virtual users in all sessions.'."\n" - ."\n" - .'The value is evenly distributed among all sessions if you set TestMode to concurrency_mode. If you do not specify this parameter, you must configure **relationLoadConfig**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '100', + 'MaxRunningTime' => ['description' => 'The runtime duration, in minutes.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '2'], + 'RelationLoadConfigList' => [ + 'description' => 'The initial and maximum concurrent request configurations for the ingest endpoint.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ConcurrencyBegin' => ['description' => 'The initial number of concurrent requests.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '10'], + 'ConcurrencyLimit' => ['description' => 'The maximum number of concurrent requests.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '20'], + ], + 'description' => '', + 'title' => '', + ], + 'title' => '', ], - 'AllConcurrencyLimit' => [ - 'title' => '所有链路的最大并发总值,均分给每个链路,在并发模式下使用,若不设置该值,则relationLoadConfig必须填写', - 'description' => 'The maximum total number of concurrent virtual users in all sessions.'."\n" - ."\n" - .'The value is evenly distributed among all sessions if you set TestMode to concurrency_mode. If you do not specify this parameter, you must configure **relationLoadConfig**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '100', + 'Configuration' => [ + 'description' => 'The limits on concurrent requests or RPS for the entire scenario.', + 'type' => 'object', + 'properties' => [ + 'AllRpsBegin' => ['description' => 'The initial RPS for the entire scenario.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '100'], + 'AllConcurrencyBegin' => ['description' => 'The initial number of concurrent requests for the entire scenario.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '0'], + 'AllConcurrencyLimit' => ['description' => 'The maximum number of concurrent requests for the entire scenario.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '500'], + 'AllRpsLimit' => ['description' => 'The maximum RPS for the entire scenario.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1000'], + ], + 'title' => '', ], + 'AgentCount' => ['description' => 'The number of stress testing agents.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], + 'TestMode' => ['description' => 'The stress testing pattern.', 'type' => 'string', 'title' => '', 'example' => 'TPS'], ], - 'required' => true, - ], - 'MaxRunningTime' => [ - 'title' => '施压时长,单位分钟,[1-1440]', - 'description' => 'The duration of load application. Unit: minutes. Valid values: 1 to 1440.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '10', - ], - 'AutoStep' => [ - 'title' => '是否自动递增,只有在并发模式下有效,即 testMode=concurrency_mode 时', - 'description' => 'Specifies whether the load is automatically incremented. This parameter takes effect only if you set `TestMode=concurrency_mode`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], - 'AgentCount' => [ - 'title' => '指定机器数,并发必须大于250(RPS大于2000)才能使用,最大扩展机器数不能超过 最大并发/250(最大RPS/2000)', - 'description' => 'The number of load generators. If the number of concurrent virtual users exceeds 250 or the RPS exceeds 2,000, you can use multiple load generators. The maximum number of load generators is limited to the total number of concurrent virtual users divided by 250 or the total RPS divided by 200.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], - 'Increment' => [ - 'title' => '递增百分比,取值范围[10,100],且是整十倍;只有在并发模式且是自动递增模式下有效,即 testMode=concurrency_mode 且 autoStep=true 时', - 'description' => 'The increment percentage. Valid values: 10 to 100, in increments of 10.'."\n" - ."\n" - .'This parameter takes effect only if you set `testMode=concurrency_mode`and `autoStep=true`.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '30', - ], - 'KeepTime' => [ - 'title' => '单量级持续时长,单位分钟,一定是小于施压时长 maxRunningTime', - 'description' => 'The duration of a specific load level. Unit: minutes. The value must be less than the value of **maxRunningTime**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '3', + 'title' => '', ], - 'ApiLoadConfigList' => [ - 'title' => 'API的起始、最大RPS值设置,在RPS模式下使用', - 'description' => 'The API request load settings.'."\n", + 'FileParameterList' => [ + 'description' => 'The information about the files used in the scenario.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'ApiId' => [ - 'title' => 'apiId', - 'description' => 'The ID of the API.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], - 'RpsLimit' => [ - 'title' => '最大RPS值', - 'description' => 'The maximum RPS.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '100', - ], - 'RpsBegin' => [ - 'title' => '起始RPS值', - 'description' => 'The starting RPS.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '100', - ], + 'FileOssAddress' => ['description' => 'The Object Storage Service (OSS) address of the file.', 'type' => 'string', 'title' => '', 'example' => 'https://test-bucket.oss-cn-shanghai.aliyuncs.com/test.csv'], + 'FileName' => ['description' => 'The file name.', 'type' => 'string', 'title' => '', 'example' => 'test.csv'], ], - 'required' => false, 'description' => '', + 'title' => '', ], - 'required' => false, + 'title' => '', ], - 'VpcLoadConfig' => [ - 'title' => 'VPC配置', - 'description' => 'The VPC settings.'."\n", + 'ModifiedTime' => ['description' => 'The modification time.', 'type' => 'string', 'title' => '', 'example' => '2020-10-10 10:10:10'], + 'AdvanceSetting' => [ + 'description' => 'The advanced settings for the scenario.', 'type' => 'object', 'properties' => [ - 'VpcId' => [ - 'title' => 'vpcId', - 'description' => 'The ID of the VPC.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'vpc-akjhsdajgjsfggahjkga', - ], - 'VSwitchId' => [ - 'title' => '交换机的Id', - 'description' => 'The ID of the vSwitch.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'vsw-skjfhlahsljkhsfalkjdoiw', - ], - 'SecurityGroupId' => [ - 'title' => '安全组的Id', - 'description' => 'The ID of the security group.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'sg-jkasgfieiajidsjakjscb', - ], - 'RegionId' => [ - 'title' => 'regionId', - 'description' => 'The ID of the region.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-beijing', + 'LogRate' => ['description' => 'The log sample rate.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], + 'DomainBindingList' => [ + 'description' => 'The mappings between domain names and IP addresses.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Domain' => ['description' => 'The domain name.', 'type' => 'string', 'title' => '', 'example' => 'www.example.com'], + 'Ips' => [ + 'description' => 'The IP addresses mapped to the domain name.', + 'type' => 'array', + 'items' => ['description' => 'The IP addresses mapped to the domain name.', 'type' => 'string', 'title' => '', 'example' => '[192.168.0.1]'], + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + ], + 'title' => '', ], + 'ConnectionTimeoutInSecond' => ['description' => 'The timeout period for the entire scenario.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '5'], + 'SuccessCode' => ['description' => 'The custom success status code.', 'type' => 'string', 'title' => ''], ], - 'required' => false, + 'title' => '', ], - 'RelationLoadConfigList' => [ - 'title' => '链路的起始、最大并发值设置,在并发模式下使用', - 'description' => 'The session settings.'."\n", + 'CreateTime' => ['description' => 'The creation time.', 'type' => 'string', 'title' => '', 'example' => '2024-09-20 09:28:10'], + 'RelationList' => [ + 'description' => 'The information about the ingest endpoint.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'RelationId' => [ - 'title' => '链路id', - 'description' => 'The ID of the session.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], - 'ConcurrencyLimit' => [ - 'title' => '最大并发', - 'description' => 'The maximum number of concurrent virtual users.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '100', + 'RelationName' => ['description' => 'The ingest endpoint name.', 'type' => 'string', 'title' => '', 'example' => 'Test-session-1'], + 'FileParameterExplainList' => [ + 'description' => 'The descriptions of the file parameters used in the ingest endpoint.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'CycleOnce' => ['description' => 'Indicates whether to loop through the file only once.', 'type' => 'boolean', 'title' => '', 'example' => 'false'], + 'FileParamName' => ['description' => 'The parameter name in the file.', 'type' => 'string', 'title' => '', 'example' => 'username'], + 'FileName' => ['description' => 'The file name.', 'type' => 'string', 'title' => '', 'example' => 'test.csv'], + 'BaseFile' => ['description' => 'Indicates whether the file is used as a baseline column.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], + ], + 'description' => '', + 'title' => '', + ], + 'title' => '', ], - 'ConcurrencyBegin' => [ - 'title' => 'concurrencyBegin', - 'description' => 'The starting number of concurrent virtual users.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '100', + 'ApiList' => [ + 'description' => 'The API information.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ApiId' => ['description' => 'The API ID.', 'type' => 'string', 'title' => '', 'example' => 'MNB45'], + 'CheckPointList' => [ + 'description' => 'All checkpoints for the API.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'CheckType' => ['description' => 'The check type.', 'type' => 'string', 'title' => '', 'example' => 'EXPORTED_PARAM'], + 'Operator' => ['description' => 'The comparison operator.', 'type' => 'string', 'title' => '', 'example' => 'ctn'], + 'ExpectValue' => ['description' => 'The expected value.', 'type' => 'string', 'title' => '', 'example' => '111'], + 'CheckPoint' => ['description' => 'The checkpoint.', 'type' => 'string', 'title' => '', 'example' => 'userId'], + ], + 'description' => '', + 'title' => '', + ], + 'title' => '', + ], + 'HeaderList' => [ + 'description' => 'The headers of the stress testing URL.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'HeaderValue' => ['description' => 'The parameter value.', 'type' => 'string', 'title' => '', 'example' => 'PTS'], + 'HeaderName' => ['description' => 'The parameter name.', 'type' => 'string', 'title' => '', 'example' => 'User-Agent'], + ], + 'description' => '', + 'title' => '', + ], + 'title' => '', + ], + 'TimeoutInSecond' => ['description' => 'The timeout period.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '5'], + 'ExportList' => [ + 'description' => 'The list of exported parameters.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ExportType' => ['description' => 'The source of the exported parameter.', 'type' => 'string', 'title' => '', 'example' => 'BODY_JSON'], + 'ExportValue' => ['description' => 'The expression used to parse the exported parameter.', 'type' => 'string', 'title' => '', 'example' => 'data.userId'], + 'ExportName' => ['description' => 'The name of the exported parameter.', 'type' => 'string', 'title' => '', 'example' => 'userId'], + 'Count' => ['description' => 'The matching item for the exported parameter.', 'type' => 'string', 'title' => '', 'example' => '1'], + ], + 'description' => '', + 'title' => '', + ], + 'title' => '', + ], + 'Url' => ['description' => 'The stress testing URL.', 'type' => 'string', 'title' => '', 'example' => 'http://www.example.com/'], + 'Method' => ['description' => 'The request method.', 'type' => 'string', 'title' => '', 'example' => 'GET'], + 'Body' => [ + 'description' => 'The request body.', + 'type' => 'object', + 'properties' => [ + 'BodyValue' => ['description' => 'The body value.', 'type' => 'string', 'title' => '', 'example' => '{key:value}'], + 'ContentType' => ['description' => 'The body content type.', 'type' => 'string', 'title' => '', 'example' => 'application/x-www-form-urlencoded'], + ], + 'title' => '', + ], + 'RedirectCountLimit' => ['description' => 'The number of redirections.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '5'], + 'ApiName' => ['description' => 'The API name.', 'type' => 'string', 'title' => '', 'example' => 'Test-API'], + ], + 'description' => '', + 'title' => '', + ], + 'title' => '', ], + 'RelationId' => ['description' => 'The ingest endpoint ID.', 'type' => 'string', 'title' => '', 'example' => 'HGBN4D'], ], - 'required' => false, 'description' => '', + 'title' => '', ], - 'required' => false, - ], - ], - 'required' => true, - ], - 'AdvanceSetting' => [ - 'title' => '高级设置', - 'description' => 'The advanced settings.'."\n", - 'type' => 'object', - 'properties' => [ - 'LogRate' => [ - 'title' => '日志采样率,[1,50],且是10的倍数', - 'description' => 'The log sampling rate. Valid values: 1, 10, 20, 30, 40, and 50.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', + 'title' => '', ], - 'DomainBindingList' => [ - 'title' => '域名绑定IP关系', - 'description' => 'The domain name-IP address binding relationships'."\n", + 'SceneName' => ['description' => 'The scenario name.', 'type' => 'string', 'title' => '', 'example' => 'PTS-TEST'], + 'SceneId' => ['description' => 'The scenario ID.', 'type' => 'string', 'title' => '', 'example' => '7HBNS3'], + 'GlobalParameterList' => [ + 'description' => 'The global variables.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Domain' => [ - 'title' => '域名', - 'description' => 'The domain name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'www.example.com', - ], - 'Ips' => [ - 'title' => '对应的IP', - 'description' => 'The IP addresses.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'string', - 'required' => false, - 'example' => '["192.168.1.1","192.168.1.2"]', - 'description' => '', - ], - 'required' => false, - ], + 'ParamName' => ['description' => 'The parameter name.', 'type' => 'string', 'title' => '', 'example' => 'username'], + 'ParamValue' => ['description' => 'The parameter value.', 'type' => 'string', 'title' => '', 'example' => 'user01'], ], - 'required' => false, 'description' => '', + 'title' => '', ], - 'required' => false, - ], - 'ConnectionTimeoutInSecond' => [ - 'title' => '超时时间,单位秒', - 'description' => 'The timeout period. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '5', - ], - 'SuccessCode' => [ - 'title' => '新增成功状态码,多个用英文逗号隔开', - 'description' => 'The success status code. Separate multiple status codes with commas (,).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '205', + 'title' => '', ], ], - 'required' => false, - ], - 'GlobalParameterList' => [ - 'title' => '全局自定义参数', - 'description' => 'The global customization parameters.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ParamName' => [ - 'title' => '参数名', - 'description' => 'The name of the parameter.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'global', - ], - 'ParamValue' => [ - 'title' => '全局参数值,不可参数化', - 'description' => 'The value of the parameter.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '11111', - ], - ], - 'required' => false, - 'description' => '', - ], - 'required' => false, - ], - 'FileParameterList' => [ - 'title' => '文件参数', - 'description' => 'The file parameters.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'FileName' => [ - 'title' => '文件名', - 'description' => 'The name of the file.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test.csv', - ], - 'FileOssAddress' => [ - 'title' => '文件的oss地址,必须是公网可访问的', - 'description' => 'The OSS URL of the file, which must be accessible over the Internet.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'https://jmeter-pts-testing-version.oss-cn-shanghai.aliyuncs.com/param-file.csv', - ], - ], - 'required' => false, - 'description' => '', - ], - 'required' => false, - ], - ], - 'required' => true, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'Message' => [ - 'description' => 'If the operation is successful, this parameter is not returned.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'A8E16480-15C1-555A-922F-B736A005E52D', - ], - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Code' => [ - 'description' => 'The system status code.'."\n", - 'type' => 'string', - 'example' => '200', - ], - 'Success' => [ - 'description' => 'Indicates whether the operation is successful. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'SceneId' => [ - 'title' => '场景ID', - 'description' => 'The ID of the scenario.'."\n", - 'type' => 'string', - 'example' => 'IUYAHGJ', + 'title' => '', ], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n" + ."\n" + .'- true: The request was successful.'."\n" + .'- false: The request failed.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], ], 'description' => '', + 'title' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ModifyPtsSceneFail', - 'errorMessage' => 'The scene does not exit', - ], + ['errorCode' => 'GetPtsReportDetailsFail', 'errorMessage' => 'Report does not exist', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"空\\",\\n \\"RequestId\\": \\"A8E16480-15C1-555A-922F-B736A005E52D\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true,\\n \\"SceneId\\": \\"IUYAHGJ\\"\\n}","errorExample":""},{"type":"xml","example":"<SavePtsSceneResponse>\\n <Message>空</Message>\\n <RequestId>A8E16480-15C1-555A-922F-B736A005E52D</RequestId>\\n <HttpStatusCode>200</HttpStatusCode>\\n <Code>200</Code>\\n <Success>true</Success>\\n <SceneId>IUYAHGJ</SceneId>\\n</SavePtsSceneResponse>","errorExample":""}]', - 'title' => 'SavePtsScene', - 'summary' => 'Saves or modifies a Performance Testing Service (PTS) scenario.', - ], - 'DeletePtsScene' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - [ - 'APP' => [], - ], - [ - 'PrivateKey' => [], - ], - [ - 'BearerToken' => [], + 'title' => 'GetPtsReportDetails', + 'summary' => 'Retrieves the details of a report for a scenario stress test.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetPtsReportDetails'], ], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [], - 'parameters' => [ + 'ramActions' => [ [ - 'name' => 'SceneId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the PTS scenario that you want to delete.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'XANH3H', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'Message' => [ - 'description' => 'The error message. If the operation is successful, this parameter is not returned.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'A3ED870E-C3BF-44F4-B460-A30785E0256B', - ], - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code. If the operation is successful, this parameter is not returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '400', - ], - 'Code' => [ - 'description' => 'The system status code. If the operation is successful, this parameter is not returned.'."\n", - 'type' => 'string', - 'example' => '4001', - ], - 'Success' => [ - 'description' => 'Indicates whether the operation is successful. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], + 'operationType' => '', + 'ramAction' => [ + 'action' => 'pts:GetPtsReportDetails', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PTS', 'resourceType' => 'All Resource', 'arn' => '*'], ], - 'description' => '', - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'DeletePtsSceneFail', - 'errorMessage' => 'Delete Scene failed, please check the scene ID is correct', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"\\",\\n \\"RequestId\\": \\"A3ED870E-C3BF-44F4-B460-A30785E0256B\\",\\n \\"HttpStatusCode\\": 0,\\n \\"Code\\": \\"\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<DeletePtsSceneResponse>\\n <Message>创建或修改场景入参必须是实体类Scene的JSON串</Message>\\n <RequestId>A3ED870E-C3BF-44F4-B460-A30785E0256B</RequestId>\\n <HttpStatusCode>400</HttpStatusCode>\\n <Code>4001</Code>\\n <Success>false</Success>\\n</DeletePtsSceneResponse>","errorExample":""}]', - 'title' => 'DeletePtsScene', - 'summary' => 'Deletes a Performance Testing Service (PTS) scenario.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"\\",\\n \\"RequestId\\": \\"DC4E3177-6745-4925-B423-4E89VV34221A\\",\\n \\"ReportOverView\\": {\\n \\"ReportName\\": \\"PTS-TEST\\",\\n \\"EndTime\\": \\"2024-09-20 10:41:33\\",\\n \\"StartTime\\": \\"2024-09-20 10:39:33\\",\\n \\"AgentCount\\": 1,\\n \\"ReportId\\": \\"GHB56VD\\",\\n \\"Vum\\": 1012\\n },\\n \\"SceneMetrics\\": {\\n \\"FailCountBiz\\": 0,\\n \\"AllCount\\": 11872,\\n \\"SuccessRateBiz\\": 0,\\n \\"AvgRt\\": 170.49,\\n \\"FailCountReq\\": 0,\\n \\"AvgTps\\": 100.61,\\n \\"Seg99Rt\\": 284,\\n \\"SuccessRateReq\\": 1,\\n \\"Seg90Rt\\": 170\\n },\\n \\"ApiMetricsList\\": [\\n {\\n \\"FailCountBiz\\": 0,\\n \\"Seg75Rt\\": 169,\\n \\"AllCount\\": 11872,\\n \\"AvgTps\\": 100.61,\\n \\"MinRt\\": 162,\\n \\"Seg99Rt\\": 284,\\n \\"Seg50Rt\\": 168,\\n \\"MaxRt\\": 600,\\n \\"Seg90Rt\\": 170,\\n \\"SuccessRateBiz\\": 0,\\n \\"AvgRt\\": 170.49,\\n \\"FailCountReq\\": 0,\\n \\"SuccessRateReq\\": 1,\\n \\"ApiName\\": \\"Test-API\\"\\n }\\n ],\\n \\"HttpStatusCode\\": 0,\\n \\"Code\\": \\"\\",\\n \\"SceneSnapShot\\": {\\n \\"Status\\": \\"STOPPED\\",\\n \\"LoadConfig\\": {\\n \\"ApiLoadConfigList\\": [\\n {\\n \\"RpsBegin\\": 10,\\n \\"RpsLimit\\": 10\\n }\\n ],\\n \\"MaxRunningTime\\": 2,\\n \\"RelationLoadConfigList\\": [\\n {\\n \\"ConcurrencyBegin\\": 10,\\n \\"ConcurrencyLimit\\": 20\\n }\\n ],\\n \\"Configuration\\": {\\n \\"AllRpsBegin\\": 100,\\n \\"AllConcurrencyBegin\\": 0,\\n \\"AllConcurrencyLimit\\": 500,\\n \\"AllRpsLimit\\": 1000\\n },\\n \\"AgentCount\\": 1,\\n \\"TestMode\\": \\"TPS\\"\\n },\\n \\"FileParameterList\\": [\\n {\\n \\"FileOssAddress\\": \\"https://test-bucket.oss-cn-shanghai.aliyuncs.com/test.csv\\",\\n \\"FileName\\": \\"test.csv\\"\\n }\\n ],\\n \\"ModifiedTime\\": \\"2020-10-10 10:10:10\\",\\n \\"AdvanceSetting\\": {\\n \\"LogRate\\": 1,\\n \\"DomainBindingList\\": [\\n {\\n \\"Domain\\": \\"www.example.com\\",\\n \\"Ips\\": [\\n \\"[192.168.0.1]\\"\\n ]\\n }\\n ],\\n \\"ConnectionTimeoutInSecond\\": 5,\\n \\"SuccessCode\\": \\"\\"\\n },\\n \\"CreateTime\\": \\"2024-09-20 09:28:10\\",\\n \\"RelationList\\": [\\n {\\n \\"RelationName\\": \\"Test-session-1\\",\\n \\"FileParameterExplainList\\": [\\n {\\n \\"CycleOnce\\": false,\\n \\"FileParamName\\": \\"username\\",\\n \\"FileName\\": \\"test.csv\\",\\n \\"BaseFile\\": true\\n }\\n ],\\n \\"ApiList\\": [\\n {\\n \\"ApiId\\": \\"MNB45\\",\\n \\"CheckPointList\\": [\\n {\\n \\"CheckType\\": \\"EXPORTED_PARAM\\",\\n \\"Operator\\": \\"ctn\\",\\n \\"ExpectValue\\": \\"111\\",\\n \\"CheckPoint\\": \\"userId\\"\\n }\\n ],\\n \\"HeaderList\\": [\\n {\\n \\"HeaderValue\\": \\"PTS\\",\\n \\"HeaderName\\": \\"User-Agent\\"\\n }\\n ],\\n \\"TimeoutInSecond\\": 5,\\n \\"ExportList\\": [\\n {\\n \\"ExportType\\": \\"BODY_JSON\\",\\n \\"ExportValue\\": \\"data.userId\\",\\n \\"ExportName\\": \\"userId\\",\\n \\"Count\\": \\"1\\"\\n }\\n ],\\n \\"Url\\": \\"http://www.example.com/\\",\\n \\"Method\\": \\"GET\\",\\n \\"Body\\": {\\n \\"BodyValue\\": \\"{key:value}\\",\\n \\"ContentType\\": \\"application/x-www-form-urlencoded\\"\\n },\\n \\"RedirectCountLimit\\": 5,\\n \\"ApiName\\": \\"Test-API\\"\\n }\\n ],\\n \\"RelationId\\": \\"HGBN4D\\"\\n }\\n ],\\n \\"SceneName\\": \\"PTS-TEST\\",\\n \\"SceneId\\": \\"7HBNS3\\",\\n \\"GlobalParameterList\\": [\\n {\\n \\"ParamName\\": \\"username\\",\\n \\"ParamValue\\": \\"user01\\"\\n }\\n ]\\n },\\n \\"Success\\": true\\n}","type":"json"}]', ], - 'DeletePtsScenes' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetPtsReportsBySceneId' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3926,27 +2007,24 @@ 'BearerToken' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ - 'name' => 'SceneIds', + 'name' => 'SceneId', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '["5DG9WQJ","9HG9TYJ"]', - ], - 'required' => true, - 'docRequired' => true, - 'example' => '["XVB4DF","AFG3CV"]', - ], + 'schema' => ['description' => 'The scenario ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'NGBCD4K'], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The number of the page to return.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '2147483647', 'minimum' => '1', 'title' => '', 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of reports to return on each page. Valid values: 5 to 100.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '100', 'minimum' => '5', 'title' => '', 'example' => '10'], ], ], 'responses' => [ @@ -3954,151 +2032,72 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '35290A5B-AB50-46BD-81E0-E316F86128C4', - ], - 'HttpStatusCode' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Code' => [ - 'description' => '', - 'type' => 'string', - 'example' => '200', - ], - 'Success' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'true', + 'Message' => ['description' => 'The error message. This field is not returned if the request is successful.', 'type' => 'string', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'DC4E3177-6745-4925-B423-4E89VV34221A'], + 'HttpStatusCode' => ['description' => 'The HTTP status code. This field is not returned if the request is successful.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '200'], + 'ReportOverViewList' => [ + 'description' => 'The overview of reports.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ReportName' => ['description' => 'The report name.', 'type' => 'string', 'title' => '', 'example' => 'PTS-test-20240920094710'], + 'EndTime' => ['description' => 'The time when the stress test ended.', 'type' => 'string', 'title' => '', 'example' => '2024-09-20 09:49:11'], + 'StartTime' => ['description' => 'The time when the stress test started.', 'type' => 'string', 'title' => '', 'example' => '2024-09-20 09:47:11'], + 'AgentCount' => ['description' => 'The number of stress testing agents.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], + 'ReportId' => ['description' => 'The report ID.', 'type' => 'string', 'title' => '', 'example' => 'NGGB5FV'], + 'Vum' => ['description' => 'The number of consumed VUMs.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1007'], + ], + 'description' => '', + 'title' => '', + ], + 'title' => '', ], + 'Code' => ['description' => 'The status code of the request. This field is not returned if the request is successful.', 'type' => 'string', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n" + ."\n" + .'- true: The request was successful.'."\n" + .'- false: The request failed.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], ], + 'description' => '', + 'title' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'DeletePtsScenesFail', - 'errorMessage' => 'Scene is running', - ], + ['errorCode' => 'GetPtsReportsBySceneIdFail', 'errorMessage' => 'The scene has not started', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"空\\",\\n \\"RequestId\\": \\"35290A5B-AB50-46BD-81E0-E316F86128C4\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<DeletePtsScenesResponse>\\n <Message>空</Message>\\n <RequestId>35290A5B-AB50-46BD-81E0-E316F86128C4</RequestId>\\n <HttpStatusCode>200</HttpStatusCode>\\n <Code>200</Code>\\n <Success>true</Success>\\n</DeletePtsScenesResponse>","errorExample":""}]', - 'title' => 'DeletePtsScenes', - 'summary' => 'Deletes multiple scenarios at a time.', + 'title' => 'GetPtsReportsBySceneId', + 'summary' => 'Performs a batch query for all reports that are associated with a specific stress testing scenario.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ModifyPtsScene' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - [ - 'APP' => [], - ], - [ - 'PrivateKey' => [], - ], - [ - 'BearerToken' => [], + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetPtsReportsBySceneId'], ], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [], - 'parameters' => [ + 'ramActions' => [ [ - 'name' => 'Scene', - 'in' => 'formData', - 'schema' => [ - 'description' => 'null'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'SD6YZCI', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'Message' => [ - 'description' => 'null'."\n", - 'type' => 'string', - 'example' => '', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '449ADAFB-8DA4-4317-A284-4922D04DE828', - ], - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code that is returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Code' => [ - 'description' => 'The system status code.'."\n", - 'type' => 'string', - 'example' => '200', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful.'."\n" - ."\n" - .'* true'."\n" - .'* false:'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'operationType' => '', + 'ramAction' => [ + 'action' => 'pts:GetPtsReportsBySceneId', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PTS', 'resourceType' => 'All Resource', 'arn' => '*'], ], - 'description' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ModifyPtsSceneFail', - 'errorMessage' => 'The scene does not exit', - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"空\\",\\n \\"RequestId\\": \\"449ADAFB-8DA4-4317-A284-4922D04DE828\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<ModifyPtsSceneResponse>\\n <Message>空</Message>\\n <RequestId>449ADAFB-8DA4-4317-A284-4922D04DE828</RequestId>\\n <HttpStatusCode>200</HttpStatusCode>\\n <Code>200</Code>\\n <Success>true</Success>\\n</ModifyPtsSceneResponse>","errorExample":""}]', - 'title' => 'ModifyPtsScene', - 'summary' => 'null', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"\\",\\n \\"RequestId\\": \\"DC4E3177-6745-4925-B423-4E89VV34221A\\",\\n \\"HttpStatusCode\\": 200,\\n \\"ReportOverViewList\\": [\\n {\\n \\"ReportName\\": \\"PTS-test-20240920094710\\",\\n \\"EndTime\\": \\"2024-09-20 09:49:11\\",\\n \\"StartTime\\": \\"2024-09-20 09:47:11\\",\\n \\"AgentCount\\": 1,\\n \\"ReportId\\": \\"NGGB5FV\\",\\n \\"Vum\\": 1007\\n }\\n ],\\n \\"Code\\": \\"\\",\\n \\"Success\\": true\\n}","type":"json"}]', ], 'GetPtsScene' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4120,13 +2119,7 @@ [ 'name' => 'SceneId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the scenario.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'NKJBSH', - ], + 'schema' => ['description' => 'The scenario ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'NKJBSH', 'title' => ''], ], ], 'responses' => [ @@ -4134,541 +2127,329 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => 'The error message. If the operation is successful, N/A is returned.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'DC4E3177-6745-4925-B423-4E89VV34221A', - ], - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'Message' => ['description' => 'The error message. This parameter is empty if the request is successful.', 'type' => 'string', 'example' => '空', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'DC4E3177-6745-4925-B423-4E89VV34221A', 'title' => ''], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], 'Scene' => [ - 'description' => 'The structure of the scenario.'."\n", + 'description' => 'The structure of the scenario.', 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => 'The status of the scenario.'."\n", - 'type' => 'string', - 'example' => 'Running', - ], + 'Status' => ['description' => 'The status of the scenario.', 'type' => 'string', 'example' => 'Running', 'title' => ''], 'LoadConfig' => [ - 'description' => 'The load settings.'."\n", + 'description' => 'The stress testing configuration.', 'type' => 'object', 'properties' => [ 'ApiLoadConfigList' => [ - 'description' => 'The API request load settings.'."\n", + 'description' => 'The stress testing configurations for APIs.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'RpsBegin' => [ - 'description' => 'The starting requests per second (RPS).'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'RpsLimit' => [ - 'description' => 'The maximum RPS.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'ApiId' => [ - 'description' => 'The API ID. You can track an API by its ID in sessions.'."\n", - 'type' => 'string', - 'example' => 'GBFDCV8', - ], + 'RpsBegin' => ['description' => 'The initial records per second (RPS).', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'RpsLimit' => ['description' => 'The maximum RPS.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'ApiId' => ['description' => 'The API ID. You can use this ID to find the corresponding API information in Relation.', 'type' => 'string', 'example' => 'GBFDCV8', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - 'MaxRunningTime' => [ - 'description' => 'The maximum duration of load application. Unit: minutes.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], + 'MaxRunningTime' => ['description' => 'The runtime duration. Unit: minutes.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], 'RelationLoadConfigList' => [ - 'description' => 'The session load settings.'."\n", + 'description' => 'The stress testing configurations for transaction links.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'ConcurrencyBegin' => [ - 'description' => 'The starting number of concurrent sessions.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'ConcurrencyLimit' => [ - 'description' => 'The maximum number of concurrent sessions.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'RelationId' => [ - 'description' => 'The session ID.'."\n", - 'type' => 'string', - 'example' => 'HNBGS7M', - ], + 'ConcurrencyBegin' => ['description' => 'The initial number of concurrent requests.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'ConcurrencyLimit' => ['description' => 'The maximum number of concurrent requests.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'RelationId' => ['description' => 'The link ID.', 'type' => 'string', 'example' => 'HNBGS7M', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], 'Configuration' => [ - 'description' => 'The concurrency and RPS settings of the scenario.'."\n", + 'description' => 'The configuration of concurrent requests or RPS for the entire scenario.', 'type' => 'object', 'properties' => [ - 'AllRpsBegin' => [ - 'description' => 'The starting RPS.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'AllConcurrencyBegin' => [ - 'description' => 'The starting number of concurrent sessions.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'AllConcurrencyLimit' => [ - 'description' => 'The maximum number of concurrent sessions.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'AllRpsLimit' => [ - 'description' => 'The maximum RPS.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'AllRpsBegin' => ['description' => 'The initial RPS.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], + 'AllConcurrencyBegin' => ['description' => 'The initial number of concurrent requests.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], + 'AllConcurrencyLimit' => ['description' => 'The maximum number of concurrent requests.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'AllRpsLimit' => ['description' => 'The maximum RPS.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - 'AgentCount' => [ - 'description' => 'The number of load generators.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TestMode' => [ - 'description' => 'The load application mode. Transactions per second (TPS) indicates the RPS mode.'."\n" - ."\n" - .'> The load application mode is CONCURRENCY/TPS.'."\n", - 'type' => 'string', - 'example' => 'TPS', - ], - 'AutoStep' => [ - 'description' => 'Indicates whether the load is automatically incremented.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'Increment' => [ - 'description' => 'The increment percentage. The valid values are 10 to 100, in increments of 10. This parameter is returned only if you set testMode to concurrency_mode and set autoStep to true.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'KeepTime' => [ - 'description' => 'The duration during which a specific load level is applied. The duration is less than the value of maxRunningTime. Unit: minutes.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], + 'AgentCount' => ['description' => 'The number of stress testing agents.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'TestMode' => ['description' => 'The stress testing mode. TPS indicates the RPS mode.'."\n" + ."\n" + .'> The returned value is CONCURRENCY or TPS.', 'type' => 'string', 'example' => 'TPS', 'title' => ''], + 'AutoStep' => ['description' => 'Indicates whether the auto-increment mode is enabled.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'Increment' => ['description' => 'The increment percentage. Valid values: 10 to 100. The value must be a multiple of 10. This parameter is valid only when testMode is set to concurrency\\_mode and autoStep is set to true.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'KeepTime' => ['description' => 'The duration of a single stress level. Unit: minutes. The value must be smaller than the value of maxRunningTime.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], 'VpcLoadConfig' => [ - 'description' => 'The virtual private cloud (VPC) settings. This information is returned only if you set the testing mode to VPC.'."\n", + 'description' => 'The virtual private cloud (VPC) configuration. This parameter is valid only in VPC stress testing mode.', 'type' => 'object', 'properties' => [ - 'VpcId' => [ - 'description' => 'The VPC ID.'."\n", - 'type' => 'string', - 'example' => 'vpc-akjhsdajgjsfggahjkga', - ], - 'VSwitchId' => [ - 'description' => 'The vSwitch ID.'."\n", - 'type' => 'string', - 'example' => 'vsw-skjfhlahsljkhsfalkjdoiw', - ], - 'SecurityGroupId' => [ - 'description' => 'The security group ID.'."\n", - 'type' => 'string', - 'example' => 'sg-jkasgfieiajidsjakjscb', - ], - 'RegionId' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'example' => 'cn-beijing', - ], + 'VpcId' => ['description' => 'The VPC ID.', 'type' => 'string', 'example' => 'vpc-akjhsdajgjsfggahjkga', 'title' => ''], + 'VSwitchId' => ['description' => 'The virtual switch ID.', 'type' => 'string', 'example' => 'vsw-skjfhlahsljkhsfalkjdoiw', 'title' => ''], + 'SecurityGroupId' => ['description' => 'The security group ID.', 'type' => 'string', 'example' => 'sg-jkasgfieiajidsjakjscb', 'title' => ''], + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-beijing', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], 'FileParameterList' => [ - 'description' => 'The file parameters.'."\n", + 'description' => 'The file parameters.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'FileOssAddress' => [ - 'description' => 'The OSS address of the file. Make sure that the address is accessible from the Internet.'."\n", - 'type' => 'string', - 'example' => 'https://test.oss-cn-shanghai.aliyuncs.com/json.jar', - ], - 'FileName' => [ - 'description' => 'The file name.'."\n", - 'type' => 'string', - 'example' => 'city.csv', - ], + 'FileOssAddress' => ['description' => 'The URL of your Object Storage Service (OSS) file. The file must be accessible over the Internet.', 'type' => 'string', 'example' => 'https://test.oss-cn-shanghai.aliyuncs.com/json.jar', 'title' => ''], + 'FileName' => ['description' => 'The name of the file.', 'type' => 'string', 'example' => 'city.csv', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - 'ModifiedTime' => [ - 'description' => 'The last modification time of the scenario.'."\n", - 'type' => 'string', - 'example' => '2021-03-26 15:30:30', - ], + 'ModifiedTime' => ['description' => 'The time when the scenario was last modified.', 'type' => 'string', 'example' => '2021-03-26 15:30:30', 'title' => ''], 'AdvanceSetting' => [ - 'description' => 'The advanced settings.'."\n", + 'description' => 'The advanced settings.', 'type' => 'object', 'properties' => [ - 'LogRate' => [ - 'description' => 'The log sampling rate.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'LogRate' => ['description' => 'The log sampling rate.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'DomainBindingList' => [ - 'description' => 'The IP-domain name bindings.'."\n", + 'description' => 'The mappings between domain names and IP addresses.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Domain' => [ - 'description' => 'The domain name.'."\n", - 'type' => 'string', - 'example' => 'www.aliyundoc.com', - ], + 'Domain' => ['description' => 'The domain name.', 'type' => 'string', 'example' => 'www.aliyundoc.com', 'title' => ''], 'Ips' => [ - 'description' => 'The IPs bound to the domain name.'."\n", + 'description' => 'The bound IP addresses.', 'type' => 'array', - 'items' => [ - 'description' => 'The IP bound to the domain name.'."\n", - 'type' => 'string', - 'example' => '[1.1.1.1]', - ], + 'items' => ['description' => 'A bound IP address.', 'type' => 'string', 'example' => '[1.1.1.1]', 'title' => ''], + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - 'ConnectionTimeoutInSecond' => [ - 'description' => 'The timeout period of the scenario. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'SuccessCode' => [ - 'description' => 'The custom success code.'."\n", - 'type' => 'string', - 'example' => '429,304', - ], + 'ConnectionTimeoutInSecond' => ['description' => 'The timeout period of the scenario. Unit: seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], + 'SuccessCode' => ['description' => 'The custom success status codes.', 'type' => 'string', 'example' => '429,304', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - 'CreateTime' => [ - 'description' => 'The creation time of the scenario.'."\n", - 'type' => 'string', - 'example' => '2021-02-26 15:30:30', - ], + 'CreateTime' => ['description' => 'The time when the scenario was created.', 'type' => 'string', 'example' => '2021-02-26 15:30:30', 'title' => ''], 'RelationList' => [ - 'description' => 'The sessions.'."\n", + 'description' => 'The information about the transaction links.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'RelationName' => [ - 'description' => 'The session name.'."\n", - 'type' => 'string', - 'example' => '', - ], + 'RelationName' => ['description' => 'The link name.', 'type' => 'string', 'example' => 'Order chain', 'title' => ''], 'FileParameterExplainList' => [ - 'description' => 'The file parameters.'."\n", + 'description' => 'The description of the file parameters.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'CycleOnce' => [ - 'description' => 'Indicates whether the parameters are used for a single test execution.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'FileParamName' => [ - 'description' => 'The parameter names in the file.'."\n", - 'type' => 'string', - 'example' => 'userName,age', - ], - 'FileName' => [ - 'description' => 'The file name.'."\n", - 'type' => 'string', - 'example' => 'city.csv', - ], - 'BaseFile' => [ - 'description' => 'Indicates whether the file serves as the primary dataset for the test.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'CycleOnce' => ['description' => 'Indicates whether to loop once.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'FileParamName' => ['description' => 'The parameter names in the file.', 'type' => 'string', 'example' => 'userName,age', 'title' => ''], + 'FileName' => ['description' => 'The file name.', 'type' => 'string', 'example' => 'city.csv', 'title' => ''], + 'BaseFile' => ['description' => 'Indicates whether the file is used as the baseline.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], 'ApiList' => [ - 'description' => 'The APIs.'."\n", + 'description' => 'The API information.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'ApiId' => [ - 'description' => 'The API ID. You can track an API by its ID in sessions.'."\n", - 'type' => 'string', - 'example' => 'GBFDCV8', - ], + 'ApiId' => ['description' => 'The API ID. You can use this ID to find the corresponding API information in Relation.', 'type' => 'string', 'example' => 'GBFDCV8', 'title' => ''], 'CheckPointList' => [ - 'description' => 'The checkpoints.'."\n", + 'description' => 'All checkpoints.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'CheckType' => [ - 'description' => 'The check type.'."\n", - 'type' => 'string', - 'example' => 'EXPORTED_PARAM', - ], - 'Operator' => [ - 'description' => 'The check operator.'."\n", - 'type' => 'string', - 'example' => 'ctn', - ], - 'ExpectValue' => [ - 'description' => 'The expected value.'."\n", - 'type' => 'string', - 'example' => '111', - ], - 'CheckPoint' => [ - 'description' => 'The checked parameter.'."\n", - 'type' => 'string', - 'example' => 'userId', - ], + 'CheckType' => ['description' => 'The check type.', 'type' => 'string', 'example' => 'EXPORTED_PARAM', 'title' => ''], + 'Operator' => ['description' => 'The comparison operator.', 'type' => 'string', 'example' => 'ctn', 'title' => ''], + 'ExpectValue' => ['description' => 'The expected value.', 'type' => 'string', 'example' => '111', 'title' => ''], + 'CheckPoint' => ['description' => 'The checkpoint.', 'type' => 'string', 'example' => 'userId', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], 'HeaderList' => [ - 'description' => 'The headers used in the API request.'."\n", + 'description' => 'The header information.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'HeaderValue' => [ - 'description' => 'The header value.'."\n", - 'type' => 'string', - 'example' => '1111', - ], - 'HeaderName' => [ - 'description' => 'The header name.'."\n", - 'type' => 'string', - 'example' => 'userId', - ], + 'HeaderValue' => ['description' => 'The parameter value.', 'type' => 'string', 'example' => '1111', 'title' => ''], + 'HeaderName' => ['description' => 'The parameter name.', 'type' => 'string', 'example' => 'userId', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - 'TimeoutInSecond' => [ - 'description' => 'The timeout period. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], + 'TimeoutInSecond' => ['description' => 'The timeout period. Unit: seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], 'ExportList' => [ - 'description' => 'The exported parameters.'."\n", + 'description' => 'All exported parameters.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'ExportType' => [ - 'description' => 'The format in which data is exported.'."\n", - 'type' => 'string', - 'example' => 'BODY_JSON', - ], - 'ExportValue' => [ - 'description' => 'The parameter that is exported.'."\n", - 'type' => 'string', - 'example' => 'username', - ], - 'ExportName' => [ - 'description' => 'The path where the exported value can be found.'."\n", - 'type' => 'string', - 'example' => 'data.username', - ], - 'Count' => [ - 'description' => 'The number of items or entries related to the export operation.'."\n", - 'type' => 'string', - 'example' => '0', - ], + 'ExportType' => ['description' => 'The source of the exported parameter.', 'type' => 'string', 'example' => 'BODY_JSON', 'title' => ''], + 'ExportValue' => ['description' => 'The expression.', 'type' => 'string', 'example' => 'username', 'title' => ''], + 'ExportName' => ['description' => 'The name of the exported parameter.', 'type' => 'string', 'example' => 'data.username', 'title' => ''], + 'Count' => ['description' => 'The number of matched items for the exported parameter.', 'type' => 'string', 'example' => '0', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - 'Url' => [ - 'description' => 'The URL to which the request is sent.'."\n", - 'type' => 'string', - 'example' => 'https://www.aliyundoc.com', - ], - 'Method' => [ - 'description' => 'The request method.'."\n", - 'type' => 'string', - 'example' => 'GET', - ], + 'Url' => ['description' => 'The request URL.', 'type' => 'string', 'example' => 'https://www.aliyundoc.com', 'title' => ''], + 'Method' => ['description' => 'The request method.', 'type' => 'string', 'example' => 'GET', 'title' => ''], 'Body' => [ - 'description' => 'The request body.'."\n", + 'description' => 'The content of the body.', 'type' => 'object', 'properties' => [ - 'BodyValue' => [ - 'description' => 'The body value.'."\n", - 'type' => 'string', - 'example' => '{\\"key1\\":\\"111\\",\\"key2\\":\\"222\\"}', - ], - 'ContentType' => [ - 'description' => 'The body type.'."\n", - 'type' => 'string', - 'example' => 'application/x-www-form-urlencoded', - ], + 'BodyValue' => ['description' => 'The value of the body.', 'type' => 'string', 'example' => '{\\"key1\\":\\"111\\",\\"key2\\":\\"222\\"}', 'title' => ''], + 'ContentType' => ['description' => 'The type of the body.', 'type' => 'string', 'example' => 'application/x-www-form-urlencoded', 'title' => ''], ], - ], - 'RedirectCountLimit' => [ - 'description' => 'The number of redirections.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'ApiName' => [ - 'description' => 'The API name.'."\n", - 'type' => 'string', + 'title' => '', 'example' => '', ], + 'RedirectCountLimit' => ['description' => 'The number of redirections.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], + 'ApiName' => ['description' => 'The API name.', 'type' => 'string', 'example' => 'Order', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - 'RelationId' => [ - 'description' => 'The session ID.'."\n", - 'type' => 'string', - 'example' => 'HNBGS7M', - ], + 'RelationId' => ['description' => 'The link ID.', 'type' => 'string', 'example' => 'HNBGS7M', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], - ], - 'SceneName' => [ - 'description' => 'The name of the scenario'."\n", - 'type' => 'string', + 'title' => '', 'example' => '', ], - 'SceneId' => [ - 'description' => 'The ID of the scenario.'."\n", - 'type' => 'string', - 'example' => 'BGFJ7GV', - ], + 'SceneName' => ['description' => 'The scenario name.', 'type' => 'string', 'example' => 'Order scenario', 'title' => ''], + 'SceneId' => ['description' => 'The scenario ID.', 'type' => 'string', 'example' => 'BGFJ7GV', 'title' => ''], 'GlobalParameterList' => [ - 'description' => 'Global parameters'."\n", + 'description' => 'The global parameters.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'ParamName' => [ - 'description' => 'The name of the parameter.'."\n", - 'type' => 'string', - 'example' => 'userName', - ], - 'ParamValue' => [ - 'description' => 'The value of the parameter.'."\n", - 'type' => 'string', - 'example' => 'lisi', - ], + 'ParamName' => ['description' => 'The parameter name.', 'type' => 'string', 'example' => 'userName', 'title' => ''], + 'ParamValue' => ['description' => 'The parameter value.', 'type' => 'string', 'example' => 'lisi', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], 'Headers' => [ - 'description' => 'The global headers for the scenario.'."\n", + 'description' => 'The global headers that are set for the scenario.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the header.'."\n", - 'type' => 'string', - 'example' => 'key1', - ], - 'Value' => [ - 'description' => 'The value of the header.'."\n", - 'type' => 'string', - 'example' => 'value1', - ], + 'Name' => ['description' => 'The name of the header.', 'type' => 'string', 'example' => 'key1', 'title' => ''], + 'Value' => ['description' => 'The value of the header.', 'type' => 'string', 'example' => 'value1', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], - 'Code' => [ - 'description' => 'The system status code.'."\n", - 'type' => 'string', - 'example' => '200', - ], - 'Success' => [ - 'description' => 'Indicates whether the operation is successful.'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'Code' => ['description' => 'The system status code.', 'type' => 'string', 'example' => '200', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n" + ."\n" + .'- `true`: The request was successful.'."\n" + ."\n" + .'- `false`: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'GetPtsSceneFail', - 'errorMessage' => 'The scene does not exit', - ], + ['errorCode' => 'GetPtsSceneFail', 'errorMessage' => 'The scene does not exit', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"空\\",\\n \\"RequestId\\": \\"DC4E3177-6745-4925-B423-4E89VV34221A\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Scene\\": {\\n \\"Status\\": \\"Draft:草稿\\\\nWaitStart:待启动\\\\nDebugging:调试中\\\\nRunning:运行中\\\\n\\",\\n \\"LoadConfig\\": {\\n \\"ApiLoadConfigList\\": [\\n {\\n \\"RpsBegin\\": 10,\\n \\"RpsLimit\\": 20,\\n \\"ApiId\\": \\"GBFDCV8\\"\\n }\\n ],\\n \\"MaxRunningTime\\": 2,\\n \\"RelationLoadConfigList\\": [\\n {\\n \\"ConcurrencyBegin\\": 10,\\n \\"ConcurrencyLimit\\": 20,\\n \\"RelationId\\": \\"HNBGS7M\\"\\n }\\n ],\\n \\"Configuration\\": {\\n \\"AllRpsBegin\\": 100,\\n \\"AllConcurrencyBegin\\": 100,\\n \\"AllConcurrencyLimit\\": 200,\\n \\"AllRpsLimit\\": 200\\n },\\n \\"AgentCount\\": 1,\\n \\"TestMode\\": \\"TPS\\",\\n \\"AutoStep\\": false,\\n \\"Increment\\": 10,\\n \\"KeepTime\\": 2,\\n \\"VpcLoadConfig\\": {\\n \\"VpcId\\": \\"vpc-akjhsdajgjsfggahjkga\\",\\n \\"VSwitchId\\": \\"vsw-skjfhlahsljkhsfalkjdoiw\\",\\n \\"SecurityGroupId\\": \\"sg-jkasgfieiajidsjakjscb\\",\\n \\"RegionId\\": \\"cn-beijing\\"\\n }\\n },\\n \\"FileParameterList\\": [\\n {\\n \\"FileOssAddress\\": \\"https://test.oss-cn-shanghai.aliyuncs.com/json.jar\\",\\n \\"FileName\\": \\"city.csv\\"\\n }\\n ],\\n \\"ModifiedTime\\": \\"2021-03-26 15:30:30\\",\\n \\"AdvanceSetting\\": {\\n \\"LogRate\\": 1,\\n \\"DomainBindingList\\": [\\n {\\n \\"Domain\\": \\"www.aliyundoc.com\\",\\n \\"Ips\\": [\\n \\"[1.1.1.1]\\"\\n ]\\n }\\n ],\\n \\"ConnectionTimeoutInSecond\\": 5,\\n \\"SuccessCode\\": \\"429,304\\"\\n },\\n \\"CreateTime\\": \\"2021-02-26 15:30:30\\",\\n \\"RelationList\\": [\\n {\\n \\"RelationName\\": \\"下单链路\\",\\n \\"FileParameterExplainList\\": [\\n {\\n \\"CycleOnce\\": true,\\n \\"FileParamName\\": \\"userName,age\\",\\n \\"FileName\\": \\"city.csv\\",\\n \\"BaseFile\\": true\\n }\\n ],\\n \\"ApiList\\": [\\n {\\n \\"ApiId\\": \\"GBFDCV8\\",\\n \\"CheckPointList\\": [\\n {\\n \\"CheckType\\": \\"EXPORTED_PARAM\\",\\n \\"Operator\\": \\"ctn\\",\\n \\"ExpectValue\\": \\"111\\",\\n \\"CheckPoint\\": \\"userId\\"\\n }\\n ],\\n \\"HeaderList\\": [\\n {\\n \\"HeaderValue\\": \\"1111\\",\\n \\"HeaderName\\": \\"userId\\"\\n }\\n ],\\n \\"TimeoutInSecond\\": 5,\\n \\"ExportList\\": [\\n {\\n \\"ExportType\\": \\"BODY_JSON\\",\\n \\"ExportValue\\": \\"username\\",\\n \\"ExportName\\": \\"data.username\\",\\n \\"Count\\": \\"0\\"\\n }\\n ],\\n \\"Url\\": \\"https://www.aliyundoc.com\\",\\n \\"Method\\": \\"GET\\",\\n \\"Body\\": {\\n \\"BodyValue\\": \\"{\\\\\\\\\\\\\\"key1\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"111\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"key2\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"222\\\\\\\\\\\\\\"}\\",\\n \\"ContentType\\": \\"application/x-www-form-urlencoded\\"\\n },\\n \\"RedirectCountLimit\\": 5,\\n \\"ApiName\\": \\"下单\\"\\n }\\n ],\\n \\"RelationId\\": \\"HNBGS7M\\"\\n }\\n ],\\n \\"SceneName\\": \\"下单场景\\",\\n \\"SceneId\\": \\"BGFJ7GV\\",\\n \\"GlobalParameterList\\": [\\n {\\n \\"ParamName\\": \\"userName\\",\\n \\"ParamValue\\": \\"lisi\\"\\n }\\n ],\\n \\"Headers\\": [\\n {\\n \\"Name\\": \\"key1\\",\\n \\"Value\\": \\"value1\\"\\n }\\n ]\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<GetPtsSceneResponse>\\n <Message>空</Message>\\n <RequestId>DC4E3177-6745-4925-B423-4E89VV34221A</RequestId>\\n <HttpStatusCode>200</HttpStatusCode>\\n <Scene>\\n <Status>Running</Status>\\n <LoadConfig>\\n <ApiLoadConfigList>\\n <RpsBegin>10</RpsBegin>\\n <RpsLimit>20</RpsLimit>\\n <ApiId>GBFDCV8</ApiId>\\n </ApiLoadConfigList>\\n <MaxRunningTime>2</MaxRunningTime>\\n <RelationLoadConfigList>\\n <ConcurrencyBegin>10</ConcurrencyBegin>\\n <ConcurrencyLimit>20</ConcurrencyLimit>\\n <RelationId>HNBGS7M</RelationId>\\n </RelationLoadConfigList>\\n <Configuration>\\n <AllRpsBegin>100</AllRpsBegin>\\n <AllConcurrencyBegin>100</AllConcurrencyBegin>\\n <AllConcurrencyLimit>200</AllConcurrencyLimit>\\n <AllRpsLimit>200</AllRpsLimit>\\n </Configuration>\\n <AgentCount>1</AgentCount>\\n <TestMode>TPS</TestMode>\\n </LoadConfig>\\n <FileParameterList>\\n <FileOssAddress>https://oss.ccccc</FileOssAddress>\\n <FileName>city.csv</FileName>\\n </FileParameterList>\\n <ModifiedTime>2021-03-26 15:30:30</ModifiedTime>\\n <AdvanceSetting>\\n <LogRate>1</LogRate>\\n <DomainBindingList>\\n <Domain>www.aliyundoc.com</Domain>\\n <Ips>[1.1.1.1]</Ips>\\n </DomainBindingList>\\n <ConnectionTimeoutInSecond>5</ConnectionTimeoutInSecond>\\n <SuccessCode>429,304</SuccessCode>\\n </AdvanceSetting>\\n <CreateTime>2021-02-26 15:30:30</CreateTime>\\n <RelationList>\\n <RelationName>下单链路</RelationName>\\n <FileParameterExplainList>\\n <CycleOnce>true</CycleOnce>\\n <FileParamName>userName,age</FileParamName>\\n <FileName>city.csv</FileName>\\n <BaseFile>true</BaseFile>\\n </FileParameterExplainList>\\n <ApiList>\\n <ApiId>GBFDCV8</ApiId>\\n <CheckPointList>\\n <CheckType>EXPORTED_PARAM</CheckType>\\n <Operator>ctn</Operator>\\n <ExpectValue>111</ExpectValue>\\n <CheckPoint>userId</CheckPoint>\\n </CheckPointList>\\n <HeaderList>\\n <HeaderValue>1111</HeaderValue>\\n <HeaderName>userId</HeaderName>\\n </HeaderList>\\n <TimeoutInSecond>5</TimeoutInSecond>\\n <ExportList>\\n <ExportType>BODY_JSON</ExportType>\\n <ExportValue>username</ExportValue>\\n <ExportName>data.username</ExportName>\\n <Count>0</Count>\\n </ExportList>\\n <Url>https://www.aliyundoc.com</Url>\\n <Method>GET</Method>\\n <Body>\\n <BodyValue>{\\\\\\"key1\\\\\\":\\\\\\"111\\\\\\",\\\\\\"key2\\\\\\":\\\\\\"222\\\\\\"}</BodyValue>\\n <ContentType>application/x-www-form-urlencoded</ContentType>\\n </Body>\\n <RedirectCountLimit>5</RedirectCountLimit>\\n <ApiName>下单</ApiName>\\n </ApiList>\\n <RelationId>HNBGS7M</RelationId>\\n </RelationList>\\n <SceneName>下单场景</SceneName>\\n <SceneId>BGFJ7GV</SceneId>\\n <GlobalParameterList>\\n <ParamName>userName</ParamName>\\n <ParamValue>lisi</ParamValue>\\n </GlobalParameterList>\\n </Scene>\\n <Code>200</Code>\\n <Success>true</Success>\\n</GetPtsSceneResponse>","errorExample":""}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"空\\",\\n \\"RequestId\\": \\"DC4E3177-6745-4925-B423-4E89VV34221A\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Scene\\": {\\n \\"Status\\": \\"Running\\",\\n \\"LoadConfig\\": {\\n \\"ApiLoadConfigList\\": [\\n {\\n \\"RpsBegin\\": 10,\\n \\"RpsLimit\\": 20,\\n \\"ApiId\\": \\"GBFDCV8\\"\\n }\\n ],\\n \\"MaxRunningTime\\": 2,\\n \\"RelationLoadConfigList\\": [\\n {\\n \\"ConcurrencyBegin\\": 10,\\n \\"ConcurrencyLimit\\": 20,\\n \\"RelationId\\": \\"HNBGS7M\\"\\n }\\n ],\\n \\"Configuration\\": {\\n \\"AllRpsBegin\\": 100,\\n \\"AllConcurrencyBegin\\": 100,\\n \\"AllConcurrencyLimit\\": 200,\\n \\"AllRpsLimit\\": 200\\n },\\n \\"AgentCount\\": 1,\\n \\"TestMode\\": \\"TPS\\",\\n \\"AutoStep\\": false,\\n \\"Increment\\": 10,\\n \\"KeepTime\\": 2,\\n \\"VpcLoadConfig\\": {\\n \\"VpcId\\": \\"vpc-akjhsdajgjsfggahjkga\\",\\n \\"VSwitchId\\": \\"vsw-skjfhlahsljkhsfalkjdoiw\\",\\n \\"SecurityGroupId\\": \\"sg-jkasgfieiajidsjakjscb\\",\\n \\"RegionId\\": \\"cn-beijing\\"\\n }\\n },\\n \\"FileParameterList\\": [\\n {\\n \\"FileOssAddress\\": \\"https://test.oss-cn-shanghai.aliyuncs.com/json.jar\\",\\n \\"FileName\\": \\"city.csv\\"\\n }\\n ],\\n \\"ModifiedTime\\": \\"2021-03-26 15:30:30\\",\\n \\"AdvanceSetting\\": {\\n \\"LogRate\\": 1,\\n \\"DomainBindingList\\": [\\n {\\n \\"Domain\\": \\"www.aliyundoc.com\\",\\n \\"Ips\\": [\\n \\"[1.1.1.1]\\"\\n ]\\n }\\n ],\\n \\"ConnectionTimeoutInSecond\\": 5,\\n \\"SuccessCode\\": \\"429,304\\"\\n },\\n \\"CreateTime\\": \\"2021-02-26 15:30:30\\",\\n \\"RelationList\\": [\\n {\\n \\"RelationName\\": \\"Order chain\\",\\n \\"FileParameterExplainList\\": [\\n {\\n \\"CycleOnce\\": true,\\n \\"FileParamName\\": \\"userName,age\\",\\n \\"FileName\\": \\"city.csv\\",\\n \\"BaseFile\\": true\\n }\\n ],\\n \\"ApiList\\": [\\n {\\n \\"ApiId\\": \\"GBFDCV8\\",\\n \\"CheckPointList\\": [\\n {\\n \\"CheckType\\": \\"EXPORTED_PARAM\\",\\n \\"Operator\\": \\"ctn\\",\\n \\"ExpectValue\\": \\"111\\",\\n \\"CheckPoint\\": \\"userId\\"\\n }\\n ],\\n \\"HeaderList\\": [\\n {\\n \\"HeaderValue\\": \\"1111\\",\\n \\"HeaderName\\": \\"userId\\"\\n }\\n ],\\n \\"TimeoutInSecond\\": 5,\\n \\"ExportList\\": [\\n {\\n \\"ExportType\\": \\"BODY_JSON\\",\\n \\"ExportValue\\": \\"username\\",\\n \\"ExportName\\": \\"data.username\\",\\n \\"Count\\": \\"0\\"\\n }\\n ],\\n \\"Url\\": \\"https://www.aliyundoc.com\\",\\n \\"Method\\": \\"GET\\",\\n \\"Body\\": {\\n \\"BodyValue\\": \\"{\\\\\\\\\\\\\\"key1\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"111\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"key2\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"222\\\\\\\\\\\\\\"}\\",\\n \\"ContentType\\": \\"application/x-www-form-urlencoded\\"\\n },\\n \\"RedirectCountLimit\\": 5,\\n \\"ApiName\\": \\"Order\\"\\n }\\n ],\\n \\"RelationId\\": \\"HNBGS7M\\"\\n }\\n ],\\n \\"SceneName\\": \\"Order scenario\\",\\n \\"SceneId\\": \\"BGFJ7GV\\",\\n \\"GlobalParameterList\\": [\\n {\\n \\"ParamName\\": \\"userName\\",\\n \\"ParamValue\\": \\"lisi\\"\\n }\\n ],\\n \\"Headers\\": [\\n {\\n \\"Name\\": \\"key1\\",\\n \\"Value\\": \\"value1\\"\\n }\\n ]\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', 'title' => 'GetPtsScene', - 'summary' => 'Queries the structure and load settings of a Performance Testing Service (PTS) scenario.', + 'summary' => 'Queries the structure, stress testing configuration, and other information for a scenario.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListPtsScene' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetPtsScene'], + ], ], + 'ramActions' => [], + 'translator' => 'machine', + ], + 'GetPtsSceneBaseLine' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4685,50 +2466,12 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'abilityTreeCode' => '22660', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], - ], + 'systemTags' => [], 'parameters' => [ [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return. Valid values: 1 to 1073741824.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '2147483647', - 'minimum' => '1', - 'example' => '1', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of scenario entries to return per page. Valid values: 10 to 1000.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '1000', - 'minimum' => '10', - 'example' => '10', - ], - ], - [ - 'name' => 'KeyWord', + 'name' => 'SceneId', 'in' => 'query', - 'schema' => [ - 'description' => 'The keyword based on which you can search for the PTS scenario. You can perform a fuzzy search on the scenario name (**SceneName**) or an exact search on the scenario ID (**SceneId**).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], + 'schema' => ['description' => 'The scenario ID. For more information, see [Parameters](~~201321~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'NB54CV', 'title' => ''], ], ], 'responses' => [ @@ -4736,94 +2479,97 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => 'The returned message. If the request was successful, no data is returned.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'DD6F2ED8-E31B-497F-85AB-C4E358A5F667', - ], - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code. If the request was successful, no data is returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '400', - ], - 'SceneViewList' => [ - 'description' => 'The returned scenarios.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'CreateTime' => [ - 'description' => 'The time when the PTS scenario was created.'."\n", - 'type' => 'string', - 'example' => '2021-02-26 15:28:39', - ], - 'SceneId' => [ - 'description' => 'The scenario ID.'."\n", - 'type' => 'string', - 'example' => 'DFGVS3S', - ], - 'SceneName' => [ - 'description' => 'The scenario name.'."\n", - 'type' => 'string', + 'SceneId' => ['description' => 'The scenario ID.', 'type' => 'string', 'example' => 'NHG67BF', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '4F7D2CE0-AE4C-4143-955A-8E4595AF86A6', 'title' => ''], + 'Message' => ['description' => 'The error message. This parameter is empty if the request is successful.', 'type' => 'string', 'example' => '空', 'title' => ''], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'Baseline' => [ + 'description' => 'The baseline data.', + 'type' => 'object', + 'properties' => [ + 'SceneBaseline' => [ + 'description' => 'The baseline data of the scenario.', + 'type' => 'object', + 'properties' => [ + 'FailCountBiz' => ['description' => 'The number of business failures.', 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'SuccessRateBiz' => ['description' => 'The business success rate.', 'type' => 'number', 'format' => 'float', 'example' => '0.1', 'title' => ''], + 'AvgRt' => ['description' => 'The average RT.', 'type' => 'number', 'format' => 'float', 'example' => '10', 'title' => ''], + 'FailCountReq' => ['description' => 'The number of failed requests.', 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'AvgTps' => ['description' => 'The average TPS.', 'type' => 'number', 'format' => 'float', 'example' => '1000', 'title' => ''], + 'Seg99Rt' => ['description' => 'The 99th percentile RT.', 'type' => 'number', 'format' => 'float', 'example' => '10', 'title' => ''], + 'SuccessRateReq' => ['description' => 'The request success rate.', 'type' => 'number', 'format' => 'float', 'example' => '0.9', 'title' => ''], + 'Seg90Rt' => ['description' => 'The 90th percentile RT.', 'type' => 'number', 'format' => 'float', 'example' => '10', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Name' => ['description' => 'The scenario name.', 'type' => 'string', 'example' => 'Stress test scenario', 'title' => ''], + 'ApiBaselines' => [ + 'description' => 'The baseline data of the API.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'FailCountBiz' => ['description' => 'The number of business failures.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], + 'AvgTps' => ['description' => 'The average transactions per second (TPS).', 'type' => 'number', 'format' => 'float', 'example' => '1000', 'title' => ''], + 'MinRt' => ['description' => 'The minimum RT.', 'type' => 'integer', 'format' => 'int32', 'example' => '8', 'title' => ''], + 'Seg99Rt' => ['description' => 'The 99th percentile RT.', 'type' => 'number', 'format' => 'float', 'example' => '50', 'title' => ''], + 'MaxRt' => ['description' => 'The maximum RT.', 'type' => 'integer', 'format' => 'int32', 'example' => '50', 'title' => ''], + 'Seg90Rt' => ['description' => 'The 90th percentile RT.', 'type' => 'number', 'format' => 'float', 'example' => '40', 'title' => ''], + 'SuccessRateBiz' => ['description' => 'The business success rate.', 'type' => 'number', 'format' => 'float', 'example' => '0.1', 'title' => ''], + 'AvgRt' => ['description' => 'The average response time (RT).', 'type' => 'number', 'format' => 'float', 'example' => '10', 'title' => ''], + 'FailCountReq' => ['description' => 'The number of failed requests.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], + 'Name' => ['description' => 'The API name.', 'type' => 'string', 'example' => 'Order API', 'title' => ''], + 'SuccessRateReq' => ['description' => 'The request success rate.', 'type' => 'number', 'format' => 'float', 'example' => '0.9', 'title' => ''], + 'Id' => ['description' => 'The ID of the API.', 'type' => 'integer', 'format' => 'int64', 'example' => '76543', 'title' => ''], + ], + 'description' => '', + 'title' => '', 'example' => '', ], - 'Status' => [ - 'description' => 'The status of the PTS scenario. Valid values:'."\n", - 'type' => 'string', - 'example' => 'Draft WaitStart Debugging Running'."\n", - ], + 'title' => '', + 'example' => '', ], - 'description' => '', ], + 'title' => '', + 'example' => '', ], - 'Code' => [ - 'description' => 'The system status code. If the request was successful, no data is returned.'."\n", - 'type' => 'string', - 'example' => '4001', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], + 'Code' => ['description' => 'The status code of the system.', 'type' => 'string', 'example' => '200', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n" + ."\n" + .'- true: The request was successful.'."\n" + ."\n" + .'- false: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ListPtsSceneFail', - 'errorMessage' => 'Keyword length cannot exceed 30 characters', - ], + ['errorCode' => 'GetPtsSceneBaseLineFail', 'errorMessage' => 'The scene information cannot be empty.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"创建或者修改场景入参必须是实体类scene的JSON串\\",\\n \\"RequestId\\": \\"DD6F2ED8-E31B-497F-85AB-C4E358A5F667\\",\\n \\"HttpStatusCode\\": 400,\\n \\"SceneViewList\\": [\\n {\\n \\"CreateTime\\": \\"2021-02-26 15:28:39\\",\\n \\"SceneId\\": \\"DFGVS3S\\",\\n \\"SceneName\\": \\"测试下单线上\\",\\n \\"Status\\": \\"Draft:草稿\\\\nWaitStart:待启动\\\\nDebugging:调试中\\\\nRunning:运行中\\\\n\\"\\n }\\n ],\\n \\"Code\\": \\"4001\\",\\n \\"Success\\": false\\n}","errorExample":""},{"type":"xml","example":"<ListJMeterReportsResponse>\\n <TotalCount>100</TotalCount>\\n <RequestId>A8E16480-15C1-555A-922F-B736A005E52D</RequestId>\\n <Message>空</Message>\\n <PageSize>10</PageSize>\\n <PageNumber>1</PageNumber>\\n <HttpStatusCode>200</HttpStatusCode>\\n <Reports>\\n <ReportName>test</ReportName>\\n <Duration>10分钟</Duration>\\n <ReportId>7R4RE352</ReportId>\\n <Vum>1000</Vum>\\n <ActualStartTime>1637157073000</ActualStartTime>\\n </Reports>\\n <Code>200</Code>\\n <Success>true</Success>\\n</ListJMeterReportsResponse>","errorExample":""}]', - 'title' => 'ListPtsScene', - 'summary' => 'Queries Performance Testing Service (PTS) scenarios by page.', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"SceneId\\": \\"NHG67BF\\",\\n \\"RequestId\\": \\"4F7D2CE0-AE4C-4143-955A-8E4595AF86A6\\",\\n \\"Message\\": \\"空\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Baseline\\": {\\n \\"SceneBaseline\\": {\\n \\"FailCountBiz\\": 1000,\\n \\"SuccessRateBiz\\": 0.1,\\n \\"AvgRt\\": 10,\\n \\"FailCountReq\\": 1000,\\n \\"AvgTps\\": 1000,\\n \\"Seg99Rt\\": 10,\\n \\"SuccessRateReq\\": 0.9,\\n \\"Seg90Rt\\": 10\\n },\\n \\"Name\\": \\"Stress test scenario\\",\\n \\"ApiBaselines\\": [\\n {\\n \\"FailCountBiz\\": 100,\\n \\"AvgTps\\": 1000,\\n \\"MinRt\\": 8,\\n \\"Seg99Rt\\": 50,\\n \\"MaxRt\\": 50,\\n \\"Seg90Rt\\": 40,\\n \\"SuccessRateBiz\\": 0.1,\\n \\"AvgRt\\": 10,\\n \\"FailCountReq\\": 100,\\n \\"Name\\": \\"Order API\\",\\n \\"SuccessRateReq\\": 0.9,\\n \\"Id\\": 76543\\n }\\n ]\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'GetPtsSceneBaseLine', + 'summary' => 'Queries the baseline data for a scenario.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'GetJMeterReportDetails' => [ - 'summary' => 'Obtains the details of a JMeter report.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetPtsSceneBaseLine'], + ], ], + 'ramActions' => [], + 'translator' => 'machine', + ], + 'GetPtsSceneRunningData' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4834,286 +2580,144 @@ [ 'PrivateKey' => [], ], + [ + 'BearerToken' => [], + ], ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => [], 'parameters' => [ [ - 'name' => 'ReportId', + 'name' => 'SceneId', 'in' => 'query', - 'schema' => [ - 'description' => 'The report ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'KS2YE3J2', - ], + 'schema' => ['description' => 'The ID of the scenario.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'NKKI6GB', 'title' => ''], + ], + [ + 'name' => 'PlanId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the task. You can obtain this ID from the response of the StartPtsScene operation.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'XM6NC5RY', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'GetJMeterReportDetailsResponse', - 'description' => 'GetJMeterReportDetailsResponse'."\n", 'type' => 'object', 'properties' => [ - 'ReportOverView' => [ - 'title' => '报告概览信息', - 'description' => 'The details of the report.'."\n", - 'type' => 'object', - 'properties' => [ - 'ReportId' => [ - 'title' => '报告ID', - 'description' => 'The report ID.'."\n", - 'type' => 'string', - 'example' => 'GHB56VD', - ], - 'ReportName' => [ - 'title' => '报告名', - 'description' => 'The report name.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'StartTime' => [ - 'title' => '启动时间', - 'description' => 'The beginning of the queried time range.'."\n", - 'type' => 'string', - 'example' => '2023-05-03 10:35:11', - ], - 'EndTime' => [ - 'title' => '停止时间', - 'description' => 'The end of the queried time range.'."\n", - 'type' => 'string', - 'example' => '2023-05-03 10:45:11', - ], - 'AgentCount' => [ - 'title' => '实际使用的引擎数', - 'description' => 'The number of used engines.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Vum' => [ - 'title' => '消耗的VUM', - 'description' => 'The consumed Virtual User Minutes (VUM).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4452', - ], - ], - ], - 'SceneMetrics' => [ - 'title' => '全场景维度的信息', - 'description' => 'The dimensions of the whole scenario.'."\n", - 'type' => 'object', - 'properties' => [ - 'AvgTps' => [ - 'title' => '平均TPS', - 'description' => 'The average transactions per second (TPS).'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => '78', - ], - 'AvgRt' => [ - 'title' => '平均RT', - 'description' => 'The average response time (RT). Unit: milliseconds.'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => '23', - ], - 'Seg90Rt' => [ - 'title' => '90分为RT', - 'description' => 'The 90th percentile of RT. Unit: milliseconds.'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => '35', - ], - 'Seg99Rt' => [ - 'title' => '99分为RT', - 'description' => 'The 99th percentile of RT. Unit: milliseconds.'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => '56', - ], - 'SuccessRateReq' => [ - 'title' => '请求成功率', - 'description' => 'The request success rate. The parameter value must be a non-negative number less than or equal to 100.'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => '0.99', - ], - 'FailCountReq' => [ - 'title' => '请求失败数', - 'description' => 'The request failure rate.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '34', - ], - 'AllCount' => [ - 'title' => '请求总数', - 'description' => 'The total number of requests.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '717', + 'Status' => ['description' => 'The status of the scenario. The default value is 7.', 'type' => 'integer', 'format' => 'int32', 'example' => '7', 'title' => ''], + 'TotalRequestCount' => ['description' => 'The total number of requests.', 'type' => 'integer', 'format' => 'int64', 'example' => '8900', 'title' => ''], + 'HasReport' => ['description' => 'Indicates whether a report is generated.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ConcurrencyLimit' => ['description' => 'The concurrency limit.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'Message' => ['description' => 'The error message. This parameter is not returned if the request is successful.', 'type' => 'string', 'example' => '空', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'DC4E3177-6745-4925-B423-4E89VV34221A', 'title' => ''], + 'BeginTime' => ['description' => 'The start time of the stress test. This is a UNIX timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1651895518339', 'title' => ''], + 'AgentLocation' => [ + 'description' => 'The location of the stress testing agents.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Region' => ['description' => 'The region.', 'type' => 'string', 'example' => '华东地区', 'title' => ''], + 'Isp' => ['description' => 'The provider.', 'type' => 'string', 'example' => '阿里巴巴', 'title' => ''], + 'Count' => ['description' => 'The number of stress testing agents.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'Province' => ['description' => 'The province.', 'type' => 'string', 'example' => '山东省', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - 'SamplerMetricsList' => [ - 'title' => 'API维度的信息', - 'description' => 'The dimensions of APIs.'."\n", + 'Seg90Rt' => ['description' => 'The 90th percentile RT.', 'type' => 'integer', 'format' => 'int64', 'example' => '45', 'title' => ''], + 'ResponseBps' => ['description' => 'The size of the response body.', 'type' => 'string', 'example' => '8kb', 'title' => ''], + 'TotalAgents' => ['description' => 'The total number of agents.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'Code' => ['description' => 'The system status code. This parameter is not returned if the request is successful.', 'type' => 'string', 'example' => '4001', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n" + ."\n" + .'- true: The request was successful.'."\n" + ."\n" + .'- false: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Vum' => ['description' => 'The number of VUMs consumed.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], + 'AverageRt' => ['description' => 'The average response time (RT).', 'type' => 'integer', 'format' => 'int64', 'example' => '45', 'title' => ''], + 'ChainMonitorDataList' => [ + 'description' => 'The stress testing information for the API.', 'type' => 'array', 'items' => [ - 'description' => 'The dimensions of the API. An API has only one entry.'."\n", 'type' => 'object', 'properties' => [ - 'ApiName' => [ - 'title' => 'api名', - 'description' => 'The API name.'."\n", - 'type' => 'string', + 'TimePoint' => ['description' => 'The time point of the data record. This is a UNIX timestamp.', 'type' => 'integer', 'format' => 'int64', 'example' => '1278908899', 'title' => ''], + 'ApiId' => ['description' => 'The ID of the API.', 'type' => 'string', 'example' => 'ANBDC8B', 'title' => ''], + 'MinRt' => ['description' => 'The minimum RT.', 'type' => 'integer', 'format' => 'int32', 'example' => '16', 'title' => ''], + 'Qps2XX' => ['description' => 'The RPS of successful requests.', 'type' => 'number', 'format' => 'float', 'example' => '78', 'title' => ''], + 'MaxRt' => ['description' => 'The maximum RT.', 'type' => 'integer', 'format' => 'int32', 'example' => '56', 'title' => ''], + 'ConfigQps' => ['description' => 'The configured RPS.', 'type' => 'integer', 'format' => 'int32', 'example' => '78', 'title' => ''], + 'FailedCount' => ['description' => 'The total number of failed requests.', 'type' => 'integer', 'format' => 'int64', 'example' => '456', 'title' => ''], + 'FailedQps' => ['description' => 'The RPS of failed requests.', 'type' => 'number', 'format' => 'float', 'example' => '15', 'title' => ''], + 'AverageRt' => ['description' => 'The average RT.', 'type' => 'integer', 'format' => 'int32', 'example' => '46', 'title' => ''], + 'CheckPointResult' => [ + 'description' => 'The checkpoint result.', + 'type' => 'object', + 'properties' => [ + 'SucceedBusinessCount' => ['description' => 'The number of successful business transactions.', 'type' => 'integer', 'format' => 'int64', 'example' => '908', 'title' => ''], + 'SucceedBusinessQps' => ['description' => 'The number of successful business RPS.', 'type' => 'number', 'format' => 'float', 'example' => '89', 'title' => ''], + 'FailedBusinessCount' => ['description' => 'The number of failed business transactions.', 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'FailedBusinessQps' => ['description' => 'The number of failed business records per second (RPS).', 'type' => 'number', 'format' => 'float', 'example' => '78', 'title' => ''], + ], + 'title' => '', 'example' => '', ], - 'AvgTps' => [ - 'title' => '平均TPS', - 'description' => 'The average TPS.'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => '12', - ], - 'AvgRt' => [ - 'title' => '平均RT', - 'description' => 'The average RT. Unit: milliseconds.'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => '44.2', - ], - 'Seg75Rt' => [ - 'title' => '75分为RT', - 'description' => 'The 75th percentile of RT. Unit: milliseconds.'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => '22.4', - ], - 'Seg90Rt' => [ - 'title' => '90分为RT', - 'description' => 'The 90th percentile of RT. Unit: milliseconds.'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => '65', - ], - 'Seg99Rt' => [ - 'title' => '99分为RT', - 'description' => 'The 99th percentile of RT. Unit: milliseconds.'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => '77', - ], - 'MaxRt' => [ - 'title' => '最大RT', - 'description' => 'The maximum RT. Unit: milliseconds.'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => '78', - ], - 'MinRt' => [ - 'title' => '最小RT', - 'description' => 'The minimum RT. Unit: milliseconds.'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => '11', - ], - 'SuccessRateReq' => [ - 'title' => '请求成功率', - 'description' => 'The request success rate. The parameter value must be a non-negative number less than or equal to 100.'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => '100', - ], - 'FailCountReq' => [ - 'title' => '请求失败数', - 'description' => 'The request failure rate.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'AllCount' => [ - 'title' => '请求总数', - 'description' => 'The total number of requests.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '731', - ], + 'Count2XX' => ['description' => 'The number of successful requests (HTTP 2xx).', 'type' => 'integer', 'format' => 'int64', 'example' => '7890', 'title' => ''], + 'RealQps' => ['description' => 'The actual RPS.', 'type' => 'number', 'format' => 'float', 'example' => '23', 'title' => ''], + 'ApiName' => ['description' => 'The name of the API.', 'type' => 'string', 'example' => 'First API', 'title' => ''], + 'NodeId' => ['description' => 'The ID of the API.', 'type' => 'integer', 'format' => 'int64', 'example' => '78509', 'title' => ''], + 'Concurrency' => ['description' => 'The number of concurrent requests.', 'type' => 'number', 'format' => 'float', 'example' => '100', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'A8E16480-15C1-555A-922F-B736A005E52D', - ], - 'Code' => [ - 'description' => 'The system status code. If the request was successful, this parameter is not returned.'."\n", - 'type' => 'string', - 'example' => '4001', - ], - 'Message' => [ - 'description' => 'The returned message. If the request was successful, this parameter is not returned.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'DocumentUrl' => [ - 'description' => 'The URL used to access the document.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'CodeKey' => [ - 'title' => '对应于美杜莎的key。若无此codeKey,或者codeKey对应的内容获取失败/空,则获取返回的message内容作为默认信息展示', - 'description' => 'The code key that corresponds to the key in Medusa. If no code key is available, or if the content corresponding to the code key fails to be obtained or is empty, the returned message is displayed as the default information.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'DynamicCtx' => [ - 'title' => '返回的信息,动态内容,用于替换动态内容,通过&&进行分隔,顺序替换', - 'description' => 'The returned dynamic contents that are separated by the && operator.'."\n", - 'type' => 'string', + 'title' => '', 'example' => '', ], + 'RequestBps' => ['description' => 'The size of the request body.', 'type' => 'string', 'example' => '89kb', 'title' => ''], + 'FailedBusinessCount' => ['description' => 'The number of failed business transactions.', 'type' => 'integer', 'format' => 'int64', 'example' => '78', 'title' => ''], + 'Concurrency' => ['description' => 'The number of concurrent requests.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'HttpStatusCode' => ['description' => 'The HTTP status code. This parameter is not returned if the request is successful.', 'type' => 'integer', 'format' => 'int32', 'example' => '400', 'title' => ''], + 'FailedRequestCount' => ['description' => 'The number of failed requests.', 'type' => 'integer', 'format' => 'int64', 'example' => '90', 'title' => ''], + 'TpsLimit' => ['description' => 'The configured Transaction Per Second (TPS) limit.', 'type' => 'integer', 'format' => 'int32', 'example' => '80', 'title' => ''], + 'AliveAgents' => ['description' => 'The number of healthy DPI engines.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'TotalRealQps' => ['description' => 'The total queries per second (QPS).', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ReportOverView\\": {\\n \\"ReportId\\": \\"GHB56VD\\",\\n \\"ReportName\\": \\"下单场景-20220202222222\\",\\n \\"StartTime\\": \\"2023-05-03 10:35:11\\",\\n \\"EndTime\\": \\"2023-05-03 10:45:11\\",\\n \\"AgentCount\\": 1,\\n \\"Vum\\": 4452\\n },\\n \\"SceneMetrics\\": {\\n \\"AvgTps\\": 78,\\n \\"AvgRt\\": 23,\\n \\"Seg90Rt\\": 35,\\n \\"Seg99Rt\\": 56,\\n \\"SuccessRateReq\\": 99.98,\\n \\"FailCountReq\\": 34,\\n \\"AllCount\\": 717\\n },\\n \\"SamplerMetricsList\\": [\\n {\\n \\"ApiName\\": \\"登录\\",\\n \\"AvgTps\\": 12,\\n \\"AvgRt\\": 44.2,\\n \\"Seg75Rt\\": 22.4,\\n \\"Seg90Rt\\": 65,\\n \\"Seg99Rt\\": 77,\\n \\"MaxRt\\": 78,\\n \\"MinRt\\": 11,\\n \\"SuccessRateReq\\": 100,\\n \\"FailCountReq\\": 10,\\n \\"AllCount\\": 731\\n }\\n ],\\n \\"RequestId\\": \\"A8E16480-15C1-555A-922F-B736A005E52D\\",\\n \\"Code\\": \\"\\",\\n \\"Message\\": \\"查询报告失败\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"DocumentUrl\\": \\"空\\",\\n \\"CodeKey\\": \\"空\\",\\n \\"DynamicCtx\\": \\"空\\"\\n}","type":"json"}]', - 'title' => 'GetJMeterReportDetails', - ], - 'GetJMeterLogs' => [ - 'summary' => 'Queries the operational logs of JMeter stress testers. By default, the operational logs of the stress tester identified as number 0 are queried and the total number of stress testers is returned.', - 'methods' => [ - 'post', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'GetPtsSceneRunningDataFail', 'errorMessage' => 'The scene does not exit', 'description' => ''], + ], ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Status\\": 7,\\n \\"TotalRequestCount\\": 8900,\\n \\"HasReport\\": false,\\n \\"ConcurrencyLimit\\": 20,\\n \\"Message\\": \\"空\\",\\n \\"RequestId\\": \\"DC4E3177-6745-4925-B423-4E89VV34221A\\",\\n \\"BeginTime\\": 1651895518339,\\n \\"AgentLocation\\": [\\n {\\n \\"Region\\": \\"华东地区\\",\\n \\"Isp\\": \\"阿里巴巴\\",\\n \\"Count\\": 10,\\n \\"Province\\": \\"山东省\\"\\n }\\n ],\\n \\"Seg90Rt\\": 45,\\n \\"ResponseBps\\": \\"8kb\\",\\n \\"TotalAgents\\": 10,\\n \\"Code\\": \\"4001\\",\\n \\"Success\\": true,\\n \\"Vum\\": 100,\\n \\"AverageRt\\": 45,\\n \\"ChainMonitorDataList\\": [\\n {\\n \\"TimePoint\\": 1278908899,\\n \\"ApiId\\": \\"ANBDC8B\\",\\n \\"MinRt\\": 16,\\n \\"Qps2XX\\": 78,\\n \\"MaxRt\\": 56,\\n \\"ConfigQps\\": 78,\\n \\"FailedCount\\": 456,\\n \\"FailedQps\\": 15,\\n \\"AverageRt\\": 46,\\n \\"CheckPointResult\\": {\\n \\"SucceedBusinessCount\\": 908,\\n \\"SucceedBusinessQps\\": 89,\\n \\"FailedBusinessCount\\": 1000,\\n \\"FailedBusinessQps\\": 78\\n },\\n \\"Count2XX\\": 7890,\\n \\"RealQps\\": 23,\\n \\"ApiName\\": \\"First API\\",\\n \\"NodeId\\": 78509,\\n \\"Concurrency\\": 100\\n }\\n ],\\n \\"RequestBps\\": \\"89kb\\",\\n \\"FailedBusinessCount\\": 78,\\n \\"Concurrency\\": 10,\\n \\"HttpStatusCode\\": 400,\\n \\"FailedRequestCount\\": 90,\\n \\"TpsLimit\\": 80,\\n \\"AliveAgents\\": 10,\\n \\"TotalRealQps\\": 10\\n}","type":"json"}]', + 'title' => 'GetPtsSceneRunningData', + 'summary' => 'Retrieves the runtime data for a scenario during stress testing or debugging.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetPtsSceneRunningData'], + ], ], + 'ramActions' => [], + 'translator' => 'machine', + ], + 'GetPtsSceneRunningStatus' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5133,213 +2737,177 @@ 'systemTags' => [], 'parameters' => [ [ - 'name' => 'PageNumber', + 'name' => 'SceneId', 'in' => 'query', - 'allowEmptyValue' => false, + 'schema' => ['description' => 'The ID of the scenario. This is a unique identifier that the system generates after the scenario is created.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'NHBG6V', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The number of the page to return.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '10000000', - 'exclusiveMaximum' => false, - 'minimum' => '1', - 'example' => '1', + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => 'The status of the scenario. Valid values:'."\n" + ."\n" + .'- CREATED'."\n" + ."\n" + .'- SYNCING'."\n" + ."\n" + .'- SYNC\\_DONE'."\n" + ."\n" + .'- UPLOADING'."\n" + ."\n" + .'- UPLOADED'."\n" + ."\n" + .'- PREPARING'."\n" + ."\n" + .'- READY'."\n" + ."\n" + .'- RUNNING'."\n" + ."\n" + .'- STOPPING'."\n" + ."\n" + .'- STOPPED', 'type' => 'string', 'example' => 'RUNNING', 'title' => ''], + 'ModifiedTime' => ['description' => 'The time when the scenario was last modified.', 'type' => 'string', 'example' => '2021-03-26 16:03:56', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'DC4E3177-6745-4925-B423-4E89VV34221A', 'title' => ''], + 'Message' => ['description' => 'The error message. This parameter is not returned if the request is successful.', 'type' => 'string', 'title' => '', 'example' => ''], + 'SceneName' => ['description' => 'The name of the scenario.', 'type' => 'string', 'example' => 'Order scenario', 'title' => ''], + 'CreateTime' => ['description' => 'The time when the scenario was created.', 'type' => 'string', 'example' => '2021-03-01 16:05:56', 'title' => ''], + 'HttpStatusCode' => ['description' => 'The HTTP status code. This parameter is not returned if the request is successful.', 'type' => 'integer', 'format' => 'int32', 'example' => '400', 'title' => ''], + 'Code' => ['description' => 'The system status code. This parameter is not returned if the request is successful.', 'type' => 'string', 'example' => '4001', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- true: The request was successful.'."\n" + ."\n" + .'- false: The request failed.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'GetPtsSceneRunningStatusFail', 'errorMessage' => 'The scene does not exist', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Status\\": \\"RUNNING\\",\\n \\"ModifiedTime\\": \\"2021-03-26 16:03:56\\",\\n \\"RequestId\\": \\"DC4E3177-6745-4925-B423-4E89VV34221A\\",\\n \\"Message\\": \\"\\",\\n \\"SceneName\\": \\"Order scenario\\",\\n \\"CreateTime\\": \\"2021-03-01 16:05:56\\",\\n \\"HttpStatusCode\\": 400,\\n \\"Code\\": \\"4001\\",\\n \\"Success\\": false\\n}","type":"json"}]', + 'title' => 'GetPtsSceneRunningStatus', + 'summary' => 'Retrieves the runtime status of a scenario after a stress test starts.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetPtsSceneRunningStatus'], + ], + ], + 'ramActions' => [], + 'translator' => 'machine', + ], + 'GetUserVpcSecurityGroup' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'PageSize', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'description' => 'The number of entries to return per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '200', - 'minimum' => '1', - 'example' => '10', - ], + 'AK' => [], ], [ - 'name' => 'ReportId', - 'in' => 'query', - 'schema' => [ - 'title' => '报告ID', - 'description' => 'The report ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'KS2YE3J2', - ], + 'APP' => [], ], [ - 'name' => 'BeginTime', - 'in' => 'query', - 'schema' => [ - 'title' => '开始时间', - 'description' => 'The beginning of the time range to query. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1637115306000', - ], + 'PrivateKey' => [], ], [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'title' => '结束时间', - 'description' => 'The end of the time range to query. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1637115309000', - ], + 'BearerToken' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ [ - 'name' => 'AgentIndex', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'title' => '第几台引擎,起始为0', - 'description' => 'Specifies that the operational logs of the stress tester identified as number 0 are returned if the agent index is invalid.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '0', - ], + 'schema' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '2147483646', 'minimum' => '1', 'example' => '1', 'title' => ''], ], [ - 'name' => 'Level', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'title' => '日志等级', - 'description' => 'The log level. Valid values:'."\n" - ."\n" - .'* ERROR'."\n" - .'* WARN'."\n" - .'* INFO (default)'."\n" - .'* DEBUG'."\n" - .'* TRACE'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'INFO', - ], + 'schema' => ['description' => 'The number of entries to return on each page.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '100', 'minimum' => '1', 'example' => '1', 'title' => ''], ], [ - 'name' => 'Thread', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'title' => '线程名', - 'description' => 'The thread name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'main', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'Keyword', + 'name' => 'VpcId', 'in' => 'query', - 'schema' => [ - 'title' => '关键字', - 'description' => 'The keyword.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => 'The virtual private cloud (VPC) ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'vpc-bp10xjz7c7oqjgasodihj1kx7t', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The sample response.'."\n", 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => 'The total number of returned entries.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'A8E16480-15C1-555A-922F-B736A005E52D', - ], - 'Message' => [ - 'description' => 'The returned message. If the request was successful, this parameter is left empty.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'PageSize' => [ - 'description' => 'The number of returned entries.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'PageNumber' => [ - 'description' => 'The number of the returned page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Logs' => [ - 'title' => '日志内容', - 'description' => 'The returned entries.'."\n", + 'SecurityGroupCount' => ['description' => 'The number of security groups.', 'type' => 'integer', 'format' => 'int32', 'example' => '9', 'title' => ''], + 'SecurityGroupList' => [ + 'description' => 'The list of security groups.', 'type' => 'array', 'items' => [ - 'description' => 'The returned entry.'."\n", + 'description' => 'The details of the security group.', 'type' => 'object', - 'example' => '[{"timeTS":1637308493226, "instanceId":0, "level":"INFO", "logger":"org.apache.jmeter.util.JMeterUtils", "thread":"main", "time":"2021-11-19T15:54Z", "logText":"Setting Locale to en_EN"}]', + 'properties' => [ + 'VpcId' => ['description' => 'The VPC ID.', 'type' => 'string', 'example' => 'vpc-uf6tar2ohlasdhsatjln37h30bv', 'title' => ''], + 'Description' => ['description' => 'The description of the security group.', 'type' => 'string', 'example' => '空', 'title' => ''], + 'SecurityGroupId' => ['description' => 'The security group ID.', 'type' => 'string', 'example' => 'sg-bp16bt3zuugxpfjkasdfvthxth8', 'title' => ''], + 'SecurityGroupName' => ['description' => 'The name of the security group.', 'type' => 'string', 'example' => 'my-security-group', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], - 'example' => '{ "timeTS":1637114804326, "instanceId":0, "level":"INFO", "logger":"org.apache.jmeter.util.JMeterUtils", "sceneId":251546, "planId":1501546, "thread":"main", "time":"2021-11-17T10:06Z", "taskId":15015460000, "logText":"Setting Locale to en_EN\\n" }', - ], - 'Code' => [ - 'description' => 'The system status code. If the request was successful, this parameter is left empty.'."\n", - 'type' => 'string', - 'example' => '200', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'AgentCount' => [ - 'title' => '引擎数量,想要获得第几台引擎的日志可以根据引擎数量传值', - 'description' => 'The number of engines. The AgentCount value must be greater than the PageNumber value.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', + 'title' => '', + 'example' => '', ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '61B15017-1A68-5C47-834F-87E2BBC44F2C', 'title' => ''], + 'Message' => ['description' => 'The error message. This parameter is empty if the request is successful.', 'type' => 'string', 'example' => '空', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries returned on each page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'PageNumber' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'Code' => ['description' => 'The system status code.', 'type' => 'string', 'example' => '200', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n" + ."\n" + .'- true: The request was successful.'."\n" + ."\n" + .'- false: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'ReportNotExist', - 'errorMessage' => 'The report does not exist.', - ], + ['errorCode' => 'Code', 'errorMessage' => 'The specified parameter is invalid.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 100,\\n \\"RequestId\\": \\"A8E16480-15C1-555A-922F-B736A005E52D\\",\\n \\"Message\\": \\"\\",\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"Logs\\": [\\n {\\n \\"timeTS\\": 1720492300643,\\n \\"level\\": \\"INFO\\",\\n \\"logger\\": \\"org.apache.jmeter.JMeter\\",\\n \\"thread\\": \\"main\\",\\n \\"logText\\": \\"os.version=4.18.0-348.2.1.el8_5.x86_64\\\\n\\",\\n \\"instanceId\\": 0,\\n \\"time\\": \\"2024-07-09T10:31Z\\"\\n }\\n ],\\n \\"Code\\": \\"\\",\\n \\"Success\\": true,\\n \\"AgentCount\\": 3\\n}","errorExample":""},{"type":"xml","example":"<GetJMeterLogsResponse>\\n <TotalCount>100</TotalCount>\\n <RequestId>A8E16480-15C1-555A-922F-B736A005E52D</RequestId>\\n <Message>空</Message>\\n <PageSize>10</PageSize>\\n <PageNumber>1</PageNumber>\\n <Logs/>\\n <Code>200</Code>\\n <Success>true</Success>\\n <AgentCount>3</AgentCount>\\n</GetJMeterLogsResponse>","errorExample":""}]', - 'title' => 'GetJMeterLogs', - ], - 'GetJMeterSampleMetrics' => [ - 'summary' => 'Queries the metrics of JMeter samplers based on specified conditions.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'GetUserVpcSecurityGroup', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"SecurityGroupCount\\": 9,\\n \\"SecurityGroupList\\": [\\n {\\n \\"VpcId\\": \\"vpc-uf6tar2ohlasdhsatjln37h30bv\\",\\n \\"Description\\": \\"空\\",\\n \\"SecurityGroupId\\": \\"sg-bp16bt3zuugxpfjkasdfvthxth8\\",\\n \\"SecurityGroupName\\": \\"my-security-group\\"\\n }\\n ],\\n \\"RequestId\\": \\"61B15017-1A68-5C47-834F-87E2BBC44F2C\\",\\n \\"Message\\": \\"空\\",\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'summary' => '', + ], + 'GetUserVpcVSwitch' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5356,126 +2924,97 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'ReportId', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'title' => '报告ID', - 'description' => 'The report ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '7R4RE352', - ], + 'schema' => ['description' => 'The page number for a paged query.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '2147483646', 'minimum' => '1', 'title' => '', 'example' => '1'], ], [ - 'name' => 'BeginTime', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'title' => '开始时间', - 'description' => 'The beginning of the time range to query.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1637157070000', - ], + 'schema' => ['description' => 'The number of records to display on each page.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '100', 'minimum' => '1', 'title' => '', 'example' => '1'], ], [ - 'name' => 'EndTime', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'title' => '结束时间', - 'description' => 'The end of the time range to query.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1637157073000', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cn-hangzhou'], ], [ - 'name' => 'SamplerId', + 'name' => 'VpcId', 'in' => 'query', - 'schema' => [ - 'title' => '采样器索引,从0开始。-1返回全场景', - 'description' => 'The sampler ID. This parameter value starts from 0. If this parameter value is -1, the data of the whole scenario is returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '0', - ], + 'schema' => ['description' => 'The virtual private cloud (VPC) ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'vpc-2ze22scdz2ebdfjasdfjkqhf4pyj'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The sample response.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'A8E16480-15C1-555A-922F-B736A005E52D', - ], - 'Message' => [ - 'description' => 'The returned message. If the request was successful, this parameter is left empty.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'SampleMetricList' => [ - 'title' => '采样器聚合数据列表', - 'description' => 'The metrics of the samplers.'."\n", + 'VSwitchCount' => ['description' => 'The number of vSwitches.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '6'], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '0235E5FC-4C7C-5F0C-843C-FC674F15F947'], + 'Message' => ['description' => 'The error message. This parameter is empty if the request is successful.', 'type' => 'string', 'title' => '', 'example' => '空'], + 'PageSize' => ['description' => 'The number of records displayed on each page.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '5'], + 'PageNumber' => ['description' => 'The page number for a paged query.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], + 'VSwitchList' => [ + 'description' => 'The list of vSwitches.', 'type' => 'array', 'items' => [ - 'description' => 'The metrics of the samplers.'."\n", - 'type' => 'string', - 'example' => '[ { "statusCodes":[ { "count":26, "name":"200" } ], "reqFailureRtMin":0, "requestBps":2389, "requestBytes":3536, "reqSuccessCount":26, "reqSuccessRtMin":12, "reqSuccessRtAvg":21, "reqSuccessTps":17.56756756756757, "rtMin":12, "rtAvg":21, "totalCount":26, "concurrency":103.0, "bucket":"d9fb4ee42f0e8eb3", "reqFailureCount":0, "reqFailureRtMax":0, "responseBytes":64922, "reqFailureTps":0.0, "tps":17.56756756756757, "responseBps":43866, "reqSuccessRtMax":30, "totalVum":13, "rtMax":30, "taskId":1475183, "timestamp":1649681740000 }, { "statusCodes":[ { "count":13, "name":"200" } ], "reqFailureRtMin":0, "requestBps":1782, "requestBytes":5304, "reqSuccessCount":13, "reqSuccessRtMin":11, "reqSuccessRtAvg":23, "reqSuccessTps":13.10483870967742, "rtMin":11, "rtAvg":24, "totalCount":13, "concurrency":411.0, "bucket":"d9fb4ee42f0e8eb3", "reqFailureCount":0, "reqFailureRtMax":0, "responseBytes":97383, "reqFailureTps":0.0, "tps":13.10483870967742, "responseBps":32723, "reqSuccessRtMax":37, "totalVum":21, "rtMax":37, "taskId":1475183, "timestamp":1649681741000 }, { "statusCodes":[ { "count":7, "name":"200" } ], "reqFailureRtMin":0, "requestBps":952, "requestBytes":6256, "reqSuccessCount":7, "reqSuccessRtMin":19, "reqSuccessRtAvg":20, "reqSuccessTps":7.0, "rtMin":19, "rtAvg":20, "totalCount":7, "concurrency":500.0, "bucket":"d9fb4ee42f0e8eb3", "reqFailureCount":0, "reqFailureRtMax":0, "responseBytes":114862, "reqFailureTps":0.0, "tps":7.0, "responseBps":17479, "reqSuccessRtMax":21, "totalVum":29, "rtMax":21, "taskId":1475183, "timestamp":1649681742000 }, { "statusCodes":[ { "count":12, "name":"200" } ], "reqFailureRtMin":0, "requestBps":1632, "requestBytes":7888, "reqSuccessCount":12, "reqSuccessRtMin":15, "reqSuccessRtAvg":24, "reqSuccessTps":12.0, "rtMin":15, "rtAvg":25, "totalCount":12, "concurrency":500.0, "bucket":"d9fb4ee42f0e8eb3", "reqFailureCount":0, "reqFailureRtMax":0, "responseBytes":144826, "reqFailureTps":0.0, "tps":12.0, "responseBps":29964, "reqSuccessRtMax":45, "totalVum":38, "rtMax":45, "taskId":1475183, "timestamp":1649681743000 }, { "statusCodes":[ { "count":10, "name":"200" } ], "reqFailureRtMin":0, "requestBps":1360, "requestBytes":9248, "reqSuccessCount":10, "reqSuccessRtMin":14, "reqSuccessRtAvg":21, "reqSuccessTps":10.0, "rtMin":14, "rtAvg":22, "totalCount":10, "concurrency":500.0, "bucket":"d9fb4ee42f0e8eb3", "reqFailureCount":0, "reqFailureRtMax":0, "responseBytes":169796, "reqFailureTps":0.0, "tps":10.0, "responseBps":24970, "reqSuccessRtMax":29, "totalVum":46, "rtMax":29, "taskId":1475183, "timestamp":1649681744000 }, { "statusCodes":[ { "count":9, "name":"200" } ], "reqFailureRtMin":0, "requestBps":1224, "requestBytes":10472, "reqSuccessCount":9, "reqSuccessRtMin":11, "reqSuccessRtAvg":23, "reqSuccessTps":9.0, "rtMin":11, "rtAvg":23, "totalCount":9, "concurrency":500.0, "bucket":"d9fb4ee42f0e8eb3", "reqFailureCount":0, "reqFailureRtMax":0, "responseBytes":192269, "reqFailureTps":0.0, "tps":9.0, "responseBps":22473, "reqSuccessRtMax":45, "totalVum":54, "rtMax":45, "taskId":1475183, "timestamp":1649681745000 }, { "statusCodes":[ { "count":14, "name":"200" } ], "reqFailureRtMin":0, "requestBps":1904, "requestBytes":12376, "reqSuccessCount":14, "reqSuccessRtMin":10, "reqSuccessRtAvg":20, "reqSuccessTps":14.0, "rtMin":10, "rtAvg":21, "totalCount":14, "concurrency":500.0, "bucket":"d9fb4ee42f0e8eb3", "reqFailureCount":0, "reqFailureRtMax":0, "responseBytes":227227, "reqFailureTps":0.0, "tps":14.0, "responseBps":34958, "reqSuccessRtMax":34, "totalVum":63, "rtMax":34, "taskId":1475183, "timestamp":1649681746000 }]', + 'description' => 'The vSwitch information.', + 'type' => 'object', + 'properties' => [ + 'VpcId' => ['description' => 'The VPC ID.', 'type' => 'string', 'title' => '', 'example' => 'vpc-wz9bpdaebft6j23fesdf84v2f1um3a'], + 'MaxAgentCount' => ['description' => 'The maximum number of pressure-testing agents that can be added.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1000'], + 'AvailableIpAddressCount' => ['description' => 'The number of available IP addresses in the vSwitch.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1000'], + 'VSwitchId' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'title' => '', 'example' => 'vsw-bp1eil9df23rsd8l1sevebiszooj'], + 'VSwitchName' => ['description' => 'The name of the virtual switch.', 'type' => 'string', 'title' => '', 'example' => 'my-vswitch'], + ], + 'title' => '', ], - ], - 'SamplerMap' => [ - 'title' => '采样器列表,可根据该列表传递需要查询的采样器', - 'description' => 'The sampler list. You can find the sampler to be queried based on this list.'."\n", - 'type' => 'object', - 'example' => '{0:"Http Request"}', - ], - 'Code' => [ - 'description' => 'The system status code.'."\n", - 'type' => 'string', - 'example' => '200', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'title' => '', + ], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '200'], + 'Code' => ['description' => 'The system status code.', 'type' => 'string', 'title' => '', 'example' => '200'], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n" + ."\n" + .'- true: The request was successful.'."\n" + .'- false: The request failed.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], ], + 'description' => '', + 'title' => '', ], ], ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'ReportNotExist', - 'errorMessage' => 'The report does not exist.', + ['errorCode' => 'Code', 'errorMessage' => 'The specified parameter is invalid.', 'description' => ''], + ], + ], + 'title' => 'GetUserVpcVSwitch', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pts:GetUserVpcVSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PTS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A8E16480-15C1-555A-922F-B736A005E52D\\",\\n \\"Message\\": \\"空\\",\\n \\"SampleMetricList\\": [\\n \\"[ { \\\\\\"statusCodes\\\\\\":[ { \\\\\\"count\\\\\\":26, \\\\\\"name\\\\\\":\\\\\\"200\\\\\\" } ], \\\\\\"reqFailureRtMin\\\\\\":0, \\\\\\"requestBps\\\\\\":2389, \\\\\\"requestBytes\\\\\\":3536, \\\\\\"reqSuccessCount\\\\\\":26, \\\\\\"reqSuccessRtMin\\\\\\":12, \\\\\\"reqSuccessRtAvg\\\\\\":21, \\\\\\"reqSuccessTps\\\\\\":17.56756756756757, \\\\\\"rtMin\\\\\\":12, \\\\\\"rtAvg\\\\\\":21, \\\\\\"totalCount\\\\\\":26, \\\\\\"concurrency\\\\\\":103.0, \\\\\\"bucket\\\\\\":\\\\\\"d9fb4ee42f0e8eb3\\\\\\", \\\\\\"reqFailureCount\\\\\\":0, \\\\\\"reqFailureRtMax\\\\\\":0, \\\\\\"responseBytes\\\\\\":64922, \\\\\\"reqFailureTps\\\\\\":0.0, \\\\\\"tps\\\\\\":17.56756756756757, \\\\\\"responseBps\\\\\\":43866, \\\\\\"reqSuccessRtMax\\\\\\":30, \\\\\\"totalVum\\\\\\":13, \\\\\\"rtMax\\\\\\":30, \\\\\\"taskId\\\\\\":1475183, \\\\\\"timestamp\\\\\\":1649681740000 }, { \\\\\\"statusCodes\\\\\\":[ { \\\\\\"count\\\\\\":13, \\\\\\"name\\\\\\":\\\\\\"200\\\\\\" } ], \\\\\\"reqFailureRtMin\\\\\\":0, \\\\\\"requestBps\\\\\\":1782, \\\\\\"requestBytes\\\\\\":5304, \\\\\\"reqSuccessCount\\\\\\":13, \\\\\\"reqSuccessRtMin\\\\\\":11, \\\\\\"reqSuccessRtAvg\\\\\\":23, \\\\\\"reqSuccessTps\\\\\\":13.10483870967742, \\\\\\"rtMin\\\\\\":11, \\\\\\"rtAvg\\\\\\":24, \\\\\\"totalCount\\\\\\":13, \\\\\\"concurrency\\\\\\":411.0, \\\\\\"bucket\\\\\\":\\\\\\"d9fb4ee42f0e8eb3\\\\\\", \\\\\\"reqFailureCount\\\\\\":0, \\\\\\"reqFailureRtMax\\\\\\":0, \\\\\\"responseBytes\\\\\\":97383, \\\\\\"reqFailureTps\\\\\\":0.0, \\\\\\"tps\\\\\\":13.10483870967742, \\\\\\"responseBps\\\\\\":32723, \\\\\\"reqSuccessRtMax\\\\\\":37, \\\\\\"totalVum\\\\\\":21, \\\\\\"rtMax\\\\\\":37, \\\\\\"taskId\\\\\\":1475183, \\\\\\"timestamp\\\\\\":1649681741000 }, { \\\\\\"statusCodes\\\\\\":[ { \\\\\\"count\\\\\\":7, \\\\\\"name\\\\\\":\\\\\\"200\\\\\\" } ], \\\\\\"reqFailureRtMin\\\\\\":0, \\\\\\"requestBps\\\\\\":952, \\\\\\"requestBytes\\\\\\":6256, \\\\\\"reqSuccessCount\\\\\\":7, \\\\\\"reqSuccessRtMin\\\\\\":19, \\\\\\"reqSuccessRtAvg\\\\\\":20, \\\\\\"reqSuccessTps\\\\\\":7.0, \\\\\\"rtMin\\\\\\":19, \\\\\\"rtAvg\\\\\\":20, \\\\\\"totalCount\\\\\\":7, \\\\\\"concurrency\\\\\\":500.0, \\\\\\"bucket\\\\\\":\\\\\\"d9fb4ee42f0e8eb3\\\\\\", \\\\\\"reqFailureCount\\\\\\":0, \\\\\\"reqFailureRtMax\\\\\\":0, \\\\\\"responseBytes\\\\\\":114862, \\\\\\"reqFailureTps\\\\\\":0.0, \\\\\\"tps\\\\\\":7.0, \\\\\\"responseBps\\\\\\":17479, \\\\\\"reqSuccessRtMax\\\\\\":21, \\\\\\"totalVum\\\\\\":29, \\\\\\"rtMax\\\\\\":21, \\\\\\"taskId\\\\\\":1475183, \\\\\\"timestamp\\\\\\":1649681742000 }, { \\\\\\"statusCodes\\\\\\":[ { \\\\\\"count\\\\\\":12, \\\\\\"name\\\\\\":\\\\\\"200\\\\\\" } ], \\\\\\"reqFailureRtMin\\\\\\":0, \\\\\\"requestBps\\\\\\":1632, \\\\\\"requestBytes\\\\\\":7888, \\\\\\"reqSuccessCount\\\\\\":12, \\\\\\"reqSuccessRtMin\\\\\\":15, \\\\\\"reqSuccessRtAvg\\\\\\":24, \\\\\\"reqSuccessTps\\\\\\":12.0, \\\\\\"rtMin\\\\\\":15, \\\\\\"rtAvg\\\\\\":25, \\\\\\"totalCount\\\\\\":12, \\\\\\"concurrency\\\\\\":500.0, \\\\\\"bucket\\\\\\":\\\\\\"d9fb4ee42f0e8eb3\\\\\\", \\\\\\"reqFailureCount\\\\\\":0, \\\\\\"reqFailureRtMax\\\\\\":0, \\\\\\"responseBytes\\\\\\":144826, \\\\\\"reqFailureTps\\\\\\":0.0, \\\\\\"tps\\\\\\":12.0, \\\\\\"responseBps\\\\\\":29964, \\\\\\"reqSuccessRtMax\\\\\\":45, \\\\\\"totalVum\\\\\\":38, \\\\\\"rtMax\\\\\\":45, \\\\\\"taskId\\\\\\":1475183, \\\\\\"timestamp\\\\\\":1649681743000 }, { \\\\\\"statusCodes\\\\\\":[ { \\\\\\"count\\\\\\":10, \\\\\\"name\\\\\\":\\\\\\"200\\\\\\" } ], \\\\\\"reqFailureRtMin\\\\\\":0, \\\\\\"requestBps\\\\\\":1360, \\\\\\"requestBytes\\\\\\":9248, \\\\\\"reqSuccessCount\\\\\\":10, \\\\\\"reqSuccessRtMin\\\\\\":14, \\\\\\"reqSuccessRtAvg\\\\\\":21, \\\\\\"reqSuccessTps\\\\\\":10.0, \\\\\\"rtMin\\\\\\":14, \\\\\\"rtAvg\\\\\\":22, \\\\\\"totalCount\\\\\\":10, \\\\\\"concurrency\\\\\\":500.0, \\\\\\"bucket\\\\\\":\\\\\\"d9fb4ee42f0e8eb3\\\\\\", \\\\\\"reqFailureCount\\\\\\":0, \\\\\\"reqFailureRtMax\\\\\\":0, \\\\\\"responseBytes\\\\\\":169796, \\\\\\"reqFailureTps\\\\\\":0.0, \\\\\\"tps\\\\\\":10.0, \\\\\\"responseBps\\\\\\":24970, \\\\\\"reqSuccessRtMax\\\\\\":29, \\\\\\"totalVum\\\\\\":46, \\\\\\"rtMax\\\\\\":29, \\\\\\"taskId\\\\\\":1475183, \\\\\\"timestamp\\\\\\":1649681744000 }, { \\\\\\"statusCodes\\\\\\":[ { \\\\\\"count\\\\\\":9, \\\\\\"name\\\\\\":\\\\\\"200\\\\\\" } ], \\\\\\"reqFailureRtMin\\\\\\":0, \\\\\\"requestBps\\\\\\":1224, \\\\\\"requestBytes\\\\\\":10472, \\\\\\"reqSuccessCount\\\\\\":9, \\\\\\"reqSuccessRtMin\\\\\\":11, \\\\\\"reqSuccessRtAvg\\\\\\":23, \\\\\\"reqSuccessTps\\\\\\":9.0, \\\\\\"rtMin\\\\\\":11, \\\\\\"rtAvg\\\\\\":23, \\\\\\"totalCount\\\\\\":9, \\\\\\"concurrency\\\\\\":500.0, \\\\\\"bucket\\\\\\":\\\\\\"d9fb4ee42f0e8eb3\\\\\\", \\\\\\"reqFailureCount\\\\\\":0, \\\\\\"reqFailureRtMax\\\\\\":0, \\\\\\"responseBytes\\\\\\":192269, \\\\\\"reqFailureTps\\\\\\":0.0, \\\\\\"tps\\\\\\":9.0, \\\\\\"responseBps\\\\\\":22473, \\\\\\"reqSuccessRtMax\\\\\\":45, \\\\\\"totalVum\\\\\\":54, \\\\\\"rtMax\\\\\\":45, \\\\\\"taskId\\\\\\":1475183, \\\\\\"timestamp\\\\\\":1649681745000 }, { \\\\\\"statusCodes\\\\\\":[ { \\\\\\"count\\\\\\":14, \\\\\\"name\\\\\\":\\\\\\"200\\\\\\" } ], \\\\\\"reqFailureRtMin\\\\\\":0, \\\\\\"requestBps\\\\\\":1904, \\\\\\"requestBytes\\\\\\":12376, \\\\\\"reqSuccessCount\\\\\\":14, \\\\\\"reqSuccessRtMin\\\\\\":10, \\\\\\"reqSuccessRtAvg\\\\\\":20, \\\\\\"reqSuccessTps\\\\\\":14.0, \\\\\\"rtMin\\\\\\":10, \\\\\\"rtAvg\\\\\\":21, \\\\\\"totalCount\\\\\\":14, \\\\\\"concurrency\\\\\\":500.0, \\\\\\"bucket\\\\\\":\\\\\\"d9fb4ee42f0e8eb3\\\\\\", \\\\\\"reqFailureCount\\\\\\":0, \\\\\\"reqFailureRtMax\\\\\\":0, \\\\\\"responseBytes\\\\\\":227227, \\\\\\"reqFailureTps\\\\\\":0.0, \\\\\\"tps\\\\\\":14.0, \\\\\\"responseBps\\\\\\":34958, \\\\\\"reqSuccessRtMax\\\\\\":34, \\\\\\"totalVum\\\\\\":63, \\\\\\"rtMax\\\\\\":34, \\\\\\"taskId\\\\\\":1475183, \\\\\\"timestamp\\\\\\":1649681746000 }]\\"\\n ],\\n \\"SamplerMap\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<GetJMeterSampleMetricsResponse>\\n <RequestId>A8E16480-15C1-555A-922F-B736A005E52D</RequestId>\\n <Message>空</Message>\\n <SampleMetricList>[{ \\"statusCodes\\":Array[1], \\"requestBytes\\":1001638, \\"reqFailureCount\\":0, \\"bucket\\":\\"e29e69b15e584bef\\", \\"reqFailureTps\\":0, \\"nodeId\\":0, \\"rtMax\\":698, \\"reqFailureRtMin\\":0, \\"reqSuccessTps\\":4132.800798801797, \\"rtAvg\\":55, \\"totalCount\\":8278, \\"rtMin\\":29, \\"reqFailureRtMax\\":0, \\"timestamp\\":1637308496000, \\"requestBps\\":500069, \\"reqSuccessCount\\":8278, \\"reqSuccessRtAvg\\":55, \\"reqSuccessRtMin\\":29, \\"responseBytes\\":20670166, \\"tps\\":4132.800798801797, \\"responseBps\\":10319604, \\"reqSuccessRtMax\\":698, \\"taskId\\":1214920 }]</SampleMetricList>\\n <Code>200</Code>\\n <Success>true</Success>\\n</GetJMeterSampleMetricsResponse>","errorExample":""}]', - 'title' => 'GetJMeterSampleMetrics', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"VSwitchCount\\": 6,\\n \\"RequestId\\": \\"0235E5FC-4C7C-5F0C-843C-FC674F15F947\\",\\n \\"Message\\": \\"空\\",\\n \\"PageSize\\": 5,\\n \\"PageNumber\\": 1,\\n \\"VSwitchList\\": [\\n {\\n \\"VpcId\\": \\"vpc-wz9bpdaebft6j23fesdf84v2f1um3a\\",\\n \\"MaxAgentCount\\": 1000,\\n \\"AvailableIpAddressCount\\": 1000,\\n \\"VSwitchId\\": \\"vsw-bp1eil9df23rsd8l1sevebiszooj\\",\\n \\"VSwitchName\\": \\"my-vswitch\\"\\n }\\n ],\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'summary' => '', ], - 'GetJMeterSamplingLogs' => [ - 'summary' => 'Queries the sampling logs of a JMeter sampler.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetUserVpcs' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5483,263 +3022,252 @@ [ 'APP' => [], ], - [ - 'PrivateKey' => [], - ], - [ - 'BearerToken' => [], - ], ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => 'The page number.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '10000000', - 'minimum' => '1', - 'example' => '1', - ], + 'schema' => ['description' => 'The page number for a paged query.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '2147483646', 'minimum' => '1', 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '200', - 'minimum' => '1', - 'example' => '10', - ], - ], - [ - 'name' => 'BeginTime', - 'in' => 'query', - 'schema' => [ - 'title' => '开始时间', - 'description' => 'The beginning of the time range to query. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => true, - 'example' => '1637157073000', - ], + 'schema' => ['description' => 'The number of entries to display on each page.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '100', 'minimum' => '1', 'example' => '1', 'title' => ''], ], [ - 'name' => 'EndTime', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'title' => '结束时间', - 'description' => 'The end of the time range to query. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => true, - 'example' => '1637157076000', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'ReportId', + 'name' => 'VpcId', 'in' => 'query', - 'schema' => [ - 'title' => '报告ID', - 'description' => 'The ID of the report.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '7R4RE352', - ], + 'schema' => ['description' => 'The virtual private cloud (VPC) ID.', 'type' => 'string', 'required' => false, 'example' => 'vpc-2ze22asdfuwiea2ebjkqhf4pyj', 'title' => ''], ], - [ - 'name' => 'AgentId', - 'in' => 'query', - 'schema' => [ - 'title' => '压测引擎编号', - 'description' => 'The ID of the load generator. This parameter is disabled.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '14238000', - ], - ], - [ - 'name' => 'SamplerId', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '第几个采样器,从0开始', - 'description' => 'The ID of the sampler. The value starts from 0.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '0', + 'type' => 'object', + 'properties' => [ + 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], + 'Vpcs' => [ + 'description' => 'The list of VPCs.', + 'type' => 'array', + 'items' => [ + 'description' => 'The details of the VPC.', + 'type' => 'object', + 'properties' => [ + 'VpcId' => ['description' => 'The VPC ID.', 'type' => 'string', 'example' => 'vpc-uf6gc56wdjpafoiwej6adqb4qn72xtw', 'title' => ''], + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'VpcName' => ['description' => 'The name of the VPC.', 'type' => 'string', 'example' => 'shanghai-vpc', 'title' => ''], + 'CidrBlock' => ['description' => 'The IPv4 CIDR block of the VPC.', 'type' => 'string', 'example' => '172.16.80.0/20', 'title' => ''], + 'Description' => ['description' => 'The description of the VPC.', 'type' => 'string', 'example' => '空', 'title' => ''], + 'ResourceGroupId' => ['description' => 'The ID of the resource group to which the VPC belongs.', 'type' => 'string', 'example' => 'rg-acfm3fzmgkehpewjertna', 'title' => ''], + 'VSwitchIds' => [ + 'description' => 'The list of vSwitches.', + 'type' => 'array', + 'items' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'example' => 'vsw-bp1s21fe8r3esdslplvcv5240', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'RouterTableIds' => [ + 'description' => 'The list of route table IDs.', + 'type' => 'array', + 'items' => ['description' => 'The route table ID.', 'type' => 'string', 'example' => 'vtb-bp11tkmteho3svealseipea6h', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'CEE46204-E1CF-5F48-B094-67362DD4B73F', 'title' => ''], + 'Message' => ['description' => 'The error message. This is empty if the request is successful.', 'type' => 'string', 'example' => '空', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries displayed on each page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'PageNumber' => ['description' => 'The page number for a paged query.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'Code' => ['description' => 'The system status code.', 'type' => 'string', 'example' => '200', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n" + ."\n" + .'- true: The request was successful.'."\n" + ."\n" + .'- false: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'Success', - 'in' => 'query', - 'schema' => [ - 'title' => '采样结果是否成功', - 'description' => 'Specifies whether the sampling is successful.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + ], + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'Code', 'errorMessage' => 'The specified parameter is invalid.', 'description' => ''], ], + ], + 'title' => 'GetUserVpcs', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 100,\\n \\"Vpcs\\": [\\n {\\n \\"VpcId\\": \\"vpc-uf6gc56wdjpafoiwej6adqb4qn72xtw\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"VpcName\\": \\"shanghai-vpc\\",\\n \\"CidrBlock\\": \\"172.16.80.0/20\\",\\n \\"Description\\": \\"空\\",\\n \\"ResourceGroupId\\": \\"rg-acfm3fzmgkehpewjertna\\",\\n \\"VSwitchIds\\": [\\n \\"vsw-bp1s21fe8r3esdslplvcv5240\\"\\n ],\\n \\"RouterTableIds\\": [\\n \\"vtb-bp11tkmteho3svealseipea6h\\"\\n ]\\n }\\n ],\\n \\"RequestId\\": \\"CEE46204-E1CF-5F48-B094-67362DD4B73F\\",\\n \\"Message\\": \\"空\\",\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'summary' => '', + ], + 'ListEnvs' => [ + 'summary' => 'Lists JMeter environments based on specified conditions.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Thread', - 'in' => 'query', - 'schema' => [ - 'title' => '线程', - 'description' => 'The name of the thread. Fuzzy searching is supported. If you specify multiple threads, separate the threads with spaces.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'main', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ [ - 'name' => 'Keyword', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'title' => '关键字', - 'description' => 'The keyword. You can use the keyword in the value of **SceneName** for fuzzy searching or use the value of **SceneID** for exact searching.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => 'The number of the page to return.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '10000000', 'minimum' => '1', 'example' => '1', 'title' => ''], ], [ - 'name' => 'MinRT', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'title' => '最小响应时间,单位ms', - 'description' => 'The minimum response time. Unit: ms.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '0', - ], + 'schema' => ['description' => 'The number of environments to return on each page.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '200', 'minimum' => '5', 'example' => '10', 'title' => ''], ], [ - 'name' => 'MaxRT', + 'name' => 'EnvId', 'in' => 'query', - 'schema' => [ - 'title' => '最大响应时间,单位ms', - 'description' => 'The maximum response time. Unit: ms.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1000', - ], + 'schema' => ['description' => 'The ID of the environment to query. This is a term query.', 'type' => 'string', 'example' => '10YPA8H', 'title' => '', 'required' => false], ], [ - 'name' => 'ResponseCode', + 'name' => 'EnvName', 'in' => 'query', - 'schema' => [ - 'description' => 'The response code.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '200', - ], + 'schema' => ['description' => 'The keyword in the name of the environment to query. This is a fuzzy query.', 'type' => 'string', 'example' => 'test-create', 'title' => '', 'required' => false], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The sample response.'."\n", + 'description' => 'The sample response.', 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => 'The total number of log entries.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'A8E16480-15C1-555A-922F-B736A005E52D', - ], - 'Message' => [ - 'description' => 'The error message. If the operation is successful, this parameter is not returned.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'PageSize' => [ - 'description' => 'The number of log entries per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'PageNumber' => [ - 'description' => 'The page number.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code. If the operation is successful, this parameter is not returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'SampleResults' => [ - 'title' => '采样器的采样结果', - 'description' => 'The sampling results of the sampler.'."\n", + 'TotalCount' => ['description' => 'The total number of environments that were found.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'A8E16480-15C1-555A-922F-B736A005E52D', 'title' => ''], + 'Message' => ['description' => 'The error message. This parameter is not returned if the request is successful.', 'type' => 'string', 'title' => '', 'example' => ''], + 'PageSize' => ['description' => 'The number of returned environments.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'PageNumber' => ['description' => 'The number of the returned page.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'Envs' => [ + 'title' => '', + 'description' => 'The list of environments.', 'type' => 'array', 'items' => [ - 'description' => 'The sampling result.'."\n", - 'type' => 'string', + 'description' => 'The environment details.', + 'type' => 'object', + 'properties' => [ + 'CreateTime' => ['description' => 'The time when the environment was created.', 'type' => 'integer', 'format' => 'int64', 'example' => '1637053715165', 'title' => ''], + 'RunningScenes' => [ + 'title' => '', + 'description' => 'The IDs of running scenarios.', + 'type' => 'array', + 'items' => ['description' => 'The scenario ID details.', 'type' => 'string', 'example' => '[10YPA8H, 0PYP8WH]', 'title' => ''], + 'example' => '', + ], + 'EnvVersion' => ['description' => 'The JMeter version that the environment uses.', 'type' => 'string', 'example' => '5.0', 'title' => ''], + 'ModifiedTime' => ['description' => 'The time when the environment was last modified.', 'type' => 'integer', 'format' => 'int64', 'example' => '1637053719165', 'title' => ''], + 'Files' => [ + 'title' => '', + 'description' => 'The included JAR packages.', + 'type' => 'array', + 'items' => [ + 'description' => 'The file details.', + 'type' => 'object', + 'properties' => [ + 'FileSize' => ['description' => 'The file size, in bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '788', 'title' => ''], + 'Md5' => ['description' => 'The MD5 hash of the JAR package.', 'type' => 'string', 'example' => '43B584026CE5E570F3DE638FA7EEF9E0', 'title' => ''], + 'FileName' => ['description' => 'The file name.', 'type' => 'string', 'example' => 'json.jar', 'title' => ''], + 'FileOssAddress' => ['description' => 'The OSS address of the file.', 'type' => 'string', 'example' => 'https://test.oss-cn-shanghai.aliyuncs.com/json.jar', 'title' => ''], + 'FileId' => ['description' => 'The file ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '61660', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'example' => '', + ], + 'RelatedScenes' => [ + 'title' => '', + 'description' => 'The associated scenarios.', + 'type' => 'array', + 'items' => ['description' => 'The details of the associated scenarios.', 'type' => 'string', 'example' => '[10YPA8H, 0PYP8WH]', 'title' => ''], + 'example' => '', + ], + 'UsedCapacity' => ['description' => 'The total size of the environment files.', 'type' => 'integer', 'format' => 'int64', 'example' => '26668', 'title' => ''], + 'EnvName' => ['description' => 'The environment name.', 'type' => 'string', 'example' => 'test-create', 'title' => ''], + 'EnvId' => ['description' => 'The environment ID.', 'type' => 'string', 'example' => '86S1LH', 'title' => ''], + 'Properties' => [ + 'title' => '', + 'description' => 'The JMeter properties.', + 'type' => 'array', + 'items' => [ + 'description' => 'The property details.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The property name.', 'type' => 'string', 'example' => 'remote_hosts', 'title' => ''], + 'Value' => ['description' => 'The property value.', 'type' => 'string', 'example' => '127.0.0.1', 'title' => ''], + 'Description' => ['description' => 'The description.', 'type' => 'string', 'example' => 'Remote host', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'example' => '', + ], + ], + 'title' => '', 'example' => '', ], + 'example' => '', ], - 'Code' => [ - 'description' => 'The system status code. If the operation is successful, this parameter is not returned.'."\n", - 'type' => 'string', - 'example' => '200', - ], - 'Success' => [ - 'description' => 'Indicates whether the operation is successful. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'HttpStatusCode' => ['description' => 'The HTTP status code. This parameter is not returned if the request is successful.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => ''], + 'Code' => ['description' => 'The system status code. This parameter is not returned if the request is successful.', 'type' => 'string', 'title' => '', 'example' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n" + ."\n" + .'- true: The request was successful.'."\n" + ."\n" + .'- false: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ - 403 => [ - [ - 'errorCode' => 'ReportNotExist', - 'errorMessage' => 'The report does not exist.', - ], + 503 => [ + ['errorCode' => 'EnvNotExist', 'errorMessage' => 'The env does not exist.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 100,\\n \\"RequestId\\": \\"A8E16480-15C1-555A-922F-B736A005E52D\\",\\n \\"Message\\": \\"\\",\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"HttpStatusCode\\": 0,\\n \\"SampleResults\\": [\\n \\"{ \\\\\\"assertionResults\\\\\\":[], \\\\\\"endTimeTS\\\\\\":1650280351514, \\\\\\"dataEncoding\\\\\\":\\\\\\"utf-8\\\\\\", \\\\\\"latency\\\\\\":11, \\\\\\"samplerData\\\\\\":\\\\\\"GET http://testdomain/\\\\\\\\n\\\\\\\\nGET data:\\\\\\\\n\\\\\\\\n\\\\\\\\n[no cookies]\\\\\\\\n\\\\\\", \\\\\\"httpMethod\\\\\\":\\\\\\"GET\\\\\\", \\\\\\"subResults\\\\\\":[], \\\\\\"idleTime\\\\\\":0, \\\\\\"cookies\\\\\\":\\\\\\"\\\\\\", \\\\\\"responseCode\\\\\\":\\\\\\"200\\\\\\", \\\\\\"responseDataAsString\\\\\\":\\\\\\"response data\\\\\\", \\\\\\"startTimeTS\\\\\\":1650280351503, \\\\\\"requestByteCount\\\\\\":136, \\\\\\"instanceId\\\\\\":0, \\\\\\"samplerId\\\\\\":0, \\\\\\"connectTime\\\\\\":0, \\\\\\"sceneId\\\\\\":276685, \\\\\\"startTime\\\\\\":\\\\\\"2022-04-18T19:12Z\\\\\\", \\\\\\"planId\\\\\\":1736797, \\\\\\"requestData\\\\\\":\\\\\\"\\\\\\", \\\\\\"contentType\\\\\\":\\\\\\"text/html\\\\\\", \\\\\\"responseDataTruncated\\\\\\":false, \\\\\\"dataType\\\\\\":\\\\\\"text\\\\\\", \\\\\\"mediaType\\\\\\":\\\\\\"text/html\\\\\\", \\\\\\"requestDataTruncated\\\\\\":false, \\\\\\"responseByteCount\\\\\\":2497, \\\\\\"threadName\\\\\\":\\\\\\"线程组 1-1\\\\\\", \\\\\\"url\\\\\\":\\\\\\"http:/testdomain\\\\\\", \\\\\\"requestHeaders\\\\\\":\\\\\\"Connection: keep-alive\\\\\\\\nx-pts-test: 1\\\\\\\\nHost: testdomain\\\\\\\\nUser-Agent: Apache-HttpClient/4.5.6 (Java/11.0.7.7-AJDK)\\\\\\\\n\\\\\\", \\\\\\"responseHeaders\\\\\\":\\\\\\"HTTP/1.1 200 OK\\\\\\\\nContent-Length: 2381\\\\\\\\nContent-Type: text/html\\\\\\\\nServer: bfe\\\\\\\\nDate: Mon, 18 Apr 2022 11:12:31 GMT\\\\\\\\n\\\\\\", \\\\\\"success\\\\\\":true, \\\\\\"headersSize\\\\\\":116, \\\\\\"bodySize\\\\\\":2381, \\\\\\"endTime\\\\\\":\\\\\\"2022-04-18T19:12Z\\\\\\", \\\\\\"responseMessage\\\\\\":\\\\\\"OK\\\\\\", \\\\\\"taskId\\\\\\":17367970000, \\\\\\"elapsedTime\\\\\\":11 }\\"\\n ],\\n \\"Code\\": \\"\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<GetJMeterSamplingLogsResponse>\\n <TotalCount>100</TotalCount>\\n <RequestId>A8E16480-15C1-555A-922F-B736A005E52D</RequestId>\\n <Message>空</Message>\\n <PageSize>10</PageSize>\\n <PageNumber>1</PageNumber>\\n <HttpStatusCode>200</HttpStatusCode>\\n <SampleResults>{endTimeTS=1637308494609, dataEncoding=utf-8, latency=35, samplerData=GET http://www.baidu.com/, httpMethod=GET, idleTime=0, responseCode=200, responseDataAsString=你就知道, startTimeTS=1637308494574, requestByteCount=121, samplerId=0, connectTime=19, sceneId=252136, startTime=2021-11-19T15:54Z, planId=1505314, requestData=, contentType=text/html, responseDataTruncated=false, dataType=text, samplerLabel=HTTP Request, mediaType=text/html, url=http://www.baidu.com/, threadName=Thread Group 1-1, responseHeaders=HTTP/1.1 200 OK, requestHeaders=Connection: keep-alive Host: www.baidu.com User-Agent: Apache-HttpClient/4.5.6 (Java/11.0.7.7-AJDK) , success=true, bodySize=2381}</SampleResults>\\n <Code>200</Code>\\n <Success>true</Success>\\n</GetJMeterSamplingLogsResponse>","errorExample":""}]', - 'title' => 'GetJMeterSamplingLogs', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 100,\\n \\"RequestId\\": \\"A8E16480-15C1-555A-922F-B736A005E52D\\",\\n \\"Message\\": \\"\\",\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"Envs\\": [\\n {\\n \\"CreateTime\\": 1637053715165,\\n \\"RunningScenes\\": [\\n \\"[10YPA8H, 0PYP8WH]\\"\\n ],\\n \\"EnvVersion\\": \\"5.0\\",\\n \\"ModifiedTime\\": 1637053719165,\\n \\"Files\\": [\\n {\\n \\"FileSize\\": 788,\\n \\"Md5\\": \\"43B584026CE5E570F3DE638FA7EEF9E0\\",\\n \\"FileName\\": \\"json.jar\\",\\n \\"FileOssAddress\\": \\"https://test.oss-cn-shanghai.aliyuncs.com/json.jar\\",\\n \\"FileId\\": 61660\\n }\\n ],\\n \\"RelatedScenes\\": [\\n \\"[10YPA8H, 0PYP8WH]\\"\\n ],\\n \\"UsedCapacity\\": 26668,\\n \\"EnvName\\": \\"test-create\\",\\n \\"EnvId\\": \\"86S1LH\\",\\n \\"Properties\\": [\\n {\\n \\"Name\\": \\"remote_hosts\\",\\n \\"Value\\": \\"127.0.0.1\\",\\n \\"Description\\": \\"Remote host\\"\\n }\\n ]\\n }\\n ],\\n \\"HttpStatusCode\\": 0,\\n \\"Code\\": \\"\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'ListEnvs', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListEnvs'], + ], + ], + 'ramActions' => [], + 'translator' => 'machine', ], 'ListJMeterReports' => [ 'summary' => 'Queries JMeter reports based on specified conditions.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5756,404 +3284,332 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the report page to return.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '100', - 'minimum' => '1', - 'example' => '1', - ], + 'schema' => ['description' => 'The number of the report page to return.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '100', 'minimum' => '1', 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of reports to return.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '50', - 'minimum' => '1', - 'example' => '10', - ], + 'schema' => ['description' => 'The number of reports to return.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '50', 'minimum' => '1', 'example' => '10', 'title' => ''], ], [ 'name' => 'SceneId', 'in' => 'query', - 'schema' => [ - 'title' => '要查看的报告的场景id', - 'description' => 'The ID of the scenario whose report you want to view.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '10YPA8H', - ], + 'schema' => ['description' => 'The ID of the scenario whose report you want to view.', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '10YPA8H', 'title' => ''], ], [ 'name' => 'ReportId', 'in' => 'query', - 'schema' => [ - 'title' => '报告ID', - 'description' => 'The report ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '7R4RE352', - ], + 'schema' => ['description' => 'The report ID.', 'type' => 'string', 'example' => '7R4RE352', 'title' => '', 'required' => false], ], [ 'name' => 'BeginTime', 'in' => 'query', - 'schema' => [ - 'title' => '报告的起始时间,单位为ms', - 'description' => 'The beginning of the time range to query. Unit: ms.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '0', - 'example' => '1637115303000', - ], + 'schema' => ['description' => 'The beginning of the time range to query. Unit: ms.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '0', 'example' => '1637115303000', 'title' => ''], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'title' => '报告的结束时间', - 'description' => 'The end of the time range to query.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '0', - 'example' => '1637115306000', - ], + 'schema' => ['description' => 'The end of the time range to query.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '0', 'example' => '1637115306000', 'title' => ''], ], [ 'name' => 'Keyword', 'in' => 'query', - 'schema' => [ - 'title' => '报告关键字', - 'description' => 'The report keyword.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => 'The report keyword.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The sample response.'."\n", + 'description' => 'The sample response.', 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => 'The total number of reports returned based on the condition.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'A8E16480-15C1-555A-922F-B736A005E52D', - ], - 'Message' => [ - 'description' => 'The returned message. If the request was successful, this parameter is left empty.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'PageSize' => [ - 'description' => 'The number of returned reports.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'PageNumber' => [ - 'description' => 'The number of the returned report page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'TotalCount' => ['description' => 'The total number of reports returned based on the condition.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'A8E16480-15C1-555A-922F-B736A005E52D', 'title' => ''], + 'Message' => ['description' => 'The returned message. If the request was successful, this parameter is left empty.', 'type' => 'string', 'example' => '空', 'title' => ''], + 'PageSize' => ['description' => 'The number of returned reports.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'PageNumber' => ['description' => 'The number of the returned report page. ', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], 'Reports' => [ - 'description' => 'The reports.'."\n", + 'description' => 'The reports.', 'type' => 'array', 'items' => [ - 'description' => 'The report.'."\n", + 'description' => 'The report.', 'type' => 'object', 'properties' => [ - 'ReportName' => [ - 'title' => '报告名称', - 'description' => 'The report name.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'Duration' => [ - 'title' => '压测持续时间', - 'description' => 'The stress testing duration.'."\n", - 'type' => 'string', - 'example' => '10分钟', - ], - 'ReportId' => [ - 'title' => '报告id', - 'description' => 'The report ID.'."\n", - 'type' => 'string', - 'example' => '7R4RE352', - ], - 'Vum' => [ - 'title' => '消耗的vum', - 'description' => 'The consumed Virtual User Minutes (VUM).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'ActualStartTime' => [ - 'title' => '压测开始时间', - 'description' => 'The start time of the stress testing.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1637157073000', - ], + 'ReportName' => ['description' => 'The report name.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'Duration' => ['description' => 'The stress testing duration.', 'type' => 'string', 'example' => '10 minutes', 'title' => ''], + 'ReportId' => ['description' => 'The report ID.', 'type' => 'string', 'example' => '7R4RE352', 'title' => ''], + 'Vum' => ['description' => 'The consumed Virtual User Minutes (VUM).', 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'ActualStartTime' => ['description' => 'The start time of the stress testing.', 'type' => 'integer', 'format' => 'int64', 'example' => '1637157073000', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - 'Code' => [ - 'description' => 'The system status code.'."\n", - 'type' => 'string', - 'example' => '200', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'Code' => ['description' => 'The system status code.', 'type' => 'string', 'example' => '200', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- true'."\n" + ."\n" + .'- false', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'ReportNotExist', - 'errorMessage' => 'The report does not exist.', - ], + ['errorCode' => 'ReportNotExist', 'errorMessage' => 'The report does not exist.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 100,\\n \\"RequestId\\": \\"A8E16480-15C1-555A-922F-B736A005E52D\\",\\n \\"Message\\": \\"空\\",\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"HttpStatusCode\\": 200,\\n \\"Reports\\": [\\n {\\n \\"ReportName\\": \\"test\\",\\n \\"Duration\\": \\"10分钟\\",\\n \\"ReportId\\": \\"7R4RE352\\",\\n \\"Vum\\": 1000,\\n \\"ActualStartTime\\": 1637157073000\\n }\\n ],\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<ListJMeterReportsResponse>\\n <TotalCount>100</TotalCount>\\n <RequestId>A8E16480-15C1-555A-922F-B736A005E52D</RequestId>\\n <Message>空</Message>\\n <PageSize>10</PageSize>\\n <PageNumber>1</PageNumber>\\n <HttpStatusCode>200</HttpStatusCode>\\n <Reports>\\n <ReportName>test</ReportName>\\n <Duration>10分钟</Duration>\\n <ReportId>7R4RE352</ReportId>\\n <Vum>1000</Vum>\\n <ActualStartTime>1637157073000</ActualStartTime>\\n </Reports>\\n <Code>200</Code>\\n <Success>true</Success>\\n</ListJMeterReportsResponse>","errorExample":""}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 100,\\n \\"RequestId\\": \\"A8E16480-15C1-555A-922F-B736A005E52D\\",\\n \\"Message\\": \\"空\\",\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"HttpStatusCode\\": 200,\\n \\"Reports\\": [\\n {\\n \\"ReportName\\": \\"test\\",\\n \\"Duration\\": \\"10 minutes\\",\\n \\"ReportId\\": \\"7R4RE352\\",\\n \\"Vum\\": 1000,\\n \\"ActualStartTime\\": 1637157073000\\n }\\n ],\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', 'title' => 'ListJMeterReports', - ], - 'StartDebuggingJMeterScene' => [ - 'summary' => 'Debugs a JMeter scenario.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListJMeterReports'], + ], ], + 'ramActions' => [], + 'translator' => 'manual', + ], + 'ListOpenJMeterScenes' => [ + 'summary' => 'Retrieves a list of JMeter scenarios.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], + [ + 'APP' => [], + ], + [ + 'PrivateKey' => [], + ], + [ + 'BearerToken' => [], + ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - ], + 'systemTags' => [], 'parameters' => [ [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The number of the page to return.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '2147483647', 'minimum' => '1', 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of scenarios to return on each page.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '1000', 'minimum' => '10', 'example' => '10', 'title' => ''], + ], + [ 'name' => 'SceneId', 'in' => 'query', - 'schema' => [ - 'title' => '场景id', - 'description' => 'The ID of the scenario that you want to debug.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'DYYPZIH', - ], + 'schema' => ['description' => 'The scenario ID.', 'type' => 'string', 'required' => false, 'example' => 'DYYPZIH', 'title' => ''], + ], + [ + 'name' => 'SceneName', + 'in' => 'query', + 'schema' => ['description' => 'The scenario name.', 'type' => 'string', 'example' => 'test', 'title' => '', 'required' => false], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The sample response.'."\n", + 'description' => 'The sample response.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'A8E16480-15C1-555A-922F-B736A005E52D', - ], - 'Message' => [ - 'description' => 'The error message. If the operation is successful, this parameter is not returned.'."\n", - 'type' => 'string', + 'Message' => ['description' => 'The error message. This parameter is left empty if the request is successful.', 'type' => 'string', 'title' => '', 'example' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'A8E16480-15C1-555A-922F-B736A005E52D', 'title' => ''], + 'HttpStatusCode' => ['description' => 'The HTTP status code. This parameter is not returned if the request is successful.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => ''], + 'JMeterScene' => [ + 'description' => 'The information about the scenarios.', + 'type' => 'array', + 'items' => [ + 'description' => 'The details of a scenario.', + 'type' => 'object', + 'properties' => [ + 'DurationStr' => ['description' => 'The duration of the stress test.', 'type' => 'string', 'example' => '10 minutes', 'title' => ''], + 'SceneId' => ['description' => 'The scenario ID.', 'type' => 'string', 'example' => 'DYYPZIH', 'title' => ''], + 'SceneName' => ['description' => 'The scenario name.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'Status' => ['description' => 'The status of the scenario. Valid values include the following:'."\n" + ."\n" + .'- PREPARING: The scenario is being prepared.'."\n" + ."\n" + .'- PREPARED: The scenario is prepared.'."\n" + ."\n" + .'- STARTING: The scenario is starting.'."\n" + ."\n" + .'- RUNNING: The scenario is running.'."\n" + ."\n" + .'- STOPPING: The scenario is stopping.'."\n" + ."\n" + .'- STOPPED: The scenario is stopped.', 'type' => 'string', 'example' => 'STOPPED', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', 'example' => '', ], - 'ReportId' => [ - 'description' => 'The ID of the debugging report.'."\n", - 'type' => 'string', - 'example' => 'MH0SU1I', - ], - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code. If the operation is successful, this parameter is not returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Code' => [ - 'description' => 'The system status code. If the operation is successful, this parameter is not returned.'."\n", - 'type' => 'string', - 'example' => '200', - ], - 'Success' => [ - 'description' => 'Indicates whether the operation is successful. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'Code' => ['description' => 'The status code of the request. This parameter is not returned if the request is successful.', 'type' => 'string', 'title' => '', 'example' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n" + ."\n" + .'- true: The request was successful.'."\n" + ."\n" + .'- false: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'PageNumber' => ['description' => 'The returned page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'PageSize' => ['description' => 'The number of scenarios returned on the current page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of scenarios.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'SceneNotExist', - 'errorMessage' => 'The scene does not exist.', - ], + ['errorCode' => 'SceneNotExist', 'errorMessage' => 'The scene does not exist.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A8E16480-15C1-555A-922F-B736A005E52D\\",\\n \\"Message\\": \\"\\",\\n \\"ReportId\\": \\"MH0SU1I\\",\\n \\"HttpStatusCode\\": 0,\\n \\"Code\\": \\"\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<StartDebuggingJMeterSceneResponse>\\n <RequestId>A8E16480-15C1-555A-922F-B736A005E52D</RequestId>\\n <Message>空</Message>\\n <ReportId>MH0SU1I</ReportId>\\n <HttpStatusCode>200</HttpStatusCode>\\n <Code>200</Code>\\n <Success>true</Success>\\n</StartDebuggingJMeterSceneResponse>","errorExample":""}]', - 'title' => 'StartDebuggingJMeterScene', - ], - 'StartTestingJMeterScene' => [ - 'summary' => 'Starts performance testing in a JMeter scenario.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"\\",\\n \\"RequestId\\": \\"A8E16480-15C1-555A-922F-B736A005E52D\\",\\n \\"HttpStatusCode\\": 0,\\n \\"JMeterScene\\": [\\n {\\n \\"DurationStr\\": \\"10 minutes\\",\\n \\"SceneId\\": \\"DYYPZIH\\",\\n \\"SceneName\\": \\"test\\",\\n \\"Status\\": \\"STOPPED\\"\\n }\\n ],\\n \\"Code\\": \\"\\",\\n \\"Success\\": true,\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 100\\n}","type":"json"}]', + 'title' => 'ListOpenJMeterScenes', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '30', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListOpenJMeterScenes'], + ], ], + 'ramActions' => [], + 'translator' => 'machine', + ], + 'ListPtsReports' => [ + 'summary' => 'Lists PTS report summaries that match the specified criteria.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'abilityTreeCode' => '104515', - 'abilityTreeNodes' => [ - 'FEATUREptsB8BARJ', + [ + 'APP' => [], + ], + [ + 'PrivateKey' => [], + ], + [ + 'BearerToken' => [], ], ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], 'parameters' => [ [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => ['description' => 'The page number. The value starts from 1.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '50', 'minimum' => '1', 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => ['description' => 'The number of reports to return on each page.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '20', 'minimum' => '1', 'example' => '10', 'title' => ''], + ], + [ 'name' => 'SceneId', - 'in' => 'query', - 'schema' => [ - 'title' => '场景id', - 'description' => 'The ID of the scenario.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'DYYPZIH', - ], + 'in' => 'formData', + 'schema' => ['description' => 'The ID of the scenario.', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '1PDAL8H', 'title' => ''], + ], + [ + 'name' => 'ReportId', + 'in' => 'formData', + 'schema' => ['description' => 'The report ID.', 'type' => 'string', 'example' => '7RLPM3Y2', 'title' => '', 'required' => false], + ], + [ + 'name' => 'BeginTime', + 'in' => 'formData', + 'schema' => ['description' => 'The start timestamp of the report, in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '0', 'example' => '1637115303000', 'title' => ''], + ], + [ + 'name' => 'EndTime', + 'in' => 'formData', + 'schema' => ['description' => 'The end timestamp of the report, in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '0', 'example' => '1637115306000', 'title' => ''], + ], + [ + 'name' => 'Keyword', + 'in' => 'formData', + 'schema' => ['description' => 'The report keyword.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The sample response.'."\n", + 'description' => 'The sample response.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'A8E16480-15C1-555A-922F-B736A005E52D', - ], - 'Message' => [ - 'description' => 'The error message. If the operation is successful, this parameter is not returned.'."\n", - 'type' => 'string', + 'TotalCount' => ['description' => 'The total number of reports that match the query conditions.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'A8E4LR80-15P1-555A-9ZZF-B736AZO5E5ID', 'title' => ''], + 'Message' => ['description' => 'The error message. This parameter is an empty string if the request is successful.', 'type' => 'string', 'example' => '空', 'title' => ''], + 'PageSize' => ['description' => 'The number of reports returned on each page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'PageNumber' => ['description' => 'The returned page number. The value starts from 1.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'Reports' => [ + 'description' => 'The report information.', + 'type' => 'array', + 'items' => [ + 'description' => 'The report details.', + 'type' => 'object', + 'properties' => [ + 'ReportName' => ['description' => 'The report name.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'Duration' => ['description' => 'The duration of the stress test.', 'type' => 'string', 'example' => '10 minutes', 'title' => ''], + 'ReportId' => ['description' => 'The report ID.', 'type' => 'string', 'example' => '7RLPM3Y2', 'title' => ''], + 'Vum' => ['description' => 'The number of VUMs consumed.', 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'ActualStartTime' => ['description' => 'The timestamp when the stress test started, in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1637157073000', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', 'example' => '', ], - 'ReportId' => [ - 'description' => 'The ID of the report.'."\n", - 'type' => 'string', - 'example' => 'MH0SU1I', - ], - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code. If the operation is successful, this parameter is not returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Code' => [ - 'description' => 'The system status code. If the operation is successful, this parameter is not returned.'."\n", - 'type' => 'string', - 'example' => '200', - ], - 'Success' => [ - 'description' => 'Indicates whether the operation is successful. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'Code' => ['description' => 'The system status code.', 'type' => 'string', 'example' => '200', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. A value of \\`true\\` indicates success. A value of \\`false\\` indicates failure.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'SceneNotExist', - 'errorMessage' => 'The scene does not exist.', - ], + ['errorCode' => 'ReportNotExist', 'errorMessage' => 'The report does not exist.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A8E16480-15C1-555A-922F-B736A005E52D\\",\\n \\"Message\\": \\"\\",\\n \\"ReportId\\": \\"MH0SU1I\\",\\n \\"HttpStatusCode\\": 0,\\n \\"Code\\": \\"\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<StartTestingJMeterSceneResponse>\\n <RequestId>A8E16480-15C1-555A-922F-B736A005E52D</RequestId>\\n <Message>空</Message>\\n <ReportId>MH0SU1I</ReportId>\\n <HttpStatusCode>200</HttpStatusCode>\\n <Code>200</Code>\\n <Success>true</Success>\\n</StartTestingJMeterSceneResponse>","errorExample":""}]', - 'title' => 'StartTestingJMeterScene', - ], - 'StopDebuggingJMeterScene' => [ - 'summary' => 'Stops the debugging of a JMeter scenario.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 100,\\n \\"RequestId\\": \\"A8E4LR80-15P1-555A-9ZZF-B736AZO5E5ID\\",\\n \\"Message\\": \\"空\\",\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"HttpStatusCode\\": 200,\\n \\"Reports\\": [\\n {\\n \\"ReportName\\": \\"test\\",\\n \\"Duration\\": \\"10 minutes\\",\\n \\"ReportId\\": \\"7RLPM3Y2\\",\\n \\"Vum\\": 1000,\\n \\"ActualStartTime\\": 1637157073000\\n }\\n ],\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'ListPtsReports', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListPtsReports'], + ], ], + 'ramActions' => [], + 'translator' => 'machine', + ], + 'ListPtsScene' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6168,82 +3624,91 @@ 'BearerToken' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [], + 'systemTags' => [ + 'abilityTreeCode' => '22660', + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], + ], 'parameters' => [ [ - 'name' => 'SceneId', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'title' => '场景id', - 'description' => 'The ID of the scenario that you want to stop debugging.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'DYYPZIH', - ], + 'schema' => ['description' => 'The page number. The value can be from 1 to 1,073,741,824.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '2147483647', 'minimum' => '1', 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of scenarios to display on each page. The value can be from 10 to 1,000.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '1000', 'minimum' => '10', 'example' => '10', 'title' => ''], + ], + [ + 'name' => 'KeyWord', + 'in' => 'query', + 'schema' => ['description' => 'The keyword. Use it to perform a fuzzy search by **SceneName** or an exact search by **SceneId**.', 'type' => 'string', 'example' => 'Test order', 'required' => false, 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The sample success response.'."\n", 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => 'The returned message. If the request was returned, this parameter is not returned.'."\n", - 'type' => 'string', + 'Message' => ['description' => 'The error message. This parameter is not returned if the request is successful.', 'type' => 'string', 'example' => '创建或者修改场景入参必须是实体类scene的JSON串', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'DD6F2ED8-E31B-497F-85AB-C4E358A5F667', 'title' => ''], + 'HttpStatusCode' => ['description' => 'The HTTP status code. This parameter is not returned if the request is successful.', 'type' => 'integer', 'format' => 'int32', 'example' => '400', 'title' => ''], + 'SceneViewList' => [ + 'description' => 'The list of queried scenarios.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'CreateTime' => ['description' => 'The time when the scenario was created.', 'type' => 'string', 'example' => '2021-02-26 15:28:39', 'title' => ''], + 'SceneId' => ['description' => 'The scenario ID.', 'type' => 'string', 'example' => 'DFGVS3S', 'title' => ''], + 'SceneName' => ['description' => 'The scenario name.', 'type' => 'string', 'example' => 'Test online ordering', 'title' => ''], + 'Status' => ['description' => 'The status of the PTS scenario.', 'type' => 'string', 'example' => 'Running', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', 'example' => '', ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'A8E16480-15C1-555A-922F-B736A005E52D', - ], - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code. If the request was returned, this parameter is not returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Code' => [ - 'description' => 'The system status code. If the request was returned, this parameter is left empty.'."\n", - 'type' => 'string', - 'example' => '200', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'Code' => ['description' => 'The system status code. This parameter is not returned if the request is successful.', 'type' => 'string', 'example' => '4001', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n" + ."\n" + .'- true: The request was successful.'."\n" + ."\n" + .'- false: The request failed.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ - 403 => [ - [ - 'errorCode' => 'SceneNotExist', - 'errorMessage' => 'The scene does not exist.', - ], + 400 => [ + ['errorCode' => 'ListPtsSceneFail', 'errorMessage' => 'Keyword length cannot exceed 30 characters', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"\\",\\n \\"RequestId\\": \\"A8E16480-15C1-555A-922F-B736A005E52D\\",\\n \\"HttpStatusCode\\": 0,\\n \\"Code\\": \\"\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<StopDebuggingJMeterSceneResponse>\\n <Message>空</Message>\\n <RequestId>A8E16480-15C1-555A-922F-B736A005E52D</RequestId>\\n <HttpStatusCode>200</HttpStatusCode>\\n <Code>200</Code>\\n <Success>true</Success>\\n</StopDebuggingJMeterSceneResponse>","errorExample":""}]', - 'title' => 'StopDebuggingJMeterScene', - ], - 'StopTestingJMeterScene' => [ - 'summary' => 'Stops performance testing by using a JMeter scenario.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"创建或者修改场景入参必须是实体类scene的JSON串\\",\\n \\"RequestId\\": \\"DD6F2ED8-E31B-497F-85AB-C4E358A5F667\\",\\n \\"HttpStatusCode\\": 400,\\n \\"SceneViewList\\": [\\n {\\n \\"CreateTime\\": \\"2021-02-26 15:28:39\\",\\n \\"SceneId\\": \\"DFGVS3S\\",\\n \\"SceneName\\": \\"Test online ordering\\",\\n \\"Status\\": \\"Running\\"\\n }\\n ],\\n \\"Code\\": \\"4001\\",\\n \\"Success\\": false\\n}","type":"json"}]', + 'title' => 'ListPtsScene', + 'summary' => 'Queries a paginated list of scenario overviews.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListPtsScene'], + ], ], + 'ramActions' => [], + 'translator' => 'machine', + ], + 'ModifyPtsScene' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6263,295 +3728,129 @@ 'systemTags' => [], 'parameters' => [ [ - 'name' => 'SceneId', - 'in' => 'query', - 'schema' => [ - 'title' => '场景id', - 'description' => 'The ID of the JMeter scenario.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'DYYPZIH', - ], + 'name' => 'Scene', + 'in' => 'formData', + 'schema' => ['description' => 'The detailed information about the scenario.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'SD6YZCI'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The sample response.'."\n", 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => 'The error message. If the operation is successful, this parameter is not returned.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'A8E16480-15C1-555A-922F-B736A005E52D', - ], - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code. If the operation is successful, this parameter is not returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Code' => [ - 'description' => 'The system status code. If the operation is successful, this parameter is not returned.'."\n", - 'type' => 'string', - 'example' => '200', - ], - 'Success' => [ - 'description' => 'Indicates whether the operation is successful. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'Message' => ['description' => 'The error message.', 'type' => 'string', 'title' => '', 'example' => '空'], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '449ADAFB-8DA4-4317-A284-4922D04DE828'], + 'HttpStatusCode' => ['description' => 'The status code of the request.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '200'], + 'Code' => ['description' => 'The status code of the system.', 'type' => 'string', 'title' => '', 'example' => '200'], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n" + ."\n" + .'- true: The request was successful.'."\n" + .'- false: The request failed.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], ], + 'description' => '', + 'title' => '', ], ], ], 'errorCodes' => [ - 403 => [ - [ - 'errorCode' => 'SceneNotExist', - 'errorMessage' => 'The scene does not exist.', - ], + 400 => [ + ['errorCode' => 'ModifyPtsSceneFail', 'errorMessage' => 'The scene does not exit', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"\\",\\n \\"RequestId\\": \\"A8E16480-15C1-555A-922F-B736A005E52D\\",\\n \\"HttpStatusCode\\": 0,\\n \\"Code\\": \\"\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<StopTestingJMeterSceneResponse>\\n <Message>空</Message>\\n <RequestId>A8E16480-15C1-555A-922F-B736A005E52D</RequestId>\\n <HttpStatusCode>200</HttpStatusCode>\\n <Code>200</Code>\\n <Success>true</Success>\\n</StopTestingJMeterSceneResponse>","errorExample":""}]', - 'title' => 'StopTestingJMeterScene', - ], - 'GetJMeterSceneRunningData' => [ - 'summary' => 'Queries data that is generated during the stress testing of a JMeter scenario based on the ID of the scenario.', - 'methods' => [ - 'post', - 'get', + 'title' => 'ModifyPtsScene', + 'summary' => 'Modifies the configuration of a scenario, such as the URL and stress test settings.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyPtsScene'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => '', + 'ramAction' => [ + 'action' => 'pts:ModifyPtsScene', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PTS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"空\\",\\n \\"RequestId\\": \\"449ADAFB-8DA4-4317-A284-4922D04DE828\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'RemoveEnv' => [ + 'summary' => 'Removes a JMeter environment using the specified environment ID.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], - [ - 'APP' => [], - ], - [ - 'PrivateKey' => [], - ], - [ - 'BearerToken' => [], - ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ - 'name' => 'SceneId', + 'name' => 'EnvId', 'in' => 'query', - 'schema' => [ - 'title' => '场景id', - 'description' => 'The scenario ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'DYYPZIH', - ], + 'schema' => ['title' => '', 'description' => 'The ID of the environment to delete.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'maxLength' => 20, 'example' => '10YPA8H'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The sample response.'."\n", + 'description' => 'The response data.', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => 'The returned message. If the request was successful, this parameter is not returned.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'A8E16480-15C1-555A-922F-B736A005E52D', - ], - 'Code' => [ - 'description' => 'The system status code. If the request was successful, this parameter is not returned.'."\n", - 'type' => 'string', - 'example' => '200', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code. If the request was successful, this parameter is not returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'DocumentUrl' => [ - 'description' => 'The URL that is used to access the document.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'RunningData' => [ - 'title' => '运行中的数据', - 'description' => 'The running data.'."\n", - 'type' => 'object', - 'properties' => [ - 'SceneId' => [ - 'title' => '场景id', - 'description' => 'The scenario ID.'."\n", - 'type' => 'string', - 'example' => 'DYYPZIH', - ], - 'ErrorMessage' => [ - 'title' => '压测流程的失败信息', - 'description' => 'The error message returned for the stress testing process. If the request was successful, this parameter is not returned.'."\n", - 'type' => 'string', - 'example' => 'Engine lease failed.'."\n", - ], - 'ReportId' => [ - 'title' => '压测任务id,也即报告id', - 'description' => 'The stress testing task ID. This ID also means the report ID.'."\n", - 'type' => 'string', - 'example' => 'DYYPLDKS', - ], - 'HasError' => [ - 'title' => '压测流程是否出错', - 'description' => 'Indicates whether an error occurs in the stress testing process.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'SceneName' => [ - 'title' => '场景名称', - 'description' => 'The scenario name.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'HoldFor' => [ - 'title' => '压测计划持续时间,单位s', - 'description' => 'The duration of the stress testing plan. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '600', - ], - 'AgentCount' => [ - 'title' => '压测引擎数量', - 'description' => 'The number of stress testing engines.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'AgentIdList' => [ - 'title' => '压测引擎列表', - 'description' => 'The stress testing engines.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The stress testing engine.'."\n", - 'type' => 'string', - 'example' => '["116.19.153.94_3088020"]', - ], - ], - 'Concurrency' => [ - 'title' => '并发量', - 'description' => 'The concurrency.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1000', - ], - 'HasReport' => [ - 'title' => '是否生成了报告', - 'description' => 'Indicates whether the report is generated.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'IsDebugging' => [ - 'title' => '是否是调试', - 'description' => 'Indicates whether a debugging is performed.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'Status' => [ - 'title' => '状态', - 'description' => 'The stress testing status of the scenario.'."\n", - 'type' => 'string', - 'example' => 'RUNNING', - ], - 'Vum' => [ - 'title' => '目前消耗的vum', - 'description' => 'The consumed Virtual User Minutes (VUM).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'StartTimeTS' => [ - 'title' => '压测计划开始时间戳,单位ms', - 'description' => 'The timestamp when the stress testing is scheduled to start. Unit: ms.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1639970040000', - ], - 'StageName' => [ - 'title' => '当前所处阶段', - 'description' => 'The current stage.'."\n", - 'type' => 'string', - 'example' => '任务执行', - ], - 'AllSampleStat' => [ - 'title' => '场景整体的采样状态', - 'description' => 'The sampling status of the scenario.'."\n", - 'type' => 'object', - 'example' => '{ "failTps":0,"successRtAvg":33,"successRtMin":29,"successRtSum":99407, "rtAvg":33.459104678559406,"rtMin":29,"failRtMax":0,"duration":997, "samplerId":-1, "successRtMax":133,"fullStat":{ "requestBytesSum":629926,"successRtAvg":33,"successRtMin":29,"successRtSum":174551,"count":5206,"rtSeg99":53, "successTps":2397.9732842008293,"rtSeg90":36, "rtSeg50":32, "rtSeg99Sum":53,"rtAvg":33.528812908182864, "rtMin":29, "failRtMax":0,"duration":2171, "successCount":5206, "rtSegStatCount":1,"tps":2397.9732842008293 }, "successCount":2971, "failRtSum":0,"failCount":0,"count":2971,"concurrency":100, "successTps":2979.939819458375,"tps":2979.939819458375,"failRtAvg":0, "failRtMin":0, "rtMax":133}', - ], - 'SampleStatList' => [ - 'title' => '每一个采样器的状态', - 'description' => 'The status of samplers.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The status of each sampler.'."\n", - 'type' => 'object', - 'example' => '{ "failTps":0,"successRtAvg":33,"successRtMin":29,"successRtSum":99407, "rtAvg":33.459104678559406,"rtMin":29,"failRtMax":0,"duration":997, "samplerId":-1, "successRtMax":133,"fullStat":{ "requestBytesSum":629926,"successRtAvg":33,"successRtMin":29,"successRtSum":174551,"count":5206,"rtSeg99":53, "successTps":2397.9732842008293,"rtSeg90":36, "rtSeg50":32, "rtSeg99Sum":53,"rtAvg":33.528812908182864, "rtMin":29, "failRtMax":0,"duration":2171, "successCount":5206, "rtSegStatCount":1,"tps":2397.9732842008293 }, "successCount":2971, "failRtSum":0,"failCount":0,"count":2971,"concurrency":100, "successTps":2979.939819458375,"tps":2979.939819458375,"failRtAvg":0, "failRtMin":0, "rtMax":133}', - ], - ], - ], - ], + 'Message' => ['description' => 'The error message. This parameter is not returned if the call is successful.', 'type' => 'string', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'A8E16480-15C1-555A-922F-B736A005E52D'], + 'HttpStatusCode' => ['description' => 'The HTTP status code. This parameter is not returned if the call is successful.', 'type' => 'integer', 'format' => 'int32', 'title' => ''], + 'Code' => ['description' => 'The system status code. This parameter is not returned if the call is successful.', 'type' => 'string', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n" + ."\n" + .'- true: The request was successful.'."\n" + .'- false: The request failed.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], ], + 'title' => '', ], ], ], 'errorCodes' => [ - 403 => [ - [ - 'errorCode' => 'ReportNotExist', - 'errorMessage' => 'The report does not exist.', - ], + 503 => [ + ['errorCode' => 'EnvNotExist', 'errorMessage' => 'The env does not exist.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"\\",\\n \\"RequestId\\": \\"A8E16480-15C1-555A-922F-B736A005E52D\\",\\n \\"Code\\": \\"\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 0,\\n \\"DocumentUrl\\": \\"空\\",\\n \\"RunningData\\": {\\n \\"SceneId\\": \\"DYYPZIH\\",\\n \\"ErrorMessage\\": \\"引擎租用失败\\",\\n \\"ReportId\\": \\"DYYPLDKS\\",\\n \\"HasError\\": false,\\n \\"SceneName\\": \\"test\\",\\n \\"HoldFor\\": 600,\\n \\"AgentCount\\": 2,\\n \\"AgentIdList\\": [\\n \\"[\\\\\\"116.19.153.94_3088020\\\\\\"]\\"\\n ],\\n \\"Concurrency\\": 1000,\\n \\"HasReport\\": false,\\n \\"IsDebugging\\": false,\\n \\"Status\\": \\"RUNNING\\",\\n \\"Vum\\": 100,\\n \\"StartTimeTS\\": 1639970040000,\\n \\"StageName\\": \\"任务执行\\",\\n \\"AllSampleStat\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"SampleStatList\\": [\\n [\\n {\\n \\"statusCodes\\": {\\n \\"200\\": 634\\n },\\n \\"successRtAvg\\": 1,\\n \\"successRtMin\\": 1,\\n \\"responseBytesPerSecond\\": 453280,\\n \\"successRtSum\\": 985,\\n \\"samplerId\\": 0,\\n \\"successRtMax\\": 9,\\n \\"failRtSum\\": 0,\\n \\"failCount\\": 0,\\n \\"samplerLabel\\": \\"HTTP Request\\",\\n \\"count\\": 634,\\n \\"exceptions\\": {},\\n \\"successTps\\": 634,\\n \\"failRtAvg\\": 0,\\n \\"failRtMin\\": 0,\\n \\"rtMax\\": 9,\\n \\"failTps\\": 0,\\n \\"rtAvg\\": 1.553627760252366,\\n \\"rtMin\\": 1,\\n \\"failRtMax\\": 0,\\n \\"duration\\": 1000,\\n \\"fullStat\\": {\\n \\"statusCodes\\": {\\n \\"200\\": 1999372\\n },\\n \\"requestBytesSum\\": 411006848,\\n \\"successRtAvg\\": 1,\\n \\"successRtMin\\": 1,\\n \\"responseBytesPerSecond\\": 463583.6830464281,\\n \\"successRtSum\\": 3023438,\\n \\"rtMedianSum\\": 1,\\n \\"successRtMax\\": 25,\\n \\"responseBytesSum\\": 1429451015,\\n \\"failRtSum\\": 0,\\n \\"failCount\\": 0,\\n \\"count\\": 1999372,\\n \\"rtSeg99\\": 3,\\n \\"exceptions\\": {},\\n \\"successTps\\": 648.4141294900567,\\n \\"rtSeg90\\": 2,\\n \\"rtSeg50\\": 1,\\n \\"rtSeg99Sum\\": 3,\\n \\"failRtAvg\\": 0,\\n \\"failRtMin\\": 0,\\n \\"rtMax\\": 25,\\n \\"failTps\\": 0,\\n \\"rtSeg75Sum\\": 2,\\n \\"rtAvg\\": 1.5121938288622627,\\n \\"rtMin\\": 1,\\n \\"failRtMax\\": 0,\\n \\"duration\\": 3083480,\\n \\"successCount\\": 1999372,\\n \\"rtSegStatCount\\": 1,\\n \\"rtSeg75\\": 2,\\n \\"rtSeg90Sum\\": 2,\\n \\"tps\\": 648.4141294900567,\\n \\"requestBytesPerSecond\\": 133293.17783802716\\n },\\n \\"successCount\\": 634,\\n \\"tps\\": 634,\\n \\"requestBytesPerSecond\\": 130388\\n }\\n ]\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetJMeterSceneRunningDataResponse>\\n <Message>空</Message>\\n <RequestId>A8E16480-15C1-555A-922F-B736A005E52D</RequestId>\\n <Code>200</Code>\\n <Success>true</Success>\\n <HttpStatusCode>200</HttpStatusCode>\\n <DocumentUrl>空</DocumentUrl>\\n <RunningData>\\n <SceneId>DYYPZIH</SceneId>\\n <SceneName>test</SceneName>\\n <HoldFor>600</HoldFor>\\n <AgentCount>2</AgentCount>\\n <AgentIdList>[\\"116.19.153.94_3088020\\"]</AgentIdList>\\n <Concurrency>1000</Concurrency>\\n <HasReport>false</HasReport>\\n <IsDebugging>false</IsDebugging>\\n <Status>RUNNING</Status>\\n <Vum>100</Vum>\\n <StartTimeTS>1639970040000</StartTimeTS>\\n <StageName>任务执行</StageName>\\n <SampleStatList/>\\n </RunningData>\\n</GetJMeterSceneRunningDataResponse>","errorExample":""}]', - 'title' => 'GetJMeterSceneRunningData', - ], - 'AdjustJMeterSceneSpeed' => [ - 'summary' => 'Adjusts the JMeter load.', - 'methods' => [ - 'post', + 'title' => 'RemoveEnv', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RemoveEnv'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => '', + 'ramAction' => [ + 'action' => 'pts:RemoveEnv', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PTS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"\\",\\n \\"RequestId\\": \\"A8E16480-15C1-555A-922F-B736A005E52D\\",\\n \\"HttpStatusCode\\": 0,\\n \\"Code\\": \\"\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'RemoveOpenJMeterScene' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6571,187 +3870,173 @@ 'systemTags' => [], 'parameters' => [ [ - 'name' => 'ReportId', - 'in' => 'query', - 'schema' => [ - 'title' => '报告id', - 'description' => 'The ID of the report.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'DYYPZIH', - ], - ], - [ - 'name' => 'Speed', + 'name' => 'SceneId', 'in' => 'query', - 'schema' => [ - 'title' => '要调整到的压力值', - 'description' => 'The load to which you want to adjust.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'minimum' => '1', - 'example' => '100', - ], + 'schema' => ['title' => '', 'description' => 'The ID of the scenario to delete.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'DYYPZIH'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'The response object.', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => 'The error message. If the operation is successful, this parameter is not returned.'."\n", - 'type' => 'string', - 'example' => 'success', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'DC4E31DDA77-6745-4925-B423-4E89VV34221A', - ], - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code. If the operation is successful, this parameter is not returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Code' => [ - 'description' => 'The system status code. If the operation is successful, this parameter is not returned.'."\n", - 'type' => 'string', - 'example' => '200', - ], - 'Success' => [ - 'description' => 'Indicates whether the operation is successful. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ReportId' => [ - 'title' => '报告ID', - 'description' => 'The ID of the report.'."\n", - 'type' => 'string', - 'example' => 'DYYPZIH', - ], + 'Message' => ['description' => 'The error message. This parameter is not returned if the request is successful.', 'type' => 'string', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => 'A8E16480-15C1-555A-922F-B736A005E52D'], + 'HttpStatusCode' => ['description' => 'The HTTP status code. This parameter is not returned if the request is successful.', 'type' => 'integer', 'format' => 'int32', 'title' => ''], + 'Code' => ['description' => 'The system status code. This parameter is not returned if the request is successful.', 'type' => 'string', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n" + ."\n" + .'- true: The request was successful.'."\n" + .'- false: The request failed.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], ], - 'description' => '', + 'title' => '', ], ], ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'SceneNotExist', - 'errorMessage' => 'The scene does not exist.', - ], + ['errorCode' => 'SceneNotExist', 'errorMessage' => 'The scene does not exist.', 'description' => ''], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"\\",\\n \\"RequestId\\": \\"DC4E31DDA77-6745-4925-B423-4E89VV34221A\\",\\n \\"HttpStatusCode\\": 0,\\n \\"Code\\": \\"\\",\\n \\"Success\\": true,\\n \\"ReportId\\": \\"DYYPZIH\\"\\n}","type":"json"}]', - 'title' => 'AdjustJMeterSceneSpeed', - ], - 'RemoveOpenJMeterScene' => [ + 'title' => 'RemoveOpenJMeterScene', 'summary' => 'Removes a JMeter scenario.', - 'methods' => [ - 'post', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'RemoveOpenJMeterScene'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => '', + 'ramAction' => [ + 'action' => 'pts:RemoveOpenJMeterScene', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PTS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"\\",\\n \\"RequestId\\": \\"A8E16480-15C1-555A-922F-B736A005E52D\\",\\n \\"HttpStatusCode\\": 0,\\n \\"Code\\": \\"\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'SaveEnv' => [ + 'summary' => 'Creates or updates a JMeter environment.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], - [ - 'APP' => [], - ], - [ - 'PrivateKey' => [], - ], - [ - 'BearerToken' => [], - ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ - 'name' => 'SceneId', + 'name' => 'Env', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'title' => '场景ID', - 'description' => 'The ID of the scenario that you want to remove.'."\n", - 'type' => 'string', + 'title' => '', + 'description' => 'The environment.', + 'type' => 'object', + 'properties' => [ + 'EnvId' => ['description' => 'The environment ID. If you do not specify this parameter, a new environment is created. If you specify this parameter, the specified environment is modified.', 'type' => 'string', 'example' => '10YPA8H', 'maxLength' => 20, 'title' => '', 'required' => false], + 'EnvName' => ['description' => 'The name of the environment.', 'type' => 'string', 'required' => true, 'example' => 'test-create', 'maxLength' => 50, 'minLength' => 1, 'title' => ''], + 'Files' => [ + 'title' => '', + 'description' => 'The files that the environment depends on.', + 'type' => 'array', + 'items' => [ + 'description' => 'The file details.', + 'type' => 'object', + 'properties' => [ + 'FileName' => ['description' => 'The file name. The file name should be the same as the file name in **FileOssAddress**.', 'type' => 'string', 'required' => true, 'example' => 'json.jar', 'maxLength' => 100, 'minLength' => 1, 'title' => ''], + 'FileOssAddress' => ['description' => 'The URL of your file in Object Storage Service (OSS). The file must be accessible over the internet.'."\n" + ."\n" + .'> Only OSS URLs in the China (Shanghai) region are supported.', 'type' => 'string', 'required' => true, 'example' => 'https://test.oss-cn-shanghai.aliyuncs.com/json.jar', 'maxLength' => 200, 'minLength' => 1, 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => true, + 'maxItems' => 80, + 'minItems' => 0, + 'example' => '', + ], + 'Properties' => [ + 'title' => '', + 'description' => 'The JMeter properties.', + 'type' => 'array', + 'items' => [ + 'description' => 'The property details.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The property name.', 'type' => 'string', 'example' => 'remote_hosts', 'maxLength' => 1024, 'minLength' => 1, 'title' => '', 'required' => false], + 'Value' => ['description' => 'The property value.', 'type' => 'string', 'example' => '127.0.0.1', 'maxLength' => 1024, 'minLength' => 1, 'title' => '', 'required' => false], + 'Description' => ['description' => 'The description.', 'type' => 'string', 'example' => 'Remote host', 'maxLength' => 1024, 'title' => '', 'required' => false], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'example' => '', + ], + 'JmeterPluginLabel' => ['description' => 'The plugin tag.', 'type' => 'string', 'maxLength' => 32, 'pattern' => '^[A-Z0-9]+$', 'title' => '', 'required' => false, 'example' => 'test'], + ], 'required' => true, 'docRequired' => true, - 'example' => 'DYYPZIH', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The sample response.'."\n", + 'description' => 'The response.', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => 'The error message. If the operation is successful, this parameter is not returned.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'A8E16480-15C1-555A-922F-B736A005E52D', - ], - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code. If the operation is successful, this parameter is not returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Code' => [ - 'description' => 'The system status code. If the operation is successful, this parameter is not returned.'."\n", - 'type' => 'string', - 'example' => '200', - ], - 'Success' => [ - 'description' => 'Indicates whether the operation is successful. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'Message' => ['description' => 'The error message. This parameter is not returned if the request is successful.', 'type' => 'string', 'title' => '', 'example' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'A8E16480-15C1-555A-922F-B736A005E52D', 'title' => ''], + 'HttpStatusCode' => ['description' => 'The HTTP status code. This parameter is not returned if the request is successful.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => ''], + 'EnvId' => ['description' => 'The ID of the environment.', 'type' => 'string', 'example' => '10YPA8H', 'title' => ''], + 'Code' => ['description' => 'The system status code. This parameter is not returned if the request is successful.', 'type' => 'string', 'title' => '', 'example' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n" + ."\n" + .'- true: The request was successful.'."\n" + ."\n" + .'- false: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ - 403 => [ - [ - 'errorCode' => 'SceneNotExist', - 'errorMessage' => 'The scene does not exist.', - ], + 503 => [ + ['errorCode' => 'SaveEnvFail', 'errorMessage' => 'The env cannot be empty.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"\\",\\n \\"RequestId\\": \\"A8E16480-15C1-555A-922F-B736A005E52D\\",\\n \\"HttpStatusCode\\": 0,\\n \\"Code\\": \\"\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<RemoveOpenJMeterSceneResponse>\\n <Message>空</Message>\\n <RequestId>A8E16480-15C1-555A-922F-B736A005E52D</RequestId>\\n <HttpStatusCode>200</HttpStatusCode>\\n <Code>200</Code>\\n <Success>true</Success>\\n</RemoveOpenJMeterSceneResponse>","errorExample":""}]', - 'title' => 'RemoveOpenJMeterScene', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"\\",\\n \\"RequestId\\": \\"A8E16480-15C1-555A-922F-B736A005E52D\\",\\n \\"HttpStatusCode\\": 0,\\n \\"EnvId\\": \\"10YPA8H\\",\\n \\"Code\\": \\"\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'SaveEnv', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SaveEnv'], + ], + ], + 'ramActions' => [], + 'translator' => 'machine', ], 'SaveOpenJMeterScene' => [ 'summary' => 'Creates or updates a JMeter scenario.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6771,9 +4056,7 @@ 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '104490', - 'abilityTreeNodes' => [ - 'FEATUREptsFQKRPS', - ], + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], ], 'parameters' => [ [ @@ -6781,315 +4064,108 @@ 'in' => 'query', 'style' => 'json', 'schema' => [ - 'title' => '场景详情', - 'description' => 'The details of the scenario.'."\n", + 'title' => '', + 'description' => 'The details of the scenario.', 'type' => 'object', 'properties' => [ - 'SceneName' => [ - 'title' => '场景名', - 'description' => 'The scenario name.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'test', - ], - 'EnvironmentId' => [ - 'title' => '关联的环境id', - 'description' => 'The ID of the environment associated with the scenario.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'I8PZIH', - ], - 'JmeterPluginLabel' => [ - 'title' => 'jmeter插件的环境标签', - 'description' => 'The JMeter plug-in tag.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - 'maxLength' => 32, - 'pattern' => '^[A-Z0-9]+$', - ], - 'TestFile' => [ - 'title' => '测试文件', - 'description' => 'The test file.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'baidu.jmx', - ], + 'SceneName' => ['title' => '', 'description' => 'The name of the scenario.', 'type' => 'string', 'required' => true, 'example' => 'test'], + 'EnvironmentId' => ['title' => '', 'description' => 'The ID of the associated environment.', 'type' => 'string', 'required' => false, 'example' => 'I8PZIH'], + 'JmeterPluginLabel' => ['title' => '', 'description' => 'The label of the JMeter plugin.', 'type' => 'string', 'required' => false, 'maxLength' => 32, 'pattern' => '^[A-Z0-9]+$', 'example' => 'test'], + 'TestFile' => ['title' => '', 'description' => 'The test file.', 'type' => 'string', 'required' => true, 'example' => 'baidu.jmx'], 'FileList' => [ - 'title' => '文件列表', - 'description' => 'The test files.'."\n", + 'title' => '', + 'description' => 'The list of files.', 'type' => 'array', 'items' => [ - 'description' => 'The details of the test file.'."\n", + 'description' => 'The details of the file.', 'type' => 'object', 'properties' => [ - 'FileName' => [ - 'title' => '文件名', - 'description' => 'The name of the test file.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'baidu.jmx', - ], - 'FileOssAddress' => [ - 'title' => '文件公网可访问的oss地址', - 'description' => 'The Object Storage Service (OSS) path that is used to access the test file over the Internet.'."\n" - ."\n" - .'> Only test files in the China (Shanghai) region can be accessed.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'https://test.cn-shanghai.aliyuncs.com/baidu.jmx', - ], - 'Md5' => [ - 'title' => '文件的MD5', - 'description' => 'The MD5 hash of the test file.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'DA70F97A74D76B6A3BEF9CC8AE0D89EB', - ], - 'FileId' => [ - 'title' => '文件id', - 'description' => 'The file ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '61232', - ], - 'SplitCsv' => [ - 'title' => '是否切分,仅针对csv有效', - 'description' => 'Specifies whether to split the test file. This parameter is valid only for CSV files.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], - 'FileSize' => [ - 'title' => '文件大小,单位byte', - 'description' => 'The file size. The total file size cannot exceed 500 MB. Unit: bytes.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '28880', - ], - 'Tags' => [ - 'title' => '文件tag', - 'description' => 'The file tag.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], + 'FileName' => ['title' => '', 'description' => 'The file name.', 'type' => 'string', 'required' => true, 'example' => 'baidu.jmx'], + 'FileOssAddress' => ['title' => '', 'description' => 'The public URL of the file in Object Storage Service (OSS).'."\n" + ."\n" + .'> Currently, only the China (Shanghai) region is supported.', 'type' => 'string', 'required' => true, 'example' => 'https://test.cn-shanghai.aliyuncs.com/baidu.jmx'], + 'Md5' => ['title' => '', 'description' => 'The MD5 hash of the file.', 'type' => 'string', 'required' => false, 'example' => 'DA70F97A74D76B6A3BEF9CC8AE0D89EB'], + 'FileId' => ['title' => '', 'description' => 'The file ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '61232'], + 'SplitCsv' => ['title' => '', 'description' => 'Specifies whether to split the file. This parameter is valid only for CSV files.', 'type' => 'boolean', 'required' => false, 'example' => 'false'], + 'FileSize' => ['title' => '', 'description' => 'The file size in bytes. The total size of all files cannot exceed 500 MB.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '28880'], + 'Tags' => ['title' => '', 'description' => 'The file tags.', 'type' => 'string', 'required' => false, 'example' => '空'], ], 'required' => false, + 'title' => '', ], 'required' => true, ], 'JMeterProperties' => [ - 'title' => 'Jmeter属性', - 'description' => 'The JMeter properties.'."\n", + 'title' => '', + 'description' => 'The JMeter properties.', 'type' => 'array', 'items' => [ - 'description' => 'The details of the property.'."\n", + 'description' => 'The details of the property.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The property name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'https.sessioncontext.shared', - ], - 'Value' => [ - 'description' => 'The values of the property.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'false', - ], + 'Name' => ['description' => 'The name of the property.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'https.sessioncontext.shared'], + 'Value' => ['description' => 'The value of the property.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'false'], ], 'required' => false, + 'title' => '', ], 'required' => false, ], - 'RampUp' => [ - 'title' => '预热时间', - 'description' => 'The ramp-up period. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '600', - ], - 'Steps' => [ - 'title' => '预热阶段', - 'description' => 'The number of ramp-up steps.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '3', - ], - 'Concurrency' => [ - 'title' => '最大并发', - 'description' => 'The maximum concurrency that is determined by the resource plans of users. You must configure this parameter when the mode is set to CONCURRENCY.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1000', - ], - 'Duration' => [ - 'title' => '压测持续时间', - 'description' => 'The stress testing duration. The maximum stress testing duration is no more than one day, Unit: seconds. Valid values: 60 to 86400.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '600', - ], - 'SceneId' => [ - 'title' => '场景ID', - 'description' => 'The scenario ID. If you do not configure this parameter, the system creates a scenario. If you configure this parameter, the system updates the scenario corresponding to the ID specified by this parameter.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'DYYPZIH', - ], - 'IsVpcTest' => [ - 'title' => '是否为VPC测试,默认为false表示公网测试,此值为true时VPC相关配置才生效', - 'description' => 'Specifies whether the test is a virtual private cloud (VPC) test. The default value is false, which indicates a public network test. VPC-related settings take effect only when you set this parameter to true.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - 'default' => 'false', - ], + 'RampUp' => ['title' => '', 'description' => 'The ramp-up period, in seconds.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '600'], + 'Steps' => ['title' => '', 'description' => 'The number of ramp-up steps.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3'], + 'Concurrency' => ['title' => '', 'description' => 'The maximum number of concurrent users. The upper limit is determined by your resource plan. This parameter is required if you set Mode to CONCURRENCY.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1000'], + 'Duration' => ['title' => '', 'description' => 'The duration of the stress test, in seconds. The maximum duration is 24 hours. Valid values: 60 to 86400.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '600'], + 'SceneId' => ['title' => '', 'description' => 'The scenario ID. If you do not specify this parameter, a new scenario is created. If you specify this parameter, the specified scenario is updated.', 'type' => 'string', 'required' => false, 'example' => 'DYYPZIH'], + 'IsVpcTest' => ['title' => '', 'description' => 'Specifies whether to run the stress test in a VPC. The default value is false, which indicates an Internet-based stress test. The VPC-related parameters take effect only if this parameter is set to true.', 'type' => 'boolean', 'required' => false, 'default' => 'false', 'example' => 'true'], 'DnsCacheConfig' => [ - 'title' => 'DNS配置', - 'description' => 'The settings of Domain Name System (DNS).'."\n", + 'title' => '', + 'description' => 'The DNS configuration.', 'type' => 'object', 'properties' => [ - 'ClearCacheEachIteration' => [ - 'description' => 'Specifies whether to clear the cache in each iteration.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'ClearCacheEachIteration' => ['description' => 'Specifies whether to clear the cache in each loop.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'true'], 'DnsServers' => [ - 'description' => 'The DNS servers.'."\n", + 'description' => 'The DNS servers.', 'type' => 'array', - 'items' => [ - 'description' => 'The DNS server.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '[8.8.8.8]', - ], + 'items' => ['description' => 'The details of the DNS server.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '[8.8.8.8]'], 'required' => false, + 'title' => '', ], 'HostTable' => [ - 'description' => 'The table that contains bound domain names.'."\n", + 'description' => 'The host bindings.', 'type' => 'object', 'required' => false, - 'additionalProperties' => [ - 'type' => 'string', - 'example' => '"ns.server.om":"8.8.8.8"', - 'description' => 'The record of the bound domain name.'."\n", - ], + 'additionalProperties' => ['type' => 'string', 'description' => 'The details of the host binding.', 'title' => '', 'example' => '"ns.server.om":"8.8.8.8"'], + 'title' => '', ], ], 'required' => false, ], - 'AgentCount' => [ - 'title' => '施压引擎数量', - 'description' => 'The number of stress testers.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '2', - ], - 'RegionId' => [ - 'title' => 'region的id,VPC压测时配置', - 'description' => 'The region ID that is specified in the VPC test.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-beijing', - ], - 'VpcId' => [ - 'title' => 'vpc的id,VPC压测时配置', - 'description' => 'The VPC ID that is specified in the VPC test.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-2ze2sahjdgahsebjkqhf4pyj', - ], - 'SecurityGroupId' => [ - 'title' => '安全组id,VPC压测时配置', - 'description' => 'The security group ID that is specified in the VPC test.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'sg-2zeid0dd7bhahsgdahspaly', - ], - 'VSwitchId' => [ - 'title' => '交换机id,VPC压测时配置', - 'description' => 'The vSwitch ID that is specified in the VPC test.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vsw-2zehsgdhsahw1r', - ], - 'SyncTimerType' => [ - 'title' => 'synchronizing timer 类型', - 'description' => 'The type of the synchronization timer in JMeter.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'GLOBAL', - ], - 'ConstantThroughputTimerType' => [ - 'title' => 'constantThroughputTimerType', - 'description' => 'The type of the synchronization timer with fixed throughput in JMeter.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'GLOBAL', - ], - 'Mode' => [ - 'title' => '压力模式', - 'description' => 'The stress model.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'CONCURRENCY', - ], - 'StartRps' => [ - 'description' => 'The initial RPS that takes effect in RPS mode.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], - 'MaxRps' => [ - 'description' => 'The maximum RPS that takes effect in RPS mode.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '100', - ], - 'StartConcurrency' => [ - 'description' => 'The initial concurrency that takes effect in concurrency mode. You must configure this parameter when the mode is set to CONCURRENCY.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'AgentCount' => ['title' => '', 'description' => 'The number of agents.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '2'], + 'RegionId' => ['title' => '', 'description' => 'The region ID. Configure this parameter for a VPC stress test.', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing'], + 'VpcId' => ['title' => '', 'description' => 'The VPC ID. Configure this parameter for a VPC stress test.', 'type' => 'string', 'required' => false, 'example' => 'vpc-2ze2sahjdgahsebjkqhf4pyj'], + 'SecurityGroupId' => ['title' => '', 'description' => 'The security group ID. Configure this parameter for a VPC stress test.', 'type' => 'string', 'required' => false, 'example' => 'sg-2zeid0dd7bhahsgdahspaly'], + 'VSwitchId' => ['title' => '', 'description' => 'The vSwitch ID. Configure this parameter for a VPC stress test.', 'type' => 'string', 'required' => false, 'example' => 'vsw-2zehsgdhsahw1r'], + 'SyncTimerType' => ['title' => '', 'description' => 'The type of the Synchronizing Timer in JMeter.', 'type' => 'string', 'required' => false, 'example' => 'GLOBAL'], + 'ConstantThroughputTimerType' => ['title' => 'constantThroughputTimerType', 'description' => 'The type of the Constant Throughput Timer in JMeter.', 'type' => 'string', 'required' => false, 'example' => 'GLOBAL'], + 'Mode' => ['title' => '', 'description' => 'The stress testing mode.', 'type' => 'string', 'required' => true, 'example' => 'CONCURRENCY'], + 'StartRps' => ['description' => 'The initial RPS. This parameter is valid only in RPS mode.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '10'], + 'MaxRps' => ['description' => 'The maximum number of records per second (RPS). This parameter is valid only in RPS mode.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '100'], + 'StartConcurrency' => ['description' => 'The initial number of concurrent users. This parameter is required if you set Mode to CONCURRENCY.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '10'], 'RegionalCondition' => [ - 'description' => 'The requirements for the regions of the stress testers.'."\n", + 'description' => 'The custom region configuration for agents.', 'type' => 'array', 'items' => [ - 'description' => 'The number of stress testers in a specific region.'."\n", + 'description' => 'The number of agents in a single region.', 'type' => 'object', 'properties' => [ - 'Region' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], - 'Amount' => [ - 'description' => 'The number of stress tests. The sum of the number of stress tests in all regions must be equal to the AgentCount value of a specified scenario.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'Region' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'], + 'Amount' => ['description' => 'The number of agents. The sum of agents across all regions must equal the value of AgentCount for the scenario.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '1'], ], 'required' => false, + 'title' => '', ], 'required' => false, + 'title' => '', ], ], 'required' => true, @@ -7100,68 +4176,53 @@ 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The sample response.'."\n", + 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ - 'SceneId' => [ - 'title' => '场景id', - 'description' => 'The ID of the created or updated scenario.'."\n", - 'type' => 'string', - 'example' => 'DYYPZIH', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'A8E16480-15C1-555A-922F-B736A005E52D', - ], - 'Message' => [ - 'description' => 'The returned message. If the request was successful, this parameter is not returned.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code. If the request was successful, this parameter is not returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Code' => [ - 'description' => 'The system status code. If the request was successful, this parameter is not returned.'."\n", - 'type' => 'string', - 'example' => '200', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'SceneId' => ['title' => '', 'description' => 'The ID of the created or updated scenario.', 'type' => 'string', 'example' => 'DYYPZIH'], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'A8E16480-15C1-555A-922F-B736A005E52D'], + 'Message' => ['description' => 'The error message. This parameter is returned only if the request fails.', 'type' => 'string', 'title' => '', 'example' => '空'], + 'HttpStatusCode' => ['description' => 'The HTTP status code. This parameter is returned only if the request fails.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '200'], + 'Code' => ['description' => 'The error code. This parameter is returned only if the request fails.', 'type' => 'string', 'title' => '', 'example' => '200'], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n" + ."\n" + .'- true: The request was successful.'."\n" + .'- false: The request failed.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], ], + 'title' => '', ], ], ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'SaveOpenJMeterSceneFail', - 'errorMessage' => 'The scene cannot be empty.', - ], + ['errorCode' => 'SaveOpenJMeterSceneFail', 'errorMessage' => 'The scene cannot be empty.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"SceneId\\": \\"DYYPZIH\\",\\n \\"RequestId\\": \\"A8E16480-15C1-555A-922F-B736A005E52D\\",\\n \\"Message\\": \\"空\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<SaveOpenJMeterSceneResponse>\\n <SceneId>DYYPZIH</SceneId>\\n <RequestId>A8E16480-15C1-555A-922F-B736A005E52D</RequestId>\\n <Message>空</Message>\\n <HttpStatusCode>200</HttpStatusCode>\\n <Code>200</Code>\\n <Success>true</Success>\\n</SaveOpenJMeterSceneResponse>","errorExample":""}]', 'title' => 'SaveOpenJMeterScene', - ], - 'GetOpenJMeterScene' => [ - 'summary' => 'Queries information about a JMeter scenario.', - 'methods' => [ - 'post', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SaveOpenJMeterScene'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'pts:SaveOpenJMeterScene', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PTS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"SceneId\\": \\"DYYPZIH\\",\\n \\"RequestId\\": \\"A8E16480-15C1-555A-922F-B736A005E52D\\",\\n \\"Message\\": \\"空\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'SavePtsScene' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7176,638 +4237,606 @@ 'BearerToken' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'SceneId', + 'name' => 'Scene', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'title' => '场景ID', - 'description' => 'The ID of the scenario.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'DYYPZIH', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'description' => 'The sample response.'."\n", + 'title' => '', + 'description' => 'The details of the scenario.', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => 'The error message. If the operation is successful, this parameter is not returned.'."\n", - 'type' => 'string', + 'SceneId' => ['description' => 'The scenario ID. If you do not specify this parameter, a scenario is created. If you specify this parameter, the specified scenario is updated.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'IUYAHGJ'], + 'SceneName' => ['description' => 'The scenario name.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'test'], + 'RelationList' => [ + 'title' => '', + 'description' => 'The connection configuration.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'RelationName' => ['description' => 'The connection name.', 'type' => 'string', 'example' => 'Link 1', 'required' => true, 'title' => ''], + 'RelationId' => ['description' => 'The connection ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '1'], + 'ApiList' => [ + 'title' => '', + 'description' => 'The information about the APIs in the connection.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ApiName' => ['description' => 'The API name.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'api'], + 'Url' => ['description' => 'The URL for stress testing.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'http://www.example.com'], + 'Method' => ['description' => 'The request method.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'GET'], + 'ApiId' => ['description' => 'The API ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '1'], + 'ExportList' => [ + 'title' => '', + 'description' => 'The response parameters.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ExportType' => ['description' => 'The source of the response parameter. Valid values:'."\n" + ."\n" + .'- BODY\\_TEXT: request body'."\n" + ."\n" + .'- BODY\\_JSON: request body'."\n" + ."\n" + .'- HEADER: request header'."\n" + ."\n" + .'- STATUS\\_CODE: response status code', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'BODY_JSON'], + 'ExportName' => ['description' => 'The name of the response parameter.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'test'], + 'Count' => ['description' => 'The sequence number of the matching item. The value can be a number or \\`Random\\`. This parameter is required when the response parameter is extracted from the request body (BODY\\_TEXT).', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '0'], + 'ExportValue' => ['description' => 'The expression used to parse the response parameter.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'data.itemlist[0]'], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'example' => '', + ], + 'HeaderList' => [ + 'title' => 'headerList', + 'description' => 'The request headers.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'HeaderName' => ['description' => 'The name of the header field.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'Accept-Encoding'], + 'HeaderValue' => ['description' => 'The value of the header field.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'gzip, deflate, br'], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'example' => '', + ], + 'CheckPointList' => [ + 'title' => '', + 'description' => 'The checkpoints.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Operator' => ['description' => 'The checkpoint condition.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ctn'], + 'ExpectValue' => ['description' => 'The content to check, which is the expected value.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '111'], + 'CheckType' => ['description' => 'The type of the checkpoint. Valid values:'."\n" + ."\n" + .'- BODY\\_TEXT: response body'."\n" + ."\n" + .'- HEADER: response header'."\n" + ."\n" + .'- STATUS\\_CODE: response status code'."\n" + ."\n" + .'- EXPORTED\\_PARAM: response parameter', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'EXPORTED_PARAM'], + 'CheckPoint' => ['description' => 'The object to check.'."\n" + ."\n" + .'If type is HEADER, this parameter specifies a field in the header. If `type` is `EXPORTED_PARAM`, this parameter specifies the name of a response parameter.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'userId'], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'example' => '', + ], + 'TimeoutInSecond' => ['description' => 'The timeout period for the API call. Unit: seconds. Default value: 5. Valid values: 1 to 60.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '5'], + 'Body' => [ + 'title' => '', + 'description' => 'The request body.', + 'type' => 'object', + 'properties' => [ + 'ContentType' => ['description' => 'The type of the request body. Default value: `application/x-www-form-urlencoded`.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'application/x-www-form-urlencoded'], + 'BodyValue' => ['description' => 'The content of the request body. For example, \\`{\\"key1\\":\\"value2\\",\\"key2\\":\\"value2\\"}\\`.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '{\\"global\\":\\"${global}\\",\\"name\\":\\"${name}\\"}'], + ], + 'required' => false, + 'example' => '', + ], + 'RedirectCountLimit' => ['description' => 'The number of redirections. Set the value to 0 to allow redirections or 10 to disallow redirections. Configure this parameter as needed.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'title' => '', 'example' => '0'], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'required' => true, + 'example' => '', + ], + 'FileParameterExplainList' => [ + 'title' => '', + 'description' => 'The configurations of the file parameters in the connection.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'FileName' => ['description' => 'The file name.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'fileName.csv'], + 'FileParamName' => ['description' => 'The names of the parameter columns in the file.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'name,uid,age'], + 'BaseFile' => ['description' => 'Specifies whether the file is a baseline file.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'true'], + 'CycleOnce' => ['description' => 'Specifies whether to poll the file once.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'true'], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'example' => '', + ], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'required' => true, 'example' => '', ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'A8E16480-15C1-555A-922F-B736A005E52D', - ], - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Scene' => [ - 'title' => '场景详情', - 'description' => 'The information about the scenario.'."\n", + 'LoadConfig' => [ + 'title' => '', + 'description' => 'The stress testing configuration.', 'type' => 'object', 'properties' => [ - 'SceneName' => [ - 'title' => '场景名', - 'description' => 'The name of the scenario.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'SceneId' => [ - 'title' => '场景id', - 'description' => 'The ID of the scenario.'."\n", - 'type' => 'string', - 'example' => 'DYYPZIH', - ], - 'EnvironmentId' => [ - 'title' => '环境id', - 'description' => 'The ID of the environment.'."\n", - 'type' => 'string', - 'example' => 'EEDT7', - ], - 'BaseInfo' => [ - 'title' => '基本信息', - 'description' => 'The basic information.'."\n", + 'TestMode' => ['description' => 'The stress testing mode. Valid values:'."\n" + ."\n" + .'- concurrency\\_mode: concurrent mode'."\n" + ."\n" + .'- tps\\_mode: RPS mode', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'concurrency_mode'], + 'Configuration' => [ + 'title' => '', + 'description' => 'The stress testing configuration of the scenario.', 'type' => 'object', 'properties' => [ - 'Remark' => [ - 'title' => '备注', - 'description' => 'The comment.'."\n", - 'type' => 'string', - 'example' => '小心压测', - ], - 'Principal' => [ - 'title' => '场景压测负责人', - 'description' => 'The person who takes charge of the performance testing.'."\n", - 'type' => 'string', - 'example' => 'test-person', - ], - 'Resource' => [ - 'title' => '场景来源', - 'description' => 'The origin of the scenario.'."\n", - 'type' => 'string', - 'example' => 'create', - ], - 'CreateName' => [ - 'title' => '创建人名', - 'description' => 'The name of the creator.'."\n", - 'type' => 'string', - 'example' => '张三', - ], - 'ModifyName' => [ - 'title' => '修改人名', - 'description' => 'The name of the modifier.'."\n", - 'type' => 'string', - 'example' => '里斯', - ], - 'OperateType' => [ - 'title' => '操作类型', - 'description' => 'The type of the operation.'."\n", - 'type' => 'string', - 'example' => '保存去压测', - ], + 'AllRpsBegin' => ['description' => 'The total initial RPS for all APIs.'."\n" + ."\n" + .'The value is evenly distributed to each API. This parameter is used in RPS mode. If you do not set this parameter, you must set **apiLoadConfig**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '100'], + 'AllRpsLimit' => ['description' => 'The total maximum RPS for all APIs.'."\n" + ."\n" + .'The value is evenly distributed to each API. This parameter is used in RPS mode. If you do not set this parameter, you must set **apiLoadConfig**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '100'], + 'AllConcurrencyBegin' => ['description' => 'The total initial number of concurrent users for all connections.'."\n" + ."\n" + .'The value is evenly distributed to each connection. This parameter is used in concurrent mode. If you do not set this parameter, you must set **relationLoadConfig**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '100'], + 'AllConcurrencyLimit' => ['description' => 'The total maximum number of concurrent users for all connections.'."\n" + ."\n" + .'The value is evenly distributed to each connection. This parameter is used in concurrent mode. If you do not set this parameter, you must set **relationLoadConfig**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '100'], ], + 'required' => true, + 'example' => '', ], - 'FileList' => [ - 'title' => '文件列表', - 'description' => 'The files.'."\n", + 'MaxRunningTime' => ['description' => 'The duration of the stress test. Unit: minutes. Valid values: 1 to 1440.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'title' => '', 'example' => '10'], + 'AutoStep' => ['description' => 'Specifies whether to enable auto-step. This parameter is valid only in concurrent mode, which is when testMode is set to `concurrency_mode`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'true'], + 'AgentCount' => ['description' => 'The number of agents. This parameter is used when the number of concurrent users is greater than 250 or the number of records per second (RPS) is greater than 2,000. The maximum number of extended agents cannot exceed \\`Maximum number of concurrent users/250\\` or \\`Maximum RPS/2000\\`.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '1'], + 'Increment' => ['description' => 'The increment percentage. Valid values: 10 to 100. The value must be a multiple of 10.'."\n" + ."\n" + .'This parameter is valid only in concurrent mode and when auto-step is enabled. This means testMode is concurrency\\_mode and `autoStep` is `true`.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '30'], + 'KeepTime' => ['description' => 'The duration of a single stress level. Unit: minutes. The duration must be shorter than the value of **maxRunningTime**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '3'], + 'ApiLoadConfigList' => [ + 'title' => '', + 'description' => 'The initial and maximum RPS for the API. This parameter is used in RPS mode.', 'type' => 'array', 'items' => [ - 'description' => 'The file.'."\n", 'type' => 'object', 'properties' => [ - 'Id' => [ - 'title' => '文件ID', - 'description' => 'The ID of the file.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '61660', - ], - 'FileName' => [ - 'title' => '文件名', - 'description' => 'The name of the file.'."\n", - 'type' => 'string', - 'example' => 'json.jar', - ], - 'FileOssAddress' => [ - 'title' => '文件地址', - 'description' => 'The Object Storage Service (OSS) URL of the file.'."\n", - 'type' => 'string', - 'example' => 'https://test.oss-cn-shanghai.aliyuncs.com/json.jar', - ], - 'SplitCsv' => [ - 'title' => 'csv文件是否切分', - 'description' => 'Indicates whether the file is split.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'Md5' => [ - 'title' => '文件的md5值', - 'description' => 'The MD5 value of the JAR package.'."\n", - 'type' => 'string', - 'example' => '43B584026CE5E570F3DE638FA7EEF9E0', - ], - 'FileSize' => [ - 'title' => '文件大小', - 'description' => 'The size of the file. Unit: bytes.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '700', - ], - 'FileType' => [ - 'title' => '文件类型', - 'description' => 'The type of the file.'."\n", - 'type' => 'string', - 'example' => 'jar', - ], + 'ApiId' => ['title' => 'apiId', 'description' => 'The API ID.', 'type' => 'string', 'required' => true, 'example' => '1'], + 'RpsLimit' => ['description' => 'The maximum RPS.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'title' => '', 'example' => '100'], + 'RpsBegin' => ['description' => 'The initial RPS.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'title' => '', 'example' => '100'], ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', ], + 'required' => false, + 'example' => '', ], - 'TestFile' => [ - 'title' => '测试文件', - 'description' => 'The test file.'."\n", - 'type' => 'string', - 'example' => 'baidu.jmx', - ], - 'IsVpcTest' => [ - 'title' => '是否为VPC压测', - 'description' => 'Indicates whether the load is from a virtual private cloud (VPC).'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'Duration' => [ - 'title' => '压测持续时间,单位为s', - 'description' => 'The duration of the performance testing. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '600', - ], - 'DnsCacheConfig' => [ - 'title' => 'DNS配置', - 'description' => 'The DNS settings.'."\n", + 'VpcLoadConfig' => [ + 'title' => '', + 'description' => 'The VPC configuration.', 'type' => 'object', 'properties' => [ - 'ClearCacheEachIteration' => [ - 'title' => '是否清除缓存', - 'description' => 'Indicates whether the cache is cleared.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'DnsServers' => [ - 'title' => 'DNS服务器', - 'description' => 'The DNS servers'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The DNS server.'."\n", - 'type' => 'string', - 'example' => '["8.8.8.8"]', - ], - ], - 'HostTable' => [ - 'title' => '域名绑定', - 'description' => 'The domain name and its bounded IP address.'."\n", - 'type' => 'object', - 'example' => '{"server.com":"6.6.6.6"}', - ], + 'VpcId' => ['title' => 'vpcId', 'description' => 'The VPC ID.', 'type' => 'string', 'required' => true, 'example' => 'vpc-akjhsdajgjsfggahjkga'], + 'VSwitchId' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'vsw-skjfhlahsljkhsfalkjdoiw'], + 'SecurityGroupId' => ['description' => 'The security group ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'sg-jkasgfieiajidsjakjscb'], + 'RegionId' => ['title' => 'regionId', 'description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing'], ], + 'required' => false, + 'example' => '', ], - 'Concurrency' => [ - 'title' => '最大并发,并发模式下生效', - 'description' => 'The maximum number of concurrent virtual users.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1000', - ], - 'AgentCount' => [ - 'title' => '施压机数量', - 'description' => 'The number of load generators. A load generator supports up to 500 concurrent virtual users.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'RampUp' => [ - 'title' => '递增时间,单位s', - 'description' => 'The period of time during which the load is gradually increased to the desired level. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'Steps' => [ - 'title' => '递增阶梯数。预热时间和预热阶段数都不配置时 使用固定压力值 只配置预热时间,不配置阶段数时 使用均匀递增 预热时间和阶段数都配置时,并且steps<rampUp 使用阶梯递增 不能只配置steps,不配置rampUp 如果这样配置,默认使用固定压力值', - 'description' => 'The number of incremented users per step. If RampUp or Steps is not specified, the fixed load is used. If RampUp is specified but Steps is not specified, the load increases uniformly based on the value of RampUp. If RampUp and Steps are specified and Steps is less than RampUp, the load increases based on the value of Steps. You cannot specify Steps without specifying RampUp. If you do so, the fixed load is used.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'RegionId' => [ - 'title' => 'VPC压测时配置', - 'description' => 'The region ID. This parameter is returned if the load is from a VPC.'."\n", - 'type' => 'string', - 'example' => 'cn-beijing', - ], - 'VpcId' => [ - 'title' => 'vpc的id,VPC压测时配置', - 'description' => 'The ID of the VPC. This parameter is returned if the load is from a VPC.'."\n", - 'type' => 'string', - 'example' => 'vpc-2ze2sahjdgahsebjkqhf4pyj', - ], - 'SecurityGroupId' => [ - 'title' => '安全组id,VPC压测时配置', - 'description' => 'The ID of the security group. This parameter is returned if the load is from a VPC.'."\n", - 'type' => 'string', - 'example' => 'sg-2zeid0dd7bhahsgdahspaly', - ], - 'VSwitchId' => [ - 'title' => '交换机id,VPC压测时配置', - 'description' => 'The ID of the vSwitch. This parameter is returned if the load is from a VPC.'."\n", - 'type' => 'string', - 'example' => 'vsw-2zehsgdhsahw1r', - ], - 'SyncTimerType' => [ - 'title' => 'synchronizing timer 类型', - 'description' => 'The type of the synchronization timer.'."\n", - 'type' => 'string', - 'example' => 'GLOBAL', - ], - 'ConstantThroughputTimerType' => [ - 'title' => 'constantThroughputTimerType', - 'description' => 'The type of the constant throughput timer.'."\n", - 'type' => 'string', - 'example' => 'STAND_ALONE', - ], - 'Pool' => [ - 'title' => '压力来源。“”表示公网,intranet-vpc表示VPC', - 'description' => 'The origin of the load. "" indicates the Internet and intranet-vpc indicates the VPC.'."\n", - 'type' => 'string', - 'example' => 'VPC', - ], - 'Mode' => [ - 'title' => '施压模式,concurrency_mode表示并发压测,tps_mode表示RPS压测', - 'description' => 'The load application mode. Valid values: concurrency_mode and tps_mode.'."\n", - 'type' => 'string', - 'example' => 'concurrency_mode', - ], - 'StartRps' => [ - 'description' => 'The start requests per second (RPS). This parameter is returned if you set Mode to tps_mode.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => 'true', - ], - 'MaxRps' => [ - 'description' => 'The maximum RPS. This parameter is returned if you set Mode to tps_mode.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => 'true', - ], - 'StartConcurrency' => [ - 'description' => 'The start number of concurrent virtual users.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => 'true', + 'RelationLoadConfigList' => [ + 'title' => '', + 'description' => 'The initial and maximum number of concurrent users for the connection. This parameter is used in concurrent mode.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'RelationId' => ['description' => 'The connection ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '1'], + 'ConcurrencyLimit' => ['description' => 'The maximum number of concurrent users.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'title' => '', 'example' => '100'], + 'ConcurrencyBegin' => ['title' => 'concurrencyBegin', 'description' => 'The initial number of concurrent users.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '100'], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'example' => '', ], - 'RegionalCondition' => [ - 'description' => 'Customized load generator settings for regions'."\n", + ], + 'required' => true, + 'example' => '', + ], + 'AdvanceSetting' => [ + 'title' => '', + 'description' => 'The advanced settings.', + 'type' => 'object', + 'properties' => [ + 'LogRate' => ['description' => 'The log sampling rate. Valid values: 1 to 50. If the value is greater than 2, it must be a multiple of 10. Valid values: 1, 10, 20, 30, 40, and 50.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '1'], + 'DomainBindingList' => [ + 'title' => '', + 'description' => 'The mappings between domain names and IP addresses.', 'type' => 'array', 'items' => [ - 'description' => 'The number of load generators in a region'."\n", 'type' => 'object', 'properties' => [ - 'Region' => [ - 'description' => 'The ID of the region.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'Amount' => [ - 'description' => 'The number of load generators.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', + 'Domain' => ['description' => 'The domain name.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'www.example.com'], + 'Ips' => [ + 'title' => '', + 'description' => 'The IP addresses.', + 'type' => 'array', + 'items' => ['type' => 'string', 'description' => '', 'required' => false, 'example' => '["192.168.1.1","192.168.1.2"]', 'title' => ''], + 'required' => false, + 'example' => '', ], ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', ], + 'required' => false, + 'example' => '', ], + 'ConnectionTimeoutInSecond' => ['description' => 'The timeout period. Unit: seconds.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '5'], + 'SuccessCode' => ['description' => 'The custom success status codes. Separate multiple status codes with commas (,).', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '205'], ], + 'required' => false, + 'example' => '', ], - 'Code' => [ - 'description' => 'The system status code.'."\n", - 'type' => 'string', - 'example' => '200', + 'GlobalParameterList' => [ + 'title' => '', + 'description' => 'The global custom parameters.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ParamName' => ['description' => 'The parameter name.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'global'], + 'ParamValue' => ['description' => 'The value of the global parameter. This value cannot be parameterized.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '11111'], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'example' => '', ], - 'Success' => [ - 'description' => 'Indicates whether the operation is successful. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'true', + 'FileParameterList' => [ + 'title' => '', + 'description' => 'The file parameters.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'FileName' => ['description' => 'The file name.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'test.csv'], + 'FileOssAddress' => ['description' => 'The URL of your Object Storage Service (OSS) file. The file must be accessible over the Internet.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'https://jmeter-pts-testing-version.oss-cn-shanghai.aliyuncs.com/param-file.csv'], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'example' => '', ], ], + 'required' => true, + 'example' => '', ], ], ], - 'errorCodes' => [ - 403 => [ - [ - 'errorCode' => 'SceneNotExist', - 'errorMessage' => 'The scene does not exist.', + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => ['description' => 'The error message. This message is empty if the request is successful.', 'type' => 'string', 'example' => '空', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'A8E16480-15C1-555A-922F-B736A005E52D', 'title' => ''], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'Code' => ['description' => 'The system status code.', 'type' => 'string', 'example' => '200', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n" + ."\n" + .'- true: The request was successful.'."\n" + ."\n" + .'- false: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'SceneId' => ['description' => 'The scenario ID.', 'type' => 'string', 'title' => '', 'example' => 'IUYAHGJ'], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"空\\",\\n \\"RequestId\\": \\"A8E16480-15C1-555A-922F-B736A005E52D\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Scene\\": {\\n \\"SceneName\\": \\"test\\",\\n \\"SceneId\\": \\"DYYPZIH\\",\\n \\"EnvironmentId\\": \\"EEDT7\\",\\n \\"BaseInfo\\": {\\n \\"Remark\\": \\"小心压测\\",\\n \\"Principal\\": \\"test-person\\",\\n \\"Resource\\": \\"create\\",\\n \\"CreateName\\": \\"张三\\",\\n \\"ModifyName\\": \\"里斯\\",\\n \\"OperateType\\": \\"保存去压测\\"\\n },\\n \\"FileList\\": [\\n {\\n \\"Id\\": 61660,\\n \\"FileName\\": \\"json.jar\\",\\n \\"FileOssAddress\\": \\"https://test.oss-cn-shanghai.aliyuncs.com/json.jar\\",\\n \\"SplitCsv\\": false,\\n \\"Md5\\": \\"43B584026CE5E570F3DE638FA7EEF9E0\\",\\n \\"FileSize\\": 700,\\n \\"FileType\\": \\"jar\\"\\n }\\n ],\\n \\"TestFile\\": \\"baidu.jmx\\",\\n \\"IsVpcTest\\": false,\\n \\"Duration\\": 600,\\n \\"DnsCacheConfig\\": {\\n \\"ClearCacheEachIteration\\": false,\\n \\"DnsServers\\": [\\n \\"[\\\\\\"8.8.8.8\\\\\\"]\\"\\n ],\\n \\"HostTable\\": {\\n \\"server.com\\": \\"6.6.6.6\\"\\n }\\n },\\n \\"Concurrency\\": 1000,\\n \\"AgentCount\\": 2,\\n \\"RampUp\\": 100,\\n \\"Steps\\": 3,\\n \\"RegionId\\": \\"cn-beijing\\",\\n \\"VpcId\\": \\"vpc-2ze2sahjdgahsebjkqhf4pyj\\",\\n \\"SecurityGroupId\\": \\"sg-2zeid0dd7bhahsgdahspaly\\",\\n \\"VSwitchId\\": \\"vsw-2zehsgdhsahw1r\\",\\n \\"SyncTimerType\\": \\"GLOBAL\\",\\n \\"ConstantThroughputTimerType\\": \\"STAND_ALONE\\",\\n \\"Pool\\": \\"VPC\\",\\n \\"Mode\\": \\"concurrency_mode\\",\\n \\"StartRps\\": 0,\\n \\"MaxRps\\": 0,\\n \\"StartConcurrency\\": 0,\\n \\"RegionalCondition\\": [\\n {\\n \\"Region\\": \\"cn-hangzhou\\",\\n \\"Amount\\": 1\\n }\\n ]\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<GetOpenJMeterSceneResponse>\\n <Message>空</Message>\\n <RequestId>A8E16480-15C1-555A-922F-B736A005E52D</RequestId>\\n <HttpStatusCode>200</HttpStatusCode>\\n <Scene>\\n <SceneName>test</SceneName>\\n <SceneId>DYYPZIH</SceneId>\\n <EnvironmentId>EEDT7</EnvironmentId>\\n <BaseInfo>\\n <Remark>小心压测</Remark>\\n <Principal>test-person</Principal>\\n <Resource>create</Resource>\\n <CreateName>张三</CreateName>\\n <ModifyName>里斯</ModifyName>\\n <OperateType>保存去压测</OperateType>\\n </BaseInfo>\\n <FileList>\\n <Id>61660</Id>\\n <FileName>json.jar</FileName>\\n <FileOssAddress>https://test.oss-cn-shanghai.aliyuncs.com/json.jar</FileOssAddress>\\n <SplitCsv>false</SplitCsv>\\n <Md5>43B584026CE5E570F3DE638FA7EEF9E0</Md5>\\n <FileSize>700</FileSize>\\n <FileType>jar</FileType>\\n </FileList>\\n <TestFile>baidu.jmx</TestFile>\\n <IsVpcTest>false</IsVpcTest>\\n <Duration>600</Duration>\\n <DnsCacheConfig>\\n <ClearCacheEachIteration>false</ClearCacheEachIteration>\\n <DnsServers>[\\"8.8.8.8\\"]</DnsServers>\\n </DnsCacheConfig>\\n <Concurrency>1000</Concurrency>\\n <AgentCount>2</AgentCount>\\n <RampUp>100</RampUp>\\n <Steps>3</Steps>\\n <RegionId>cn-beijing</RegionId>\\n <VpcId>vpc-2ze2sahjdgahsebjkqhf4pyj</VpcId>\\n <SecurityGroupId>sg-2zeid0dd7bhahsgdahspaly</SecurityGroupId>\\n <VSwitchId>vsw-2zehsgdhsahw1r</VSwitchId>\\n <SyncTimerType>GLOBAL</SyncTimerType>\\n <ConstantThroughputTimerType>STAND_ALONE</ConstantThroughputTimerType>\\n </Scene>\\n <Code>200</Code>\\n <Success>true</Success>\\n</GetOpenJMeterSceneResponse>","errorExample":""}]', - 'title' => 'GetOpenJMeterScene', - ], - 'ListOpenJMeterScenes' => [ - 'summary' => 'Queries JMeter scenarios based on a specified condition.', - 'methods' => [ - 'post', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ModifyPtsSceneFail', 'errorMessage' => 'The scene does not exit', 'description' => ''], + ], ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"空\\",\\n \\"RequestId\\": \\"A8E16480-15C1-555A-922F-B736A005E52D\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true,\\n \\"SceneId\\": \\"IUYAHGJ\\"\\n}","type":"json"}]', + 'title' => 'SavePtsScene', + 'summary' => 'Saves a new scenario or updates an existing one.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SavePtsScene'], + ], ], + 'ramActions' => [], + 'translator' => 'machine', + ], + 'StartDebugPtsScene' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], - [ - 'APP' => [], - ], - [ - 'PrivateKey' => [], - ], - [ - 'BearerToken' => [], - ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [], + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '22662', + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], + ], 'parameters' => [ [ - 'name' => 'PageNumber', + 'name' => 'SceneId', 'in' => 'query', + 'schema' => ['description' => 'The scenario ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'NHBGB8B'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The number of the page to return.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '2147483647', - 'minimum' => '1', - 'example' => '1', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'C1905194-EE28-4F78-AD81-85A40D52D1BC'], + 'Message' => ['description' => 'The error message. This parameter is empty if the request is successful.', 'type' => 'string', 'title' => '', 'example' => '空'], + 'PlanId' => ['description' => 'The task ID.', 'type' => 'string', 'title' => '', 'example' => ' NJJBH8B'], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '200'], + 'Code' => ['description' => 'The system status code.', 'type' => 'string', 'title' => '', 'example' => '200'], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n" + ."\n" + .'- true: successful'."\n" + .'- false: failed', 'type' => 'boolean', 'title' => '', 'example' => 'true'], + ], + 'description' => '', + 'title' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'StartDebugPtsSceneFail', 'errorMessage' => 'The scene does not exit', 'description' => ''], + ], + ], + 'title' => 'StartDebugPtsScene', + 'summary' => 'Starts a debug session for a scenario to test its configuration.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StartDebugPtsScene'], + ], + ], + 'ramActions' => [ [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of scenarios to return.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '1000', - 'minimum' => '10', - 'example' => '10', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'pts:StartDebugPtsScene', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PTS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C1905194-EE28-4F78-AD81-85A40D52D1BC\\",\\n \\"Message\\": \\"空\\",\\n \\"PlanId\\": \\" NJJBH8B\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'StartDebuggingJMeterScene' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'SceneId', - 'in' => 'query', - 'schema' => [ - 'title' => '场景id', - 'description' => 'The scenario ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'DYYPZIH', - ], + 'AK' => [], ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'none'], + 'parameters' => [ [ - 'name' => 'SceneName', + 'name' => 'SceneId', 'in' => 'query', - 'schema' => [ - 'title' => '场景名', - 'description' => 'The scenario name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['title' => '', 'description' => 'The ID of the scenario to debug.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'DYYPZIH'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The sample response.'."\n", + 'description' => 'The response.', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => 'The returned message. If the request was successful, this parameter is left empty.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'A8E16480-15C1-555A-922F-B736A005E52D', - ], - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code. If the request was successful, this parameter is not returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'JMeterScene' => [ - 'description' => 'The scenarios.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The details of the scenario.'."\n", - 'type' => 'object', - 'properties' => [ - 'DurationStr' => [ - 'title' => '压测持续时间', - 'description' => 'The stress testing duration.'."\n", - 'type' => 'string', - 'example' => '10分钟', - ], - 'SceneId' => [ - 'title' => '场景id', - 'description' => 'The scenario ID.'."\n", - 'type' => 'string', - 'example' => 'DYYPZIH', - ], - 'SceneName' => [ - 'title' => '场景名', - 'description' => 'The scenario name.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'Status' => [ - 'description' => 'The status of the scenario. Valid values:'."\n" - ."\n" - .'* PREPARING: The scenario is being prepared.'."\n" - .'* PREPARED: The scenario has been prepared.'."\n" - .'* STARTING: The scenario is starting.'."\n" - .'* RUNNING: The scenario is running.'."\n" - .'* STOPPING: The scenario is being stopped.'."\n" - .'* STOPPED: The scenario waits for startup'."\n", - 'type' => 'string', - 'example' => 'STOPPED', - ], - ], - ], - ], - 'Code' => [ - 'description' => 'The system status code. If the request was successful, this parameter is not returned.'."\n", - 'type' => 'string', - 'example' => '200', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'PageNumber' => [ - 'description' => 'The number of the returned page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => 'The number of returned scenarios.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalCount' => [ - 'description' => 'The total number of returned scenarios.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => 'A8E16480-15C1-555A-922F-B736A005E52D'], + 'Message' => ['description' => 'The error message. This parameter is not returned if the request is successful.', 'type' => 'string', 'title' => ''], + 'ReportId' => ['description' => 'The ID of the report generated from the debugging.', 'type' => 'string', 'title' => '', 'example' => 'MH0SU1I'], + 'HttpStatusCode' => ['description' => 'The HTTP status code. This parameter is not returned if the request is successful.', 'type' => 'integer', 'format' => 'int32', 'title' => ''], + 'Code' => ['description' => 'The system status code. This parameter is not returned if the request is successful.', 'type' => 'string', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n" + ."\n" + .'- true: The request was successful.'."\n" + .'- false: The request failed.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], ], + 'title' => '', ], ], ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'SceneNotExist', - 'errorMessage' => 'The scene does not exist.', + ['errorCode' => 'SceneNotExist', 'errorMessage' => 'The scene does not exist.', 'description' => ''], + ], + ], + 'title' => 'StartDebuggingJMeterScene', + 'summary' => 'Starts debugging a JMeter scenario.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '30', 'countWindow' => 60, 'regionId' => '*', 'api' => 'StartDebuggingJMeterScene'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'pts:StartDebuggingJMeterScene', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PTS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"\\",\\n \\"RequestId\\": \\"A8E16480-15C1-555A-922F-B736A005E52D\\",\\n \\"HttpStatusCode\\": 0,\\n \\"JMeterScene\\": [\\n {\\n \\"DurationStr\\": \\"10分钟\\",\\n \\"SceneId\\": \\"DYYPZIH\\",\\n \\"SceneName\\": \\"test\\",\\n \\"Status\\": \\"STOPPED\\"\\n }\\n ],\\n \\"Code\\": \\"\\",\\n \\"Success\\": true,\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 100\\n}","errorExample":""},{"type":"xml","example":"<ListOpenJMeterScenesResponse>\\n <Message>空</Message>\\n <RequestId>A8E16480-15C1-555A-922F-B736A005E52D</RequestId>\\n <HttpStatusCode>200</HttpStatusCode>\\n <JMeterScene>\\n <DurationStr>10分钟</DurationStr>\\n <SceneId>DYYPZIH</SceneId>\\n <SceneName>test</SceneName>\\n </JMeterScene>\\n <Code>200</Code>\\n <Success>true</Success>\\n <PageNumber>1</PageNumber>\\n <PageSize>10</PageSize>\\n <TotalCount>100</TotalCount>\\n</ListOpenJMeterScenesResponse>","errorExample":""}]', - 'title' => 'ListOpenJMeterScenes', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A8E16480-15C1-555A-922F-B736A005E52D\\",\\n \\"Message\\": \\"\\",\\n \\"ReportId\\": \\"MH0SU1I\\",\\n \\"HttpStatusCode\\": 0,\\n \\"Code\\": \\"\\",\\n \\"Success\\": true\\n}","type":"json"}]', ], - 'RemoveEnv' => [ - 'summary' => 'Removes the JMeter environment that corresponds to a specific JMeter environment ID.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'StartPtsScene' => [ + 'summary' => 'Starts a scenario based on a specified scenario ID.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], + [ + 'APP' => [], + ], + [ + 'PrivateKey' => [], + ], + [ + 'BearerToken' => [], + ], ], - 'operationType' => 'write', + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [], + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'high', + 'chargeType' => 'paid', + 'abilityTreeCode' => '22663', + 'abilityTreeNodes' => ['FEATUREptsFQKRPS'], + ], 'parameters' => [ [ - 'name' => 'EnvId', + 'name' => 'SceneId', 'in' => 'query', - 'schema' => [ - 'title' => '要删除的环境ID', - 'description' => 'The ID of the environment that you want to delete.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '10YPA8H', - 'maxLength' => 20, - ], + 'schema' => ['description' => 'The ID of the scenario to start. This ID is returned when you create a scenario and is also displayed on the scenario list page.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'FGSRA3'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The sample response.'."\n", 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => 'The returned message. If the request was successful, this parameter is not returned.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'A8E16480-15C1-555A-922F-B736A005E52D', - ], - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code. If the request was successful, this parameter is not returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Code' => [ - 'description' => 'The system status code. If the request was successful, this parameter is not returned.'."\n", - 'type' => 'string', - 'example' => '200', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'BD12DCC9-5E48-4E77-9657-8D34D8C0F97B'], + 'Message' => ['description' => 'The error message. This parameter is empty if the request is successful.', 'type' => 'string', 'title' => '', 'example' => '空'], + 'PlanId' => ['description' => 'The ID of the stress testing plan. This ID is returned after the scenario is successfully started.', 'type' => 'string', 'title' => '', 'example' => 'SFVAFE'], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '200'], + 'Code' => ['description' => 'The system status code.', 'type' => 'string', 'title' => '', 'example' => '200'], + 'Success' => ['description' => 'Indicates whether the operation was successful.'."\n" + ."\n" + .'- true: The operation was successful.'."\n" + .'- false: The operation failed.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], ], + 'description' => '', + 'title' => '', ], ], ], 'errorCodes' => [ - 503 => [ - [ - 'errorCode' => 'EnvNotExist', - 'errorMessage' => 'The env does not exist.', - ], + 400 => [ + ['errorCode' => 'StartPtsSceneFail', 'errorMessage' => 'Scene not exist', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"\\",\\n \\"RequestId\\": \\"A8E16480-15C1-555A-922F-B736A005E52D\\",\\n \\"HttpStatusCode\\": 0,\\n \\"Code\\": \\"\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<RemoveEnvResponse>\\n <Message>空</Message>\\n <RequestId>A8E16480-15C1-555A-922F-B736A005E52D</RequestId>\\n <HttpStatusCode>200</HttpStatusCode>\\n <Code>200</Code>\\n <Success>true</Success>\\n</RemoveEnvResponse>","errorExample":""}]', - 'title' => 'RemoveEnv', - ], - 'SaveEnv' => [ - 'summary' => 'Creates or updates a JMeter environment.', - 'methods' => [ - 'post', - 'get', + 'title' => 'StartPtsScene', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StartPtsScene'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'pts:StartPtsScene', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PTS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BD12DCC9-5E48-4E77-9657-8D34D8C0F97B\\",\\n \\"Message\\": \\"空\\",\\n \\"PlanId\\": \\"SFVAFE\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'StartTestingJMeterScene' => [ + 'summary' => 'Starts a stress test for a JMeter scenario.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7815,468 +4844,142 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [], + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '104515', + 'abilityTreeNodes' => ['FEATUREptsB8BARJ'], + ], 'parameters' => [ [ - 'name' => 'Env', + 'name' => 'SceneId', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'title' => '环境', - 'description' => 'The JMeter environment.'."\n", - 'type' => 'object', - 'properties' => [ - 'EnvId' => [ - 'title' => '环境id,不填表示新建环境,填了表示修改该环境', - 'description' => 'The ID of the JMeter environment. To create a JMeter environment, leave this parameter empty. To update a JMeter environment, specify the ID of the environment.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '10YPA8H', - 'maxLength' => 20, - ], - 'EnvName' => [ - 'title' => '环境名称', - 'description' => 'The name of the environment.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'test-create', - 'maxLength' => 50, - 'minLength' => 1, - ], - 'Files' => [ - 'title' => '环境依赖的文件', - 'description' => 'The files on which the environment depends.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The file.'."\n", - 'type' => 'object', - 'properties' => [ - 'FileName' => [ - 'title' => '文件名', - 'description' => 'The name of the file. Make sure that the file name is the same as the file name in the value of **FileOssAddress**.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'json.jar', - 'maxLength' => 100, - 'minLength' => 1, - ], - 'FileOssAddress' => [ - 'title' => '文件oss地址,目前只支持上海region的oss地址', - 'description' => 'The Object Storage Service (OSS) URL of the file. Make sure that the file is accessible from the Internet.'."\n" - ."\n" - .'> Only OSS URLs in the China (Shanghai) region are supported.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'https://test.oss-cn-shanghai.aliyuncs.com/json.jar', - 'maxLength' => 200, - 'minLength' => 1, - ], - ], - 'required' => false, - ], - 'required' => true, - 'maxItems' => 80, - 'minItems' => 0, - ], - 'Properties' => [ - 'title' => 'jmeter属性', - 'description' => 'The JMeter attributes.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The JMeter attribute.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'title' => '属性名', - 'description' => 'The name of the attribute.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'remote_hosts', - 'maxLength' => 1024, - 'minLength' => 1, - ], - 'Value' => [ - 'title' => '属性值', - 'description' => 'The value of the attribute.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '127.0.0.1', - 'maxLength' => 1024, - 'minLength' => 1, - ], - 'Description' => [ - 'title' => '描述', - 'description' => 'The description of the attribute.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '远程主机', - 'maxLength' => 1024, - ], - ], - 'required' => false, - ], - 'required' => false, - ], - 'JmeterPluginLabel' => [ - 'title' => 'jmeter插件的环境标签', - 'description' => 'The extension label.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - 'maxLength' => 32, - 'pattern' => '^[A-Z0-9]+$', - ], - ], - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['title' => '', 'description' => 'The ID of the scenario to stress test.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'DYYPZIH'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'Sample response.'."\n", + 'description' => 'The response.', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => 'The error message. If the operation is successful, this parameter is not returned.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'A8E16480-15C1-555A-922F-B736A005E52D', - ], - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code. If the operation is successful, this parameter is not returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'EnvId' => [ - 'title' => '操作的环境id', - 'description' => 'The ID of the environment.'."\n", - 'type' => 'string', - 'example' => '10YPA8H', - ], - 'Code' => [ - 'description' => 'The system status code. If the operation is successful, this parameter is not returned.'."\n", - 'type' => 'string', - 'example' => '200', - ], - 'Success' => [ - 'description' => 'Indicates whether the operation is successful. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'A8E16480-15C1-555A-922F-B736A005E52D'], + 'Message' => ['description' => 'The error message. This parameter is not returned if the request is successful.', 'type' => 'string', 'title' => ''], + 'ReportId' => ['description' => 'The report ID.', 'type' => 'string', 'title' => '', 'example' => 'MH0SU1I'], + 'HttpStatusCode' => ['description' => 'The HTTP status code. This parameter is not returned if the request is successful.', 'type' => 'integer', 'format' => 'int32', 'title' => ''], + 'Code' => ['description' => 'The system status code. This parameter is not returned if the request is successful.', 'type' => 'string', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n" + ."\n" + .'- true: The request was successful.'."\n" + .'- false: The request failed.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], ], + 'title' => '', ], ], ], 'errorCodes' => [ - 503 => [ - [ - 'errorCode' => 'SaveEnvFail', - 'errorMessage' => 'The env cannot be empty.', - ], + 403 => [ + ['errorCode' => 'SceneNotExist', 'errorMessage' => 'The scene does not exist.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"\\",\\n \\"RequestId\\": \\"A8E16480-15C1-555A-922F-B736A005E52D\\",\\n \\"HttpStatusCode\\": 0,\\n \\"EnvId\\": \\"10YPA8H\\",\\n \\"Code\\": \\"\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<SaveEnvResponse>\\n <Message>空</Message>\\n <RequestId>A8E16480-15C1-555A-922F-B736A005E52D</RequestId>\\n <HttpStatusCode>200</HttpStatusCode>\\n <EnvId>10YPA8H</EnvId>\\n <Code>200</Code>\\n <Success>true</Success>\\n</SaveEnvResponse>","errorExample":""}]', - 'title' => 'SaveEnv', - ], - 'ListEnvs' => [ - 'summary' => 'Queries the information about JMeter environments.', - 'methods' => [ - 'post', - 'get', + 'title' => 'StartTestingJMeterScene', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '30', 'countWindow' => 60, 'regionId' => '*', 'api' => 'StartTestingJMeterScene'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'pts:StartTestingJMeterScene', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PTS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A8E16480-15C1-555A-922F-B736A005E52D\\",\\n \\"Message\\": \\"\\",\\n \\"ReportId\\": \\"MH0SU1I\\",\\n \\"HttpStatusCode\\": 0,\\n \\"Code\\": \\"\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'StopDebugPtsScene' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'description' => 'The page number.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '10000000', - 'minimum' => '1', - 'example' => '1', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of environments per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '200', - 'minimum' => '5', - 'example' => '10', - ], - ], - [ - 'name' => 'EnvId', + 'name' => 'SceneId', 'in' => 'query', - 'schema' => [ - 'title' => '环境ID', - 'description' => 'The ID of the environment. If you specify this parameter, the operation returns the information about the environment identified by the ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '10YPA8H', - ], + 'schema' => ['description' => 'The scenario ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'RDDCF7'], ], [ - 'name' => 'EnvName', + 'name' => 'PlanId', 'in' => 'query', - 'schema' => [ - 'title' => '环境名', - 'description' => 'The keyword of the environment name. If you specify this parameter, the operation returns the information about the environments whose names contain the keyword.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test-create', - ], + 'schema' => ['description' => 'The task ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'FVDC7HB'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The sample response.'."\n", 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => 'The total number of environments.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'A8E16480-15C1-555A-922F-B736A005E52D', - ], - 'Message' => [ - 'description' => 'The error message. If the operation is successful, this parameter is not returned.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'PageSize' => [ - 'description' => 'The number of environments per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'PageNumber' => [ - 'description' => 'The page number.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Envs' => [ - 'title' => '环境列表', - 'description' => 'The environments.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The environment.'."\n", - 'type' => 'object', - 'properties' => [ - 'CreateTime' => [ - 'title' => '创建时间', - 'description' => 'The time when the environment was created.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1637053715165', - ], - 'RunningScenes' => [ - 'title' => '关联的场景id', - 'description' => 'The IDs of the scenarios that run in the environment.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The IDs of the scenarios.'."\n", - 'type' => 'string', - 'example' => '[10YPA8H, 0PYP8WH]', - ], - ], - 'EnvVersion' => [ - 'title' => '依赖的jmeter版本', - 'description' => 'The JMeter version of the environment.'."\n", - 'type' => 'string', - 'example' => '5.0', - ], - 'ModifiedTime' => [ - 'title' => '修改时间', - 'description' => 'The time when the environment was last modified.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1637053719165', - ], - 'Files' => [ - 'title' => '包含的jar包', - 'description' => 'The JAR files.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The file.'."\n", - 'type' => 'object', - 'properties' => [ - 'FileSize' => [ - 'title' => '文件大小,单位为Byte', - 'description' => 'The size of the file. Unit: bytes.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '788', - ], - 'Md5' => [ - 'title' => 'jar包的md5值', - 'description' => 'The MD5 checksum of the file.'."\n", - 'type' => 'string', - 'example' => '43B584026CE5E570F3DE638FA7EEF9E0', - ], - 'FileName' => [ - 'title' => '文件名', - 'description' => 'The name of the file.'."\n", - 'type' => 'string', - 'example' => 'json.jar', - ], - 'FileOssAddress' => [ - 'title' => '文件的oss地址', - 'description' => 'The OSS address of the file.'."\n", - 'type' => 'string', - 'example' => 'https://test.oss-cn-shanghai.aliyuncs.com/json.jar', - ], - 'FileId' => [ - 'title' => '文件ID', - 'description' => 'The ID of the file.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '61660', - ], - ], - ], - ], - 'RelatedScenes' => [ - 'title' => '关联的场景', - 'description' => 'The scenarios related to the environment.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The scenario.'."\n", - 'type' => 'string', - 'example' => '[10YPA8H, 0PYP8WH]', - ], - ], - 'UsedCapacity' => [ - 'title' => '环境的文件总大小', - 'description' => 'The total size of the environment file.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '26668', - ], - 'EnvName' => [ - 'title' => '环境名', - 'description' => 'The name of the environment.'."\n", - 'type' => 'string', - 'example' => 'test-create', - ], - 'EnvId' => [ - 'title' => '环境ID', - 'description' => 'The ID of the environment.'."\n", - 'type' => 'string', - 'example' => '86S1LH', - ], - 'Properties' => [ - 'title' => 'jmeter属性', - 'description' => 'The JMeter attributes.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The attribute.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'title' => '属性名', - 'description' => 'The name of the attribute.'."\n", - 'type' => 'string', - 'example' => 'remote_hosts', - ], - 'Value' => [ - 'title' => '属性值', - 'description' => 'The value of the attribute.'."\n", - 'type' => 'string', - 'example' => '127.0.0.1', - ], - 'Description' => [ - 'title' => '描述', - 'description' => 'The description of the attribute.'."\n", - 'type' => 'string', - 'example' => '远程主机', - ], - ], - ], - ], - ], - ], - ], - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code. If the operation is successful, this parameter is not returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Code' => [ - 'description' => 'The system status code. If the operation is successful, this parameter is not returned.'."\n", - 'type' => 'string', - 'example' => '200', - ], - 'Success' => [ - 'description' => 'Indicates whether the operation is successful. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'Message' => ['description' => 'The error message. This parameter is empty if the request is successful.', 'type' => 'string', 'title' => '', 'example' => '空'], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '0AE6505C-55CE-444A-B73B-810D0ED27C66'], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '200'], + 'Code' => ['description' => 'The system status code.', 'type' => 'string', 'title' => '', 'example' => '200'], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n" + ."\n" + .'- true: The request was successful.'."\n" + .'- false: The request failed.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], ], + 'description' => '', + 'title' => '', ], ], ], 'errorCodes' => [ - 503 => [ - [ - 'errorCode' => 'EnvNotExist', - 'errorMessage' => 'The env does not exist.', - ], + 400 => [ + ['errorCode' => 'StopDebugPtsSceneFail', 'errorMessage' => 'The scene does not exit', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 100,\\n \\"RequestId\\": \\"A8E16480-15C1-555A-922F-B736A005E52D\\",\\n \\"Message\\": \\"\\",\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"Envs\\": [\\n {\\n \\"CreateTime\\": 1637053715165,\\n \\"RunningScenes\\": [\\n \\"[10YPA8H, 0PYP8WH]\\"\\n ],\\n \\"EnvVersion\\": \\"5.0\\",\\n \\"ModifiedTime\\": 1637053719165,\\n \\"Files\\": [\\n {\\n \\"FileSize\\": 788,\\n \\"Md5\\": \\"43B584026CE5E570F3DE638FA7EEF9E0\\",\\n \\"FileName\\": \\"json.jar\\",\\n \\"FileOssAddress\\": \\"https://test.oss-cn-shanghai.aliyuncs.com/json.jar\\",\\n \\"FileId\\": 61660\\n }\\n ],\\n \\"RelatedScenes\\": [\\n \\"[10YPA8H, 0PYP8WH]\\"\\n ],\\n \\"UsedCapacity\\": 26668,\\n \\"EnvName\\": \\"test-create\\",\\n \\"EnvId\\": \\"86S1LH\\",\\n \\"Properties\\": [\\n {\\n \\"Name\\": \\"remote_hosts\\",\\n \\"Value\\": \\"127.0.0.1\\",\\n \\"Description\\": \\"远程主机\\"\\n }\\n ]\\n }\\n ],\\n \\"HttpStatusCode\\": 0,\\n \\"Code\\": \\"\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<ListEnvsResponse>\\n <TotalCount>100</TotalCount>\\n <RequestId>A8E16480-15C1-555A-922F-B736A005E52D</RequestId>\\n <Message>空</Message>\\n <PageSize>10</PageSize>\\n <PageNumber>1</PageNumber>\\n <Envs>\\n <CreateTime>1637053715165</CreateTime>\\n <RunningScenes>[10YPA8H, 0PYP8WH]</RunningScenes>\\n <EnvVersion>5.0</EnvVersion>\\n <ModifiedTime>1637053719165</ModifiedTime>\\n <Files>\\n <FileSize>788</FileSize>\\n <Md5>43B584026CE5E570F3DE638FA7EEF9E0</Md5>\\n <FileName>json.jar</FileName>\\n <FileOssAddress>https://test.oss-cn-shanghai.aliyuncs.com/json.jar</FileOssAddress>\\n <FileId>61660</FileId>\\n </Files>\\n <RelatedScenes>[10YPA8H, 0PYP8WH]</RelatedScenes>\\n <UsedCapacity>26668</UsedCapacity>\\n <EnvName>test-create</EnvName>\\n <EnvId>86S1LH</EnvId>\\n <Properties>\\n <Name>remote_hosts</Name>\\n <Value>127.0.0.1</Value>\\n <Description>远程主机</Description>\\n </Properties>\\n </Envs>\\n <HttpStatusCode>200</HttpStatusCode>\\n <Code>200</Code>\\n <Success>true</Success>\\n</ListEnvsResponse>","errorExample":""}]', - 'title' => 'ListEnvs', - ], - 'GetAllRegions' => [ - 'summary' => 'Queries all supported regions.', - 'methods' => [ - 'post', + 'title' => 'StopDebugPtsScene', + 'summary' => 'Stops a scenario that is being debugged.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopDebugPtsScene'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => '', + 'ramAction' => [ + 'action' => 'pts:StopDebugPtsScene', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PTS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"空\\",\\n \\"RequestId\\": \\"0AE6505C-55CE-444A-B73B-810D0ED27C66\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'StopDebuggingJMeterScene' => [ + 'summary' => 'Stops debugging a JMeter scenario.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8291,80 +4994,65 @@ 'BearerToken' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'SceneId', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The ID of the scenario to stop debugging.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'DYYPZIH'], + ], ], - 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'Response example', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => 'The returned message. If the request was successful, no data is returned.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '73D16B8D-0FCD-5596-B7BE-A47042989318', - ], - 'AllRegions' => [ - 'description' => 'The supported regions.'."\n", - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - 'description' => 'The supported region.'."\n", - 'example' => '', - ], - ], - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Code' => [ - 'description' => 'The system status code. If the request was successful, no data is returned.'."\n", - 'type' => 'string', - 'example' => '200', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'True', - ], + 'Message' => ['description' => 'The error message. This parameter is not returned if the request is successful.', 'type' => 'string', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => 'A8E16480-15C1-555A-922F-B736A005E52D'], + 'HttpStatusCode' => ['description' => 'The HTTP status code. This parameter is not returned if the request is successful.', 'type' => 'integer', 'format' => 'int32', 'title' => ''], + 'Code' => ['description' => 'The status code of the request. This parameter is empty if the request is successful.', 'type' => 'string', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n" + ."\n" + .'- true: The request was successful.'."\n" + .'- false: The request failed.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], ], - 'description' => '', + 'title' => '', ], ], ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Code', - 'errorMessage' => 'The specified parameter is invalid.', - ], + ['errorCode' => 'SceneNotExist', 'errorMessage' => 'The scene does not exist.', 'description' => ''], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"空\\",\\n \\"RequestId\\": \\"73D16B8D-0FCD-5596-B7BE-A47042989318\\",\\n \\"AllRegions\\": {\\n \\"key\\": \\"{\\\\n \\\\\\"cn-shenzhen\\\\\\": \\\\\\"华南1(深圳)\\\\\\",\\\\n \\\\\\"cn-qingdao\\\\\\": \\\\\\"华北1(青岛)\\\\\\",\\\\n \\\\\\"cn-beijing\\\\\\": \\\\\\"华北2(北京)\\\\\\",\\\\n \\\\\\"cn-shanghai\\\\\\": \\\\\\"华东2(上海)\\\\\\",\\\\n \\\\\\"cn-hongkong\\\\\\": \\\\\\"中国香港\\\\\\",\\\\n \\\\\\"ap-southeast-1\\\\\\": \\\\\\"新加坡\\\\\\",\\\\n \\\\\\"cn-huhehaote\\\\\\": \\\\\\"华北5(呼和浩特)\\\\\\",\\\\n \\\\\\"cn-zhangjiakou\\\\\\": \\\\\\"华北3(张家口)\\\\\\",\\\\n \\\\\\"cn-hangzhou\\\\\\": \\\\\\"华东1(杭州)\\\\\\",\\\\n \\\\\\"cn-chengdu\\\\\\": \\\\\\"西南1(成都)\\\\\\"\\\\n }\\"\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'GetAllRegions', - ], - 'GetUserVpcs' => [ - 'methods' => [ - 'post', - 'get', + 'title' => 'StopDebuggingJMeterScene', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '30', 'countWindow' => 60, 'regionId' => '*', 'api' => 'StopDebuggingJMeterScene'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => '', + 'ramAction' => [ + 'action' => 'pts:StopDebuggingJMeterScene', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PTS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"\\",\\n \\"RequestId\\": \\"A8E16480-15C1-555A-922F-B736A005E52D\\",\\n \\"HttpStatusCode\\": 0,\\n \\"Code\\": \\"\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'StopPtsScene' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8372,61 +5060,21 @@ [ 'APP' => [], ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], - 'parameters' => [ [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'description' => 'The page number.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '2147483646', - 'minimum' => '1', - 'example' => '1', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '100', - 'minimum' => '1', - 'example' => '1', - ], + 'PrivateKey' => [], ], [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the region.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], + 'BearerToken' => [], ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ [ - 'name' => 'VpcId', + 'name' => 'SceneId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the virtual private cloud (VPC).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-2ze22asdfuwiea2ebjkqhf4pyj', - ], + 'schema' => ['description' => 'The ID of the scenario to stop. This ID is returned after you create a scenario. You can also find the ID on the Scenarios page in the PTS console.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'GV4DEBG'], ], ], 'responses' => [ @@ -8434,136 +5082,54 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'Vpcs' => [ - 'description' => 'The VPCs.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The VPC.'."\n", - 'type' => 'object', - 'properties' => [ - 'VpcId' => [ - 'description' => 'The ID of the VPC.'."\n", - 'type' => 'string', - 'example' => 'vpc-uf6gc56wdjpafoiwej6adqb4qn72xtw', - ], - 'RegionId' => [ - 'description' => 'The ID of the region.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'VpcName' => [ - 'description' => 'The name of the VPC.'."\n", - 'type' => 'string', - 'example' => 'shanghai-vpc', - ], - 'CidrBlock' => [ - 'description' => 'The IPv4 CIDR block of the VPC.'."\n", - 'type' => 'string', - 'example' => '172.16.80.0/20', - ], - 'Description' => [ - 'description' => 'The description of the VPC.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'ResourceGroupId' => [ - 'description' => 'The ID of the resource group to which the VPC belongs.'."\n", - 'type' => 'string', - 'example' => 'rg-acfm3fzmgkehpewjertna', - ], - 'VSwitchIds' => [ - 'description' => 'The vSwitches.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the vSwitch.'."\n", - 'type' => 'string', - 'example' => 'vsw-bp1s21fe8r3esdslplvcv5240', - ], - ], - 'RouterTableIds' => [ - 'description' => 'The IDs of the route tables.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the route table.'."\n", - 'type' => 'string', - 'example' => 'vtb-bp11tkmteho3svealseipea6h', - ], - ], - ], - ], - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'CEE46204-E1CF-5F48-B094-67362DD4B73F', - ], - 'Message' => [ - 'description' => 'The error message. If the operation is successful, this parameter is not returned.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'PageSize' => [ - 'description' => 'The number of entries per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'PageNumber' => [ - 'description' => 'The page number.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Code' => [ - 'description' => 'The system status code.'."\n", - 'type' => 'string', - 'example' => '200', - ], - 'Success' => [ - 'description' => 'Indicates whether the operation is successful. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'Message' => ['description' => 'The returned message. This parameter is empty if the request is successful.', 'type' => 'string', 'title' => '', 'example' => '空'], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => 'DD6F2ED8-E31B-497F-85AB-C4E358A5F6F9'], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '200'], + 'Code' => ['description' => 'The status code.', 'type' => 'string', 'title' => '', 'example' => '200'], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n" + ."\n" + .'- true'."\n" + .'- false', 'type' => 'boolean', 'title' => '', 'example' => 'true'], ], 'description' => '', + 'title' => '', ], ], ], 'errorCodes' => [ - 403 => [ - [ - 'errorCode' => 'Code', - 'errorMessage' => 'The specified parameter is invalid.', - ], + 400 => [ + ['errorCode' => 'StopPtsSceneFail', 'errorMessage' => 'The scene 11434 has no plan', 'description' => ''], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 100,\\n \\"Vpcs\\": [\\n {\\n \\"VpcId\\": \\"vpc-uf6gc56wdjpafoiwej6adqb4qn72xtw\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"VpcName\\": \\"shanghai-vpc\\",\\n \\"CidrBlock\\": \\"172.16.80.0/20\\",\\n \\"Description\\": \\"空\\",\\n \\"ResourceGroupId\\": \\"rg-acfm3fzmgkehpewjertna\\",\\n \\"VSwitchIds\\": [\\n \\"vsw-bp1s21fe8r3esdslplvcv5240\\"\\n ],\\n \\"RouterTableIds\\": [\\n \\"vtb-bp11tkmteho3svealseipea6h\\"\\n ]\\n }\\n ],\\n \\"RequestId\\": \\"CEE46204-E1CF-5F48-B094-67362DD4B73F\\",\\n \\"Message\\": \\"空\\",\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'GetUserVpcs', - ], - 'GetUserVpcSecurityGroup' => [ - 'methods' => [ - 'post', - 'get', + 'title' => 'StopPtsScene', + 'summary' => 'Stops a PTS scenario.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopPtsScene'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => '', + 'ramAction' => [ + 'action' => 'pts:StopPtsScene', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PTS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"空\\",\\n \\"RequestId\\": \\"DD6F2ED8-E31B-497F-85AB-C4E358A5F6F9\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'StopTestingJMeterScene' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8578,170 +5144,66 @@ 'BearerToken' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => [], 'parameters' => [ [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'description' => 'The page number.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '2147483646', - 'minimum' => '1', - 'example' => '1', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '100', - 'minimum' => '1', - 'example' => '1', - ], - ], - [ - 'name' => 'RegionId', + 'name' => 'SceneId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the region.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'VpcId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the virtual private cloud (VPC).'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'vpc-bp10xjz7c7oqjgasodihj1kx7t', - ], + 'schema' => ['title' => '', 'description' => 'The ID of the stress testing scenario to stop.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'DYYPZIH'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'The response example.', 'type' => 'object', 'properties' => [ - 'SecurityGroupCount' => [ - 'description' => 'The number of security groups.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '9', - ], - 'SecurityGroupList' => [ - 'description' => 'The security groups.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The security group.'."\n", - 'type' => 'object', - 'properties' => [ - 'VpcId' => [ - 'description' => 'The ID of the VPC.'."\n", - 'type' => 'string', - 'example' => 'vpc-uf6tar2ohlasdhsatjln37h30bv', - ], - 'Description' => [ - 'description' => 'The description of the security group.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'SecurityGroupId' => [ - 'description' => 'The ID of the security group.'."\n", - 'type' => 'string', - 'example' => 'sg-bp16bt3zuugxpfjkasdfvthxth8', - ], - 'SecurityGroupName' => [ - 'description' => 'The name of the security group.'."\n", - 'type' => 'string', - 'example' => 'my-security-group', - ], - ], - ], - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '61B15017-1A68-5C47-834F-87E2BBC44F2C', - ], - 'Message' => [ - 'description' => 'The error message. If the operation is successful, this parameter is not returned.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'PageSize' => [ - 'description' => 'The number of entries per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'PageNumber' => [ - 'description' => 'The page number.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Code' => [ - 'description' => 'The system status code.'."\n", - 'type' => 'string', - 'example' => '200', - ], - 'Success' => [ - 'description' => 'Indicates whether the operation is successful. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'Message' => ['description' => 'The error message. This field is not returned if the request is successful.', 'type' => 'string', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'A8E16480-15C1-555A-922F-B736A005E52D'], + 'HttpStatusCode' => ['description' => 'The HTTP status code. This field is not returned if the request is successful.', 'type' => 'integer', 'format' => 'int32', 'title' => ''], + 'Code' => ['description' => 'The system status code. This field is not returned if the request is successful.', 'type' => 'string', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n" + ."\n" + .'- true: successful'."\n" + .'- false: failed', 'type' => 'boolean', 'title' => '', 'example' => 'true'], ], - 'description' => '', + 'title' => '', ], ], ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Code', - 'errorMessage' => 'The specified parameter is invalid.', + ['errorCode' => 'SceneNotExist', 'errorMessage' => 'The scene does not exist.', 'description' => ''], + ], + ], + 'title' => 'StopTestingJMeterScene', + 'summary' => 'Stops a stress test for a JMeter scenario.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '30', 'countWindow' => 60, 'regionId' => '*', 'api' => 'StopTestingJMeterScene'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => '', + 'ramAction' => [ + 'action' => 'pts:StopTestingJMeterScene', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PTS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"SecurityGroupCount\\": 9,\\n \\"SecurityGroupList\\": [\\n {\\n \\"VpcId\\": \\"vpc-uf6tar2ohlasdhsatjln37h30bv\\",\\n \\"Description\\": \\"空\\",\\n \\"SecurityGroupId\\": \\"sg-bp16bt3zuugxpfjkasdfvthxth8\\",\\n \\"SecurityGroupName\\": \\"my-security-group\\"\\n }\\n ],\\n \\"RequestId\\": \\"61B15017-1A68-5C47-834F-87E2BBC44F2C\\",\\n \\"Message\\": \\"空\\",\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'GetUserVpcSecurityGroup', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"\\",\\n \\"RequestId\\": \\"A8E16480-15C1-555A-922F-B736A005E52D\\",\\n \\"HttpStatusCode\\": 0,\\n \\"Code\\": \\"\\",\\n \\"Success\\": true\\n}","type":"json"}]', ], - 'GetUserVpcVSwitch' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdatePtsSceneBaseLine' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8756,61 +5218,26 @@ 'BearerToken' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => [], 'parameters' => [ [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '2147483646', - 'minimum' => '1', - 'example' => '1', - ], - ], - [ - 'name' => 'PageSize', + 'name' => 'SceneId', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '100', - 'minimum' => '1', - 'example' => '1', - ], + 'schema' => ['description' => 'The scenario ID. For more information, see [Parameter description](~~201321~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'NB54CV'], ], [ - 'name' => 'RegionId', + 'name' => 'SceneBaseline', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], + 'style' => 'json', + 'schema' => ['description' => 'The baseline data of the scenario. You can pass the toJSONString of the SceneBaseline class from the amazon-pts-api package as the value for this parameter.', 'type' => 'object', 'required' => false, 'title' => '', 'example' => '{"avgRt":1,"avgTps":1,"failCountBiz":1,"failCountReq":1,"seg90Rt":1,"seg99Rt":2,"successRateBiz":0.5,"successRateReq":1}'], ], [ - 'name' => 'VpcId', + 'name' => 'ApiBaselines', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the virtual private cloud (VPC).'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'vpc-2ze22scdz2ebdfjasdfjkqhf4pyj', - ], + 'style' => 'json', + 'schema' => ['description' => 'The baseline data of the API. You can pass the toJSONString of the list of ApiBaseLine objects from the amazon-pts-api package as the value for this parameter.', 'type' => 'object', 'required' => false, 'title' => '', 'example' => '[{"avgRt":1,"avgTps":1,"failCountBiz":1,"failCountReq":182381,"id":362447,"maxRt":3051,"minRt":0,"name":"1-1","seg50Rt":1,"seg75Rt":1,"seg90Rt":1,"seg99Rt":3,"successRateBiz":1,"successRateReq":0,"timingConnAvg":0},{"avgRt":1.06,"avgTps":1,"failCountBiz":0,"failCountReq":151143,"id":362446,"maxRt":3068,"minRt":0,"name":"dd","seg50Rt":1,"seg75Rt":1,"seg90Rt":1,"seg99Rt":2,"successRateBiz":1,"successRateReq":0}]'], ], ], 'responses' => [ @@ -8818,203 +5245,142 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'VSwitchCount' => [ - 'description' => 'The number of vSwitches.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '6', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '0235E5FC-4C7C-5F0C-843C-FC674F15F947', - ], - 'Message' => [ - 'description' => 'The returned message. If the request was successful, this parameter is left empty.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'PageSize' => [ - 'description' => 'The number of returned entries per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'PageNumber' => [ - 'description' => 'The number of the returned page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'VSwitchList' => [ - 'description' => 'The vSwitches.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The vSwitch.'."\n", - 'type' => 'object', - 'properties' => [ - 'VpcId' => [ - 'description' => 'The VPC ID.'."\n", - 'type' => 'string', - 'example' => 'vpc-wz9bpdaebft6j23fesdf84v2f1um3a', - ], - 'MaxAgentCount' => [ - 'description' => 'The maximum number of stress testers to be added.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1000', - ], - 'AvailableIpAddressCount' => [ - 'description' => 'The number of available IP addresses in the vSwitch.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'VSwitchId' => [ - 'description' => 'The vSwitch ID.'."\n", - 'type' => 'string', - 'example' => 'vsw-bp1eil9df23rsd8l1sevebiszooj', - ], - 'VSwitchName' => [ - 'description' => 'The vSwitch name.'."\n", - 'type' => 'string', - 'example' => 'my-vswitch', - ], - ], - ], - ], - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Code' => [ - 'description' => 'The system status code.'."\n", - 'type' => 'string', - 'example' => '200', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'Message' => ['description' => 'The error message. This parameter is empty if the request is successful.', 'type' => 'string', 'title' => '', 'example' => '空'], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '4F7D2CE0-AE4C-4143-955A-8E4595AF86A6'], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '200'], + 'Code' => ['description' => 'The system status code.', 'type' => 'string', 'title' => '', 'example' => '200'], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n" + ."\n" + .'- true: successful'."\n" + .'- false: failed', 'type' => 'boolean', 'title' => '', 'example' => 'true'], ], 'description' => '', + 'title' => '', ], ], ], 'errorCodes' => [ - 403 => [ - [ - 'errorCode' => 'Code', - 'errorMessage' => 'The specified parameter is invalid.', + 400 => [ + ['errorCode' => 'UpdatePtsSceneBaseLineFail', 'errorMessage' => 'The scene cannot be empty.', 'description' => ''], + ], + ], + 'title' => 'UpdatePtsSceneBaseLine', + 'summary' => 'Updates the baseline data for a scenario.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdatePtsSceneBaseLine'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => '', + 'ramAction' => [ + 'action' => 'pts:UpdatePtsSceneBaseLine', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PTS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"VSwitchCount\\": 6,\\n \\"RequestId\\": \\"0235E5FC-4C7C-5F0C-843C-FC674F15F947\\",\\n \\"Message\\": \\"空\\",\\n \\"PageSize\\": 5,\\n \\"PageNumber\\": 1,\\n \\"VSwitchList\\": [\\n {\\n \\"VpcId\\": \\"vpc-wz9bpdaebft6j23fesdf84v2f1um3a\\",\\n \\"MaxAgentCount\\": 1000,\\n \\"AvailableIpAddressCount\\": 1000,\\n \\"VSwitchId\\": \\"vsw-bp1eil9df23rsd8l1sevebiszooj\\",\\n \\"VSwitchName\\": \\"my-vswitch\\"\\n }\\n ],\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'GetUserVpcVSwitch', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"空\\",\\n \\"RequestId\\": \\"4F7D2CE0-AE4C-4143-955A-8E4595AF86A6\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', ], ], 'endpoints' => [ - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-qingdao', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangjiakou', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-huhehaote', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-chengdu', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'ap-northeast-1', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-2', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-3', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-5', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'us-east-1', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'us-west-1', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'eu-west-1', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'eu-central-1', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'ap-south-1', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'me-east-1', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-finance', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-finance-1', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-finance-1', - 'endpoint' => 'pts.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing-finance-1', - 'endpoint' => 'pts.aliyuncs.com', + ['regionId' => 'cn-zhangjiakou', 'regionName' => 'China (Zhangjiakou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'pts.aliyuncs.com', 'endpoint' => 'pts.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-shenzhen', 'regionName' => 'China (Shenzhen)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'pts.aliyuncs.com', 'endpoint' => 'pts.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-shanghai', 'regionName' => 'China (Shanghai)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'pts.aliyuncs.com', 'endpoint' => 'pts.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-qingdao', 'regionName' => 'China (Qingdao)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'pts.aliyuncs.com', 'endpoint' => 'pts.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-huhehaote', 'regionName' => 'China (Hohhot)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'pts.aliyuncs.com', 'endpoint' => 'pts.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-hongkong', 'regionName' => 'China (Hong Kong)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'pts.aliyuncs.com', 'endpoint' => 'pts.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-hangzhou', 'regionName' => 'China (Hangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'pts.aliyuncs.com', 'endpoint' => 'pts.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-chengdu', 'regionName' => 'China (Chengdu)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'pts.aliyuncs.com', 'endpoint' => 'pts.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-beijing', 'regionName' => 'China (Beijing)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'pts.aliyuncs.com', 'endpoint' => 'pts.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-southeast-5', 'regionName' => 'Indonesia (Jakarta)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'pts.aliyuncs.com', 'endpoint' => 'pts.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-southeast-3', 'regionName' => 'Malaysia (Kuala Lumpur)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'pts.aliyuncs.com', 'endpoint' => 'pts.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-southeast-2', 'regionName' => 'Australia (Sydney) Closed', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'pts.aliyuncs.com', 'endpoint' => 'pts.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-southeast-1', 'regionName' => 'Singapore', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'pts.aliyuncs.com', 'endpoint' => 'pts.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-northeast-1', 'regionName' => 'Japan (Tokyo)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'pts.aliyuncs.com', 'endpoint' => 'pts.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'eu-central-1', 'regionName' => 'Germany (Frankfurt)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'pts.aliyuncs.com', 'endpoint' => 'pts.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'eu-west-1', 'regionName' => 'UK (London)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'pts.aliyuncs.com', 'endpoint' => 'pts.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'us-east-1', 'regionName' => 'US (Virginia)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'pts.aliyuncs.com', 'endpoint' => 'pts.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'us-west-1', 'regionName' => 'US (Silicon Valley)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'pts.aliyuncs.com', 'endpoint' => 'pts.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-south-1', 'regionName' => 'India (Mumbai) Closed', 'areaId' => 'middleEast', 'areaName' => 'Middle East', 'public' => 'pts.aliyuncs.com', 'endpoint' => 'pts.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'me-east-1', 'regionName' => 'UAE (Dubai)', 'areaId' => 'middleEast', 'areaName' => 'Middle East', 'public' => 'pts.aliyuncs.com', 'endpoint' => 'pts.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-beijing-finance-1', 'regionName' => 'China North 2 Finance (Preview)', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'pts.aliyuncs.com', 'endpoint' => 'pts.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-hangzhou-finance', 'regionName' => 'China East 1 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'pts.aliyuncs.com', 'endpoint' => 'pts.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-shanghai-finance-1', 'regionName' => 'China East 2 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'pts.aliyuncs.com', 'endpoint' => 'pts.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-shenzhen-finance-1', 'regionName' => 'China South 1 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'pts.aliyuncs.com', 'endpoint' => 'pts.aliyuncs.com', 'vpc' => ''], + ], + 'errorCodes' => [ + ['code' => 'EnvNotExist', 'message' => 'The env does not exist.', 'http_code' => 503, 'description' => ''], + ['code' => 'Forbidden.NoPermission', 'message' => 'Call method permission denied, please grant permission for current account. https://help.aliyun.com/zh/pts/grant-pts-permissions-to-ram-users-or-roles.', 'http_code' => 403, 'description' => 'No permission to call this interface, please refer to the document for authorization. https://help.aliyun.com/zh/pts/grant-pts-permissions-to-ram-users-or-roles.'], + ['code' => 'InvalidParameter', 'message' => 'The input parameter SceneId is invalid.', 'http_code' => 400, 'description' => ''], + ['code' => 'InvalidParameter', 'message' => 'The specified parameter is invalid.', 'http_code' => 403, 'description' => 'The specified parameter is invalid.'], + ['code' => 'micros.errorcode.invalid.params.not.empty.message', 'message' => 'You must specify the parameter %s.', 'http_code' => 400, 'description' => ''], + ['code' => 'ReportNotExist', 'message' => 'The report does not exist.', 'http_code' => 403, 'description' => ''], + ['code' => 'SaveEnvFail', 'message' => 'The env cannot be empty.', 'http_code' => 503, 'description' => ''], + ['code' => 'SaveOpenJMeterSceneFail', 'message' => 'The scene cannot be empty.', 'http_code' => 403, 'description' => ''], + ['code' => 'SceneNotExist', 'message' => 'The scene does not exist.', 'http_code' => 403, 'description' => ''], + ['code' => 'Success', 'message' => 'The operation is successful.', 'http_code' => 200, 'description' => 'The operation is successful.'], + ], + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopDebugPtsScene'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreatePtsScene'], + ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListPtsScene'], + ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'RemoveOpenJMeterScene'], + ['threshold' => '-1', 'countWindow' => 1, 'regionId' => '*'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RemoveEnv'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetPtsSceneRunningData'], + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SaveEnv'], + ['threshold' => '50', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetJMeterSceneRunningData'], + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListEnvs'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SavePtsScene'], + ['threshold' => '30', 'countWindow' => 60, 'regionId' => '*', 'api' => 'StopTestingJMeterScene'], + ['threshold' => '5', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreatePtsSceneBaseLineFromReport'], + ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyPtsScene'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StartDebugPtsScene'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetPtsReportsBySceneId'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AdjustPtsSceneSpeed'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeletePtsSceneBaseLine'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetJMeterSamplingLogs'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetPtsDebugSampleLogs'], + ['threshold' => '30', 'countWindow' => 60, 'regionId' => '*', 'api' => 'StopDebuggingJMeterScene'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetPtsScene'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetPtsSceneBaseLine'], + ['threshold' => '30', 'countWindow' => 60, 'regionId' => '*', 'api' => 'StartDebuggingJMeterScene'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetPtsReportDetails'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetPtsSceneRunningStatus'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdatePtsSceneBaseLine'], + ['threshold' => '30', 'countWindow' => 60, 'regionId' => '*', 'api' => 'StartTestingJMeterScene'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetJMeterLogs'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetJMeterSampleMetrics'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopPtsScene'], + ['threshold' => '30', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListOpenJMeterScenes'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetAllRegions'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeletePtsScene'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeletePtsScenes'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListPtsReports'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StartPtsScene'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SaveOpenJMeterScene'], + ['threshold' => '50', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetOpenJMeterScene'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListJMeterReports'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AdjustJMeterSceneSpeed'], ], ], + 'ram' => [ + 'productCode' => 'PTS', + 'productName' => 'Performance Testing', + 'ramCodes' => ['pts'], + 'ramLevel' => 'SERVICE', + 'ramActions' => [], + 'resourceTypes' => [], + ], ]; |
