test_003_masjy.yaml 247 B

1234567891011121314
  1. -
  2. name: 创建标签接口
  3. request:
  4. method: post
  5. url: /tags/create?access_token=${read_yaml(token)}
  6. json: {"tag":{"name":"重庆${get_random_number(1111,30000)}"}}
  7. extract:
  8. tag_id: $.tag.id
  9. validate:
  10. - contains: id