评论列表
🚆
风流倜傥的帽子
2025-03-20 15:51:25
回复
我用postman用这个url创建成功,在页面上看不到对应创建得用例
请求报文:
{
"title": "case1",
"pri": 1,
"steps": [
{
"desc": "步骤1",
"expect": "结果1"
}
],
"type": "feature"
}
响应报文:
{
"id": 9,
"project": 0,
"product": 3,
"execution": 0,
"branch": 0,
"lib": 0,
"module": 0,
"path": 0,
"story": 0,
"storyVersion": 1,
"title": "case1",
"precondition": "",
"keywords": "",
"pri": 1,
"type": "feature",
"auto": "no",
"frame": "",
"stage": "",
"howRun": "",
"script": "",
"scriptedBy": "",
"scriptedDate": null,
"scriptStatus": "",
"scriptLocation": "",
"status": "normal",
"subStatus": "",
"color": "",
"frequency": "1",
"order": 0,
"openedBy": {
"id": 1,
"account": "admin",
"avatar": "",
"realname": "admin"
},
"openedDate": "2025-03-20T07:45:38Z",
"reviewedBy": null,
"reviewedDate": null,
"lastEditedBy": null,
"lastEditedDate": null,
"version": 1,
"linkCase": "",
"fromBug": 0,
"fromCaseID": 0,
"fromCaseVersion": 1,
"deleted": false,
"lastRunner": "",
"lastRunDate": null,
"lastRunResult": "",
"scene": 0,
"sort": 0,
"toBugs": [],
"fromBugData": [],
"linkCaseTitles": [],
"currentVersion": 1,
"files": [],
"steps": [
{
"name": "1",
"id": 2,
"step": "步骤1",
"desc": "步骤1",
"expect": "结果1",
"type": "step",
"parent": 0,
"grade": 1
}
]
}
⛄
马超 回复 风流倜傥的帽子
2025-03-20 16:04:35
回复
报文提示用例已经创建成功,可以到接口网址(/products/id/testcases) 中对应id的产品中查看一下是否有这个用例,另外禅道当前版本号是多少?可以升级到最版本21.5版本验证看下。
升级前请做好数据备份
备份请参考文档: http://www.zentao.net/book/zentaopmshelp/42.html
升级请参考文档: http://www.zentao.net/book/zentaopmshelp/41.html
🌆
豁达的鼠标
2024-10-10 15:58:37
回复
请问该接口是否支持批量上传用例,如果支持的格式是怎样的?
孔令茂 回复 豁达的鼠标
2024-10-10 16:35:12
回复
官方提供的 restful 类型的接口是不能支持的。
禅道提供另外一种 api 调用方式, 你可以看看这个文章
https://www.zentao.net/book/extension-dev/1341.html
该方法大致分为两个步骤,1鉴权 ,2,模拟浏览器的请求 (请求地址,请求方式,请求参数)
您可以联系客户经理,邀请您加入技术交流群沟通,即时性会更好一些。
⚾
北冕 回复 孔令茂
2025-03-13 15:50:08
回复
请教通过模拟浏览器请求导入用例的方式有用例数的限制嘛
于涛 回复 北冕
2025-03-13 16:10:55
回复
默认是没有限制的,不过取决于网络环境和请求体大小,可能数量过多会导致请求超时,建议根据实际情况选择合适的数据量
🎵
禅道2555
2023-05-22 14:01:42
回复
获取测试用例列表怎么根据模块和每页返回多少条数据查询啊,比如:/products/:id/testcases?模块=160&页数=100
🍟
张彩玲 回复 禅道2555
2023-05-22 17:20:49
回复
您好,可以添加页面上方的QQ,通过后,邀请您加入技术交流群,协助您解决问题呢。
💐
曹胜
2023-04-20 15:57:28
回复
postman请求404啊
🌽
宋翠萍 回复 曹胜
2023-04-20 16:45:03
回复
添加上方商务qq,进群沟通下这个问题
上一页
1
1/1
下一页
登录
请求报文:
{
"title": "case1",
"pri": 1,
"steps": [
{
"desc": "步骤1",
"expect": "结果1"
}
],
"type": "feature"
}
响应报文:
{
"id": 9,
"project": 0,
"product": 3,
"execution": 0,
"branch": 0,
"lib": 0,
"module": 0,
"path": 0,
"story": 0,
"storyVersion": 1,
"title": "case1",
"precondition": "",
"keywords": "",
"pri": 1,
"type": "feature",
"auto": "no",
"frame": "",
"stage": "",
"howRun": "",
"script": "",
"scriptedBy": "",
"scriptedDate": null,
"scriptStatus": "",
"scriptLocation": "",
"status": "normal",
"subStatus": "",
"color": "",
"frequency": "1",
"order": 0,
"openedBy": {
"id": 1,
"account": "admin",
"avatar": "",
"realname": "admin"
},
"openedDate": "2025-03-20T07:45:38Z",
"reviewedBy": null,
"reviewedDate": null,
"lastEditedBy": null,
"lastEditedDate": null,
"version": 1,
"linkCase": "",
"fromBug": 0,
"fromCaseID": 0,
"fromCaseVersion": 1,
"deleted": false,
"lastRunner": "",
"lastRunDate": null,
"lastRunResult": "",
"scene": 0,
"sort": 0,
"toBugs": [],
"fromBugData": [],
"linkCaseTitles": [],
"currentVersion": 1,
"files": [],
"steps": [
{
"name": "1",
"id": 2,
"step": "步骤1",
"desc": "步骤1",
"expect": "结果1",
"type": "step",
"parent": 0,
"grade": 1
}
]
}