Files
apiautotest/interface/gitlink/users/test_gitlink_user_apply_token.yaml
2024-03-22 16:24:06 +08:00

29 lines
619 B
YAML

case_common:
allure_epic: GitLink接口
allure_feature: 用户模块
allure_story: 申请token
case_markers:
- gitlink
- skip: 暂时还没有调通,等接口文档更新后,了解各个参数如何调用
case_info:
-
id: gitlink_user_apply_token_01
title: 为用户申请一个token接口
run: True
severity: normal
url: /users/${env_login}/tokens
method: POST
headers:
Content-Type: application/json; charset=utf-8;
cookies:
request_type: json
payload:
name: ${env_login}
scope:
- all
files:
assert_response:
status_code: 200
assert_sql:
extract: