add
This commit is contained in:
1 parent
359991da19
commit
fef74af253
12 files changed
+506
-509
No files matched your search
@@ -0,0 +1,17 @@
|
||||
---
|
||||
name: se-task-exec-spec
|
||||
description: 在执行Stress测试、Driver更新、Preload测试时使用。
|
||||
---
|
||||
|
||||
# se-task-exec-spec
|
||||
|
||||
无论如何,请先记住上下文中已提供的信息:
|
||||
|
||||
- `creatorCode`:当前登录人MIS系统的用户ID
|
||||
- `date`:今天的日期
|
||||
|
||||
## 能力索引
|
||||
|
||||
- [执行Stress测试](./references/exec_task_stress_doc.md)
|
||||
- [执行Driver更新](./references/exec_task_update_driver_doc.md)
|
||||
- [执行Preload测试](./references/exec_task_preload_doc.md)
|
||||
@@ -0,0 +1,187 @@
|
||||
{
|
||||
"model": {
|
||||
"children": [
|
||||
{
|
||||
"testModelNodeUuid": "325e759a512988b94eb0d34e9693403c",
|
||||
"testModelUuid": "4b3bfe32c86b872663ac59fd1503fd81",
|
||||
"testModelVersionUuid": "d65130dd57816d3e1484a8822a3c2f2b",
|
||||
"parentTestModelNodeUuid": "0",
|
||||
"nodeCycle": 1,
|
||||
"nodeIgnore": "0",
|
||||
"nodeSequenceTypeKey": 1,
|
||||
"nodeSequenceNumber": 1,
|
||||
"nodeTimeoutTime": 0,
|
||||
"nodeFailureActionKey": 3,
|
||||
"triggerRetryTimes": 0,
|
||||
"testModelName": "Stress_BurnIn_480Min",
|
||||
"triggerRetryOnePass": "0",
|
||||
"deviceConfigAcquisition": "0",
|
||||
"activityStatusKey": 1,
|
||||
"delayTime": "0",
|
||||
"gmtCreate": "2022-09-14 00:00:00",
|
||||
"topTestModelUuid": "4b3bfe32c86b872663ac59fd1503fd81",
|
||||
"topTestModelVersionUuid": "d65130dd57816d3e1484a8822a3c2f2b",
|
||||
"children": [
|
||||
{
|
||||
"testModelNodeUuid": "203f4128668aec0264376db4fa24a450",
|
||||
"testModelUuid": "5850c5278463420bb5a6e219771c1bff",
|
||||
"testModelVersionUuid": "6686d7c339614c1a8a1c00e8bb0f40d1",
|
||||
"parentTestModelNodeUuid": "325e759a512988b94eb0d34e9693403c",
|
||||
"nodeCycle": 1,
|
||||
"nodeIgnore": "0",
|
||||
"nodeSequenceTypeKey": 1,
|
||||
"nodeSequenceNumber": 1,
|
||||
"nodeTimeoutTime": 0,
|
||||
"nodeFailureActionKey": 3,
|
||||
"triggerRetryTimes": 0,
|
||||
"testModelName": "BurnInInstaller",
|
||||
"triggerRetryOnePass": "0",
|
||||
"deviceConfigAcquisition": "0",
|
||||
"activityStatusKey": 1,
|
||||
"delayTime": "0",
|
||||
"gmtCreate": "2022-09-14 00:00:00",
|
||||
"topTestModelUuid": "4b3bfe32c86b872663ac59fd1503fd81",
|
||||
"topTestModelVersionUuid": "d65130dd57816d3e1484a8822a3c2f2b",
|
||||
"testModelLevelKey": 1,
|
||||
"softwareToolParam": "/V 9.1.1007.0",
|
||||
"inputLock": 0,
|
||||
"resultCheckMode": 0,
|
||||
"outputRedirect": 1,
|
||||
"testModelVersionCode": "0.0.0.4",
|
||||
"lastTestModelVersionCode": "0.0.0.6",
|
||||
"updateFlag": false,
|
||||
"testSoftwareToolTypeKey": "[[4,42]]",
|
||||
"performEntity": 1,
|
||||
"deviceTypeKey": "1",
|
||||
"testModelDescription": "安装BurnIn并注册",
|
||||
"testSoftwareToolName": "BurnInInstaller",
|
||||
"testSoftwareToolUuid": "66c3206aee894c469769861f8f5577dc",
|
||||
"testSoftwareToolVersionNo": "1.0.0.1",
|
||||
"testModelTypeKey": 1,
|
||||
"configFileRequiredFlag": 0,
|
||||
"duplicateFlag": 0,
|
||||
"porlistAssociatedFlag": 0,
|
||||
"graphicShowFlag": 0,
|
||||
"level": 1,
|
||||
"isCheck": false,
|
||||
"isConfig": false
|
||||
},
|
||||
{
|
||||
"testModelNodeUuid": "93bae141c211641b02e47e5b8eb4b636",
|
||||
"testModelUuid": "af57d8e7cc544f5491e282817479525b",
|
||||
"testModelVersionUuid": "5824552e38f84074ac69bd08d85eea0a",
|
||||
"parentTestModelNodeUuid": "325e759a512988b94eb0d34e9693403c",
|
||||
"nodeCycle": 1,
|
||||
"nodeIgnore": "0",
|
||||
"nodeSequenceTypeKey": 1,
|
||||
"nodeSequenceNumber": 2,
|
||||
"nodeTimeoutTime": 0,
|
||||
"nodeFailureActionKey": 3,
|
||||
"triggerRetryTimes": 0,
|
||||
"testModelName": "BurnInTestAutoStress",
|
||||
"triggerRetryOnePass": "0",
|
||||
"deviceConfigAcquisition": "0",
|
||||
"activityStatusKey": 1,
|
||||
"delayTime": "0",
|
||||
"gmtCreate": "2022-09-14 00:00:00",
|
||||
"topTestModelUuid": "4b3bfe32c86b872663ac59fd1503fd81",
|
||||
"topTestModelVersionUuid": "d65130dd57816d3e1484a8822a3c2f2b",
|
||||
"testModelLevelKey": 1,
|
||||
"softwareToolParam": "TestTime=\"480\"",
|
||||
"inputLock": 0,
|
||||
"resultCheckMode": 0,
|
||||
"outputRedirect": 1,
|
||||
"testModelVersionCode": "0.0.0.5",
|
||||
"lastTestModelVersionCode": "0.0.0.5",
|
||||
"updateFlag": false,
|
||||
"testSoftwareToolTypeKey": "[[1,12]]",
|
||||
"performEntity": 1,
|
||||
"deviceTypeKey": "1",
|
||||
"testModelDescription": "BurnIn Test For Stress",
|
||||
"testSoftwareToolName": "BurnInTestStress",
|
||||
"testSoftwareToolUuid": "d02a1171ae50477a9a13913bfca6c0d8",
|
||||
"testSoftwareToolVersionNo": "1.20.0.6",
|
||||
"testModelTypeKey": 1,
|
||||
"configFileRequiredFlag": 0,
|
||||
"duplicateFlag": 0,
|
||||
"porlistAssociatedFlag": 0,
|
||||
"graphicShowFlag": 0,
|
||||
"level": 1,
|
||||
"isCheck": false,
|
||||
"isConfig": false
|
||||
}
|
||||
],
|
||||
"testModelLevelKey": 3,
|
||||
"inputLock": 0,
|
||||
"resultCheckMode": 0,
|
||||
"outputRedirect": 1,
|
||||
"testModelVersionCode": "0.0.0.4",
|
||||
"lastTestModelVersionCode": "0.0.0.4",
|
||||
"updateFlag": false,
|
||||
"performEntity": 0,
|
||||
"deviceTypeKey": "1",
|
||||
"testModelDescription": "Stress Burnin 8H Test for PA",
|
||||
"testModelTypeKey": 2,
|
||||
"configFileRequiredFlag": 0,
|
||||
"duplicateFlag": 0,
|
||||
"porlistAssociatedFlag": 0,
|
||||
"graphicShowFlag": 0,
|
||||
"id": "{id}",
|
||||
"level": 0,
|
||||
"isCheck": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"base": {
|
||||
"functionTypeOne": 3,
|
||||
"testTaskName": "Stress_BurnIn_480Min{date}",
|
||||
"testTaskTypeKey": 1,
|
||||
"functionTypeTwo": 106,
|
||||
"functionTypeThree": 238,
|
||||
"projectUuid": "",
|
||||
"cascaderValue": [
|
||||
3,
|
||||
106,
|
||||
238
|
||||
],
|
||||
"extend": {
|
||||
"testCaseForm": {
|
||||
"mbPn": "",
|
||||
"modelName": "",
|
||||
"bu": "",
|
||||
"projectPhaseCode": "",
|
||||
"testCaseName": []
|
||||
},
|
||||
"functionTypeOne": 3,
|
||||
"testTaskName": "Stress_BurnIn_480Min{date}",
|
||||
"testTaskTypeKey": 1,
|
||||
"functionTypeTwo": 106,
|
||||
"functionTypeThree": 238,
|
||||
"projectUuid": "",
|
||||
"cascaderValue": [
|
||||
3,
|
||||
106,
|
||||
238
|
||||
],
|
||||
"projectName": "",
|
||||
"testCaseData": []
|
||||
},
|
||||
"testTaskIssueTypeCode": 1
|
||||
},
|
||||
"rule": {
|
||||
"testTaskUnitBindingRuleKey": 6,
|
||||
"bindingRulePriority": 1,
|
||||
"entityPrimaryKeyList": [
|
||||
{
|
||||
"key": "{deviceKey}",
|
||||
"value": "{deviceValue}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"testTaskIssueTypeCode": 1,
|
||||
"testCaseAssociationVersionUuidList": [],
|
||||
"other": {
|
||||
"isClear": false,
|
||||
"type": 2
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,187 @@
|
||||
{
|
||||
"model": {
|
||||
"children": [
|
||||
{
|
||||
"testModelNodeUuid": "325e759a512988b94eb0d34e9693403c",
|
||||
"testModelUuid": "4b3bfe32c86b872663ac59fd1503fd81",
|
||||
"testModelVersionUuid": "d65130dd57816d3e1484a8822a3c2f2b",
|
||||
"parentTestModelNodeUuid": "0",
|
||||
"nodeCycle": 1,
|
||||
"nodeIgnore": "0",
|
||||
"nodeSequenceTypeKey": 1,
|
||||
"nodeSequenceNumber": 1,
|
||||
"nodeTimeoutTime": 0,
|
||||
"nodeFailureActionKey": 3,
|
||||
"triggerRetryTimes": 0,
|
||||
"testModelName": "Stress_BurnIn_480Min",
|
||||
"triggerRetryOnePass": "0",
|
||||
"deviceConfigAcquisition": "0",
|
||||
"activityStatusKey": 1,
|
||||
"delayTime": "0",
|
||||
"gmtCreate": "2022-09-14 00:00:00",
|
||||
"topTestModelUuid": "4b3bfe32c86b872663ac59fd1503fd81",
|
||||
"topTestModelVersionUuid": "d65130dd57816d3e1484a8822a3c2f2b",
|
||||
"children": [
|
||||
{
|
||||
"testModelNodeUuid": "203f4128668aec0264376db4fa24a450",
|
||||
"testModelUuid": "5850c5278463420bb5a6e219771c1bff",
|
||||
"testModelVersionUuid": "6686d7c339614c1a8a1c00e8bb0f40d1",
|
||||
"parentTestModelNodeUuid": "325e759a512988b94eb0d34e9693403c",
|
||||
"nodeCycle": 1,
|
||||
"nodeIgnore": "0",
|
||||
"nodeSequenceTypeKey": 1,
|
||||
"nodeSequenceNumber": 1,
|
||||
"nodeTimeoutTime": 0,
|
||||
"nodeFailureActionKey": 3,
|
||||
"triggerRetryTimes": 0,
|
||||
"testModelName": "BurnInInstaller",
|
||||
"triggerRetryOnePass": "0",
|
||||
"deviceConfigAcquisition": "0",
|
||||
"activityStatusKey": 1,
|
||||
"delayTime": "0",
|
||||
"gmtCreate": "2022-09-14 00:00:00",
|
||||
"topTestModelUuid": "4b3bfe32c86b872663ac59fd1503fd81",
|
||||
"topTestModelVersionUuid": "d65130dd57816d3e1484a8822a3c2f2b",
|
||||
"testModelLevelKey": 1,
|
||||
"softwareToolParam": "/V 9.1.1007.0",
|
||||
"inputLock": 0,
|
||||
"resultCheckMode": 0,
|
||||
"outputRedirect": 1,
|
||||
"testModelVersionCode": "0.0.0.4",
|
||||
"lastTestModelVersionCode": "0.0.0.6",
|
||||
"updateFlag": false,
|
||||
"testSoftwareToolTypeKey": "[[4,42]]",
|
||||
"performEntity": 1,
|
||||
"deviceTypeKey": "1",
|
||||
"testModelDescription": "安装BurnIn并注册",
|
||||
"testSoftwareToolName": "BurnInInstaller",
|
||||
"testSoftwareToolUuid": "66c3206aee894c469769861f8f5577dc",
|
||||
"testSoftwareToolVersionNo": "1.0.0.1",
|
||||
"testModelTypeKey": 1,
|
||||
"configFileRequiredFlag": 0,
|
||||
"duplicateFlag": 0,
|
||||
"porlistAssociatedFlag": 0,
|
||||
"graphicShowFlag": 0,
|
||||
"level": 1,
|
||||
"isCheck": false,
|
||||
"isConfig": false
|
||||
},
|
||||
{
|
||||
"testModelNodeUuid": "93bae141c211641b02e47e5b8eb4b636",
|
||||
"testModelUuid": "af57d8e7cc544f5491e282817479525b",
|
||||
"testModelVersionUuid": "5824552e38f84074ac69bd08d85eea0a",
|
||||
"parentTestModelNodeUuid": "325e759a512988b94eb0d34e9693403c",
|
||||
"nodeCycle": 1,
|
||||
"nodeIgnore": "0",
|
||||
"nodeSequenceTypeKey": 1,
|
||||
"nodeSequenceNumber": 2,
|
||||
"nodeTimeoutTime": 0,
|
||||
"nodeFailureActionKey": 3,
|
||||
"triggerRetryTimes": 0,
|
||||
"testModelName": "BurnInTestAutoStress",
|
||||
"triggerRetryOnePass": "0",
|
||||
"deviceConfigAcquisition": "0",
|
||||
"activityStatusKey": 1,
|
||||
"delayTime": "0",
|
||||
"gmtCreate": "2022-09-14 00:00:00",
|
||||
"topTestModelUuid": "4b3bfe32c86b872663ac59fd1503fd81",
|
||||
"topTestModelVersionUuid": "d65130dd57816d3e1484a8822a3c2f2b",
|
||||
"testModelLevelKey": 1,
|
||||
"softwareToolParam": "TestTime=\"480\"",
|
||||
"inputLock": 0,
|
||||
"resultCheckMode": 0,
|
||||
"outputRedirect": 1,
|
||||
"testModelVersionCode": "0.0.0.5",
|
||||
"lastTestModelVersionCode": "0.0.0.5",
|
||||
"updateFlag": false,
|
||||
"testSoftwareToolTypeKey": "[[1,12]]",
|
||||
"performEntity": 1,
|
||||
"deviceTypeKey": "1",
|
||||
"testModelDescription": "BurnIn Test For Stress",
|
||||
"testSoftwareToolName": "BurnInTestStress",
|
||||
"testSoftwareToolUuid": "d02a1171ae50477a9a13913bfca6c0d8",
|
||||
"testSoftwareToolVersionNo": "1.20.0.6",
|
||||
"testModelTypeKey": 1,
|
||||
"configFileRequiredFlag": 0,
|
||||
"duplicateFlag": 0,
|
||||
"porlistAssociatedFlag": 0,
|
||||
"graphicShowFlag": 0,
|
||||
"level": 1,
|
||||
"isCheck": false,
|
||||
"isConfig": false
|
||||
}
|
||||
],
|
||||
"testModelLevelKey": 3,
|
||||
"inputLock": 0,
|
||||
"resultCheckMode": 0,
|
||||
"outputRedirect": 1,
|
||||
"testModelVersionCode": "0.0.0.4",
|
||||
"lastTestModelVersionCode": "0.0.0.4",
|
||||
"updateFlag": false,
|
||||
"performEntity": 0,
|
||||
"deviceTypeKey": "1",
|
||||
"testModelDescription": "Stress Burnin 8H Test for PA",
|
||||
"testModelTypeKey": 2,
|
||||
"configFileRequiredFlag": 0,
|
||||
"duplicateFlag": 0,
|
||||
"porlistAssociatedFlag": 0,
|
||||
"graphicShowFlag": 0,
|
||||
"id": "{id}",
|
||||
"level": 0,
|
||||
"isCheck": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"base": {
|
||||
"functionTypeOne": 3,
|
||||
"testTaskName": "Stress_BurnIn_480Min{date}",
|
||||
"testTaskTypeKey": 1,
|
||||
"functionTypeTwo": 106,
|
||||
"functionTypeThree": 238,
|
||||
"projectUuid": "000c798c09d537f4f25f5b29046aebd1",
|
||||
"cascaderValue": [
|
||||
3,
|
||||
106,
|
||||
238
|
||||
],
|
||||
"extend": {
|
||||
"testCaseForm": {
|
||||
"mbPn": "",
|
||||
"modelName": "",
|
||||
"bu": "",
|
||||
"projectPhaseCode": "",
|
||||
"testCaseName": []
|
||||
},
|
||||
"functionTypeOne": 3,
|
||||
"testTaskName": "Stress_BurnIn_480Min{date}",
|
||||
"testTaskTypeKey": 1,
|
||||
"functionTypeTwo": 106,
|
||||
"functionTypeThree": 238,
|
||||
"projectUuid": "{projectUuid}",
|
||||
"cascaderValue": [
|
||||
3,
|
||||
106,
|
||||
238
|
||||
],
|
||||
"projectName": "{projectName}",
|
||||
"testCaseData": []
|
||||
},
|
||||
"testTaskIssueTypeCode": 1
|
||||
},
|
||||
"rule": {
|
||||
"testTaskUnitBindingRuleKey": 6,
|
||||
"bindingRulePriority": 1,
|
||||
"entityPrimaryKeyList": [
|
||||
{
|
||||
"key": "{deviceKey}",
|
||||
"value": "{deviceValue}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"testTaskIssueTypeCode": 1,
|
||||
"testCaseAssociationVersionUuidList": [],
|
||||
"other": {
|
||||
"isClear": false,
|
||||
"type": 2
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,155 @@
|
||||
{
|
||||
"model": {
|
||||
"children": [
|
||||
{
|
||||
"testModelNodeUuid": "fdafe63e6fe1a390fb30bd9f437328b1",
|
||||
"testModelUuid": "46a7b0303a23df1ef6240b95b67d1b83",
|
||||
"testModelVersionUuid": "07a7afe541314e8dba335681584369e3",
|
||||
"parentTestModelNodeUuid": "0",
|
||||
"testCaseSectionDescription": null,
|
||||
"nodeCycle": 1,
|
||||
"nodeIgnore": "0",
|
||||
"nodeSequenceTypeKey": 1,
|
||||
"nodeSequenceNumber": 1,
|
||||
"nodeTimeoutTime": 0,
|
||||
"nodeFailureActionKey": 3,
|
||||
"triggerRetryTimes": 0,
|
||||
"testModelName": "DriverInstallTool_Driver",
|
||||
"triggerRetryOnePass": "0",
|
||||
"deviceConfigAcquisition": "0",
|
||||
"activityStatusKey": 1,
|
||||
"comments": null,
|
||||
"ownerCode": null,
|
||||
"delayTime": "0",
|
||||
"creatorCode": null,
|
||||
"modifierCode": null,
|
||||
"gmtCreate": "2021-09-29 00:00:00",
|
||||
"gmtModified": null,
|
||||
"topTestModelUuid": "46a7b0303a23df1ef6240b95b67d1b83",
|
||||
"topTestModelVersionUuid": "07a7afe541314e8dba335681584369e3",
|
||||
"documentVersionUuid": null,
|
||||
"stage": null,
|
||||
"documentVersionCode": null,
|
||||
"documentName": "",
|
||||
"children": [],
|
||||
"recordNode": [],
|
||||
"testModelLevelKey": 1,
|
||||
"softwareToolParam": null,
|
||||
"softwareToolParamExplain": null,
|
||||
"parameterDescription": null,
|
||||
"inputLock": 0,
|
||||
"resultCheckMode": 0,
|
||||
"outputRedirect": 1,
|
||||
"testModelVersionCode": "0.0.0.2",
|
||||
"lastTestModelVersionCode": "0.0.0.2",
|
||||
"updateFlag": false,
|
||||
"testSoftwareToolTypeKey": "[[4,42]]",
|
||||
"performEntity": 1,
|
||||
"deviceTypeKey": "1",
|
||||
"testModelDescription": "Device Driver Installation Tool.",
|
||||
"isShoot": null,
|
||||
"isComments": null,
|
||||
"debugObjectUuid": null,
|
||||
"debugGuideUuid": null,
|
||||
"debugAction": null,
|
||||
"debugObjectType": null,
|
||||
"debugActionType": null,
|
||||
"modelRunType": null,
|
||||
"testSoftwareToolName": "DriverInstallTool",
|
||||
"testSoftwareToolUuid": "3bde357b79f00187736bc2480fbe9a3d",
|
||||
"testSoftwareToolVersionNo": "1.0.0.0",
|
||||
"testModelTypeKey": 1,
|
||||
"configFileRequiredFlag": 0,
|
||||
"documentCopyDTOList": [
|
||||
{
|
||||
"documentName": "mis-debugging.sql",
|
||||
"fileExtensionKey": "0",
|
||||
"documentVersionNo": "",
|
||||
"documentVersionUuid": "",
|
||||
"fileType": "sql",
|
||||
"controller": {},
|
||||
"progressPercent": 100,
|
||||
"fileUrl": "http://10.159.41.130:8080/mbvClient/downloadFile?objectName=20260923/16/06/27/mis-debugging.sql&bucketName=document",
|
||||
"fileUuid": "5af265d8c9354aa185063fa9c60e4af3"
|
||||
}
|
||||
],
|
||||
"forbiddenStatus": null,
|
||||
"duplicateFlag": 0,
|
||||
"functionTypeOne": null,
|
||||
"functionTypeTwo": null,
|
||||
"functionTypeThree": null,
|
||||
"functionTypeFour": null,
|
||||
"hasModify": null,
|
||||
"testCaseAssociationVersionUuid": null,
|
||||
"sort": null,
|
||||
"porlistAssociatedFlag": 0,
|
||||
"graphicShowFlag": 0,
|
||||
"testModelVersionVO": null,
|
||||
"lastTestModelVersionUuid": null,
|
||||
"testCaseType": null,
|
||||
"id": "2550e21",
|
||||
"level": 0,
|
||||
"isCheck": true,
|
||||
"documentValue": "5af265d8c9354aa185063fa9c60e4af3",
|
||||
"fileUrl": "http://10.159.41.130:8080/mbvClient/downloadFile?objectName=20260923/16/06/27/mis-debugging.sql&bucketName=document",
|
||||
"isConfig": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"base": {
|
||||
"functionTypeOne": 3,
|
||||
"testTaskName": "DriverInstallTool_Driver2026923 ",
|
||||
"testTaskTypeKey": 1,
|
||||
"functionTypeTwo": 106,
|
||||
"functionTypeThree": 237,
|
||||
"projectUuid": "",
|
||||
"cascaderValue": [
|
||||
3,
|
||||
106,
|
||||
237,
|
||||
1066
|
||||
],
|
||||
"functionTypeFour": 1066,
|
||||
"extend": {
|
||||
"testCaseForm": {
|
||||
"mbPn": "",
|
||||
"modelName": "",
|
||||
"bu": "",
|
||||
"projectPhaseCode": "",
|
||||
"testCaseName": []
|
||||
},
|
||||
"functionTypeOne": 3,
|
||||
"testTaskName": "DriverInstallTool_Driver2026923 ",
|
||||
"testTaskTypeKey": 1,
|
||||
"functionTypeTwo": 106,
|
||||
"functionTypeThree": 237,
|
||||
"projectUuid": "",
|
||||
"cascaderValue": [
|
||||
3,
|
||||
106,
|
||||
237,
|
||||
1066
|
||||
],
|
||||
"functionTypeFour": 1066,
|
||||
"projectName": "",
|
||||
"testCaseData": []
|
||||
},
|
||||
"testTaskIssueTypeCode": 1
|
||||
},
|
||||
"rule": {
|
||||
"testTaskUnitBindingRuleKey": 6,
|
||||
"bindingRulePriority": 1,
|
||||
"entityPrimaryKeyList": [
|
||||
{
|
||||
"key": "3015e27563524435a19963c42ad7455e",
|
||||
"value": "500e Gen4s-EOP-SKU1-1"
|
||||
}
|
||||
]
|
||||
},
|
||||
"testTaskIssueTypeCode": 1,
|
||||
"testCaseAssociationVersionUuidList": [],
|
||||
"other": {
|
||||
"isClear": false,
|
||||
"type": 2
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
# 下发任务的工具使用说明
|
||||
|
||||
调用`creatOrSendTask`工具下发任务,请求参数取值规则:
|
||||
|
||||
- `requestBodyJson`:由调用侧提供。
|
||||
- `creatorCode`:从上下文中获取。
|
||||
- `fs`:没有特殊要求使用默认值false即可。
|
||||
|
||||
工具调用结果的处理:
|
||||
|
||||
- 调用成功,把响应结果展示给用户,用户需要记住`testTaskUuid`和`testTaskCode`。
|
||||
- 调用失败,把响应结果展示给用户,友好的告知用户,下发任务工具调用失败,请您稍后再试。
|
||||
|
||||
**特别重要的事项:调用失败了,请不要重试,主动重试可能会带来糟糕的结果,除非用户主动要求。**
|
||||
|
||||
## 成功示例
|
||||
|
||||
```json
|
||||
{
|
||||
"code": "0",
|
||||
"msg": "任务下发已提交,正在生成中",
|
||||
"data": {
|
||||
"testTaskUuid": "1234567890",
|
||||
"offLineTestUnit": "",
|
||||
"unWorkingTestUnit": "",
|
||||
"testTaskCode": "TT20260923000001"
|
||||
},
|
||||
"ok": true
|
||||
}
|
||||
```
|
||||
|
||||
## 失败示例
|
||||
|
||||
```json
|
||||
{
|
||||
"code": "500",
|
||||
"msg": "系统异常",
|
||||
"ok": false
|
||||
}
|
||||
```
|
||||
@@ -0,0 +1 @@
|
||||
# 执行Preload测试文档
|
||||
@@ -0,0 +1,23 @@
|
||||
# 执行Stress任务文档
|
||||
|
||||
1. 如果用户提供了项目信息,先阅读[查项目信息文档](./query_project_info_doc.md),一步一步地获取`projectName`和`projectUuid`,如果没有的话就跳过。
|
||||
2. 阅读[查测试机的文档](./query_test_device_doc.md)获取`deviceKey`和`deviceValue`。
|
||||
3. 根据相应的[请求模板文件](#请求模板文件),**一字不改地生成**1个JSON字符串,再根据[变量表](#变量表)执行变量替换。
|
||||
4. 阅读[下发任务文档](./create_task_doc.md),上一步生成的JSON字符串就是`requestBodyJson`参数。
|
||||
|
||||
## 请求模板文件
|
||||
|
||||
- [无项目下发](../example/stress_task_non_project_request.json)
|
||||
- [根据项目下发](../example/stress_task_use_project_request.json)
|
||||
|
||||
## 变量表
|
||||
|
||||
JSON字符串中变量的格式示例:{id},根据取值规则查找并替换。
|
||||
|
||||
|变量名称|取值规则|
|
||||
|---|---|
|
||||
|id|随机生成1个由小写字母、数字组成的7位长度字符串(示例:2b43cb39)|
|
||||
|projectName|调用工具获得的项目名称|
|
||||
|projectUuid|调用工具获得的项目ID|
|
||||
|deviceKey|调用工具获得的测试机ID|
|
||||
|deviceValue|调用工具获得的测试机名称|
|
||||
@@ -0,0 +1 @@
|
||||
# 更新驱动文档
|
||||
@@ -0,0 +1,47 @@
|
||||
# 查项目信息文档
|
||||
|
||||
请先思考**上下文中是否包含项目信息?如果没有的话,请向用户询问项目名称/五码/项目别名**。
|
||||
|
||||
## 口语和变量的映射关系
|
||||
|
||||
|口语|变量名称|
|
||||
|---|---|
|
||||
|项目名称|projectName|
|
||||
|五码|modelCode|
|
||||
|项目别名|projectAlias|
|
||||
|项目ID|projectUuid|
|
||||
|
||||
## 工作流程
|
||||
|
||||
1. 先[查项目基础信息](#查项目基础信息),收集**项目名称**。
|
||||
2. 再用项目名称[查项目名称和项目ID](#查项目名称和项目ID)。
|
||||
|
||||
## 查项目基础信息
|
||||
|
||||
调用`debuggingProjectQuery`根据**项目名称**检索,查不到根据**五码**检索,仍然查不到根据**项目别名**检索。根据返回结果中的`rows`判定查询结果,有3种情况:
|
||||
|
||||
- 返回1条,查询成功。
|
||||
- 返回0条或多条,**向用户询问更具体的项目信息,重新查询。**
|
||||
- 返回错误信息,参考[错误信息处理](#错误信息处理)。
|
||||
|
||||
## 查项目名称和项目ID
|
||||
|
||||
调用`queryProjectNameList`工具,使用**项目名称**检索,响应结果是一个JSON数组,有4种情况:
|
||||
|
||||
- 返回1条结果,查询成功。
|
||||
- 返回多条,把查询结果展示给用户,让用户选1条。
|
||||
- 返回0条结果,视为查询失败,告知用户查不到项目名称和项目ID。
|
||||
- 返回错误信息,参考[错误信息处理](#错误信息处理)。
|
||||
|
||||
## 错误信息处理
|
||||
|
||||
调用`debuggingProjectQuery`或`queryProjectNameList`工具遇到错误的响应示例:
|
||||
|
||||
```json
|
||||
{
|
||||
"code": 500,
|
||||
"msg": "系统异常"
|
||||
}
|
||||
```
|
||||
|
||||
应对策略:友好的告知用户,因工具调用失败,请您稍后再试。**不要自行主动重试,除非用户主动要求。**
|
||||
@@ -0,0 +1,2 @@
|
||||
# 查测试机的文档
|
||||
|
||||
Reference in new issue
Block a user