orchestrator
2023.10
false
- 入门指南
- 最佳实践
- 租户
- 资源目录服务
- 文件夹上下文
- 自动化
- 流程
- 作业
- 触发器
- 日志
- 监控
- 队列
- 资产
- 存储桶
- Test Suite - Orchestrator
- 测试自动化
- 在 Orchestrator 中管理测试数据队列
- 在 Studio 中管理测试数据队列
- 测试数据队列页面的字段描述
- 测试数据队列活动
- 测试数据保留策略
- 其他配置
- 集成
- 主机管理
- 组织管理
- 故障排除
在 Orchestrator 中管理测试数据队列
Orchestrator 用户指南
Last updated 2024年11月11日
在 Orchestrator 中管理测试数据队列
在 Orchestrator 中管理测试数据队列和队列项目。新。创建的测试数据队列为空,但是您可以基于定义的 JSON 架构直接在 Orchestrator 中或通过 Studio 上传队列项目。
要创建测试数据队列,您需要定义一个 JSON 架构以正确格式化数据。这将支持将项目上传到您的测试数据队列,其中列是 JSON 内容的第一级属性,由您的模式定义。
以下 JSON 架构示例包含根架构。
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "http://example.com/example.json",
"type": "object",
"title": "The root schema",
"description": "The root schema comprises the entire JSON document.",
"default": {},
"examples": [
{
"id": 1,
"first_name": "John",
"last_name": "doe",
"email": "john.doe@aol.com",
"gender": "male",
"ip_address": "148.38.201.83",
"skills": "UHV"
}
],
"required": [
"id",
"first_name",
"last_name",
"email",
"gender",
"ip_address",
"skills"
],
"properties": {
"id": {
"$id": "#/properties/id",
"type": "integer",
"title": "The id schema",
"description": "An explanation about the purpose of this instance.",
"default": 0,
"examples": [
1
]
},
"first_name": {
"$id": "#/properties/first_name",
"type": "string",
"title": "The first_name schema",
"description": "An explanation about the purpose of this instance.",
"default": "",
"examples": [
"John"
]
},
"last_name": {
"$id": "#/properties/last_name",
"type": "string",
"title": "The last_name schema",
"description": "An explanation about the purpose of this instance.",
"default": "",
"examples": [
"doe"
]
},
"email": {
"$id": "#/properties/email",
"type": "string",
"title": "The email schema",
"description": "An explanation about the purpose of this instance.",
"default": "",
"examples": [
"john.doe@aol.com"
]
},
"gender": {
"$id": "#/properties/gender",
"type": "string",
"title": "The gender schema",
"description": "An explanation about the purpose of this instance.",
"default": "",
"examples": [
"male"
]
},
"ip_address": {
"$id": "#/properties/ip_address",
"type": "string",
"title": "The ip_address schema",
"description": "An explanation about the purpose of this instance.",
"default": "",
"examples": [
"148.38.201.83"
]
},
"skills": {
"$id": "#/properties/skills",
"type": "string",
"title": "The skills schema",
"description": "An explanation about the purpose of this instance.",
"default": "",
"examples": [
"UHV"
]
}
},
"additionalProperties": true
}
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "http://example.com/example.json",
"type": "object",
"title": "The root schema",
"description": "The root schema comprises the entire JSON document.",
"default": {},
"examples": [
{
"id": 1,
"first_name": "John",
"last_name": "doe",
"email": "john.doe@aol.com",
"gender": "male",
"ip_address": "148.38.201.83",
"skills": "UHV"
}
],
"required": [
"id",
"first_name",
"last_name",
"email",
"gender",
"ip_address",
"skills"
],
"properties": {
"id": {
"$id": "#/properties/id",
"type": "integer",
"title": "The id schema",
"description": "An explanation about the purpose of this instance.",
"default": 0,
"examples": [
1
]
},
"first_name": {
"$id": "#/properties/first_name",
"type": "string",
"title": "The first_name schema",
"description": "An explanation about the purpose of this instance.",
"default": "",
"examples": [
"John"
]
},
"last_name": {
"$id": "#/properties/last_name",
"type": "string",
"title": "The last_name schema",
"description": "An explanation about the purpose of this instance.",
"default": "",
"examples": [
"doe"
]
},
"email": {
"$id": "#/properties/email",
"type": "string",
"title": "The email schema",
"description": "An explanation about the purpose of this instance.",
"default": "",
"examples": [
"john.doe@aol.com"
]
},
"gender": {
"$id": "#/properties/gender",
"type": "string",
"title": "The gender schema",
"description": "An explanation about the purpose of this instance.",
"default": "",
"examples": [
"male"
]
},
"ip_address": {
"$id": "#/properties/ip_address",
"type": "string",
"title": "The ip_address schema",
"description": "An explanation about the purpose of this instance.",
"default": "",
"examples": [
"148.38.201.83"
]
},
"skills": {
"$id": "#/properties/skills",
"type": "string",
"title": "The skills schema",
"description": "An explanation about the purpose of this instance.",
"default": "",
"examples": [
"UHV"
]
}
},
"additionalProperties": true
}
- 登录到 Orchestrator。
- 打开文件夹。
- 导航到“测试”>“测试数据队列”。
- 选择一个测试数据队列,然后单击垂直省略号以打开下拉菜单。
- 单击“编辑”。
- 配置您的测试数据队列设置。
- 单击“创建”以确认更改。
在上传项目之前,请确保您已 创建 JSON 架构并添加了测试数据队列。
在 Orchestrator 中管理队列项目以准备测试队列以供使用。
要管理测试数据队列项目,请导航至测试>测试数据队列,单击队列上的垂直省略号,然后单击查看项目。
下表列出了可以用来管理测试数据队列项目的操作
操作 |
描述 |
程序 |
---|---|---|
上传项目 |
将项目上传到您的测试数据队列。 |
|
已消耗 |
该项目在测试数据队列中使用。标记为“已消耗”的项目将从将来的测试数据队列运行中排除。 |
|
将队列中的所有项目设置为已消耗 |
将所有项目标记为“已消耗”,以从将来的测试数据队列运行中排除。 |
|
将队列中的所有项目设置为未消耗 |
将所有项目标记为“未消耗”,以将其加人将来的测试数据队列运行。 |
|
删除 |
从测试数据队列中删除项目。 |
|