test_002_接入管理_新增.yaml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. -
  2. name: $ddt{name}
  3. request:
  4. method: post
  5. url: /service-sysmgr/auth/AccessController/create
  6. json:
  7. appCode: "测试${get_random_number(1,1000)}"
  8. systemName: "测试${get_random_number(1,9000)}"
  9. sponsor: 1675680915889610752
  10. logoUrl: "20230922/dbc9d08ffc8f43609e9e8192e2ebe48c.jpg"
  11. appType: 2
  12. appName: "APP名称name${get_random_number(1,1000)}"
  13. appUrl: "APP地址${get_random_number(1,9000)}"
  14. sort: 16
  15. publicKey: null
  16. privateKey: null
  17. mustHex: 0
  18. mustAuth: 0
  19. state: 1
  20. notes: "测试"
  21. appId: "1705048780670922752"
  22. headers:
  23. Token: ${read_yaml(token)}
  24. # parameterize:
  25. # - [ 'name','pageNo','pageSize','asser_str','systemName','state']
  26. # - [ '分页查询1页10条数据,名称是”测试“','1','10',data,'测试',1]
  27. # - [ '分页查询2页10条数据,名称是”校外教育','2','10',data ,'校外教育',1]
  28. # - [ '分页查询1页100条数据','1','100',data, '自有应用',1]
  29. # - [ '分页查询1页50条数据','1','50','state': 1 ,'',1]
  30. # - [ '查询状态失效的','1','50','state': 0,'',0]
  31. extract:
  32. quarterId: '"quarterId":"(.*?)"'
  33. validate:
  34. - contains: data