提交 907c476b authored 作者: 张孟夏's avatar 张孟夏

修改robot文件名

上级 20cb5f5b
......@@ -13,8 +13,9 @@ ${path} /api/chatbot/create
log ${content}
Should Be Equal As Strings ${content["code"]} 200
Should Be Equal As Strings ${content["message"]} 成功
Set Global Variable ${sessionId} ${content["data"]}
反例-不传入token
反例-传入无效的token
[Tags] E
create session URI ${URL}
${content} POST请求结果_params ${path} {"workerId":"a68ad587830d41aebf418a919006353e"} 401 {}
......@@ -29,3 +30,11 @@ ${path} /api/chatbot/create
log ${content}
Should Be Equal As Strings ${content["code"]} 500
Should Be Equal As Strings ${content["message"]} Server busy, please try later
反例-传入空白token
[Tags] E
create session URI ${URL}
${content} POST请求结果_params ${path} {"workerId":"a68ad587830d41aebf418a919006353e"} 401 ${EMPTY}
log ${content}
Should Be Equal As Strings ${content["code"]} 401
Should Be Equal As Strings ${content["message"]} 没有找到认证信息
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论