Răsfoiți Sursa

卢汉新增用例

luhan 9 luni în urmă
părinte
comite
84706fc714
24 a modificat fișierele cu 294 adăugiri și 0 ștergeri
  1. 14 0
      test_case/qccq/test_072_青马工程-跟踪培养-作用发挥.yaml
  2. 15 0
      test_case/qccq/test_073_青马工程-跟踪培养-录入作用发挥.yaml
  3. 14 0
      test_case/qccq/test_074_青马工程-跟踪培养-成长发展.yaml
  4. 15 0
      test_case/qccq/test_075_青马工程-跟踪培养-录入成长发展.yaml
  5. 15 0
      test_case/qccq/test_076_青马工程-我的书单-书单主题.yaml
  6. 17 0
      test_case/qccq/test_077_青马工程-我的书单-列表.yaml
  7. 14 0
      test_case/qccq/test_078_青马工程-我的书单-详情.yaml
  8. 9 0
      test_case/qccq/test_079_青春头条-标签.yaml
  9. 16 0
      test_case/qccq/test_080_青春头条-要闻-列表.yaml
  10. 9 0
      test_case/qccq/test_081_青春头条-要闻-详情.yaml
  11. 9 0
      test_case/qccq/test_082_青春头条-要闻-查看数.yaml
  12. 16 0
      test_case/qccq/test_083_青春头条-本地资讯-列表.yaml
  13. 9 0
      test_case/qccq/test_084_青春头条-本地资讯-详情.yaml
  14. 9 0
      test_case/qccq/test_085_青春头条-本地资讯-查看数.yaml
  15. 16 0
      test_case/qccq/test_086_青春头条-共青团资讯-列表.yaml
  16. 9 0
      test_case/qccq/test_087_青春头条-共青团资讯-详情.yaml
  17. 9 0
      test_case/qccq/test_088_青春头条-共青团资讯-查看数.yaml
  18. 16 0
      test_case/qccq/test_089_青春头条-媒体看团-列表.yaml
  19. 9 0
      test_case/qccq/test_090_青春头条-媒体看团-详情.yaml
  20. 9 0
      test_case/qccq/test_091_青春头条-媒体看团-查看数.yaml
  21. 9 0
      test_case/qccq/test_092_青春头条-点赞.yaml
  22. 9 0
      test_case/qccq/test_093_图绘青春-标签.yaml
  23. 18 0
      test_case/qccq/test_094_图绘青春-列表.yaml
  24. 9 0
      test_case/qccq/test_095_图绘青春-详情.yaml

+ 14 - 0
test_case/qccq/test_072_青马工程-跟踪培养-作用发挥.yaml

@@ -0,0 +1,14 @@
+  -
+    name: 青马工程-跟踪培养-作用发挥
+    request:
+      method: post
+      url: /api/service-qm/auth/StudentAppController/pageExert
+      json:
+        pageNo: 1
+        pageSize: 20
+        query:
+          type: ""
+      headers:
+        Token: ${read_yaml(token)}
+    validate:
+      - contains: true

+ 15 - 0
test_case/qccq/test_073_青马工程-跟踪培养-录入作用发挥.yaml

@@ -0,0 +1,15 @@
+  -
+    name: 青马工程-跟踪培养-录入作用发挥
+    request:
+      method: post
+      url: /api/service-sysmgr/auth/PropertyController/pageValue
+      json:
+        pageNo: 1
+        pageSize: 999
+        query:
+          propCode: "qm-typeofroleplayed"
+          state: 1
+      headers:
+        Token: ${read_yaml(token)}
+    validate:
+      - contains: true

+ 14 - 0
test_case/qccq/test_074_青马工程-跟踪培养-成长发展.yaml

@@ -0,0 +1,14 @@
+  -
+    name: 青马工程-跟踪培养-成长发展
+    request:
+      method: post
+      url: /api/service-qm/auth/StudentAppController/pageSelfGrowth
+      json:
+        pageNo: 1
+        pageSize: 20
+        query:
+          type: ""
+      headers:
+        Token: ${read_yaml(token)}
+    validate:
+      - contains: true

+ 15 - 0
test_case/qccq/test_075_青马工程-跟踪培养-录入成长发展.yaml

@@ -0,0 +1,15 @@
+  -
+    name: 青马工程-跟踪培养-录入成长发展
+    request:
+      method: post
+      url: /api/service-sysmgr/auth/PropertyController/pageValue
+      json:
+        pageNo: 1
+        pageSize: 999
+        query:
+          propCode: "qm-typeofdevelopment"
+          state: 1
+      headers:
+        Token: ${read_yaml(token)}
+    validate:
+      - contains: true

+ 15 - 0
test_case/qccq/test_076_青马工程-我的书单-书单主题.yaml

