ExportController
ConfigurationController
OAuthController
CrowdsourcingToReviewController

根据caseId获取bug报告 保存到本地, bug信息保存为json,csv文件,图片打包为zip文件

作者: JiaWei Xu

请求URL

/data/outputByCaseId GET POST

请求参数 application/x-www-form-urlencoded

参数名 类型 必须 描述
caseId string

返回结果

[{
	"id":"string //bug属性",
	"bugCategory":"string",
	"severity":"string",
	"recurrent":"string",
	"bugCreateTime":"string",
	"bugPage":"string",
	"title":"string",
	"bugDescription":"string",
	"imgUrl":"string",
	"score":"int",
	"parent":"string",
	"children":"string[]",
	"root":"string",
	"goodNum":"int",
	"goodWorkerId":"string[]",
	"badNum":"int",
	"badWorkerId":"string[]",
	"testCaseId":"string //测试用例属性",
	"testCaseName":"string",
	"testCaseFront":"string",
	"testCaseBehind":"string",
	"testCaseDescription":"string",
	"testCaseCreateTime":"string",
	"reportId":"string //report属性",
	"reportName":"string",
	"reportCreateTime":"string",
	"scriptLocation":"string",
	"reportLocation":"string",
	"logLocation":"string",
	"deviceModel":"string",
	"deviceBrand":"string",
	"deviceOs":"string",
	"workerId":"string //工人属性",
	"caseAppName":"string //众测任务属性",
	"casePaperType":"string",
	"caseTestType":"string",
	"caseDescription":"string",
	"caseRequireDoc":"string",
	"caseTakeId":"string //原系统中的case_take_id",
	"originalCaseId":"string //与目前系统中的哪个case对应",
	"cpSerialNum":"string //cp系统序列号"
}]

bug数据导入

作者: JiaWei Xu

请求URL

/data/inputFromFile GET POST

请求参数 application/x-www-form-urlencoded

参数名 类型 必须 描述
zipFile file
jsonFile file
originalCaseId string 与目前系统哪个case对应
cpSerialNum string 来自哪个cp

返回结果

[{
	"id":"string //bug属性",
	"bugCategory":"string",
	"severity":"string",
	"recurrent":"string",
	"bugCreateTime":"string",
	"bugPage":"string",
	"title":"string",
	"bugDescription":"string",
	"imgUrl":"string",
	"score":"int",
	"parent":"string",
	"children":"string[]",
	"root":"string",
	"goodNum":"int",
	"goodWorkerId":"string[]",
	"badNum":"int",
	"badWorkerId":"string[]",
	"testCaseId":"string //测试用例属性",
	"testCaseName":"string",
	"testCaseFront":"string",
	"testCaseBehind":"string",
	"testCaseDescription":"string",
	"testCaseCreateTime":"string",
	"reportId":"string //report属性",
	"reportName":"string",
	"reportCreateTime":"string",
	"scriptLocation":"string",
	"reportLocation":"string",
	"logLocation":"string",
	"deviceModel":"string",
	"deviceBrand":"string",
	"deviceOs":"string",
	"workerId":"string //工人属性",
	"caseAppName":"string //众测任务属性",
	"casePaperType":"string",
	"caseTestType":"string",
	"caseDescription":"string",
	"caseRequireDoc":"string",
	"caseTakeId":"string //原系统中的case_take_id",
	"originalCaseId":"string //与目前系统中的哪个case对应",
	"cpSerialNum":"string //cp系统序列号"
}]

bug数据导入

作者: JiaWei Xu

请求URL

/data/inputFromOSS GET POST

请求参数 application/x-www-form-urlencoded

参数名 类型 必须 描述
zipFile file
jsonFile file
originalCaseId string 与目前系统哪个case对应
cpSerialNum string 来自哪个cp

返回结果

[{
	"id":"string //bug属性",
	"bugCategory":"string",
	"severity":"string",
	"recurrent":"string",
	"bugCreateTime":"string",
	"bugPage":"string",
	"title":"string",
	"bugDescription":"string",
	"imgUrl":"string",
	"score":"int",
	"parent":"string",
	"children":"string[]",
	"root":"string",
	"goodNum":"int",
	"goodWorkerId":"string[]",
	"badNum":"int",
	"badWorkerId":"string[]",
	"testCaseId":"string //测试用例属性",
	"testCaseName":"string",
	"testCaseFront":"string",
	"testCaseBehind":"string",
	"testCaseDescription":"string",
	"testCaseCreateTime":"string",
	"reportId":"string //report属性",
	"reportName":"string",
	"reportCreateTime":"string",
	"scriptLocation":"string",
	"reportLocation":"string",
	"logLocation":"string",
	"deviceModel":"string",
	"deviceBrand":"string",
	"deviceOs":"string",
	"workerId":"string //工人属性",
	"caseAppName":"string //众测任务属性",
	"casePaperType":"string",
	"caseTestType":"string",
	"caseDescription":"string",
	"caseRequireDoc":"string",
	"caseTakeId":"string //原系统中的case_take_id",
	"originalCaseId":"string //与目前系统中的哪个case对应",
	"cpSerialNum":"string //cp系统序列号"
}]