Pārlūkot izejas kodu

修改配置文件

yunwinLiu 7 mēneši atpakaļ
vecāks
revīzija
962af0bb1a
100 mainītis faili ar 0 papildinājumiem un 1389 dzēšanām
  1. 0 167
      .gitignore
  2. 0 3
      .idea/.gitignore
  3. 0 13
      .idea/TEST.iml
  4. 0 7
      .idea/inspectionProfiles/profiles_settings.xml
  5. 0 7
      .idea/misc.xml
  6. 0 8
      .idea/modules.xml
  7. 0 6
      .idea/vcs.xml
  8. 0 84
      DingDing.py
  9. 0 3
      README.md
  10. 0 0
      common/__init__.py
  11. 0 42
      common/api.py
  12. 0 47
      common/database_util.py
  13. 0 104
      common/log_util.py
  14. 0 57
      common/parameterize.py
  15. 0 239
      common/request_util.py
  16. 0 81
      common/yaml_util.py
  17. 0 21
      config.yaml
  18. 0 28
      conftest.py
  19. 0 1
      extract.yaml
  20. 0 0
      logs/__init__.py
  21. 0 9
      pytest.ini
  22. 0 98
      random1111.py
  23. BIN
      requirements.txt
  24. 0 18
      run.py
  25. 0 1
      temps/01202ca0-1615-45aa-982d-b4b65e1f6fb3-container.json
  26. 0 1
      temps/067f6688-e38f-4cf8-bad0-85e01574e26d-container.json
  27. 0 1
      temps/0b3577d1-d38e-47e0-97d8-5dadad9e7b4b-container.json
  28. 0 1
      temps/0ba2a71b-1f36-4566-8bdc-65f6ca59840a-container.json
  29. 0 1
      temps/0e0f2282-9ba5-4cf6-b809-c514ed1dbdff-container.json
  30. 0 13
      temps/146bcc92-8c0a-42cf-879c-8487763a1b74-attachment.txt
  31. 0 1
      temps/20d83910-9c57-4b87-b42f-7e285972e7d6-container.json
  32. 0 1
      temps/23051523-1768-4994-9ffd-8c6879eeb071-container.json
  33. 0 13
      temps/2551417c-015d-4a3c-9dc8-f026561161ee-attachment.txt
  34. 0 1
      temps/32127ff3-df3d-43de-b137-26a36068867d-result.json
  35. 0 13
      temps/38e821b3-f4d7-45f9-b816-1a61ecd64670-attachment.txt
  36. 0 13
      temps/3c6a917d-7e0f-47d0-a145-ce831aa4ce73-attachment.txt
  37. 0 12
      temps/3dabdab2-c5c1-4cf3-84f4-92670313772f-attachment.txt
  38. 0 1
      temps/3de20e1c-fa0a-4d96-b132-f0536b4272ea-result.json
  39. 0 1
      temps/40cc18ba-2b44-479e-9a7b-8d1e43c1fc35-container.json
  40. 0 1
      temps/440b9804-a06a-45a5-9151-cfa6a8822083-result.json
  41. 0 1
      temps/47b1c50d-a5ed-441f-a96c-0bc498a2e7d2-result.json
  42. 0 1
      temps/4adc6d8a-6d4a-4c17-9a93-a72efe4fdbea-container.json
  43. 0 1
      temps/62c3fd51-b6a7-4e7e-b6ca-4b82dd8c3bff-result.json
  44. 0 13
      temps/63b85842-40d6-4144-bd1d-a9e24e7ce017-attachment.txt
  45. 0 13
      temps/68492310-d622-4a15-874b-c97860621a62-attachment.txt
  46. 0 1
      temps/6b58ba5f-c43e-4278-a622-7dd7b4b526ea-result.json
  47. 0 1
      temps/6caf2c27-eb73-4a6a-8454-48968cdabd92-result.json
  48. 0 13
      temps/6cf1feba-5718-403c-b83e-b67e1c0cf932-attachment.txt
  49. 0 1
      temps/6da5591a-a4a2-4c78-9674-184403ba8273-container.json
  50. 0 1
      temps/6e970170-a944-482e-9fd6-4f8e21878a6d-result.json
  51. 0 1
      temps/7629add4-1cb2-4ade-8317-5a18c5924657-container.json
  52. 0 13
      temps/7769f741-d0e1-440f-ae7f-372833eaef2a-attachment.txt
  53. 0 1
      temps/7b4ef8b0-53cb-417f-9a10-3d245955e34f-result.json
  54. 0 13
      temps/7f9727d4-449e-4fdc-8e21-9e14a8adbd90-attachment.txt
  55. 0 1
      temps/80485083-5d29-49e0-9bbb-5d3df8f4f5f1-result.json
  56. 0 1
      temps/80aed355-7cf9-4ed3-8711-47e22a3266bc-container.json
  57. 0 1
      temps/8a4240ef-d02f-445b-b210-b630b832e7a3-result.json
  58. 0 1
      temps/8c81544c-d30b-4141-a34f-aba70db2844a-container.json
  59. 0 1
      temps/94f46d8b-db3e-4c45-bfce-0f1468eea9b9-container.json
  60. 0 1
      temps/998b9913-6980-4146-98e1-f7187a91819f-container.json
  61. 0 13
      temps/9ada03cf-8027-48b2-bbe0-bd5a9abca11a-attachment.txt
  62. 0 1
      temps/a41ea1cd-dbdb-47ef-aca6-308c2a09900a-container.json
  63. 0 1
      temps/a499eb37-6839-4b5c-aefb-64a221175cbf-container.json
  64. 0 1
      temps/a4be78a8-538e-444d-80f3-16a0902e96bc-container.json
  65. 0 13
      temps/a5b48b60-a09f-448b-8e64-4b4c7244c6dd-attachment.txt
  66. 0 1
      temps/a7546026-a4ed-4afe-86c9-645d98b8fa41-container.json
  67. 0 1
      temps/a8526919-718e-41b6-8321-69267371fe11-result.json
  68. 0 1
      temps/a8830d10-4355-477e-a1ed-45303850c887-result.json
  69. 0 1
      temps/a9e4de53-8c9f-49bc-b057-261e56c1f620-result.json
  70. 0 9
      temps/ac4f7a93-d5fd-4e44-97ab-4353e4b2fe7a-attachment.txt
  71. 0 1
      temps/ad453cf1-7e38-402b-a6c4-d691632b31e5-container.json
  72. 0 1
      temps/ade99f0a-6075-4150-b512-dbae5085f668-result.json
  73. 0 9
      temps/b385c356-d2c9-4f87-9ed0-04690a6bdde4-attachment.txt
  74. 0 13
      temps/b623aa7b-d023-4c5b-b834-158fa55cfe64-attachment.txt
  75. 0 1
      temps/b6dbcc14-4878-44df-a427-294be4af2896-result.json
  76. 0 1
      temps/b85f99d0-69e5-4827-93c0-b102c2a23d2c-container.json
  77. 0 1
      temps/bf90cba4-dc83-445f-adc9-5cf47ee60de3-result.json
  78. 0 13
      temps/c20c6a1c-7b58-40d2-8aa5-79b10124f5d6-attachment.txt
  79. 0 13
      temps/c40abd8e-d2af-49e4-911e-2acee246466a-attachment.txt
  80. 0 1
      temps/c692e5d3-465a-47ee-831e-582f46986d2c-result.json
  81. 0 1
      temps/c8ac526b-4385-4c34-be92-56511d2f7024-result.json
  82. 0 1
      temps/ca0972dc-4127-4f79-9a23-e7daee828003-container.json
  83. 0 1
      temps/d008aa72-9757-48f4-b687-c771b563132c-container.json
  84. 0 1
      temps/d17c324b-b3b0-4c2e-b41a-6d3544f0346a-result.json
  85. 0 10
      temps/d3073a55-419d-4168-b42d-67956c1466e3-attachment.txt
  86. 0 13
      temps/d406bc87-798c-46fc-84cf-a050f28d356f-attachment.txt
  87. 0 1
      temps/ddaf196f-0a58-4ec9-b54b-e643bafb7764-container.json
  88. 0 13
      temps/e397e044-2c9e-4cb3-b6e2-7d63d239abb5-attachment.txt
  89. 0 1
      temps/e552d476-bd07-4c8f-bf71-6fa42ec08fc0-result.json
  90. 0 1
      temps/eb0c2680-795a-4885-8273-23248a2b1f22-container.json
  91. 0 1
      temps/ecc5dfad-e3a6-4c84-a551-e1a5de85bbb6-result.json
  92. 0 1
      temps/ee538fc8-3591-4ab9-8772-2c8a5c26ec99-result.json
  93. 0 1
      temps/eede9cac-521e-4577-9fff-68e4176b80ba-container.json
  94. 0 9
      temps/f149edc8-2c9f-4a42-b253-9fbf052526c8-attachment.txt
  95. 0 1
      temps/f590955a-2efa-40ae-8820-f7e267900fa4-container.json
  96. 0 12
      temps/f6f48dd1-c5d6-4218-b63e-4fc249c2d397-attachment.txt
  97. 0 1
      temps/f74868ac-9be9-4d1c-93a3-a5644bd75361-result.json
  98. 0 13
      temps/fadbb3af-d5a9-4435-b9b3-223daa1f4a24-attachment.txt
  99. 0 13
      temps/fe9654d3-291d-465a-8dca-c7973088e025-attachment.txt
  100. 0 0
      test_case/__init__.py

+ 0 - 167
.gitignore

@@ -1,167 +0,0 @@
-### Python template
-# Byte-compiled / optimized / DLL files
-__pycache__/
-*.py[cod]
-*$py.class
-
-# C extensions
-*.so
-
-# Distribution / packaging
-.Python
-build/
-develop-eggs/
-dist/
-downloads/
-eggs/
-.eggs/
-lib/
-lib64/
-parts/
-sdist/
-var/
-wheels/
-share/python-wheels/
-*.egg-info/
-.installed.cfg
-*.egg
-MANIFEST
-
-# PyInstaller
-#  Usually these files are written by a python script from a template
-#  before PyInstaller builds the exe, so as to inject date/other infos into it.
-*.manifest
-*.spec
-
-# Installer logs
-pip-log.txt
-pip-delete-this-directory.txt
-
-# Unit test / coverage reports
-htmlcov/
-.tox/
-.nox/
-.coverage
-.coverage.*
-.cache
-nosetests.xml
-coverage.xml
-*.cover
-*.py,cover
-.hypothesis/
-.pytest_cache/
-cover/
-
-# Translations
-*.mo
-*.pot
-
-# Django stuff:
-*.log
-local_settings.py
-db.sqlite3
-db.sqlite3-journal
-
-# Flask stuff:
-instance/
-.webassets-cache
-
-# Scrapy stuff:
-.scrapy
-
-# Sphinx documentation
-docs/_build/
-
-# PyBuilder
-.pybuilder/
-target/
-
-# Jupyter Notebook
-.ipynb_checkpoints
-
-# IPython
-profile_default/
-ipython_config.py
-
-# pyenv
-#   For a library or package, you might want to ignore these files since the code is
-#   intended to run in multiple environments; otherwise, check them in:
-# .python-version
-
-# pipenv
-#   According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
-#   However, in case of collaboration, if having platform-specific dependencies or dependencies
-#   having no cross-platform support, pipenv may install dependencies that don't work, or not
-#   install all needed dependencies.
-#Pipfile.lock
-
-# poetry
-#   Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
-#   This is especially recommended for binary packages to ensure reproducibility, and is more
-#   commonly ignored for libraries.
-#   https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
-#poetry.lock
-
-# pdm
-#   Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
-#pdm.lock
-#   pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
-#   in version control.
-#   https://pdm.fming.dev/#use-with-ide
-.pdm.toml
-
-# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
-__pypackages__/
-
-# Celery stuff
-celerybeat-schedule
-celerybeat.pid
-
-# SageMath parsed files
-*.sage.py
-
-# Environments
-.env
-.venv
-env/
-venv/
-ENV/
-env.bak/
-venv.bak/
-
-# Spyder project settings
-.spyderproject
-.spyproject
-
-# Rope project settings
-.ropeproject
-
-# mkdocs documentation
-/site
-
-# mypy
-.mypy_cache/
-.dmypy.json
-dmypy.json
-
-# Pyre type checker
-.pyre/
-
-# pytype static type analyzer
-.pytype/
-
-# Cython debug symbols
-cython_debug/
-
-# PyCharm
-#  JetBrains specific template is maintained in a separate JetBrains.gitignore that can
-#  be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
-#  and can be added to the global gitignore or merged into this file.  For a more nuclear
-#  option (not recommended) you can uncomment the following to ignore the entire idea folder.
-#.idea/
-
-
-/.gitignore/
-/temps/
-/pytest.ini/
-/README.md/

+ 0 - 3
.idea/.gitignore

@@ -1,3 +0,0 @@
-# Default ignored files
-/shelf/
-/workspace.xml

+ 0 - 13
.idea/TEST.iml

@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<module type="PYTHON_MODULE" version="4">
-  <component name="NewModuleRootManager">
-    <content url="file://$MODULE_DIR$">
-      <excludeFolder url="file://$MODULE_DIR$/venv" />
-    </content>
-    <orderEntry type="jdk" jdkName="Python 3.10 (TEST)" jdkType="Python SDK" />
-    <orderEntry type="sourceFolder" forTests="false" />
-  </component>
-  <component name="TestRunnerService">
-    <option name="PROJECT_TEST_RUNNER" value="py.test" />
-  </component>
-</module>

+ 0 - 7
.idea/inspectionProfiles/profiles_settings.xml

@@ -1,7 +0,0 @@
-<component name="InspectionProjectProfileManager">
-  <settings>
-    <option name="PROJECT_PROFILE" value="Default" />
-    <option name="USE_PROJECT_PROFILE" value="false" />
-    <version value="1.0" />
-  </settings>
-</component>

+ 0 - 7
.idea/misc.xml

@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
-  <component name="Black">
-    <option name="sdkName" value="Python 3.10 (TEST)" />
-  </component>
-  <component name="ProjectRootManager" version="2" project-jdk-name="Python 3.10 (TEST)" project-jdk-type="Python SDK" />
-</project>

+ 0 - 8
.idea/modules.xml

@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
-  <component name="ProjectModuleManager">
-    <modules>
-      <module fileurl="file://$PROJECT_DIR$/.idea/TEST.iml" filepath="$PROJECT_DIR$/.idea/TEST.iml" />
-    </modules>
-  </component>
-</project>

+ 0 - 6
.idea/vcs.xml

@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
-  <component name="VcsDirectoryMappings">
-    <mapping directory="$PROJECT_DIR$" vcs="Git" />
-  </component>
-</project>

+ 0 - 84
DingDing.py