@@ -0,0 +1,15 @@
+  -
+    name: 青马工程-我的书单-书单主题
+    request:
+      method: post
+      url: /api/service-sysmgr/auth/PropertyController/pageValue
+      json:
+        pageNo: 1
+        pageSize: 99
+        query:
+          propCode: "bookListTheme"
+          state: 1
+      headers:
+        Token: ${read_yaml(token)}
+    validate:
+      - contains: true

+ 17 - 0
test_case/qccq/test_077_青马工程-我的书单-列表.yaml

@@ -0,0 +1,17 @@
+  -
+    name: 青马工程-我的书单-列表
+    request:
+      method: post
+      url: /api/service-qm/auth/AppBookListController/bookListPage
+      json:
+        pageNo: 1
+        pageSize: 10
+        query:
+          bookListName: ""
+          bookListTheme: []
+      headers:
+        Token: ${read_yaml(token)}
+    extract:
+      bookid: $.data.result[0].bookListId
+    validate:
+      - contains: true

+ 14 - 0
test_case/qccq/test_078_青马工程-我的书单-详情.yaml

@@ -0,0 +1,14 @@
+  -
+    name: 青马工程-我的书单-详情
+    request:
+      method: post
+      url: /api/service-qm/auth/AppBookListController/viewBookList
+      json:
+        pageNo: 1
+        pageSize: 10
+        query:
+          bookListId: ${read_yaml(bookid)}
+      headers:
+        Token: ${read_yaml(token)}
+    validate:
+      - contains: true

+ 9 - 0
test_case/qccq/test_079_青春头条-标签.yaml

@@ -0,0 +1,9 @@
+  -
+    name: 青春头条-标签
+    request:
+      method: post
+      url: /api/service-app/public/HeadlineArticleController/findLabel
+      headers:
+        Token: ${read_yaml(token)}
+    validate:
+      - contains: true

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

@@ -0,0 +1,16 @@
+  -
+    name: 青春头条-要闻-列表
+    request:
+      method: post
+      url: /api/service-app/public/HeadlineArticleController/pageArticle
+      json:
+        pageNo: 1
+        pageSize: 10
+        query:
+          labelName: "要闻"
+      headers:
+        Token: ${read_yaml(token)}
+    extract:
+      ttid: $.data.result[0].headlineId
+    validate:
+      - contains: true

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

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

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

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

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

@@ -0,0 +1,16 @@
+  -
+    name: 青春头条-本地资讯-列表
+    request:
+      method: post
+      url: /api/service-app/public/HeadlineArticleController/pageArticle
+      json:
+        pageNo: 1
+        pageSize: 10
+        query:
+          labelName: "本地资讯"
+      headers:
+        Token: ${read_yaml(token)}
+    extract:
+      ttid: $.data.result[0].headlineId
+    validate:
+      - contains: true

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

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

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

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

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

@@ -0,0 +1,16 @@
+  -
+    name: 青春头条-共青团资讯-列表
+    request:
+      method: post
+      url: /api/service-app/public/HeadlineArticleController/pageArticle
+      json:
+        pageNo: 1
+        pageSize: 10
+        query:
+          labelName: "共青团资讯"
+      headers:
+        Token: ${read_yaml(token)}
+    extract:
+      ttid: $.data.result[0].headlineId
+    validate:
+      - contains: true

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

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

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

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

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

@@ -0,0 +1,16 @@
+  -
+    name: 青春头条-媒体看团-列表
+    request:
+      method: post
+      url: /api/service-app/public/HeadlineArticleController/pageArticle
+      json:
+        pageNo: 1
+        pageSize: 10
+        query:
+          labelName: "媒体看团"
+      headers:
+        Token: ${read_yaml(token)}
+    extract:
+      ttid: $.data.result[0].headlineId
+    validate:
+      - contains: true

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

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

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

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

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

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

+ 9 - 0
test_case/qccq/test_093_图绘青春-标签.yaml

@@ -0,0 +1,9 @@
+  -
+    name: 图绘青春-标签
+    request:
+      method: get
+      url: /api/service-label/public/LabelManagementController/hotLabel
+      headers:
+        Token: ${read_yaml(token)}
+    validate:
+      - contains: true

+ 18 - 0
test_case/qccq/test_094_图绘青春-列表.yaml

@@ -0,0 +1,18 @@
+  -
+    name: 图绘青春-列表
+    request:
+      method: post
+      url: /api/service-app/public/FileController/queryForLabelList
+      json:
+        pageNo: 1
+        pageSize: 10
+        query:
+          matchMode: 0
+          searchMode: 0
+          searchText: ""
+      headers:
+        Token: ${read_yaml(token)}
+    extract:
+      thqcid: $.data.result[0].uploadId
+    validate:
+      - contains: true

+ 9 - 0
test_case/qccq/test_095_图绘青春-详情.yaml

@@ -0,0 +1,9 @@
+  -
+    name: 图绘青春-详情
+    request:
+      method: get
+      url: /api/service-app/public/FileController/details?uploadId=${read_yaml(thqcid)}
+      headers:
+        Token: ${read_yaml(token)}
+    validate:
+      - contains: true