test_001_青创培训-线上培训-列表.yaml 544 B

1234567891011121314151617181920
  1. -
  2. name: 青创培训-线上培训-列表
  3. request:
  4. method: post
  5. url: /api/service-qzh/auth/YcqQzhOnlineTrainController/trainPage
  6. json:
  7. pageNo : 1
  8. pageSize : 5
  9. query : {
  10. isTop : 1,
  11. state : "公示"
  12. }
  13. headers:
  14. Token: ${read_yaml(token)}
  15. "Mi": ${genRat("/api/service-qzh/auth/YcqQzhOnlineTrainController/trainPage", 10231)}
  16. extract:
  17. # xspxid: '"id":"(.*?)"'
  18. xspxid: $.data.result[0].id
  19. validate:
  20. - contains: true