@@ -1,84 +0,0 @@
-import os
-import socket
-from pathlib import Path
-from dingtalkchatbot.chatbot import DingtalkChatbot
-import datetime
-# 获取jenkins构建信息和本次报告地址
-import jenkins  # 安装pip install python-jenkins
-
-# 获取本机IP
-s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
-# s.connect(("8.8.8.8", 80))
-# ip = s.getsockname()[0]
-# jenkins登录地址
-jenkins_url = "http://121.229.175.82:63222/"
-# 获取jenkins对象
-server = jenkins.Jenkins(jenkins_url, username='jiangwei', password='jW@123456')  # Jenkins登录名 ,密码
-
-# job名称
-job_name = "job/qccq/"  # Jenkins运行任务名称
-# job的url地址
-job_url = jenkins_url + job_name
-# 获取最后一次构建
-job_last_build_url = server.get_info(job_name)['lastBuild']['url']
-# 报告地址
-report_url = job_last_build_url + 'allure'  # 'allure'为我的Jenkins全局工具配置中allure别名
-if "localhost" in report_url:
-    report_url = report_url.replace("localhost", ip)
-else:
-    report_url = report_url
-'''
-钉钉推送方法:
-读取report文件中"prometheusData.txt",循环遍历获取需要的值。
-使用钉钉机器人的接口,拼接后推送text
-'''
-
-
-def DingTalkSend(info):
-    d = {}
-    # 获取项目绝对路径
-    path = Path(__file__).parent
-    file = '/report/export/prometheusData.txt'
-    print(rf"{path}" + rf"{file}")
-    # 打开prometheusData 获取需要发送的信息
-    # f = open(rf"{path}" + rf"{file}", 'r', encoding='UTF-8')
-    f =open(os.getcwd()+file,'r', encoding='UTF-8')
-    for lines in f:
-        for c in lines:
-            launch_name = lines.strip('\n').split(' ')[0]
-            num = lines.strip('\n').split(' ')[1]
-            d.update({launch_name: num})
-    print(d)
-    f.close()
-    retries_run = d.get('launch_retries_run')  # 运行总数
-    print('运行总数:{}'.format(retries_run))
-    status_defects = d.get('launch_problems_test_defects')  # 未执行数
-    if status_defects is None:
-        status_defects = "0"
-    else:
-        status_defects = status_defects
-    print(status_defects)
-    status_passed = d.get('launch_status_passed')  # 通过数量
-    print('通过数量:{}'.format(status_passed))
-    status_failed = d.get('launch_status_failed')  # 不通过数量
-    print('不通过数量:{}'.format(status_failed))
-
-    # 钉钉推送
-    url = 'https://oapi.dingtalk.com/robot/send?access_token=f8566d2ed0feb8dc3bf2856df161241a8cf5a4c76af3d903abcabfdebebdff0e'  # webhook
-    text = (
-                   f"<font color=\'#FFA500\'>[通知] </font>青春重庆-{info}报告"
-                   "\n\n用例运行总数: " + retries_run +
-                   # "\n\n用例未执行数: " + status_defects +
-                   "\n\n用例通过数量: " + status_passed +
-                   '''\n\n<font>用例失败数量: </font><font color=\'#FF0000\' size=2>%s</font> \n\n''' +
-                   # "\n\n构建地址:\n" + job_url +
-                   "\n\n测试报告地址: \n" + report_url +
-                   "\n\n播报时间: " + datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')) % (status_defects)
-
-    dd_robot = DingtalkChatbot(url)
-    ret = dd_robot.send_markdown(title='青春重庆', text=text, is_at_all=False)
-    print(ret)
-
-
-if __name__ == '__main__':
-    DingTalkSend("生产APP巡检")

+ 0 - 3
README.md

@@ -1,3 +0,0 @@
-# TEST
-
-测试专用,勿动

+ 0 - 0
common/__init__.py


+ 0 - 42
common/api.py

@@ -1,42 +0,0 @@
-import base64
-import hashlib
-
-from flask import Flask, request
-
-#初始化一个实例
-app = Flask(__name__)
-
-#MD5加密
-def md5(args):
-    return hashlib.md5(str(args).encode('utf-8')).hexdigest()
-
-#Base64加密
-def bs64(args):
-    return base64.b64encode(str(args).encode("utf-8")).decode(encoding ="utf-8")
-
-#模拟带参数的请求(md5加密的接口)
-@app.route('/md5login',methods=['GET','POST'])
-def md5login():
-    username = request.values.get("username")
-    password = request.values.get("password")
-    print(username,password)
-    if username == md5("admin").upper() and password == md5("123").upper():
-        return {"message": "success"}
-    else:
-        return {"message": "fail"}
-
-#模拟带参数的请求(base64加密的接口)
-@app.route('/base64login',methods=['GET','POST'])
-def base64login():
-    username = request.values.get("username")
-    password = request.values.get("password")
-    print(username, password)
-    print(bs64("admin").upper(),bs64("123").upper())
-    print(username==bs64("admin").upper() and password==bs64("123").upper())
-    if username==bs64("admin").upper() and password==bs64("123").upper():
-        return "success"
-    else:
-        return "fail"
-
-if __name__ == '__main__':
-    app.run()

+ 0 - 47
common/database_util.py

@@ -1,47 +0,0 @@
-import traceback
-from sqlite3 import Connection, Cursor
-
-# import MySQLdb
-import pymysql
-
-from common.log_util import error_log
-
-
-class DatabaseUtil:
-    def __init__(self):
-        self.cs = None
-        self.conn = None
-
-    def create_conn(self):
-        self.conn: Connection = pymysql.connect(
-            host='10.12.43.2',
-            user='root',
-            password='Xx98$kdiesJS',
-            database='jwtest',
-            port=3409
-        )
-        return self.conn
-
-    # 执行sql语句
-    def execute_sql(self, sql):
-
-        # 创建游标
-        self.cs: Cursor = self.create_conn().cursor()
-        # 通过游标对象,执行SQL
-        try:
-            self.cs.execute(sql)
-        except:
-            error_log("SQL查询异常:%s" % str(traceback.format_exc()))
-
-            # 提取值
-        value = self.cs.fetchall()
-        self.close_resuoe()
-        print(value)
-        return value
-
-    def close_resuoe(self):
-        self.cs.close()
-        self.conn.close()
-
-# if __name__ == '__main__':
-#     print(DatabaseUtil().execute_sql('select * from uisql '))

+ 0 - 104
common/log_util.py

@@ -1,104 +0,0 @@
-import logging
-import colorlog
-import time
-
-from common.yaml_util import get_project_path, read_config_yaml
-
-
-class LoggerUtil:
-    def create_log(self, logger_name='log',level='INFO'):
-
-        level_relations = {
-            'debug': logging.DEBUG,
-            'info': logging.INFO,
-            'warning': logging.WARNING,
-            'error': logging.ERROR,
-            'crit': logging.CRITICAL
-        }
-
-
-        # 创建一个日志对象
-        self.logger = logging.getLogger(logger_name)
-        # 设置全局的日志级别(从低到高:debug调试<info信息<warning警告<error错误<critical严重)
-        self.logger.setLevel(logging.DEBUG)
-        if not self.logger.handlers:
-            # ------文件日志------
-            # 1创建文件日志路径
-            self.file_log_path = get_project_path() + "/logs/" + read_config_yaml("log", "log_name") + str(
-                int(time.time())) + ".log"
-            # 2创建文件日志控制器
-            self.file_hander = logging.FileHandler(self.file_log_path, encoding='UTF-8')
-            # 3设置文件日志级别
-            # file_log_level = str(read_config_yaml("log", "log_level")).lower()
-            # 设置日志显示级别
-            self.logger.setLevel(level_relations.get(level))
-
-            # if file_log_level == "debug":
-            #     self.file_hander.setLevel(logging.DEBUG)
-            # elif file_log_level == "info":
-            #     self.file_hander.setLevel(logging.INFO)
-            # elif file_log_level == "warning":
-            #     self.file_hander.setLevel(logging.WARNING)
-            # elif file_log_level == "error":
-            #     self.file_hander.setLevel(logging.ERROR)
-            # elif file_log_level == "critical":
-            #     self.file_hander.setLevel(logging.CRITICAL)
-            # else:
-            #     self.file_hander.setLevel(logging.DEBUG)
-            # 4创建文件的格式
-            self.file_hander.setFormatter(logging.Formatter(read_config_yaml("log", "log_format")))
-            # 将文件日志的控制器加入日志对象
-            self.logger.addHandler(self.file_hander)
-            # 创建控制台日志
-            # 1创建控制台日志控制器
-            self.console_hander = logging.StreamHandler()
-            # 2设置控制台日志级别
-            self.logger.setLevel(level_relations.get(level))
-
-            # console_log_level = str(read_config_yaml("log", "log_level")).lower()
-            # if console_log_level == "debug":
-            #     self.console_hander.setLevel(logging.DEBUG)
-            # elif console_log_level == "info":
-            #     self.console_hander.setLevel(logging.INFO)
-            # elif console_log_level == "warning":
-            #     self.console_hander.setLevel(logging.WARNING)
-            # elif console_log_level == "error":
-            #     self.console_hander.setLevel(logging.ERROR)
-            # elif console_log_level == "critical":
-            #     self.console_hander.setLevel(logging.CRITICAL)
-            # else:
-            #     self.console_hander.setLevel(logging.DEBUG)
-
-            # formatter = colorlog.ColoredFormatter(
-            #     '%(log_color)s[%(asctime)s] [%(name)s] [%(levelname)s]: %(message)s',
-            #     log_colors=log_colors_config)
-            formatter = colorlog.ColoredFormatter(
-                '%(log_color)s[%(asctime)s] [%(name)s] [%(levelname)s]: %(message)s',
-                log_colors=read_config_yaml("log","log_colors_config"))
-
-            # 3创建控制台的日志格式
-            self.console_hander.setFormatter(formatter)
-            # 将控制台日志加入日志对象
-            self.logger.addHandler(self.console_hander)
-
-        # 返回包含文件日志控制器和控制台日志控制器的日志对象
-        return self.logger
-
-
-# 错误日志的输出
-def error_log(message):
-    LoggerUtil().create_log(level="error").error(message)
-    # raise Exception(message)
-
-
-def warring_log(message):
-    LoggerUtil().create_log(level="warning").warning(message)
-    # raise Exception(message)
-
-
-
-# 信息日志的输出
-def logs(message):
-    LoggerUtil().create_log(level="info").info(message)
-    # raise Exception(message)
-

+ 0 - 57
common/parameterize.py

@@ -1,57 +0,0 @@
-import json
-import traceback
-import yaml
-
-from common.yaml_util import read_data_yaml, get_project_path
-from common.log_util import error_log
-
-
-# 读取测试用列
-def read_testcase(yaml_path):
-    try:
-        # with open(get_project_path() + yaml_path, mode='r', encoding='utf-8') as f:
-        with open(yaml_path, mode='r', encoding='utf-8') as f:
-            arg_names = yaml.load(stream=f, Loader=yaml.FullLoader)
-            if len(arg_names) >= 2:
-                return arg_names
-            else:
-                if "parameterize" in dict(*arg_names).keys():
-                    new_arg_names = ddt(*arg_names)
-                    return new_arg_names
-                else:
-                    return arg_names
-    except Exception as e:
-        error_log("读取测试用例方法read_testcase异常:%s" % str(traceback.format_exc()))
-
-
-def ddt(arg_names):
-    # 新方法
-    try:
-        arg_names_str = json.dumps(arg_names)
-        data_list = arg_names["parameterize"]
-        key_length = len(data_list[0])
-        # print(key_length)
-        length_success = True
-        # 循环数据
-        for param in arg_names["parameterize"]:
-            if len(param) != key_length:
-                length_success = False
-                error_log("此条数据有误:%s" % param)
-        # 替换值
-        new_art_names = []
-        if length_success:
-            for x in range(1, len(data_list)):
-                # print(data_list[x])
-                temp_arg_names = arg_names_str
-                for y in range(0, len(data_list[x])):
-                    if isinstance(data_list[x][y], int) or isinstance(data_list[x][y], float):
-                        temp_arg_names = temp_arg_names.replace('"$ddt{' + data_list[0][y] + '}"', str(data_list[x][y]))
-                    else:
-                        temp_arg_names = temp_arg_names.replace("$ddt{" + data_list[0][y] + "}", str(data_list[x][y]))
-                new_art_names.append(json.loads(temp_arg_names))
-            # print(new_art_names)
-        return new_art_names
-    except Exception as e:
-        error_log("数据驱动ddt异常:%s" % str())
-
-

+ 0 - 239
common/request_util.py

@@ -1,239 +0,0 @@
-import json
-import re
-import traceback
-import jsonpath
-import requests
-
-from common.database_util import DatabaseUtil
-from common.log_util import error_log, logs, warring_log
-from common.yaml_util import write_yaml, read_yaml, read_config_yaml, write_yaml_projectCode
-from random1111 import DubugTalk
-
-
-class RequestUtil:
-    def __init__(self, two_node):
-        self.base_url = read_config_yaml("base", two_node)
-
-    # 定义一个全局变量,类变量,通过类名调用
-    sess = requests.session()
-
-    def send_request(self, name, method, url, **kwargs):
-        try:
-            # 请求方式处理
-            method = str(method).lower()
-            # 基础路径拼接以及替换
-            url = self.base_url + self.replace_value(url)
-            # 参数替换
-            for key, value in kwargs.items():
-                if key in ['params', 'data', 'json', 'headers']:
-                    kwargs[key] = self.replace_value(value)
-                elif key == 'files':
-                    for file_key, file_path in value.items():
-                        value[file_key] = open(file_path, 'rb')
-            # 输出日志
-
-            logs("请求名称:%s" % name)
-            logs("请求方式:%s" % method)
-            logs("请求路径:%s" % url)
-            if "headers" in kwargs.keys():
-                logs("请求头:%s" % kwargs["headers"])
-            if "params" in kwargs.keys():
-                logs("请求params参数:%s" % kwargs["params"])
-            elif "data" in kwargs.keys():
-                logs("请求data参数:%s" % kwargs["data"])
-            elif "json" in kwargs.keys():
-                logs("请求json参数:%s" % kwargs["json"])
-            if "files" in kwargs.keys():
-                logs("文件上传:%s" % kwargs["files"])
-            # 请求
-            res = RequestUtil.sess.request(method, url, **kwargs)
-            logs("实际结果: %s" % res)
-            return res
-
-
-        except Exception as e:
-            error_log("发送请求send_request异常:%s" % str(traceback.format_exc()))
-
-    # 替换值的方法
-    # 问题1:(替换url,params,data,json,headers)
-    # 问题2:(string,float,int,dict)
-    def replace_value(self, data):
-        if data:
-            # 保存数据类型
-            data_type = type(data)
-
-            # 判断数据类型
-            if isinstance(data, dict) or isinstance(data, list):
-                str_data = json.dumps(data)
-            else:
-                str_data = str(data)
-            # 替换
-            for cs in range(1, str_data.count('${') + 1):
-                if "${" in str_data and "}" in str_data:
-                    start_index = str_data.index("${")
-                    end_index = str_data.index("}", start_index)
-                    old_index = str_data[start_index:end_index + 1]
-                    # 反射,通过类的对象和方法,字符串调用方法
-                    function_name = old_index[2:old_index.index('(')]
-                    args_value = old_index[old_index.index("(") + 1:old_index.index(")")]
-                    new_index = ""
-                    if args_value != "":
-                        args_value2 = args_value.split(',')
-                        new_index = getattr(DubugTalk(), function_name)(*args_value2)
-                    else:
-                        new_index = getattr(DubugTalk(), function_name)()
-                    if isinstance(new_index, int) or isinstance(new_index, float):
-                        str_data = str_data.replace('"' + old_index + '"', str(new_index))
-                    else:
-                        str_data = str_data.replace(old_index, str(new_index))
-            # 还原数据类型
-            if isinstance(data, dict) or isinstance(data, list):
-                data = json.loads(str_data)
-            else:
-                data = data_type(str_data)
-        return data
-
-    # 规范yaml文件
-    def standard_yaml(self, arg_names):
-        try:
-            logs("--------接口测试开始--------")
-            arg_names_keys = arg_names.keys()
-            # 判断一级关键字是否存在:name,request,validate
-            if "name" in arg_names_keys and "request" in arg_names_keys and "validate" in arg_names_keys:
-                # 判断requests下面是否包含method,url
-                request_keys = arg_names['request'].keys()
-                if "method" in request_keys and "url" in request_keys:
-                    logs("yaml框架检查基本通过")
-                    # pop返回该值,并删除
-                    name = arg_names.pop("name")
-                    method = arg_names['request'].pop("method")
-                    url = arg_names['request'].pop("url")
-                    # 发送请求
-                    res = self.send_request(name, method, url, **arg_names['request'])
-                    #获取接口的请求时间
-                    res_time = round(res.elapsed.total_seconds() * 1000, 2)
-                    act_time = read_config_yaml("request", "request_out_time")
-                    # 判断响应时间
-                    if res_time >= act_time:
-                        warring_log(
-                            "接口实际请求时间{res_time}毫秒,请求时间大于{act_time}毫秒,请关注".format(res_time=res_time,
-                                                                                                      act_time=act_time))
-                    # TODO 发送通知
-
-                    # print(res.json())
-                    return_text = res.text
-                    # print(return_text)
-                    return_json = ""
-                    return_code = res.status_code
-                    # 提取值并写入extract.yaml文件里面
-                    try:
-                        return_json = res.json()
-                    except Exception as e:
-                        error_log("返回结果不是json格式,不能用这种方法")
-                    if "extract" in arg_names_keys:
-                        for key, value in arg_names['extract'].items():
-                            if "(.*?)" in value or "(.+?)" in value:  # 正则
-                                # print("-------"+ value)
-                                zz_value = re.search(value, return_text)
-                                if zz_value:
-                                    extract_value = {key: zz_value.group(1)}
-                                    write_yaml(extract_value)
-                            else:  # jsonpath
-                                # print("+++++"+value)
-                                js_value = jsonpath.jsonpath(return_json, value)
-                                if js_value:
-                                    extract_value = {key: js_value[0]}
-                                    write_yaml(extract_value)
-                    try:
-                        return_json = res.json()
-
-                        data = return_json["data"]["result"]
-                        for i in range(len(data)):
-                            write_yaml_projectCode({("projectCode" + str(i)): data[i]['projectCode']})
-
-                    except Exception as e:
-                        pass
-
-                    # 断言结果
-                    self.assert_result(arg_names['validate'], return_json, return_code)
-
-                else:
-                    error_log("request下面是否包含method,url")
-            else:
-                error_log("一级关键字必须包括:name, request, validate")
-        except Exception as e:
-            error_log("规范yaml文件standard_yaml异常:%s" % str(traceback.format_exc()))
-
-    # 断言方法
-    def assert_result(self, yq_result, sj_result, return_code):
-        try:
-            logs("预期结果:%s" % yq_result)
-            logs("实际结果:%s" % sj_result)
-            # logs("实际结果:%s" % json.loads(json.dumps(sj_result).replace(r"\\", "\\")))
-            for yq in yq_result:
-                for key, value in yq.items():
-                    # print(key, value)
-                    if key == "equals":
-                        self.assert_equals(value, sj_result, return_code)
-
-                    elif key == "contains":
-                        # self.assert_contains(value, json.loads(json.dumps(sj_result).replace(r"\\", "\\")))
-                        self.assert_contains(value, sj_result)
-
-
-                    elif key == 'db_equals':
-                        self.database_assert(value, sj_result)
-
-                    else:
-                        error_log("框架暂时不支持此框架断言")
-            logs("接口测试成功")
-
-            logs("------接口测试结束————————\n")
-        except Exception as e:
-            logs("接口测试失败!!!")
-            logs("------接口测试结束————————")
-            error_log("断言assert_result异常:%s" % str(traceback.format_exc()))
-
-    # 相等断言
-    def assert_equals(self, value, sj_result, return_code):
-        for assert_key, assert_value in value.items():
-            # print(assert_value)
-            if assert_key == "status_code":
-                if assert_value != return_code:
-                    error_log("断言失败:状态码不等于%s" % assert_value)
-            else:
-                lists = jsonpath.jsonpath(sj_result, '$..%s' % assert_key)
-                if lists:
-                    if assert_value not in lists:
-                        error_log("断言失败:" + assert_key + "不等于" + str(assert_value))
-                else:
-                    error_log("断言失败:返回中的结果不存在:" + assert_key)
-
-    # 包含断言
-    def assert_contains(self, value, sj_result):
-
-        if str(value).replace("{", "").replace("}", "") not in str(sj_result):
-            error_log("断言失败:返回结果中不包含" + str(value))
-
-    # 数据库断言
-    def database_assert(self, value, sj_result):
-        for sql, key in value.items():
-            if key not in sj_result:
-                error_log("数据库断言失败:返回结果中不包含" + str(key))
-            else:
-                res = None
-                try:
-                    res = DatabaseUtil().execute_sql(sql)
-                except:
-                    error_log("数据库断言失败:SQL查询异常:%s" % str(traceback.format_exc()))
-                if res is None:
-                    error_log("数据库断言失败:SQL语句有语法错误或者查询结果为空")
-                else:
-                    res_new = []
-                    for i in res:
-                        for k in i:
-                            res_new.append(k)
-                    if str(sj_result[key]) in res_new:
-                        logs("数据库断言成功:数据库查询结果" + str(res) + ",返回结果:" + str(sj_result[key]))
-                    else:
-                        error_log("数据库断言失败:SQL查询出的结果不等于接口返回结果")

+ 0 - 81
common/yaml_util.py

@@ -1,81 +0,0 @@
-import json
-import os
-
-import yaml
-
-
-# 获取项目根目录
-def get_project_path():
-    return os.path.abspath(os.getcwd().split("common")[0])
-
-
-# 读取
-def read_yaml(key):
-    with open(os.getcwd() + '/extract.yaml', mode='r', encoding='utf-8') as f:
-        value = yaml.load(stream=f, Loader=yaml.FullLoader)
-        return value[key]
-
-
-# 读取
-def read_yaml_projectCode(key):
-    with open(os.getcwd() + '/projectCode.yaml', mode='r', encoding='utf-8') as f:
-        value = yaml.load(stream=f, Loader=yaml.FullLoader)
-        return value[key]
-
-
-# 写入
-
-def write_yaml(data):
-    with open(os.getcwd() + '/extract.yaml', mode='a', encoding='utf-8') as f:
-        value = yaml.dump(data, stream=f, allow_unicode=True)
-        return value
-
-
-# 写入
-
-def write_yaml_projectCode(data):
-    with open(os.getcwd() + '/projectCode.yaml', mode='a', encoding='utf-8') as f:
-        value = yaml.dump(data, stream=f, allow_unicode=True)
-        return value
-
-
-# 清空
-def clear_yaml():
-    with open(os.getcwd() + '/extract.yaml', mode='w', encoding='utf-8') as f:
-        f.truncate()
-
-
-# 清空projectCode.yaml
-def clear_yaml_projectCode():
-    with open(os.getcwd() + '/projectCode.yaml', mode='w', encoding='utf-8') as f:
-        f.truncate()
-
-
-# 读取测试用列
-def read_testcase(yaml_path):
-    with open(yaml_path, mode='r', encoding='utf-8') as f:
-        value = yaml.load(stream=f, Loader=yaml.FullLoader)
-        return value
-
-
-# 读取conftest,yaml
-def read_config_yaml(one_node, two_nede):
-    with open(get_project_path() + '/config.yaml', mode='r', encoding='utf-8') as f:
-        value = yaml.load(f, Loader=yaml.FullLoader)
-        return value[one_node][two_nede]
-
-
-# #读取数据得yaml
-def read_data_yaml(yaml_path):
-    with open(get_project_path() + yaml_path, mode='r', encoding='utf-8') as f:
-        value = yaml.load(stream=f, Loader=yaml.FullLoader)
-        return value
-
-
-def read_case(yaml_path):
-    with open(os.getcwd() + yaml_path, mode='r', encoding='utf-8') as f:
-        value = yaml.load(stream=f, Loader=yaml.FullLoader)
-        return value
-
-if __name__ == '__main__':
-    print(os.path.abspath(os.getcwd().split("common")[0]))

+ 0 - 21
config.yaml

@@ -1,21 +0,0 @@
-#基础路径
-base:
-  base_qccq_cs: http://221.229.99.73:63220
-  base_qccq_sc: https://app.youth.cq.cqyl.org.cn
-
-#日志配置
-log:
-  log_name: logs_
-  log_format: '[%(asctime)s] %(filename)s->%(funcName)s line:%(lineno)d [%(levelname)s] %(message)s'
-  log_colors_config:
-    DEBUG: 'cyan'
-    INFO: 'green'
-    WARNING: 'yellow'
-    ERROR: 'red'
-    CRITICAL: 'red'
-
-
-request:
-  request_out_time: 1
-
-

+ 0 - 28
conftest.py

@@ -1,28 +0,0 @@
-import json
-import os
-from pathlib import Path
-
-import pytest
-import requests
-
-from common.yaml_util import clear_yaml, clear_yaml_projectCode, read_testcase, read_config_yaml, write_yaml
-
-path = Path(__file__).parent.glob("**/test_001_登录接口.yaml")
-for yaml_path1 in path:
-    yaml_path=yaml_path1
-
-@pytest.fixture(scope="session", autouse=True)
-def clear_yam():
-    clear_yaml()
-    login_system(yaml_path)
-
-def login_system(yaml_path: Path):
-    global i
-    data = read_testcase(yaml_path)
-    for i in data:
-        method = i['request'].pop("method")
-        url =read_config_yaml("base", "base_qccq_sc")+ i['request'].pop("url")
-            # 发送请求
-        res = requests.request( method, url, **i['request'])
-        token = res.json()['data']["token"]
-        write_yaml({"token":token})

+ 0 - 1
extract.yaml

@@ -1 +0,0 @@
-token: PHONE_cjzgldqyywjszcesepylwpfp

+ 0 - 0
logs/__init__.py


+ 0 - 9
pytest.ini

@@ -1,9 +0,0 @@
-[pytest]
-addopts = -vs --alluredir=./temps --clean-alluredir
-testpaths = ./test_case/qccq
-;python_files = test_*.py
-;python_classes = Test*
-;python_functions = test
-;markers =
-;    smoke:冒烟
-;    usermanage:用户管理

+ 0 - 98
random1111.py

@@ -1,98 +0,0 @@
-import base64
-import hashlib
-import os
-import random
-import time
-
-# import rsa as rsa
-import yaml
-
-from common.request_util import *
-from common.yaml_util import read_yaml
-
-
-class DubugTalk:
-    # 获得随机数
-    def get_random_number(self, min, max):
-        return str(random.randint(int(min), int(max)))
-
-    def read_yaml(self, key):
-        return read_yaml(key)
-
-    # Md5加密
-    def md5(self, args):
-        # 以指定的编码格式编码字符串
-        utf8_str = str(args).encode("utf-8")
-        # MD5加密(哈稀算法)
-        md5_str = hashlib.md5(utf8_str).hexdigest()
-        return md5_str.upper()
-
-    # base64加密
-    def bs64(self, args):
-        # 以指定的编码格式编码字符串
-        utf8_str = str(args).encode("utf-8")
-        # base64加密
-        ba64_str = base64.b64encode(utf8_str).decode('utf-8')
-        return ba64_str.upper()
-
-    # RSA双钥加密
-    # # 生成公钥私钥到指定文件
-    # def create_key(self):
-    #     # 根据密钥长度生成公钥私钥
-    #     (public_key, private_key) = rsa.newkeys(1024)
-    #     # 报存公钥
-    #     with open("public.pem", "w+") as f:
-    #         f.write(public_key.save_pkcs1().decode())
-    #     # 报存私钥
-    #     with open("private.pem", "w+") as f:
-    #         f.write(private_key.save_pkcs1().decode())
-    # 通过公钥加密
-    # def public_key_jiami(self, args):
-    #     # 导入密钥
-    #     with open("public.pem") as f:
-    #         pubkey = rsa.PublicKey.load_pkcs1(f.read().encode())
-    #     # 加密
-    #     byte_str = rsa.encrypt(str(args).encode("utf-8"), pubkey)
-    #     # 把二进制转化成字符串格式
-    #     miwen = base64.b64encode(byte_str).decode("utf-8")
-    #     return miwen
-    # 通过私钥解密
-    # def private_key_jiemi(self,args):
-    #     with open("private.pem") as f:
-    #         prikey = rsa.PrivateKey.load_pkcs1(f.read().encode())
-    #     # 把字符串转换二进制
-    #     byte_key = base64.b64decode(args)
-    #     #解密
-    #     mingwen = rsa.decrypt(byte_key, prikey).decode()
-    #     return mingwen
-
-    # singe签名
-    def singes(self, yaml_path):
-        last_url = ""
-        last_data = {}
-        with open(os.getcwd() + yaml_path, encoding="utf-8") as f:
-            yaml_value = yaml.load(f, Loader=yaml.FullLoader)
-            for caseinfo in yaml_value:
-                # print(caseinfo)
-                caseinfo_keys = caseinfo.keys()
-                # 判断一级关键字是否存在:name,request,validate
-                if "request" in caseinfo_keys:
-                    # 判断url
-                    if "url" in caseinfo['request'].keys():
-                        last_url = caseinfo['request']['url']
-                        print(caseinfo['request']['url'])
-                    # 判断参数
-                    req = caseinfo['request']
-                    for key, value in req.items():
-                        if key in ["params", "data", "json"]:
-                            for p_key, p_value in req[key].items():
-                                last_data[p_key] = p_value
-        last_url = last_url[last_url.index("?") + 1:len(last_url)]
-        # 把url字典格式加入到last_data字典格式里面
-        lis = last_url.split("&")
-        print(lis)
-        for a in lis:
-            last_data[a[0:a.index('=')]] = a[a.index('=') + 1:len(a)]
-        from common.request_util import RequestUtil
-        # last_data = RequestUtil(self).replace_value(last_data)
-        print(last_data)

BIN
requirements.txt


+ 0 - 18
run.py

@@ -1,18 +0,0 @@
-import os
-import time
-
-import pytest
-
-
-if __name__ == '__main__':
-    pytest.main(['-vs'])
-    time.sleep(3)
-    os.system("allure generate ./temps -o ./report --clean")
-    # pytest.main()  # 启动框架
-    # os.system("allure generate ./temps/allure -o report --clean")  # 生成报告
-    # os.system("allure open  report -p 0")  # 打开报告
-
-    # pytest.main(['-s', '-W', 'ignore:Module already imported:pytest.PytestWarning',
-    #              '--alluredir', '/var/jenkins_home/workspace/qccq/allure-report', '--clean-alluredir'])
-
-    # os.system(r"/var/jenkins_home/allure/bin/allure generate ./allure-report -o ./report/html --clean")

+ 0 - 1
temps/01202ca0-1615-45aa-982d-b4b65e1f6fb3-container.json

@@ -1 +0,0 @@
-{"uuid": "3b38ad76-d2c2-489e-85fd-76e4c6423c5d", "befores": [{"name": "arg_names", "status": "passed", "start": 1713172334753, "stop": 1713172334753}], "start": 1713172334753, "stop": 1713172334824}

+ 0 - 1
temps/067f6688-e38f-4cf8-bad0-85e01574e26d-container.json

@@ -1 +0,0 @@
-{"uuid": "b38f2f5c-da24-4979-ae85-acf2895f4279", "befores": [{"name": "arg_names", "status": "passed", "start": 1713172334883, "stop": 1713172334883}], "start": 1713172334883, "stop": 1713172334977}

+ 0 - 1
temps/0b3577d1-d38e-47e0-97d8-5dadad9e7b4b-container.json

@@ -1 +0,0 @@
-{"uuid": "ad761c60-8619-4b2e-aea6-a4f01bbff6de", "befores": [{"name": "arg_names", "status": "passed", "start": 1713172335284, "stop": 1713172335284}], "start": 1713172335284, "stop": 1713172335328}

+ 0 - 1
temps/0ba2a71b-1f36-4566-8bdc-65f6ca59840a-container.json

@@ -1 +0,0 @@
-{"uuid": "c2853a53-9038-4db4-b6aa-652af3a824e4", "befores": [{"name": "arg_names", "status": "passed", "start": 1713172334642, "stop": 1713172334642}], "start": 1713172334642, "stop": 1713172334692}

+ 0 - 1
temps/0e0f2282-9ba5-4cf6-b809-c514ed1dbdff-container.json

@@ -1 +0,0 @@
-{"uuid": "57259ff6-017c-4fa1-8094-6b24dad0c23b", "befores": [{"name": "arg_names", "status": "passed", "start": 1713172334980, "stop": 1713172334980}], "start": 1713172334980, "stop": 1713172335054}

+ 0 - 13
temps/146bcc92-8c0a-42cf-879c-8487763a1b74-attachment.txt

@@ -1,13 +0,0 @@
-INFO     log:log_util.py:102 --------接口测试开始--------
-INFO     log:log_util.py:102 yaml框架检查基本通过
-INFO     log:log_util.py:102 请求名称:个人中心-我的青字号-我的活动
-INFO     log:log_util.py:102 请求方式:post
-INFO     log:log_util.py:102 请求路径:https://app.youth.cq.cqyl.org.cn/api/service-youthcall-iam/ycqYouthcallWorkOrder/auth/myPaginQuery
-INFO     log:log_util.py:102 请求头:{'Token': 'PHONE_cjzgldqyywjszcesepylwpfp'}
-INFO     log:log_util.py:102 请求json参数:{'pageNo': 1, 'pageSize': 10, 'query': {'proposerId': 11846, 'workOrderName': ''}}
-INFO     log:log_util.py:102 实际结果: <Response [200]>
-WARNING  log:log_util.py:95 接口实际请求时间47.61毫秒,请求时间大于1毫秒,请关注
-INFO     log:log_util.py:102 预期结果:[{'contains': True}]
-INFO     log:log_util.py:102 实际结果:{'success': True, 'code': '0', 'msg': 'success', 'data': {'pageNo': 1, 'pageSize': 10, 'result': [], 'totalNum': '0', 'hasNext': False}}
-INFO     log:log_util.py:102 接口测试成功
-INFO     log:log_util.py:102 ------接口测试结束————————

+ 0 - 1
temps/20d83910-9c57-4b87-b42f-7e285972e7d6-container.json

@@ -1 +0,0 @@
-{"uuid": "060972c3-18ee-47bc-be30-9734ba3700da", "befores": [{"name": "arg_names", "status": "passed", "start": 1713172334306, "stop": 1713172334306}], "start": 1713172334306, "stop": 1713172334366}

+ 0 - 1
temps/23051523-1768-4994-9ffd-8c6879eeb071-container.json

@@ -1 +0,0 @@
-{"uuid": "d82e80cc-d247-49a0-b915-49ca4710e14f", "befores": [{"name": "arg_names", "status": "passed", "start": 1713172335466, "stop": 1713172335466}], "start": 1713172335466, "stop": 1713172335526}

+ 0 - 13
temps/2551417c-015d-4a3c-9dc8-f026561161ee-attachment.txt

@@ -1,13 +0,0 @@
-INFO     log:log_util.py:102 --------接口测试开始--------
-INFO     log:log_util.py:102 yaml框架检查基本通过
-INFO     log:log_util.py:102 请求名称:个人中心-我的青创培训-青创阵地
-INFO     log:log_util.py:102 请求方式:post
-INFO     log:log_util.py:102 请求路径:https://app.youth.cq.cqyl.org.cn/api/service-qzh/auth/publishActivityController/queryActivityEvaluateList
-INFO     log:log_util.py:102 请求头:{'Token': 'PHONE_cjzgldqyywjszcesepylwpfp'}
-INFO     log:log_util.py:102 请求json参数:{'pageNo': 1, 'pageSize': 10, 'query': {'businessBelong': ['InnovationAndEntrepreneurship']}}
-INFO     log:log_util.py:102 实际结果: <Response [200]>
-WARNING  log:log_util.py:95 接口实际请求时间44.9毫秒,请求时间大于1毫秒,请关注
-INFO     log:log_util.py:102 预期结果:[{'contains': True}]
-INFO     log:log_util.py:102 实际结果:{'success': True, 'code': '0', 'msg': 'success', 'data': {'pageNo': 1, 'pageSize': 10, 'result': [], 'totalNum': '0', 'hasNext': False}}
-INFO     log:log_util.py:102 接口测试成功
-INFO     log:log_util.py:102 ------接口测试结束————————

+ 0 - 1
temps/32127ff3-df3d-43de-b137-26a36068867d-result.json

@@ -1 +0,0 @@
-{"name": "个人中心-我的青创培训-我参与的-区域查询", "status": "passed", "attachments": [{"name": "log", "source": "ac4f7a93-d5fd-4e44-97ab-4353e4b2fe7a-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "arg_names", "value": "{'name': '个人中心-我的青创培训-我参与的-区域查询', 'request': {'method': 'get', 'url': '/api/service-sysmgr/auth/PropertyController/listActivityZone', 'headers': {'Token': '${read_yaml(token)}'}}, 'validate': [{'contains': True}]}"}], "start": 1713172334306, "stop": 1713172334366, "uuid": "9fd0652f-a83a-4357-9ef7-32bdf98015ed", "historyId": "644da4b55ee9bcbb8248371b8938aa20", "testCaseId": "c3efb415499e69121ef48be150934b19", "fullName": "test_case.qccq.test_allAPI.TestAPI#test_005_个人中心-我的青创培训-我参与的-区域查询", "labels": [{"name": "epic", "value": "青春重庆"}, {"name": "feature", "value": "用户管理模块"}, {"name": "parentSuite", "value": "test_case.qccq"}, {"name": "suite", "value": "test_allAPI"}, {"name": "subSuite", "value": "TestAPI"}, {"name": "host", "value": "DESKTOP-LD09QTG"}, {"name": "thread", "value": "23444-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_case.qccq.test_allAPI"}]}

+ 0 - 13
temps/38e821b3-f4d7-45f9-b816-1a61ecd64670-attachment.txt

@@ -1,13 +0,0 @@
-INFO     log:log_util.py:102 --------接口测试开始--------
-INFO     log:log_util.py:102 yaml框架检查基本通过
-INFO     log:log_util.py:102 请求名称:个人中心-我的青字号-我的活动
-INFO     log:log_util.py:102 请求方式:post
-INFO     log:log_util.py:102 请求路径:https://app.youth.cq.cqyl.org.cn/api/service-qzh/auth/publishActivityController/activityQueryForAppQzh
-INFO     log:log_util.py:102 请求头:{'Token': 'PHONE_cjzgldqyywjszcesepylwpfp'}
-INFO     log:log_util.py:102 请求json参数:{'pageNo': 1, 'pageSize': 10, 'query': {'businessBelong': ['QZJ']}}
-INFO     log:log_util.py:102 实际结果: <Response [200]>
-WARNING  log:log_util.py:95 接口实际请求时间70.96毫秒,请求时间大于1毫秒,请关注
-INFO     log:log_util.py:102 预期结果:[{'contains': True}]
-INFO     log:log_util.py:102 实际结果:{'success': True, 'code': '0', 'msg': 'success', 'data': {'pageNo': 1, 'pageSize': 10, 'result': [], 'totalNum': '0', 'hasNext': False}}
-INFO     log:log_util.py:102 接口测试成功
-INFO     log:log_util.py:102 ------接口测试结束————————

+ 0 - 13
temps/3c6a917d-7e0f-47d0-a145-ce831aa4ce73-attachment.txt

@@ -1,13 +0,0 @@
-INFO     log:log_util.py:102 --------接口测试开始--------
-INFO     log:log_util.py:102 yaml框架检查基本通过
-INFO     log:log_util.py:102 请求名称:个人中心-我的青创培训-青创融资
-INFO     log:log_util.py:102 请求方式:post
-INFO     log:log_util.py:102 请求路径:https://app.youth.cq.cqyl.org.cn/api/service-match/auth/mthProjectFinancing/pageMyProjectApply
-INFO     log:log_util.py:102 请求头:{'Token': 'PHONE_cjzgldqyywjszcesepylwpfp'}
-INFO     log:log_util.py:102 请求json参数:{'pageNo': 1, 'pageSize': 10, 'query': {'reviewStatus': [0], 'publicityStatus': 0}}
-INFO     log:log_util.py:102 实际结果: <Response [200]>
-WARNING  log:log_util.py:95 接口实际请求时间38.11毫秒,请求时间大于1毫秒,请关注
-INFO     log:log_util.py:102 预期结果:[{'contains': True}]
-INFO     log:log_util.py:102 实际结果:{'success': True, 'code': '0', 'msg': 'success', 'data': {'pageNo': 1, 'pageSize': 10, 'result': [], 'totalNum': '0', 'hasNext': False}}
-INFO     log:log_util.py:102 接口测试成功
-INFO     log:log_util.py:102 ------接口测试结束————————

+ 0 - 12
temps/3dabdab2-c5c1-4cf3-84f4-92670313772f-attachment.txt

@@ -1,12 +0,0 @@
-INFO     log:log_util.py:102 --------接口测试开始--------
-INFO     log:log_util.py:102 yaml框架检查基本通过
-INFO     log:log_util.py:102 请求名称:个人中心-我的青创培训-青创阵地
-INFO     log:log_util.py:102 请求方式:get
-INFO     log:log_util.py:102 请求路径:https://app.youth.cq.cqyl.org.cn/api/service-app-second/auth/AppCqzdSpaceContentController/applyList
-INFO     log:log_util.py:102 请求头:{'Token': 'PHONE_cjzgldqyywjszcesepylwpfp'}
-INFO     log:log_util.py:102 实际结果: <Response [200]>
-WARNING  log:log_util.py:95 接口实际请求时间52.01毫秒,请求时间大于1毫秒,请关注
-INFO     log:log_util.py:102 预期结果:[{'contains': True}]
-INFO     log:log_util.py:102 实际结果:{'success': True, 'code': '0', 'msg': 'success', 'data': None}
-INFO     log:log_util.py:102 接口测试成功
-INFO     log:log_util.py:102 ------接口测试结束————————

+ 0 - 1
temps/3de20e1c-fa0a-4d96-b132-f0536b4272ea-result.json

@@ -1 +0,0 @@
-{"name": "个人中心-我的下载", "status": "passed", "attachments": [{"name": "log", "source": "fe9654d3-291d-465a-8dca-c7973088e025-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "arg_names", "value": "{'name': '个人中心-我的下载', 'request': {'method': 'post', 'url': '/api/service-app-second/auth/appDownloadRecordController/queryImgList', 'headers': {'Token': '${read_yaml(token)}'}, 'json': {'pageNo': 1, 'pageSize': 10, 'query': {'name': ''}}}, 'validate': [{'contains': True}]}"}], "start": 1713172335221, "stop": 1713172335280, "uuid": "f4ec3c19-4948-42e0-a85a-c736435ca320", "historyId": "2e635b75c7e9df8e6d4019f606e23f8d", "testCaseId": "fc95217fa414d90fbd350537cdd8eb1d", "fullName": "test_case.qccq.test_allAPI.TestAPI#test_019_个人中心-我的下载", "labels": [{"name": "epic", "value": "青春重庆"}, {"name": "feature", "value": "用户管理模块"}, {"name": "parentSuite", "value": "test_case.qccq"}, {"name": "suite", "value": "test_allAPI"}, {"name": "subSuite", "value": "TestAPI"}, {"name": "host", "value": "DESKTOP-LD09QTG"}, {"name": "thread", "value": "23444-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_case.qccq.test_allAPI"}]}

+ 0 - 1
temps/40cc18ba-2b44-479e-9a7b-8d1e43c1fc35-container.json

@@ -1 +0,0 @@
-{"uuid": "30bef4be-0361-4842-95ae-de3623894c39", "befores": [{"name": "arg_names", "status": "passed", "start": 1713172334223, "stop": 1713172334223}], "start": 1713172334223, "stop": 1713172334304}

+ 0 - 1
temps/440b9804-a06a-45a5-9151-cfa6a8822083-result.json

@@ -1 +0,0 @@
-{"name": "个人中心-活动中心-我的评价", "status": "passed", "attachments": [{"name": "log", "source": "c20c6a1c-7b58-40d2-8aa5-79b10124f5d6-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "arg_names", "value": "{'name': '个人中心-活动中心-我的评价', 'request': {'method': 'post', 'url': '/api/service-qzh/auth/publishActivityController/queryActivityEvaluateList', 'headers': {'Token': '${read_yaml(token)}'}, 'json': {'pageNo': 1, 'pageSize': 10, 'query': {}}}, 'validate': [{'contains': True}]}"}], "start": 1713172335134, "stop": 1713172335217, "uuid": "9951fc44-b135-488b-bf5a-7ac4fe43f3ea", "historyId": "e6bb1d665007e6518b6d1f57982361cd", "testCaseId": "bc28e4a08a00d37269359617246e2369", "fullName": "test_case.qccq.test_allAPI.TestAPI#test_018_个人中心-活动中心-我的评价", "labels": [{"name": "epic", "value": "青春重庆"}, {"name": "feature", "value": "用户管理模块"}, {"name": "parentSuite", "value": "test_case.qccq"}, {"name": "suite", "value": "test_allAPI"}, {"name": "subSuite", "value": "TestAPI"}, {"name": "host", "value": "DESKTOP-LD09QTG"}, {"name": "thread", "value": "23444-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_case.qccq.test_allAPI"}]}

+ 0 - 1
temps/47b1c50d-a5ed-441f-a96c-0bc498a2e7d2-result.json

@@ -1 +0,0 @@
-{"name": "个人中心-浏览记录", "status": "passed", "attachments": [{"name": "log", "source": "63b85842-40d6-4144-bd1d-a9e24e7ce017-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "arg_names", "value": "{'name': '个人中心-浏览记录', 'request': {'method': 'post', 'url': '/api/service-app-second/auth/multiModules/pageView', 'headers': {'Token': '${read_yaml(token)}'}, 'json': {'pageNo': 1, 'pageSize': 10, 'query': {}}}, 'validate': [{'contains': True}]}"}], "start": 1713172334108, "stop": 1713172334221, "uuid": "93561f31-252a-41b5-bae0-2c6c682cd3ec", "historyId": "c22b335ba0730072b76aaa352e793719", "testCaseId": "b01a94b89176b4902ae9a8076f07396d", "fullName": "test_case.qccq.test_allAPI.TestAPI#test_003_个人中心-浏览记录", "labels": [{"name": "epic", "value": "青春重庆"}, {"name": "feature", "value": "用户管理模块"}, {"name": "parentSuite", "value": "test_case.qccq"}, {"name": "suite", "value": "test_allAPI"}, {"name": "subSuite", "value": "TestAPI"}, {"name": "host", "value": "DESKTOP-LD09QTG"}, {"name": "thread", "value": "23444-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_case.qccq.test_allAPI"}]}

+ 0 - 1
temps/4adc6d8a-6d4a-4c17-9a93-a72efe4fdbea-container.json

@@ -1 +0,0 @@
-{"uuid": "91c3b98e-43bf-4419-8101-1784e2f9c57e", "befores": [{"name": "arg_names", "status": "passed", "start": 1713172333974, "stop": 1713172333975}], "start": 1713172333974, "stop": 1713172334105}

+ 0 - 1
temps/62c3fd51-b6a7-4e7e-b6ca-4b82dd8c3bff-result.json

@@ -1 +0,0 @@
-{"name": "个人中心-活动中心-我参与的", "status": "passed", "attachments": [{"name": "log", "source": "b623aa7b-d023-4c5b-b834-158fa55cfe64-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "arg_names", "value": "{'name': '个人中心-活动中心-我参与的', 'request': {'method': 'post', 'url': '/api/service-qzh/auth/publishActivityController/activityQueryForAppQzh', 'json': {'pageNo': 1, 'pageSize': 10, 'query': {}}, 'headers': {'Token': '${read_yaml(token)}'}}, 'validate': [{'contains': True}]}"}], "start": 1713172334883, "stop": 1713172334976, "uuid": "94040377-6c10-4c9a-9732-422be2afa547", "historyId": "5d8275de7837427ff386a9290d0f4d2e", "testCaseId": "5b5f49f3bbef00e5591aff1829602313", "fullName": "test_case.qccq.test_allAPI.TestAPI#test_015_个人中心-活动中心-我参与的", "labels": [{"name": "epic", "value": "青春重庆"}, {"name": "feature", "value": "用户管理模块"}, {"name": "parentSuite", "value": "test_case.qccq"}, {"name": "suite", "value": "test_allAPI"}, {"name": "subSuite", "value": "TestAPI"}, {"name": "host", "value": "DESKTOP-LD09QTG"}, {"name": "thread", "value": "23444-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_case.qccq.test_allAPI"}]}

+ 0 - 13
temps/63b85842-40d6-4144-bd1d-a9e24e7ce017-attachment.txt

@@ -1,13 +0,0 @@
-INFO     log:log_util.py:102 --------接口测试开始--------
-INFO     log:log_util.py:102 yaml框架检查基本通过
-INFO     log:log_util.py:102 请求名称:个人中心-浏览记录
-INFO     log:log_util.py:102 请求方式:post
-INFO     log:log_util.py:102 请求路径:https://app.youth.cq.cqyl.org.cn/api/service-app-second/auth/multiModules/pageView
-INFO     log:log_util.py:102 请求头:{'Token': 'PHONE_cjzgldqyywjszcesepylwpfp'}
-INFO     log:log_util.py:102 请求json参数:{'pageNo': 1, 'pageSize': 10, 'query': {}}
-INFO     log:log_util.py:102 实际结果: <Response [200]>
-WARNING  log:log_util.py:95 接口实际请求时间107.7毫秒,请求时间大于1毫秒,请关注
-INFO     log:log_util.py:102 预期结果:[{'contains': True}]
-INFO     log:log_util.py:102 实际结果:{'success': True, 'code': '0', 'msg': 'success', 'data': {'pageNo': 1, 'pageSize': 10, 'result': [], 'totalNum': '0', 'hasNext': False}}
-INFO     log:log_util.py:102 接口测试成功
-INFO     log:log_util.py:102 ------接口测试结束————————

+ 0 - 13
temps/68492310-d622-4a15-874b-c97860621a62-attachment.txt

@@ -1,13 +0,0 @@
-INFO     log:log_util.py:102 --------接口测试开始--------
-INFO     log:log_util.py:102 yaml框架检查基本通过
-INFO     log:log_util.py:102 请求名称:个人中心-我的青创培训-我参与的
-INFO     log:log_util.py:102 请求方式:post
-INFO     log:log_util.py:102 请求路径:https://app.youth.cq.cqyl.org.cn/api/service-qzh/auth/publishActivityController/activityQueryForAppQzh
-INFO     log:log_util.py:102 请求头:{'Token': 'PHONE_cjzgldqyywjszcesepylwpfp'}
-INFO     log:log_util.py:102 请求json参数:{'pageNo': 1, 'pageSize': 10, 'query': {'businessBelong': ['InnovationAndEntrepreneurship']}}
-INFO     log:log_util.py:102 实际结果: <Response [200]>
-WARNING  log:log_util.py:95 接口实际请求时间74.89毫秒,请求时间大于1毫秒,请关注
-INFO     log:log_util.py:102 预期结果:[{'contains': True}]
-INFO     log:log_util.py:102 实际结果:{'success': True, 'code': '0', 'msg': 'success', 'data': {'pageNo': 1, 'pageSize': 10, 'result': [], 'totalNum': '0', 'hasNext': False}}
-INFO     log:log_util.py:102 接口测试成功
-INFO     log:log_util.py:102 ------接口测试结束————————

+ 0 - 1
temps/6b58ba5f-c43e-4278-a622-7dd7b4b526ea-result.json

@@ -1 +0,0 @@
-{"name": "个人中心-活动中心-类型查询", "status": "passed", "attachments": [{"name": "log", "source": "f149edc8-2c9f-4a42-b253-9fbf052526c8-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "arg_names", "value": "{'name': '个人中心-活动中心-类型查询', 'request': {'method': 'get', 'url': '/api/service-qzh/auth/publishActivityController/getBelongBUsiness', 'headers': {'Token': '${read_yaml(token)}'}}, 'validate': [{'contains': True}]}"}], "start": 1713172335058, "stop": 1713172335131, "uuid": "f30951b9-443c-4772-8818-d31ad74c7241", "historyId": "0a10de5d83c6c5b558d316337d34ae39", "testCaseId": "8b738e0d3fad918c85177083c1b15c44", "fullName": "test_case.qccq.test_allAPI.TestAPI#test_017_个人中心-活动中心-类型查询", "labels": [{"name": "epic", "value": "青春重庆"}, {"name": "feature", "value": "用户管理模块"}, {"name": "parentSuite", "value": "test_case.qccq"}, {"name": "suite", "value": "test_allAPI"}, {"name": "subSuite", "value": "TestAPI"}, {"name": "host", "value": "DESKTOP-LD09QTG"}, {"name": "thread", "value": "23444-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_case.qccq.test_allAPI"}]}

+ 0 - 1
temps/6caf2c27-eb73-4a6a-8454-48968cdabd92-result.json

@@ -1 +0,0 @@
-{"name": "个人中心-我的消息", "status": "passed", "attachments": [{"name": "log", "source": "d3073a55-419d-4168-b42d-67956c1466e3-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "arg_names", "value": "{'name': '个人中心-我的消息', 'request': {'method': 'post', 'url': '/api/service-app-second/auth/appMessage/pageSelect', 'headers': {'Token': '${read_yaml(token)}'}, 'json': {'pageNo': 1, 'pageSize': 10, 'query': {'dataSource': ''}}}, 'validate': [{'contains': True}]}"}], "start": 1713172333814, "stop": 1713172333972, "uuid": "feeb03f6-6a03-4d8c-9ce7-17c09f1420b9", "historyId": "768a82803c63e3bb64fdf94709afc869", "testCaseId": "bd9a5c2b9f10485c734bf062f55176fa", "fullName": "test_case.qccq.test_allAPI.TestAPI#test_001_个人中心-我的消息", "labels": [{"name": "epic", "value": "青春重庆"}, {"name": "feature", "value": "用户管理模块"}, {"name": "parentSuite", "value": "test_case.qccq"}, {"name": "suite", "value": "test_allAPI"}, {"name": "subSuite", "value": "TestAPI"}, {"name": "host", "value": "DESKTOP-LD09QTG"}, {"name": "thread", "value": "23444-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_case.qccq.test_allAPI"}]}

+ 0 - 13
temps/6cf1feba-5718-403c-b83e-b67e1c0cf932-attachment.txt

@@ -1,13 +0,0 @@
-INFO     log:log_util.py:102 --------接口测试开始--------
-INFO     log:log_util.py:102 yaml框架检查基本通过
-INFO     log:log_util.py:102 请求名称:个人中心-我的青创培训-我的评价
-INFO     log:log_util.py:102 请求方式:post
-INFO     log:log_util.py:102 请求路径:https://app.youth.cq.cqyl.org.cn/api/service-qzh/auth/publishActivityController/queryActivityEvaluateList
-INFO     log:log_util.py:102 请求头:{'Token': 'PHONE_cjzgldqyywjszcesepylwpfp'}
-INFO     log:log_util.py:102 请求json参数:{'pageNo': 1, 'pageSize': 10, 'query': {'businessBelong': ['InnovationAndEntrepreneurship']}}
-INFO     log:log_util.py:102 实际结果: <Response [200]>
-WARNING  log:log_util.py:95 接口实际请求时间56.15毫秒,请求时间大于1毫秒,请关注
-INFO     log:log_util.py:102 预期结果:[{'contains': True}]
-INFO     log:log_util.py:102 实际结果:{'success': True, 'code': '0', 'msg': 'success', 'data': {'pageNo': 1, 'pageSize': 10, 'result': [], 'totalNum': '0', 'hasNext': False}}
-INFO     log:log_util.py:102 接口测试成功
-INFO     log:log_util.py:102 ------接口测试结束————————

+ 0 - 1
temps/6da5591a-a4a2-4c78-9674-184403ba8273-container.json

@@ -1 +0,0 @@
-{"uuid": "bece2902-8244-4056-9537-e92c7a168237", "befores": [{"name": "arg_names", "status": "passed", "start": 1713172334548, "stop": 1713172334548}], "start": 1713172334548, "stop": 1713172334593}

+ 0 - 1
temps/6e970170-a944-482e-9fd6-4f8e21878a6d-result.json

@@ -1 +0,0 @@
-{"name": "个人中心-我的青创培训-青创融资-赛事列表", "status": "passed", "attachments": [{"name": "log", "source": "d406bc87-798c-46fc-84cf-a050f28d356f-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "arg_names", "value": "{'name': '个人中心-我的青创培训-青创融资-赛事列表', 'request': {'method': 'post', 'url': '/api/service-match/auth/MthMatchInfoAppController/myMatchList', 'headers': {'Token': '${read_yaml(token)}'}, 'json': {'pageNo': 1, 'pageSize': 10, 'query': {'qcFlag': 1}}}, 'validate': [{'contains': True}]}"}], "start": 1713172334595, "stop": 1713172334638, "uuid": "49759f02-6368-4bd3-8327-f36929412599", "historyId": "7f79ff97b19ed55bee716235fc5670ae", "testCaseId": "83911af69676d656d3dbb670df5c474c", "fullName": "test_case.qccq.test_allAPI.TestAPI#test_010_个人中心-我的青创培训-青创赛事-赛事列表", "labels": [{"name": "epic", "value": "青春重庆"}, {"name": "feature", "value": "用户管理模块"}, {"name": "parentSuite", "value": "test_case.qccq"}, {"name": "suite", "value": "test_allAPI"}, {"name": "subSuite", "value": "TestAPI"}, {"name": "host", "value": "DESKTOP-LD09QTG"}, {"name": "thread", "value": "23444-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_case.qccq.test_allAPI"}]}

+ 0 - 1
temps/7629add4-1cb2-4ade-8317-5a18c5924657-container.json

@@ -1 +0,0 @@
-{"uuid": "baae0a91-d43a-43e4-91f1-51f5e817bd43", "befores": [{"name": "arg_names", "status": "passed", "start": 1713172333814, "stop": 1713172333814}], "start": 1713172333814, "stop": 1713172333973}

+ 0 - 13
temps/7769f741-d0e1-440f-ae7f-372833eaef2a-attachment.txt

@@ -1,13 +0,0 @@
-INFO     log:log_util.py:102 --------接口测试开始--------
-INFO     log:log_util.py:102 yaml框架检查基本通过
-INFO     log:log_util.py:102 请求名称:个人中心-我的收藏
-INFO     log:log_util.py:102 请求方式:post
-INFO     log:log_util.py:102 请求路径:https://app.youth.cq.cqyl.org.cn/api/service-app-second/auth/multiModules/pageCollect
-INFO     log:log_util.py:102 请求头:{'Token': 'PHONE_cjzgldqyywjszcesepylwpfp'}
-INFO     log:log_util.py:102 请求json参数:{'pageNo': 1, 'pageSize': 10, 'query': {}}
-INFO     log:log_util.py:102 实际结果: <Response [200]>
-WARNING  log:log_util.py:95 接口实际请求时间124.44毫秒,请求时间大于1毫秒,请关注
-INFO     log:log_util.py:102 预期结果:[{'contains': True}]
-INFO     log:log_util.py:102 实际结果:{'success': True, 'code': '0', 'msg': 'success', 'data': {'pageNo': 1, 'pageSize': 10, 'result': [{'contentManageId': '1741438811153715200', 'fileType': 2, 'contentTitle': '国家主席习近平发表二〇二四年新年贺词\n', 'urls': {'fileId': None, 'picUrl': 'https://youth.cq.cqyl.org.cn/oss/20240101/81e6217a388747e2a8256ef9cafe46d7.jpg', 'width': 595, 'height': 620}, 'mediumId': '1740187734026518528', 'idName': '重庆共青团', 'mediumHeadPic': 'https://youth.cq.cqyl.org.cn/oss/20231228/90d1ab1d2ce5401aa954d89c1f16905f.jpg', 'likeCount': 62, 'interest': 0, 'concurrentLike': 0, 'isImportantNews': 0, 'viewType': None, 'picKey': '20240101/81e6217a388747e2a8256ef9cafe46d7.jpg', 'fileId': None}], 'totalNum': '1', 'hasNext': False}}
-INFO     log:log_util.py:102 接口测试成功
-INFO     log:log_util.py:102 ------接口测试结束————————

+ 0 - 1
temps/7b4ef8b0-53cb-417f-9a10-3d245955e34f-result.json

@@ -1 +0,0 @@
-{"name": "个人中心-我的青创培训-青创阵地", "status": "passed", "attachments": [{"name": "log", "source": "2551417c-015d-4a3c-9dc8-f026561161ee-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "arg_names", "value": "{'name': '个人中心-我的青创培训-青创阵地', 'request': {'method': 'post', 'url': '/api/service-qzh/auth/publishActivityController/queryActivityEvaluateList', 'headers': {'Token': '${read_yaml(token)}'}, 'json': {'pageNo': 1, 'pageSize': 10, 'query': {'businessBelong': ['InnovationAndEntrepreneurship']}}}, 'validate': [{'contains': True}]}"}], "start": 1713172334493, "stop": 1713172334544, "uuid": "7cedd795-6373-4d47-a94a-e65fe3344abe", "historyId": "74a451e3262fc27958e680f8e424eb39", "testCaseId": "ebd721246d34c84fa403817e11de2e77", "fullName": "test_case.qccq.test_allAPI.TestAPI#test_008_个人中心-我的青创培训-青创阵地", "labels": [{"name": "epic", "value": "青春重庆"}, {"name": "feature", "value": "用户管理模块"}, {"name": "parentSuite", "value": "test_case.qccq"}, {"name": "suite", "value": "test_allAPI"}, {"name": "subSuite", "value": "TestAPI"}, {"name": "host", "value": "DESKTOP-LD09QTG"}, {"name": "thread", "value": "23444-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_case.qccq.test_allAPI"}]}

+ 0 - 13
temps/7f9727d4-449e-4fdc-8e21-9e14a8adbd90-attachment.txt

@@ -1,13 +0,0 @@
-INFO     log:log_util.py:102 --------接口测试开始--------
-INFO     log:log_util.py:102 yaml框架检查基本通过
-INFO     log:log_util.py:102 请求名称:个人中心-我的赛事-赛事收藏
-INFO     log:log_util.py:102 请求方式:post
-INFO     log:log_util.py:102 请求路径:https://app.youth.cq.cqyl.org.cn/api/service-match/auth/MthMatchInfoAppController/pageCollectedMatch
-INFO     log:log_util.py:102 请求头:{'Token': 'PHONE_cjzgldqyywjszcesepylwpfp'}
-INFO     log:log_util.py:102 请求json参数:{'pageNo': 1, 'pageSize': 10, 'query': {}}
-INFO     log:log_util.py:102 实际结果: <Response [200]>
-WARNING  log:log_util.py:95 接口实际请求时间44.14毫秒,请求时间大于1毫秒,请关注
-INFO     log:log_util.py:102 预期结果:[{'contains': True}]
-INFO     log:log_util.py:102 实际结果:{'success': True, 'code': '0', 'msg': 'success', 'data': {'pageNo': 1, 'pageSize': 10, 'result': [], 'totalNum': '0', 'hasNext': False}}
-INFO     log:log_util.py:102 接口测试成功
-INFO     log:log_util.py:102 ------接口测试结束————————

+ 0 - 1
temps/80485083-5d29-49e0-9bbb-5d3df8f4f5f1-result.json

@@ -1 +0,0 @@
-{"name": "个人中心-我的青字号-我的活动", "status": "passed", "attachments": [{"name": "log", "source": "146bcc92-8c0a-42cf-879c-8487763a1b74-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "arg_names", "value": "{'name': '个人中心-我的青字号-我的活动', 'request': {'method': 'post', 'url': '/api/service-youthcall-iam/ycqYouthcallWorkOrder/auth/myPaginQuery', 'headers': {'Token': '${read_yaml(token)}'}, 'json': {'pageNo': 1, 'pageSize': 10, 'query': {'proposerId': 11846, 'workOrderName': ''}}}, 'validate': [{'contains': True}]}"}], "start": 1713172335409, "stop": 1713172335463, "uuid": "9adcb95d-0be8-473e-877b-afddba545159", "historyId": "c5733cdaf9b53428141c070ecc1dc9da", "testCaseId": "2db6923095a3be96e0dab3137ec435a4", "fullName": "test_case.qccq.test_allAPI.TestAPI#test_022_个人中心-我的需求", "labels": [{"name": "epic", "value": "青春重庆"}, {"name": "feature", "value": "用户管理模块"}, {"name": "parentSuite", "value": "test_case.qccq"}, {"name": "suite", "value": "test_allAPI"}, {"name": "subSuite", "value": "TestAPI"}, {"name": "host", "value": "DESKTOP-LD09QTG"}, {"name": "thread", "value": "23444-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_case.qccq.test_allAPI"}]}

+ 0 - 1
temps/80aed355-7cf9-4ed3-8711-47e22a3266bc-container.json

@@ -1 +0,0 @@
-{"uuid": "96c375ee-ac38-45b2-adfe-25da7d0e77f9", "befores": [{"name": "arg_names", "status": "passed", "start": 1713172335133, "stop": 1713172335133}], "start": 1713172335133, "stop": 1713172335217}

+ 0 - 1
temps/8a4240ef-d02f-445b-b210-b630b832e7a3-result.json

@@ -1 +0,0 @@
-{"name": "个人中心-我的青字号-我的活动", "status": "passed", "attachments": [{"name": "log", "source": "38e821b3-f4d7-45f9-b816-1a61ecd64670-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "arg_names", "value": "{'name': '个人中心-我的青字号-我的活动', 'request': {'method': 'post', 'url': '/api/service-qzh/auth/publishActivityController/activityQueryForAppQzh', 'headers': {'Token': '${read_yaml(token)}'}, 'json': {'pageNo': 1, 'pageSize': 10, 'query': {'businessBelong': ['QZJ']}}}, 'validate': [{'contains': True}]}"}], "start": 1713172335330, "stop": 1713172335406, "uuid": "074b55d1-2f8d-432f-b4d9-87a1fd874572", "historyId": "908cde135572648101cf97bc39edb76c", "testCaseId": "8f330e3fc63edcbb4acb9ce2964b5fdf", "fullName": "test_case.qccq.test_allAPI.TestAPI#test_021_个人中心-我的青字号-我的活动", "labels": [{"name": "epic", "value": "青春重庆"}, {"name": "feature", "value": "用户管理模块"}, {"name": "parentSuite", "value": "test_case.qccq"}, {"name": "suite", "value": "test_allAPI"}, {"name": "subSuite", "value": "TestAPI"}, {"name": "host", "value": "DESKTOP-LD09QTG"}, {"name": "thread", "value": "23444-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_case.qccq.test_allAPI"}]}

+ 0 - 1
temps/8c81544c-d30b-4141-a34f-aba70db2844a-container.json

@@ -1 +0,0 @@
-{"uuid": "ce7589fa-796e-4e47-be52-11b82fbbaa8a", "children": ["feeb03f6-6a03-4d8c-9ce7-17c09f1420b9", "36fecac0-9d2e-4b82-ae0c-cb41fda480cd", "93561f31-252a-41b5-bae0-2c6c682cd3ec", "dd5fe731-9881-4993-8776-5cb9f8119faa", "9fd0652f-a83a-4357-9ef7-32bdf98015ed", "c7026b8c-9ce1-4ec3-bdcb-d6213e42d308", "ac035db8-77e9-41f9-9cbb-96653690a72b", "7cedd795-6373-4d47-a94a-e65fe3344abe", "4965e326-fed9-4c3c-b366-5638b28869d1", "49759f02-6368-4bd3-8327-f36929412599", "e0ce85fb-d446-4d5f-87bf-35c04e283b6e", "e58acb8e-1c2d-49bf-8cb5-a5a5bcb64478", "87fe30a6-6651-4da9-9109-f3155b48686c", "3d9f9246-1e4b-4928-b04e-aed717d2684f", "94040377-6c10-4c9a-9732-422be2afa547", "7b667bf4-6ee6-41ef-ba75-67259107226f", "f30951b9-443c-4772-8818-d31ad74c7241", "9951fc44-b135-488b-bf5a-7ac4fe43f3ea", "f4ec3c19-4948-42e0-a85a-c736435ca320", "30553a82-14a0-4584-8c05-54a5ea238ead", "074b55d1-2f8d-432f-b4d9-87a1fd874572", "9adcb95d-0be8-473e-877b-afddba545159", "4ef94a19-5693-4382-93cd-b25d14bf0b0e", "51620f35-055e-45f7-80d9-a865f19f4a03", "9e3c0618-8827-4d45-ba82-963c2f31f394"], "befores": [{"name": "clear_yam", "status": "passed", "start": 1713172333534, "stop": 1713172333813}], "start": 1713172333534, "stop": 1713172335897}

+ 0 - 1
temps/94f46d8b-db3e-4c45-bfce-0f1468eea9b9-container.json

@@ -1 +0,0 @@
-{"uuid": "14d18031-3aee-4911-91a3-59ace556be64", "befores": [{"name": "arg_names", "status": "passed", "start": 1713172335409, "stop": 1713172335409}], "start": 1713172335409, "stop": 1713172335464}

+ 0 - 1
temps/998b9913-6980-4146-98e1-f7187a91819f-container.json

@@ -1 +0,0 @@
-{"uuid": "da5dfa62-492c-4d6f-9741-6673aacd75ec", "befores": [{"name": "arg_names", "status": "passed", "start": 1713172334595, "stop": 1713172334595}], "start": 1713172334595, "stop": 1713172334639}

+ 0 - 13
temps/9ada03cf-8027-48b2-bbe0-bd5a9abca11a-attachment.txt

@@ -1,13 +0,0 @@
-INFO     log:log_util.py:102 --------接口测试开始--------
-INFO     log:log_util.py:102 yaml框架检查基本通过
-INFO     log:log_util.py:102 请求名称:个人中心-我的青字号-风采展示
-INFO     log:log_util.py:102 请求方式:post
-INFO     log:log_util.py:102 请求路径:https://app.youth.cq.cqyl.org.cn/api/service-qzh/auth/activityController/pageYcqQzhActivity
-INFO     log:log_util.py:102 请求头:{'Token': 'PHONE_cjzgldqyywjszcesepylwpfp'}
-INFO     log:log_util.py:102 请求json参数:{'pageNo': 1, 'pageSize': 10, 'query': {'condition': 'myApp'}}
-INFO     log:log_util.py:102 实际结果: <Response [200]>
-WARNING  log:log_util.py:95 接口实际请求时间37.87毫秒,请求时间大于1毫秒,请关注
-INFO     log:log_util.py:102 预期结果:[{'contains': True}]
-INFO     log:log_util.py:102 实际结果:{'success': True, 'code': '0', 'msg': None, 'data': {'pageNo': 1, 'pageSize': 10, 'result': [], 'totalNum': '0', 'hasNext': False}}
-INFO     log:log_util.py:102 接口测试成功
-INFO     log:log_util.py:102 ------接口测试结束————————

+ 0 - 1
temps/a41ea1cd-dbdb-47ef-aca6-308c2a09900a-container.json

@@ -1 +0,0 @@
-{"uuid": "44b4f223-92bc-4847-8f5c-0ebdb97fb069", "children": ["feeb03f6-6a03-4d8c-9ce7-17c09f1420b9", "36fecac0-9d2e-4b82-ae0c-cb41fda480cd", "93561f31-252a-41b5-bae0-2c6c682cd3ec", "dd5fe731-9881-4993-8776-5cb9f8119faa", "9fd0652f-a83a-4357-9ef7-32bdf98015ed", "c7026b8c-9ce1-4ec3-bdcb-d6213e42d308", "ac035db8-77e9-41f9-9cbb-96653690a72b", "7cedd795-6373-4d47-a94a-e65fe3344abe", "4965e326-fed9-4c3c-b366-5638b28869d1", "49759f02-6368-4bd3-8327-f36929412599", "e0ce85fb-d446-4d5f-87bf-35c04e283b6e", "e58acb8e-1c2d-49bf-8cb5-a5a5bcb64478", "87fe30a6-6651-4da9-9109-f3155b48686c", "3d9f9246-1e4b-4928-b04e-aed717d2684f", "94040377-6c10-4c9a-9732-422be2afa547", "7b667bf4-6ee6-41ef-ba75-67259107226f", "f30951b9-443c-4772-8818-d31ad74c7241", "9951fc44-b135-488b-bf5a-7ac4fe43f3ea", "f4ec3c19-4948-42e0-a85a-c736435ca320", "30553a82-14a0-4584-8c05-54a5ea238ead", "074b55d1-2f8d-432f-b4d9-87a1fd874572", "9adcb95d-0be8-473e-877b-afddba545159", "4ef94a19-5693-4382-93cd-b25d14bf0b0e", "51620f35-055e-45f7-80d9-a865f19f4a03", "9e3c0618-8827-4d45-ba82-963c2f31f394"], "befores": [{"name": "_session_faker", "status": "passed", "start": 1713172333486, "stop": 1713172333534}], "start": 1713172333486, "stop": 1713172335898}

+ 0 - 1
temps/a499eb37-6839-4b5c-aefb-64a221175cbf-container.json

@@ -1 +0,0 @@
-{"uuid": "8336e92e-c36a-41f6-a6a2-609cc225b02a", "befores": [{"name": "arg_names", "status": "passed", "start": 1713172335529, "stop": 1713172335529}], "start": 1713172335529, "stop": 1713172335578}

+ 0 - 1
temps/a4be78a8-538e-444d-80f3-16a0902e96bc-container.json

@@ -1 +0,0 @@
-{"uuid": "f2524b42-d995-4bf4-814e-175bc5b1ab31", "befores": [{"name": "arg_names", "status": "passed", "start": 1713172334493, "stop": 1713172334493}], "start": 1713172334493, "stop": 1713172334545}

+ 0 - 13
temps/a5b48b60-a09f-448b-8e64-4b4c7244c6dd-attachment.txt

@@ -1,13 +0,0 @@
-INFO     log:log_util.py:102 --------接口测试开始--------
-INFO     log:log_util.py:102 yaml框架检查基本通过
-INFO     log:log_util.py:102 请求名称:团干部密切联系青年-列表
-INFO     log:log_util.py:102 请求方式:post
-INFO     log:log_util.py:102 请求路径:https://app.youth.cq.cqyl.org.cn/api/service-record/auth/RecordEventsController/taskLookOver
-INFO     log:log_util.py:102 请求头:{'Token': 'PHONE_cjzgldqyywjszcesepylwpfp'}
-INFO     log:log_util.py:102 请求json参数:{'pageNo': 1, 'pageSize': 8}
-INFO     log:log_util.py:102 实际结果: <Response [200]>
-WARNING  log:log_util.py:95 接口实际请求时间52.38毫秒,请求时间大于1毫秒,请关注
-INFO     log:log_util.py:102 预期结果:[{'contains': True}]
-INFO     log:log_util.py:102 实际结果:{'success': True, 'code': '0', 'msg': 'success', 'data': {'pageNo': 1, 'pageSize': 8, 'result': [], 'totalNum': '0', 'hasNext': False}}
-INFO     log:log_util.py:102 接口测试成功
-INFO     log:log_util.py:102 ------接口测试结束————————

+ 0 - 1
temps/a7546026-a4ed-4afe-86c9-645d98b8fa41-container.json

@@ -1 +0,0 @@
-{"uuid": "aaed4c8f-c6cb-4036-83b0-19aadbe02ff5", "befores": [{"name": "arg_names", "status": "passed", "start": 1713172334831, "stop": 1713172334831}], "start": 1713172334831, "stop": 1713172334881}

+ 0 - 1
temps/a8526919-718e-41b6-8321-69267371fe11-result.json

@@ -1 +0,0 @@
-{"name": "个人中心-我的青创培训-青创融资-赛事收藏", "status": "passed", "attachments": [{"name": "log", "source": "c40abd8e-d2af-49e4-911e-2acee246466a-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "arg_names", "value": "{'name': '个人中心-我的青创培训-青创融资-赛事收藏', 'request': {'method': 'post', 'url': '/api/service-match/auth/MthMatchInfoAppController/pageCollectedMatch', 'headers': {'Token': '${read_yaml(token)}'}, 'json': {'pageNo': 1, 'pageSize': 10, 'query': {'qcFlag': 1}}}, 'validate': [{'contains': True}]}"}], "start": 1713172334642, "stop": 1713172334692, "uuid": "e0ce85fb-d446-4d5f-87bf-35c04e283b6e", "historyId": "5bcdecf354fe643ff6f652b477b2779c", "testCaseId": "1719fd08a96e28388c1ff14677659c4a", "fullName": "test_case.qccq.test_allAPI.TestAPI#test_011_个人中心-我的青创培训-青创赛事-赛事收藏", "labels": [{"name": "epic", "value": "青春重庆"}, {"name": "feature", "value": "用户管理模块"}, {"name": "parentSuite", "value": "test_case.qccq"}, {"name": "suite", "value": "test_allAPI"}, {"name": "subSuite", "value": "TestAPI"}, {"name": "host", "value": "DESKTOP-LD09QTG"}, {"name": "thread", "value": "23444-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_case.qccq.test_allAPI"}]}

+ 0 - 1
temps/a8830d10-4355-477e-a1ed-45303850c887-result.json

@@ -1 +0,0 @@
-{"name": "个人中心-我的青字号-风采展示", "status": "passed", "attachments": [{"name": "log", "source": "9ada03cf-8027-48b2-bbe0-bd5a9abca11a-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "arg_names", "value": "{'name': '个人中心-我的青字号-风采展示', 'request': {'method': 'post', 'url': '/api/service-qzh/auth/activityController/pageYcqQzhActivity', 'headers': {'Token': '${read_yaml(token)}'}, 'json': {'pageNo': 1, 'pageSize': 10, 'query': {'condition': 'myApp'}}}, 'validate': [{'contains': True}]}"}], "start": 1713172335284, "stop": 1713172335328, "uuid": "30553a82-14a0-4584-8c05-54a5ea238ead", "historyId": "3c3ba957b16b1174ba30d4fb43f84ea2", "testCaseId": "68043f4bf01b82661dcba2ec092fc3e7", "fullName": "test_case.qccq.test_allAPI.TestAPI#test_020_个人中心-我的青字号-风采展示", "labels": [{"name": "epic", "value": "青春重庆"}, {"name": "feature", "value": "用户管理模块"}, {"name": "parentSuite", "value": "test_case.qccq"}, {"name": "suite", "value": "test_allAPI"}, {"name": "subSuite", "value": "TestAPI"}, {"name": "host", "value": "DESKTOP-LD09QTG"}, {"name": "thread", "value": "23444-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_case.qccq.test_allAPI"}]}

+ 0 - 1
temps/a9e4de53-8c9f-49bc-b057-261e56c1f620-result.json

@@ -1 +0,0 @@
-{"name": "个人中心-我的收藏", "status": "passed", "attachments": [{"name": "log", "source": "7769f741-d0e1-440f-ae7f-372833eaef2a-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "arg_names", "value": "{'name': '个人中心-我的收藏', 'request': {'method': 'post', 'url': '/api/service-app-second/auth/multiModules/pageCollect', 'headers': {'Token': '${read_yaml(token)}'}, 'json': {'pageNo': 1, 'pageSize': 10, 'query': {}}}, 'validate': [{'contains': True}]}"}], "start": 1713172333975, "stop": 1713172334105, "uuid": "36fecac0-9d2e-4b82-ae0c-cb41fda480cd", "historyId": "0515d6465bec65bec217e5e827d17f46", "testCaseId": "062141b105713210aec342038fe5e51a", "fullName": "test_case.qccq.test_allAPI.TestAPI#test_002_个人中心-我的收藏", "labels": [{"name": "epic", "value": "青春重庆"}, {"name": "feature", "value": "用户管理模块"}, {"name": "parentSuite", "value": "test_case.qccq"}, {"name": "suite", "value": "test_allAPI"}, {"name": "subSuite", "value": "TestAPI"}, {"name": "host", "value": "DESKTOP-LD09QTG"}, {"name": "thread", "value": "23444-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_case.qccq.test_allAPI"}]}

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 9
temps/ac4f7a93-d5fd-4e44-97ab-4353e4b2fe7a-attachment.txt


+ 0 - 1
temps/ad453cf1-7e38-402b-a6c4-d691632b31e5-container.json

@@ -1 +0,0 @@
-{"uuid": "358cccb1-49ee-457c-9d03-a15c353dbfec", "befores": [{"name": "arg_names", "status": "passed", "start": 1713172335330, "stop": 1713172335330}], "start": 1713172335330, "stop": 1713172335406}

+ 0 - 1
temps/ade99f0a-6075-4150-b512-dbae5085f668-result.json

@@ -1 +0,0 @@
-{"name": "个人中心-活动中心-区域查询", "status": "passed", "attachments": [{"name": "log", "source": "b385c356-d2c9-4f87-9ed0-04690a6bdde4-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "arg_names", "value": "{'name': '个人中心-活动中心-区域查询', 'request': {'method': 'get', 'url': '/api/service-sysmgr/auth/PropertyController/listActivityZone', 'headers': {'Token': '${read_yaml(token)}'}}, 'validate': [{'contains': True}]}"}], "start": 1713172334980, "stop": 1713172335054, "uuid": "7b667bf4-6ee6-41ef-ba75-67259107226f", "historyId": "058e47700b8b28b532d25d76364c66c6", "testCaseId": "2620f16412d2b2c488f98dbb526f8002", "fullName": "test_case.qccq.test_allAPI.TestAPI#test_016_个人中心-活动中心-区域查询", "labels": [{"name": "epic", "value": "青春重庆"}, {"name": "feature", "value": "用户管理模块"}, {"name": "parentSuite", "value": "test_case.qccq"}, {"name": "suite", "value": "test_allAPI"}, {"name": "subSuite", "value": "TestAPI"}, {"name": "host", "value": "DESKTOP-LD09QTG"}, {"name": "thread", "value": "23444-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_case.qccq.test_allAPI"}]}

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 9
temps/b385c356-d2c9-4f87-9ed0-04690a6bdde4-attachment.txt


+ 0 - 13
temps/b623aa7b-d023-4c5b-b834-158fa55cfe64-attachment.txt

@@ -1,13 +0,0 @@
-INFO     log:log_util.py:102 --------接口测试开始--------
-INFO     log:log_util.py:102 yaml框架检查基本通过
-INFO     log:log_util.py:102 请求名称:个人中心-活动中心-我参与的
-INFO     log:log_util.py:102 请求方式:post
-INFO     log:log_util.py:102 请求路径:https://app.youth.cq.cqyl.org.cn/api/service-qzh/auth/publishActivityController/activityQueryForAppQzh
-INFO     log:log_util.py:102 请求头:{'Token': 'PHONE_cjzgldqyywjszcesepylwpfp'}
-INFO     log:log_util.py:102 请求json参数:{'pageNo': 1, 'pageSize': 10, 'query': {}}
-INFO     log:log_util.py:102 实际结果: <Response [200]>
-WARNING  log:log_util.py:95 接口实际请求时间87.0毫秒,请求时间大于1毫秒,请关注
-INFO     log:log_util.py:102 预期结果:[{'contains': True}]
-INFO     log:log_util.py:102 实际结果:{'success': True, 'code': '0', 'msg': 'success', 'data': {'pageNo': 1, 'pageSize': 10, 'result': [], 'totalNum': '0', 'hasNext': False}}
-INFO     log:log_util.py:102 接口测试成功
-INFO     log:log_util.py:102 ------接口测试结束————————

+ 0 - 1
temps/b6dbcc14-4878-44df-a427-294be4af2896-result.json

@@ -1 +0,0 @@
-{"name": "团干部密切联系青年-列表", "status": "passed", "attachments": [{"name": "log", "source": "a5b48b60-a09f-448b-8e64-4b4c7244c6dd-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "arg_names", "value": "{'name': '团干部密切联系青年-列表', 'request': {'method': 'post', 'url': '/api/service-record/auth/RecordEventsController/taskLookOver', 'json': {'pageNo': 1, 'pageSize': 8}, 'headers': {'Token': '${read_yaml(token)}'}}, 'validate': [{'contains': True}]}"}], "start": 1713172335467, "stop": 1713172335526, "uuid": "4ef94a19-5693-4382-93cd-b25d14bf0b0e", "historyId": "9dac281f3b63f5f1f8faefc73bc20b1f", "testCaseId": "4be3d556b0d5df4d915c2521e33194cc", "fullName": "test_case.qccq.test_allAPI.TestAPI#test_001_团干部密切联系青年-列表", "labels": [{"name": "epic", "value": "青春重庆"}, {"name": "feature", "value": "用户管理模块"}, {"name": "parentSuite", "value": "test_case.qccq"}, {"name": "suite", "value": "test_allAPI"}, {"name": "subSuite", "value": "TestAPI"}, {"name": "host", "value": "DESKTOP-LD09QTG"}, {"name": "thread", "value": "23444-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_case.qccq.test_allAPI"}]}

+ 0 - 1
temps/b85f99d0-69e5-4827-93c0-b102c2a23d2c-container.json

@@ -1 +0,0 @@
-{"uuid": "a1b65b02-67b5-4822-9ad4-2f536094d7b9", "befores": [{"name": "arg_names", "status": "passed", "start": 1713172334108, "stop": 1713172334108}], "start": 1713172334108, "stop": 1713172334221}

+ 0 - 1
temps/bf90cba4-dc83-445f-adc9-5cf47ee60de3-result.json

@@ -1 +0,0 @@
-{"name": "个人中心-我的赛事-赛事收藏", "status": "passed", "attachments": [{"name": "log", "source": "7f9727d4-449e-4fdc-8e21-9e14a8adbd90-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "arg_names", "value": "{'name': '个人中心-我的赛事-赛事收藏', 'request': {'method': 'post', 'url': '/api/service-match/auth/MthMatchInfoAppController/pageCollectedMatch', 'headers': {'Token': '${read_yaml(token)}'}, 'json': {'pageNo': 1, 'pageSize': 10, 'query': {}}}, 'validate': [{'contains': True}]}"}], "start": 1713172334831, "stop": 1713172334881, "uuid": "3d9f9246-1e4b-4928-b04e-aed717d2684f", "historyId": "ce863f05e2bbce7f9cf828fc2d752483", "testCaseId": "8220f7f977b28e7be79185c67b35ade5", "fullName": "test_case.qccq.test_allAPI.TestAPI#test_014_个人中心-我的赛事-赛事收藏", "labels": [{"name": "epic", "value": "青春重庆"}, {"name": "feature", "value": "用户管理模块"}, {"name": "parentSuite", "value": "test_case.qccq"}, {"name": "suite", "value": "test_allAPI"}, {"name": "subSuite", "value": "TestAPI"}, {"name": "host", "value": "DESKTOP-LD09QTG"}, {"name": "thread", "value": "23444-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_case.qccq.test_allAPI"}]}

+ 0 - 13
temps/c20c6a1c-7b58-40d2-8aa5-79b10124f5d6-attachment.txt

@@ -1,13 +0,0 @@
-INFO     log:log_util.py:102 --------接口测试开始--------
-INFO     log:log_util.py:102 yaml框架检查基本通过
-INFO     log:log_util.py:102 请求名称:个人中心-活动中心-我的评价
-INFO     log:log_util.py:102 请求方式:post
-INFO     log:log_util.py:102 请求路径:https://app.youth.cq.cqyl.org.cn/api/service-qzh/auth/publishActivityController/queryActivityEvaluateList
-INFO     log:log_util.py:102 请求头:{'Token': 'PHONE_cjzgldqyywjszcesepylwpfp'}
-INFO     log:log_util.py:102 请求json参数:{'pageNo': 1, 'pageSize': 10, 'query': {}}
-INFO     log:log_util.py:102 实际结果: <Response [200]>
-WARNING  log:log_util.py:95 接口实际请求时间78.17毫秒,请求时间大于1毫秒,请关注
-INFO     log:log_util.py:102 预期结果:[{'contains': True}]
-INFO     log:log_util.py:102 实际结果:{'success': True, 'code': '0', 'msg': 'success', 'data': {'pageNo': 1, 'pageSize': 10, 'result': [], 'totalNum': '0', 'hasNext': False}}
-INFO     log:log_util.py:102 接口测试成功
-INFO     log:log_util.py:102 ------接口测试结束————————

+ 0 - 13
temps/c40abd8e-d2af-49e4-911e-2acee246466a-attachment.txt

@@ -1,13 +0,0 @@
-INFO     log:log_util.py:102 --------接口测试开始--------
-INFO     log:log_util.py:102 yaml框架检查基本通过
-INFO     log:log_util.py:102 请求名称:个人中心-我的青创培训-青创融资-赛事收藏
-INFO     log:log_util.py:102 请求方式:post
-INFO     log:log_util.py:102 请求路径:https://app.youth.cq.cqyl.org.cn/api/service-match/auth/MthMatchInfoAppController/pageCollectedMatch
-INFO     log:log_util.py:102 请求头:{'Token': 'PHONE_cjzgldqyywjszcesepylwpfp'}
-INFO     log:log_util.py:102 请求json参数:{'pageNo': 1, 'pageSize': 10, 'query': {'qcFlag': 1}}
-INFO     log:log_util.py:102 实际结果: <Response [200]>
-WARNING  log:log_util.py:95 接口实际请求时间45.51毫秒,请求时间大于1毫秒,请关注
-INFO     log:log_util.py:102 预期结果:[{'contains': True}]
-INFO     log:log_util.py:102 实际结果:{'success': True, 'code': '0', 'msg': 'success', 'data': {'pageNo': 1, 'pageSize': 10, 'result': [], 'totalNum': '0', 'hasNext': False}}
-INFO     log:log_util.py:102 接口测试成功
-INFO     log:log_util.py:102 ------接口测试结束————————

+ 0 - 1
temps/c692e5d3-465a-47ee-831e-582f46986d2c-result.json

@@ -1 +0,0 @@
-{"name": "个人中心-我的青创培训-青创融资-资金帮扶", "status": "passed", "attachments": [{"name": "log", "source": "fadbb3af-d5a9-4435-b9b3-223daa1f4a24-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "arg_names", "value": "{'name': '个人中心-我的青创培训-青创融资-资金帮扶', 'request': {'method': 'post', 'url': '/api/service-qm/auth/QfPlanAuditController/pageMyLoanStatistics', 'headers': {'Token': '${read_yaml(token)}'}, 'json': {'pageNo': 1, 'pageSize': 10, 'query': {'authState': 0}}}, 'validate': [{'contains': True}]}"}], "start": 1713172334695, "stop": 1713172334750, "uuid": "e58acb8e-1c2d-49bf-8cb5-a5a5bcb64478", "historyId": "3ac3f6446948d94d74ad95c69c804fd6", "testCaseId": "b28387f55aaacbe6cc8495a32aea97d8", "fullName": "test_case.qccq.test_allAPI.TestAPI#test_012_个人中心-我的青创培训-资金帮扶", "labels": [{"name": "epic", "value": "青春重庆"}, {"name": "feature", "value": "用户管理模块"}, {"name": "parentSuite", "value": "test_case.qccq"}, {"name": "suite", "value": "test_allAPI"}, {"name": "subSuite", "value": "TestAPI"}, {"name": "host", "value": "DESKTOP-LD09QTG"}, {"name": "thread", "value": "23444-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_case.qccq.test_allAPI"}]}

+ 0 - 1
temps/c8ac526b-4385-4c34-be92-56511d2f7024-result.json

@@ -1 +0,0 @@
-{"name": "团干部密切联系青年-列表1", "status": "passed", "attachments": [{"name": "log", "source": "f6f48dd1-c5d6-4218-b63e-4fc249c2d397-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "arg_names", "value": "{'name': '团干部密切联系青年-列表1', 'request': {'method': 'get', 'url': '/api/service-record/auth/RecordEventsController/informationModificationCheck', 'headers': {'Token': '${read_yaml(token)}'}}, 'validate': [{'contains': True}]}"}], "start": 1713172335529, "stop": 1713172335578, "uuid": "51620f35-055e-45f7-80d9-a865f19f4a03", "historyId": "2f7d2ddd18d0eae6c17ad5a6c8bfb4c4", "testCaseId": "8c884ca8444136bc32a5df3495376176", "fullName": "test_case.qccq.test_allAPI.TestAPI#test_002_团干部密切联系青年-列表1", "labels": [{"name": "epic", "value": "青春重庆"}, {"name": "feature", "value": "用户管理模块"}, {"name": "parentSuite", "value": "test_case.qccq"}, {"name": "suite", "value": "test_allAPI"}, {"name": "subSuite", "value": "TestAPI"}, {"name": "host", "value": "DESKTOP-LD09QTG"}, {"name": "thread", "value": "23444-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_case.qccq.test_allAPI"}]}

+ 0 - 1
temps/ca0972dc-4127-4f79-9a23-e7daee828003-container.json

@@ -1 +0,0 @@
-{"uuid": "287c1516-8e21-4039-b188-4b95fe50d0fe", "befores": [{"name": "arg_names", "status": "passed", "start": 1713172335058, "stop": 1713172335058}], "start": 1713172335058, "stop": 1713172335132}

+ 0 - 1
temps/d008aa72-9757-48f4-b687-c771b563132c-container.json

@@ -1 +0,0 @@
-{"uuid": "8fe5cea2-2e68-48d8-990b-3938d92f032d", "befores": [{"name": "arg_names", "status": "passed", "start": 1713172334694, "stop": 1713172334694}], "start": 1713172334694, "stop": 1713172334750}

+ 0 - 1
temps/d17c324b-b3b0-4c2e-b41a-6d3544f0346a-result.json

@@ -1 +0,0 @@
-{"name": "个人中心-我的青创培训-青创融资", "status": "passed", "attachments": [{"name": "log", "source": "3c6a917d-7e0f-47d0-a145-ce831aa4ce73-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "arg_names", "value": "{'name': '个人中心-我的青创培训-青创融资', 'request': {'method': 'post', 'url': '/api/service-match/auth/mthProjectFinancing/pageMyProjectApply', 'headers': {'Token': '${read_yaml(token)}'}, 'json': {'pageNo': 1, 'pageSize': 10, 'query': {'reviewStatus': [0], 'publicityStatus': 0}}}, 'validate': [{'contains': True}]}"}], "start": 1713172334549, "stop": 1713172334592, "uuid": "4965e326-fed9-4c3c-b366-5638b28869d1", "historyId": "ce6db40e48da35945345b7c9785c3965", "testCaseId": "801f78717ec3e16ad569070b6a35efbb", "fullName": "test_case.qccq.test_allAPI.TestAPI#test_009_个人中心-我的青创培训-青创融资", "labels": [{"name": "epic", "value": "青春重庆"}, {"name": "feature", "value": "用户管理模块"}, {"name": "parentSuite", "value": "test_case.qccq"}, {"name": "suite", "value": "test_allAPI"}, {"name": "subSuite", "value": "TestAPI"}, {"name": "host", "value": "DESKTOP-LD09QTG"}, {"name": "thread", "value": "23444-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_case.qccq.test_allAPI"}]}

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 10
temps/d3073a55-419d-4168-b42d-67956c1466e3-attachment.txt


+ 0 - 13
temps/d406bc87-798c-46fc-84cf-a050f28d356f-attachment.txt

@@ -1,13 +0,0 @@
-INFO     log:log_util.py:102 --------接口测试开始--------
-INFO     log:log_util.py:102 yaml框架检查基本通过
-INFO     log:log_util.py:102 请求名称:个人中心-我的青创培训-青创融资-赛事列表
-INFO     log:log_util.py:102 请求方式:post
-INFO     log:log_util.py:102 请求路径:https://app.youth.cq.cqyl.org.cn/api/service-match/auth/MthMatchInfoAppController/myMatchList
-INFO     log:log_util.py:102 请求头:{'Token': 'PHONE_cjzgldqyywjszcesepylwpfp'}
-INFO     log:log_util.py:102 请求json参数:{'pageNo': 1, 'pageSize': 10, 'query': {'qcFlag': 1}}
-INFO     log:log_util.py:102 实际结果: <Response [200]>
-WARNING  log:log_util.py:95 接口实际请求时间37.62毫秒,请求时间大于1毫秒,请关注
-INFO     log:log_util.py:102 预期结果:[{'contains': True}]
-INFO     log:log_util.py:102 实际结果:{'success': True, 'code': '0', 'msg': 'success', 'data': {'pageNo': 1, 'pageSize': 10, 'result': [], 'totalNum': '0', 'hasNext': False}}
-INFO     log:log_util.py:102 接口测试成功
-INFO     log:log_util.py:102 ------接口测试结束————————

+ 0 - 1
temps/ddaf196f-0a58-4ec9-b54b-e643bafb7764-container.json

@@ -1 +0,0 @@
-{"uuid": "8e7c22bb-c38e-4794-a379-1aa37d4a3e38", "befores": [{"name": "arg_names", "status": "passed", "start": 1713172335220, "stop": 1713172335220}], "start": 1713172335220, "stop": 1713172335280}

+ 0 - 13
temps/e397e044-2c9e-4cb3-b6e2-7d63d239abb5-attachment.txt

@@ -1,13 +0,0 @@
-INFO     log:log_util.py:102 --------接口测试开始--------
-INFO     log:log_util.py:102 yaml框架检查基本通过
-INFO     log:log_util.py:102 请求名称:个人中心-我的赛事-赛事列表
-INFO     log:log_util.py:102 请求方式:post
-INFO     log:log_util.py:102 请求路径:https://app.youth.cq.cqyl.org.cn/api/service-match/auth/MthMatchInfoAppController/myMatchList
-INFO     log:log_util.py:102 请求头:{'Token': 'PHONE_cjzgldqyywjszcesepylwpfp'}
-INFO     log:log_util.py:102 请求json参数:{'pageNo': 1, 'pageSize': 10, 'query': {}}
-INFO     log:log_util.py:102 实际结果: <Response [200]>
-WARNING  log:log_util.py:95 接口实际请求时间62.23毫秒,请求时间大于1毫秒,请关注
-INFO     log:log_util.py:102 预期结果:[{'contains': True}]
-INFO     log:log_util.py:102 实际结果:{'success': True, 'code': '0', 'msg': 'success', 'data': {'pageNo': 1, 'pageSize': 10, 'result': [], 'totalNum': '0', 'hasNext': False}}
-INFO     log:log_util.py:102 接口测试成功
-INFO     log:log_util.py:102 ------接口测试结束————————

+ 0 - 1
temps/e552d476-bd07-4c8f-bf71-6fa42ec08fc0-result.json

@@ -1 +0,0 @@
-{"name": "个人中心-我的青创培训-青创阵地", "status": "passed", "attachments": [{"name": "log", "source": "3dabdab2-c5c1-4cf3-84f4-92670313772f-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "arg_names", "value": "{'name': '个人中心-我的青创培训-青创阵地', 'request': {'method': 'get', 'url': '/api/service-app-second/auth/AppCqzdSpaceContentController/applyList', 'headers': {'Token': '${read_yaml(token)}'}}, 'validate': [{'contains': True}]}"}], "start": 1713172334369, "stop": 1713172334427, "uuid": "c7026b8c-9ce1-4ec3-bdcb-d6213e42d308", "historyId": "553d79a9bfc14f396a1965560b484264", "testCaseId": "a74fd37d0d72032253e76a47ffe8ad37", "fullName": "test_case.qccq.test_allAPI.TestAPI#test_006_个人中心-我的青创培训-我参与的-类型查询", "labels": [{"name": "epic", "value": "青春重庆"}, {"name": "feature", "value": "用户管理模块"}, {"name": "parentSuite", "value": "test_case.qccq"}, {"name": "suite", "value": "test_allAPI"}, {"name": "subSuite", "value": "TestAPI"}, {"name": "host", "value": "DESKTOP-LD09QTG"}, {"name": "thread", "value": "23444-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_case.qccq.test_allAPI"}]}

+ 0 - 1
temps/eb0c2680-795a-4885-8273-23248a2b1f22-container.json

@@ -1 +0,0 @@
-{"uuid": "9ef51709-238a-4c75-9a5c-228013fd7733", "befores": [{"name": "arg_names", "status": "passed", "start": 1713172335580, "stop": 1713172335580}], "start": 1713172335580, "stop": 1713172335897}

+ 0 - 1
temps/ecc5dfad-e3a6-4c84-a551-e1a5de85bbb6-result.json

@@ -1 +0,0 @@
-{"name": "个人中心-我的青创培训-我的评价", "status": "passed", "attachments": [{"name": "log", "source": "6cf1feba-5718-403c-b83e-b67e1c0cf932-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "arg_names", "value": "{'name': '个人中心-我的青创培训-我的评价', 'request': {'method': 'post', 'url': '/api/service-qzh/auth/publishActivityController/queryActivityEvaluateList', 'headers': {'Token': '${read_yaml(token)}'}, 'json': {'pageNo': 1, 'pageSize': 10, 'query': {'businessBelong': ['InnovationAndEntrepreneurship']}}}, 'validate': [{'contains': True}]}"}], "start": 1713172334430, "stop": 1713172334490, "uuid": "ac035db8-77e9-41f9-9cbb-96653690a72b", "historyId": "1c974b1bf3681111b70e9470b8f2868d", "testCaseId": "bc1b6f2d00a79d9abbb2153505c9c931", "fullName": "test_case.qccq.test_allAPI.TestAPI#test_007_个人中心-我的青创培训-我的评价", "labels": [{"name": "epic", "value": "青春重庆"}, {"name": "feature", "value": "用户管理模块"}, {"name": "parentSuite", "value": "test_case.qccq"}, {"name": "suite", "value": "test_allAPI"}, {"name": "subSuite", "value": "TestAPI"}, {"name": "host", "value": "DESKTOP-LD09QTG"}, {"name": "thread", "value": "23444-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_case.qccq.test_allAPI"}]}

+ 0 - 1
temps/ee538fc8-3591-4ab9-8772-2c8a5c26ec99-result.json

@@ -1 +0,0 @@
-{"name": "个人中心-我的青创培训-我参与的", "status": "passed", "attachments": [{"name": "log", "source": "68492310-d622-4a15-874b-c97860621a62-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "arg_names", "value": "{'name': '个人中心-我的青创培训-我参与的', 'request': {'method': 'post', 'url': '/api/service-qzh/auth/publishActivityController/activityQueryForAppQzh', 'json': {'pageNo': 1, 'pageSize': 10, 'query': {'businessBelong': ['InnovationAndEntrepreneurship']}}, 'headers': {'Token': '${read_yaml(token)}'}}, 'validate': [{'contains': True}]}"}], "start": 1713172334223, "stop": 1713172334304, "uuid": "dd5fe731-9881-4993-8776-5cb9f8119faa", "historyId": "ada9d31e0bed80c9f84026b98d13a334", "testCaseId": "f41659bb913a9f30b4e6f99c7ceef804", "fullName": "test_case.qccq.test_allAPI.TestAPI#test_004_个人中心-我的青创培训-我参与的", "labels": [{"name": "epic", "value": "青春重庆"}, {"name": "feature", "value": "用户管理模块"}, {"name": "parentSuite", "value": "test_case.qccq"}, {"name": "suite", "value": "test_allAPI"}, {"name": "subSuite", "value": "TestAPI"}, {"name": "host", "value": "DESKTOP-LD09QTG"}, {"name": "thread", "value": "23444-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_case.qccq.test_allAPI"}]}

+ 0 - 1
temps/eede9cac-521e-4577-9fff-68e4176b80ba-container.json

@@ -1 +0,0 @@
-{"uuid": "35388bbd-0355-4d36-8233-0ef5a195e85c", "befores": [{"name": "arg_names", "status": "passed", "start": 1713172334429, "stop": 1713172334429}], "start": 1713172334429, "stop": 1713172334492}

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 9
temps/f149edc8-2c9f-4a42-b253-9fbf052526c8-attachment.txt


+ 0 - 1
temps/f590955a-2efa-40ae-8820-f7e267900fa4-container.json

@@ -1 +0,0 @@
-{"uuid": "026d0c14-514b-4549-ab6d-5b4d1aa177af", "befores": [{"name": "arg_names", "status": "passed", "start": 1713172334369, "stop": 1713172334369}], "start": 1713172334369, "stop": 1713172334427}

+ 0 - 12
temps/f6f48dd1-c5d6-4218-b63e-4fc249c2d397-attachment.txt

@@ -1,12 +0,0 @@
-INFO     log:log_util.py:102 --------接口测试开始--------
-INFO     log:log_util.py:102 yaml框架检查基本通过
-INFO     log:log_util.py:102 请求名称:团干部密切联系青年-列表1
-INFO     log:log_util.py:102 请求方式:get
-INFO     log:log_util.py:102 请求路径:https://app.youth.cq.cqyl.org.cn/api/service-record/auth/RecordEventsController/informationModificationCheck
-INFO     log:log_util.py:102 请求头:{'Token': 'PHONE_cjzgldqyywjszcesepylwpfp'}
-INFO     log:log_util.py:102 实际结果: <Response [200]>
-WARNING  log:log_util.py:95 接口实际请求时间41.99毫秒,请求时间大于1毫秒,请关注
-INFO     log:log_util.py:102 预期结果:[{'contains': True}]
-INFO     log:log_util.py:102 实际结果:{'success': True, 'code': '0', 'msg': None, 'data': '0'}
-INFO     log:log_util.py:102 接口测试成功
-INFO     log:log_util.py:102 ------接口测试结束————————

+ 0 - 1
temps/f74868ac-9be9-4d1c-93a3-a5644bd75361-result.json

@@ -1 +0,0 @@
-{"name": "个人中心-我的赛事-赛事列表", "status": "passed", "attachments": [{"name": "log", "source": "e397e044-2c9e-4cb3-b6e2-7d63d239abb5-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "arg_names", "value": "{'name': '个人中心-我的赛事-赛事列表', 'request': {'method': 'post', 'url': '/api/service-match/auth/MthMatchInfoAppController/myMatchList', 'headers': {'Token': '${read_yaml(token)}'}, 'json': {'pageNo': 1, 'pageSize': 10, 'query': {}}}, 'validate': [{'contains': True}]}"}], "start": 1713172334753, "stop": 1713172334824, "uuid": "87fe30a6-6651-4da9-9109-f3155b48686c", "historyId": "38287c5dd8de56383e075b8e4a33eb28", "testCaseId": "97e96a0ca50d26efcb110e43efb46ba3", "fullName": "test_case.qccq.test_allAPI.TestAPI#test_013_个人中心-我的赛事-赛事列表", "labels": [{"name": "epic", "value": "青春重庆"}, {"name": "feature", "value": "用户管理模块"}, {"name": "parentSuite", "value": "test_case.qccq"}, {"name": "suite", "value": "test_allAPI"}, {"name": "subSuite", "value": "TestAPI"}, {"name": "host", "value": "DESKTOP-LD09QTG"}, {"name": "thread", "value": "23444-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_case.qccq.test_allAPI"}]}

+ 0 - 13
temps/fadbb3af-d5a9-4435-b9b3-223daa1f4a24-attachment.txt

@@ -1,13 +0,0 @@
-INFO     log:log_util.py:102 --------接口测试开始--------
-INFO     log:log_util.py:102 yaml框架检查基本通过
-INFO     log:log_util.py:102 请求名称:个人中心-我的青创培训-青创融资-资金帮扶
-INFO     log:log_util.py:102 请求方式:post
-INFO     log:log_util.py:102 请求路径:https://app.youth.cq.cqyl.org.cn/api/service-qm/auth/QfPlanAuditController/pageMyLoanStatistics
-INFO     log:log_util.py:102 请求头:{'Token': 'PHONE_cjzgldqyywjszcesepylwpfp'}
-INFO     log:log_util.py:102 请求json参数:{'pageNo': 1, 'pageSize': 10, 'query': {'authState': 0}}
-INFO     log:log_util.py:102 实际结果: <Response [200]>
-WARNING  log:log_util.py:95 接口实际请求时间50.71毫秒,请求时间大于1毫秒,请关注
-INFO     log:log_util.py:102 预期结果:[{'contains': True}]
-INFO     log:log_util.py:102 实际结果:{'success': True, 'code': '0', 'msg': 'success', 'data': {'pageNo': 1, 'pageSize': 10, 'result': [], 'totalNum': '0', 'hasNext': False}}
-INFO     log:log_util.py:102 接口测试成功
-INFO     log:log_util.py:102 ------接口测试结束————————

+ 0 - 13
temps/fe9654d3-291d-465a-8dca-c7973088e025-attachment.txt

@@ -1,13 +0,0 @@
-INFO     log:log_util.py:102 --------接口测试开始--------
-INFO     log:log_util.py:102 yaml框架检查基本通过
-INFO     log:log_util.py:102 请求名称:个人中心-我的下载
-INFO     log:log_util.py:102 请求方式:post
-INFO     log:log_util.py:102 请求路径:https://app.youth.cq.cqyl.org.cn/api/service-app-second/auth/appDownloadRecordController/queryImgList
-INFO     log:log_util.py:102 请求头:{'Token': 'PHONE_cjzgldqyywjszcesepylwpfp'}
-INFO     log:log_util.py:102 请求json参数:{'pageNo': 1, 'pageSize': 10, 'query': {'name': ''}}
-INFO     log:log_util.py:102 实际结果: <Response [200]>
-WARNING  log:log_util.py:95 接口实际请求时间52.1毫秒,请求时间大于1毫秒,请关注
-INFO     log:log_util.py:102 预期结果:[{'contains': True}]
-INFO     log:log_util.py:102 实际结果:{'success': True, 'code': '0', 'msg': None, 'data': {'pageNo': 1, 'pageSize': 10, 'result': [], 'totalNum': '0', 'hasNext': False}}
-INFO     log:log_util.py:102 接口测试成功
-INFO     log:log_util.py:102 ------接口测试结束————————

+ 0 - 0
test_case/__init__.py


Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels