Browse Source

卢汉新增用例

luhan 9 months ago
parent
commit
4f2a8cdd3e
26 changed files with 185 additions and 13 deletions
  1. 1 1
      test_case/qccq/test_080_青春头条-要闻-列表.yaml
  2. 1 1
      test_case/qccq/test_081_青春头条-要闻-详情.yaml
  3. 1 1
      test_case/qccq/test_082_青春头条-要闻-查看数.yaml
  4. 1 1
      test_case/qccq/test_083_青春头条-本地资讯-列表.yaml
  5. 1 1
      test_case/qccq/test_084_青春头条-本地资讯-详情.yaml
  6. 1 1
      test_case/qccq/test_085_青春头条-本地资讯-查看数.yaml
  7. 1 1
      test_case/qccq/test_086_青春头条-共青团资讯-列表.yaml
  8. 1 1
      test_case/qccq/test_087_青春头条-共青团资讯-详情.yaml
  9. 1 1
      test_case/qccq/test_088_青春头条-共青团资讯-查看数.yaml
  10. 1 1
      test_case/qccq/test_089_青春头条-媒体看团-列表.yaml
  11. 1 1
      test_case/qccq/test_090_青春头条-媒体看团-详情.yaml
  12. 1 1
      test_case/qccq/test_091_青春头条-媒体看团-查看数.yaml
  13. 1 1
      test_case/qccq/test_092_青春头条-点赞.yaml
  14. 11 0
      test_case/qccq/test_096_青字号-列表.yaml
  15. 11 0
      test_case/qccq/test_097_青字号-详情.yaml
  16. 12 0
      test_case/qccq/test_098_青字号-详情-浏览记录.yaml
  17. 18 0
      test_case/qccq/test_099_青字号-突击队-政策指引-列表.yaml
  18. 11 0
      test_case/qccq/test_100_青字号-突击队-政策指引-详情.yaml
  19. 12 0
      test_case/qccq/test_101_青字号-突击队-政策指引-详情-浏览记录.yaml
  20. 18 0
      test_case/qccq/test_102_青字号-突击队-公告公示-列表.yaml
  21. 11 0
      test_case/qccq/test_103_青字号-突击队-公告公示-详情.yaml
  22. 12 0
      test_case/qccq/test_104_青字号-突击队-公告公示-详情-浏览记录.yaml
  23. 18 0
      test_case/qccq/test_105_青字号-突击队-风采展示-列表.yaml
  24. 11 0
      test_case/qccq/test_106_青字号-突击队-风采展示-详情.yaml
  25. 12 0
      test_case/qccq/test_107_青字号-突击队-风采展示-详情-浏览记录.yaml
  26. 15 0
      test_case/qccq/test_108_青字号-突击队-活跃度排行.yaml

+ 1 - 1
test_case/qccq/test_080_青春头条-要闻-列表.yaml

@@ -11,6 +11,6 @@
       headers:
         Token: ${read_yaml(token)}
     extract:
-      ttid: $.data.result[0].headlineId
+      headlineid: $.data.result[0].headlineId
     validate:
       - contains: true

+ 1 - 1
test_case/qccq/test_081_青春头条-要闻-详情.yaml

@@ -2,7 +2,7 @@
     name: 青春头条-要闻-详情
     request:
       method: get
-      url: /api/service-app/public/HeadlineArticleController/getArticleDetail?headlineId=${read_yaml(ttid)}
+      url: /api/service-app/public/HeadlineArticleController/getArticleDetail?headlineId=${read_yaml(headlineid)}
       headers:
         Token: ${read_yaml(token)}
     validate:

+ 1 - 1
test_case/qccq/test_082_青春头条-要闻-查看数.yaml

@@ -2,7 +2,7 @@
     name: 青春头条-要闻-查看数
     request:
       method: get
-      url: /api/service-app/public/HeadlineArticleController/getArticleCount?headlineId=${read_yaml(ttid)}
+      url: /api/service-app/public/HeadlineArticleController/getArticleCount?headlineId=${read_yaml(headlineid)}
       headers:
         Token: ${read_yaml(token)}
     validate:

+ 1 - 1
test_case/qccq/test_083_青春头条-本地资讯-列表.yaml

@@ -11,6 +11,6 @@
       headers:
         Token: ${read_yaml(token)}
     extract:
-      ttid: $.data.result[0].headlineId
+      headlineid1: $.data.result[0].headlineId
     validate:
       - contains: true

+ 1 - 1
test_case/qccq/test_084_青春头条-本地资讯-详情.yaml

@@ -2,7 +2,7 @@
     name: 青春头条-本地资讯-详情
     request:
       method: get
-      url: /api/service-app/public/HeadlineArticleController/getArticleDetail?headlineId=${read_yaml(ttid)}
+      url: /api/service-app/public/HeadlineArticleController/getArticleDetail?headlineId=${read_yaml(headlineid1)}
       headers:
         Token: ${read_yaml(token)}
     validate:

+ 1 - 1
test_case/qccq/test_085_青春头条-本地资讯-查看数.yaml

@@ -2,7 +2,7 @@
     name: 青春头条-本地资讯-查看数
     request:
       method: get
-      url: /api/service-app/public/HeadlineArticleController/getArticleCount?headlineId=${read_yaml(ttid)}
+      url: /api/service-app/public/HeadlineArticleController/getArticleCount?headlineId=${read_yaml(headlineid1)}
       headers:
         Token: ${read_yaml(token)}
     validate:

+ 1 - 1
test_case/qccq/test_086_青春头条-共青团资讯-列表.yaml

@@ -11,6 +11,6 @@
       headers:
         Token: ${read_yaml(token)}
     extract:
-      ttid: $.data.result[0].headlineId
+      headlineid2: $.data.result[0].headlineId
     validate:
       - contains: true

+ 1 - 1
test_case/qccq/test_087_青春头条-共青团资讯-详情.yaml

@@ -2,7 +2,7 @@
     name: 青春头条-共青团资讯-详情
     request:
       method: get
-      url: /api/service-app/public/HeadlineArticleController/getArticleDetail?headlineId=${read_yaml(ttid)}
+      url: /api/service-app/public/HeadlineArticleController/getArticleDetail?headlineId=${read_yaml(headlineid2)}
       headers:
         Token: ${read_yaml(token)}
     validate:

+ 1 - 1
test_case/qccq/test_088_青春头条-共青团资讯-查看数.yaml

@@ -2,7 +2,7 @@
     name: 青春头条-共青团资讯-查看数
     request:
       method: get
-      url: /api/service-app/public/HeadlineArticleController/getArticleCount?headlineId=${read_yaml(ttid)}
+      url: /api/service-app/public/HeadlineArticleController/getArticleCount?headlineId=${read_yaml(headlineid2)}
       headers:
         Token: ${read_yaml(token)}
     validate:

+ 1 - 1
test_case/qccq/test_089_青春头条-媒体看团-列表.yaml

@@ -11,6 +11,6 @@
       headers:
         Token: ${read_yaml(token)}
     extract:
-      ttid: $.data.result[0].headlineId
+      headlineid3: $.data.result[0].headlineId
     validate:
       - contains: true

+ 1 - 1
test_case/qccq/test_090_青春头条-媒体看团-详情.yaml

@@ -2,7 +2,7 @@
     name: 青春头条-媒体看团-详情
     request:
       method: get
-      url: /api/service-app/public/HeadlineArticleController/getArticleDetail?headlineId=${read_yaml(ttid)}
+      url: /api/service-app/public/HeadlineArticleController/getArticleDetail?headlineId=${read_yaml(headlineid3)}
       headers:
         Token: ${read_yaml(token)}
     validate:

+ 1 - 1
test_case/qccq/test_091_青春头条-媒体看团-查看数.yaml

@@ -2,7 +2,7 @@
     name: 青春头条-媒体看团-查看数
     request:
       method: get
-      url: /api/service-app/public/HeadlineArticleController/getArticleCount?headlineId=${read_yaml(ttid)}
+      url: /api/service-app/public/HeadlineArticleController/getArticleCount?headlineId=${read_yaml(headlineid3)}
       headers:
         Token: ${read_yaml(token)}
     validate:

+ 1 - 1
test_case/qccq/test_092_青春头条-点赞.yaml

@@ -2,7 +2,7 @@
     name: 青春头条-点赞
     request:
       method: get
-      url: /api/service-app/auth/HeadlineArticleController/modifyArticleLike?headlineId=${read_yaml(ttid)}
+      url: /api/service-app/auth/HeadlineArticleController/modifyArticleLike?headlineId=${read_yaml(headlineid3)}
       headers:
         Token: ${read_yaml(token)}
     validate:

+ 11 - 0
test_case/qccq/test_096_青字号-列表.yaml

@@ -0,0 +1,11 @@
+  -
+    name: 青字号-列表
+    request:
+      method: post
+      url: /api/service-qzh/announcementTourists/getAnnouncementNewest
+      headers:
+        Token: ${read_yaml(token)}
+    extract:
+      qzhid: $.data[0].id
+    validate:
+      - contains: true

+ 11 - 0
test_case/qccq/test_097_青字号-详情.yaml

@@ -0,0 +1,11 @@
+  -
+    name: 青字号-详情
+    request:
+      method: post
+      url: /api/service-qzh/announcementTourists/findAnnouncementDetailsById
+      json:
+        id: ${read_yaml(qzhid)}
+      headers:
+        Token: ${read_yaml(token)}
+    validate:
+      - contains: true

+ 12 - 0
test_case/qccq/test_098_青字号-详情-浏览记录.yaml

@@ -0,0 +1,12 @@
+  -
+    name: 青字号-详情-浏览记录
+    request:
+      method: post
+      url: /api/service-qzh/activityTourists/doBrowseActivity
+      json:
+        id: ${read_yaml(qzhid)}
+        recordType: "2"
+      headers:
+        Token: ${read_yaml(token)}
+    validate:
+      - contains: true

+ 18 - 0
test_case/qccq/test_099_青字号-突击队-政策指引-列表.yaml

@@ -0,0 +1,18 @@
+  -
+    name: 青字号-突击队-政策指引-列表
+    request:
+      method: post
+      url: /api/service-qzh/documentTourists/pageDocument
+      json:
+        pageNo: 1
+        pageSize: 10
+        query:
+          condition: "app"
+          documentType: 1
+          state: 1
+      headers:
+        Token: ${read_yaml(token)}
+    extract:
+      tjdid1: $.data.result[0].id
+    validate:
+      - contains: true

+ 11 - 0
test_case/qccq/test_100_青字号-突击队-政策指引-详情.yaml

@@ -0,0 +1,11 @@
+  -
+    name: 青字号-突击队-政策指引-详情
+    request:
+      method: post
+      url: /api/service-qzh/auth/documentController/findDocumentDetailsById
+      json:
+        id: ${read_yaml(tjdid1)}
+      headers:
+        Token: ${read_yaml(token)}
+    validate:
+      - contains: true

+ 12 - 0
test_case/qccq/test_101_青字号-突击队-政策指引-详情-浏览记录.yaml

@@ -0,0 +1,12 @@
+  -
+    name: 青字号-突击队-政策指引-详情-浏览记录
+    request:
+      method: post
+      url: /api/service-qzh/activityTourists/doBrowseActivity
+      json:
+        id: ${read_yaml(tjdid1)}
+        recordType: "1"
+      headers:
+        Token: ${read_yaml(token)}
+    validate:
+      - contains: true

+ 18 - 0
test_case/qccq/test_102_青字号-突击队-公告公示-列表.yaml

@@ -0,0 +1,18 @@
+  -
+    name: 青字号-突击队-公告公示-列表
+    request:
+      method: post
+      url: /api/service-qzh/announcementTourists/pageAnnouncement
+      json:
+        pageNo: 1
+        pageSize: 10
+        query:
+          announcementType: 1
+          condition: "app"
+          state: 1
+      headers:
+        Token: ${read_yaml(token)}
+    extract:
+      tjdid2: $.data.result[0].id
+    validate:
+      - contains: true

+ 11 - 0
test_case/qccq/test_103_青字号-突击队-公告公示-详情.yaml

@@ -0,0 +1,11 @@
+  -
+    name: 青字号-突击队-公告公示-详情
+    request:
+      method: post
+      url: /api/service-qzh/announcementTourists/findAnnouncementDetailsById
+      json:
+        id: ${read_yaml(tjdid2)}
+      headers:
+        Token: ${read_yaml(token)}
+    validate:
+      - contains: true

+ 12 - 0
test_case/qccq/test_104_青字号-突击队-公告公示-详情-浏览记录.yaml

@@ -0,0 +1,12 @@
+  -
+    name: 青字号-突击队-公告公示-详情-浏览记录
+    request:
+      method: post
+      url: /api/service-qzh/activityTourists/doBrowseActivity
+      json:
+        id: ${read_yaml(tjdid2)}
+        recordType: "2"
+      headers:
+        Token: ${read_yaml(token)}
+    validate:
+      - contains: true

+ 18 - 0
test_case/qccq/test_105_青字号-突击队-风采展示-列表.yaml

@@ -0,0 +1,18 @@
+  -
+    name: 青字号-突击队-风采展示-列表
+    request:
+      method: post
+      url: /api/service-qzh/activityTourists/pageYcqQzhActivity
+      json:
+        pageNo: 1
+        pageSize: 10
+        query:
+          activityType: 1
+          condition: "app"
+          state: 1
+      headers:
+        Token: ${read_yaml(token)}
+    extract:
+      tjdid3: $.data.result[0].id
+    validate:
+      - contains: true

+ 11 - 0
test_case/qccq/test_106_青字号-突击队-风采展示-详情.yaml

@@ -0,0 +1,11 @@
+  -
+    name: 青字号-突击队-风采展示-详情
+    request:
+      method: post
+      url: /api/service-qzh/activityTourists/doFindDetails
+      json:
+        id: ${read_yaml(tjdid3)}
+      headers:
+        Token: ${read_yaml(token)}
+    validate:
+      - contains: true

+ 12 - 0
test_case/qccq/test_107_青字号-突击队-风采展示-详情-浏览记录.yaml

@@ -0,0 +1,12 @@
+  -
+    name: 青字号-突击队-风采展示-详情-浏览记录
+    request:
+      method: post
+      url: /api/service-qzh/activityTourists/doBrowseActivity
+      json:
+        id: ${read_yaml(tjdid3)}
+        recordType: "3"
+      headers:
+        Token: ${read_yaml(token)}
+    validate:
+      - contains: true

+ 15 - 0
test_case/qccq/test_108_青字号-突击队-活跃度排行.yaml

@@ -0,0 +1,15 @@
+  -
+    name: 青字号-突击队-活跃度排行
+    request:
+      method: post
+      url: /api/service-qzh/auth/ycqQzhCommandoController/rankingCommandoList
+      json:
+        pageNo: 1
+        pageSize: 10
+        query: {
+
+        }
+      headers:
+        Token: ${read_yaml(token)}
+    validate:
+      - contains: true