Commit afdf36af by antares

再上传

parent 9ea84b07
......@@ -10,7 +10,7 @@
import configparser
import os
from apiAutoTest_v30 import log
from apiAutoTest_v3 import log
class ReadIni:
......
......@@ -8,8 +8,8 @@
#
# ---------------------------------------------------------------------------
import pymysql
from apiAutoTest_v30 import log
from apiAutoTest_v30.common.basic_read_ini import ReadIni
from apiAutoTest_v3 import log
from apiAutoTest_v3.common.basic_read_ini import ReadIni
class DB:
......
......@@ -9,11 +9,11 @@
# ---------------------------------------------------------------------------
import openpyxl
from apiAutoTest_v30 import log
from apiAutoTest_v30.common.read_json import read_json
from apiAutoTest_v30.common.user_read_ini import ReadIni
from apiAutoTest_v30.common.basic_read_ini import ReadIni as BasicIni
from apiAutoTest_v30.data_config.settings import *
from apiAutoTest_v3 import log
from apiAutoTest_v3.common.read_json import read_json
from apiAutoTest_v3.common.user_read_ini import ReadIni
from apiAutoTest_v3.common.basic_read_ini import ReadIni as BasicIni
from apiAutoTest_v3.data_config.settings import *
class ReadExcel:
......
......@@ -8,7 +8,7 @@
#
# ---------------------------------------------------------------------------
import json
from apiAutoTest_v30 import log
from apiAutoTest_v3 import log
def read_json(file_path):
......
......@@ -10,7 +10,7 @@
import configparser
import os
from apiAutoTest_v30 import log
from apiAutoTest_v3 import log
class ReadIni:
......
2024-09-04 16:13:30,976 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为case, -- 张三
2024-09-04 16:13:30,976 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为expect, -- 张三
2024-09-04 16:13:30,976 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为sql, -- 张三
2024-09-04 16:13:30,976 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为excel, -- 张三
2024-09-04 16:13:31,219 - test_bpm.py[line:46] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'username': '超级管理员', 'account': 'admin', 'userId': '1', 'expiration': 86400, 'loginStatus': True}, 服务器返回数据:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjU1MjM5MDIsImlhdCI6MTcyNTQzNzUwMn0.dLwwbl3ZJNGy8GUJLHjX6SUDDSmVhINaRk2_a2GA9gbJoyKUGBsLCpuKTznLxU2CwV56iKF14Q089v0dM38oKQ","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}} -- 张三
2024-09-04 16:13:31,240 - test_bpm.py[line:43] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': '', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831243729416593408"} -- 张三
2024-09-04 16:13:31,427 - test_bpm.py[line:43] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': '#!$!@#!@#', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831243730196733952"} -- 张三
2024-09-04 16:13:31,468 - test_bpm.py[line:43] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'adminadminadminadminadminadminadminadminadmin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831243730372894720"} -- 张三
2024-09-04 16:13:31,507 - test_bpm.py[line:43] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'a', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831243730536472576"} -- 张三
2024-09-04 16:13:31,542 - test_bpm.py[line:43] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'adminxyz', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831243730683273216"} -- 张三
2024-09-04 16:13:31,584 - test_bpm.py[line:46] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': ''}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账号或密码错误","code":200,"logId":"1831243730859433984"} -- 张三
2024-09-04 16:13:31,617 - test_bpm.py[line:46] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': '#!$!@#!@#'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账号或密码错误","code":200,"logId":"1831243730997846016"} -- 张三
2024-09-04 16:13:31,640 - test_bpm.py[line:43] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"解密密码异常,请检查RSA公钥和私钥配置","code":200,"logId":"1831243731090120704"} -- 张三
2024-09-04 16:13:31,682 - test_bpm.py[line:43] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': '123456'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"解密密码异常,请检查RSA公钥和私钥配置","code":200,"logId":"1831243731253698560"} -- 张三
2024-09-04 16:13:31,737 - test_bpm.py[line:43] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjU1MjM5MDMsImlhdCI6MTcyNTQzNzUwM30.jodG1QpQ31O5wzTCc6S3atUTPvNJ_Nl7xUZMLSy2lC0FSr8naKzvrWlAEnOn4ifXUwYlAFvLd7IqloPax6yjTw","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}} -- 张三
2024-09-04 16:13:31,778 - test_bpm.py[line:43] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/refresh, 用例数据:None, 期望数据:{'message': '刷新token成功'}, 服务器返回数据:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjU1MjM5MDMsImlhdCI6MTcyNTQzNzUwM30.jodG1QpQ31O5wzTCc6S3atUTPvNJ_Nl7xUZMLSy2lC0FSr8naKzvrWlAEnOn4ifXUwYlAFvLd7IqloPax6yjTw","username":"admin","account":"admin","userId":"","expiration":86400,"loginStatus":true} -- 张三
2024-09-04 16:13:31,843 - test_bpm.py[line:43] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/api/demension/v1/dem/addDem, 用例数据:{'code': 'requestsAddDem', 'description': 'requestsAddDem', 'isDefault': 1, 'name': 'requests添加的维度'}, 期望数据:{'message': '添加维度成功'}, 服务器返回数据:{"state":true,"message":"添加维度成功!","value":"","code":200} -- 张三
2024-09-04 16:13:31,885 - test_bpm.py[line:46] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/api/demension/v1/dem/deleteDemByIds, 用例数据:{'ids': '1831243731912204288'}, 期望数据:{'message': '删除维度成功!'}, 服务器返回数据:{"state":true,"message":"删除维度成功!","value":"","code":200} -- 张三
2024-09-04 16:13:38,504 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为case, -- 张三
2024-09-04 16:13:38,504 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为expect, -- 张三
2024-09-04 16:13:38,504 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为sql, -- 张三
2024-09-04 16:13:38,504 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为excel, -- 张三
2024-09-04 16:13:38,762 - test_bpm.py[line:46] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'username': '超级管理员', 'account': 'admin', 'userId': '1', 'expiration': 86400, 'loginStatus': True}, 服务器返回数据:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjU1MjM5MTAsImlhdCI6MTcyNTQzNzUxMH0.ygRjfQbTv59Lu4GYHgksMkNzk7VjCNk6GnmMDJpM0dNwf3NS2K7CpWNPlA9b_xwIylgno1BWZ4RwmseJl2Ez4w","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}} -- 张三
2024-09-04 16:13:38,783 - test_bpm.py[line:43] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': '', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831243761058422784"} -- 张三
2024-09-04 16:13:38,975 - test_bpm.py[line:43] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': '#!$!@#!@#', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831243761855340544"} -- 张三
2024-09-04 16:13:39,008 - test_bpm.py[line:43] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'adminadminadminadminadminadminadminadminadmin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831243761997946880"} -- 张三
2024-09-04 16:13:39,045 - test_bpm.py[line:43] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'a', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831243762148941824"} -- 张三
2024-09-04 16:13:39,081 - test_bpm.py[line:43] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'adminxyz', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831243762304131072"} -- 张三
2024-09-04 16:13:39,121 - test_bpm.py[line:46] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': ''}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账号或密码错误","code":200,"logId":"1831243762471903232"} -- 张三
2024-09-04 16:13:39,150 - test_bpm.py[line:46] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': '#!$!@#!@#'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账号或密码错误","code":200,"logId":"1831243762597732352"} -- 张三
2024-09-04 16:13:39,171 - test_bpm.py[line:43] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"解密密码异常,请检查RSA公钥和私钥配置","code":200,"logId":"1831243762681618432"} -- 张三
2024-09-04 16:13:39,205 - test_bpm.py[line:43] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': '123456'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"解密密码异常,请检查RSA公钥和私钥配置","code":200,"logId":"1831243762820030464"} -- 张三
2024-09-04 16:13:39,258 - test_bpm.py[line:43] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjU1MjM5MTAsImlhdCI6MTcyNTQzNzUxMH0.ygRjfQbTv59Lu4GYHgksMkNzk7VjCNk6GnmMDJpM0dNwf3NS2K7CpWNPlA9b_xwIylgno1BWZ4RwmseJl2Ez4w","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}} -- 张三
2024-09-04 16:13:39,301 - test_bpm.py[line:43] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/refresh, 用例数据:None, 期望数据:{'message': '刷新token成功'}, 服务器返回数据:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjU1MjM5MTAsImlhdCI6MTcyNTQzNzUxMH0.ygRjfQbTv59Lu4GYHgksMkNzk7VjCNk6GnmMDJpM0dNwf3NS2K7CpWNPlA9b_xwIylgno1BWZ4RwmseJl2Ez4w","username":"admin","account":"admin","userId":"","expiration":86400,"loginStatus":true} -- 张三
2024-09-04 16:13:39,353 - test_bpm.py[line:43] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/api/demension/v1/dem/addDem, 用例数据:{'code': 'requestsAddDem', 'description': 'requestsAddDem', 'isDefault': 1, 'name': 'requests添加的维度'}, 期望数据:{'message': '添加维度成功'}, 服务器返回数据:{"state":true,"message":"添加维度成功!","value":"","code":200} -- 张三
2024-09-04 16:13:39,390 - test_bpm.py[line:46] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/api/demension/v1/dem/deleteDemByIds, 用例数据:{'ids': '1831243763415621632'}, 期望数据:{'message': '删除维度成功!'}, 服务器返回数据:{"state":true,"message":"删除维度成功!","value":"","code":200} -- 张三
2024-09-04 16:45:12,622 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为case, -- 张三
2024-09-04 16:45:12,622 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为expect, -- 张三
2024-09-04 16:45:12,622 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为sql, -- 张三
2024-09-04 16:45:12,623 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为excel, -- 张三
2024-09-04 16:45:12,905 - test_bpm.py[line:46] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'username': '超级管理员', 'account': 'admin', 'userId': '1', 'expiration': 86400, 'loginStatus': True}, 服务器返回数据:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjU1MjU4MDQsImlhdCI6MTcyNTQzOTQwNH0.ILZEMwjPQNyBpTBOJxz-13PKR8KLPMxk_YWmmCA_wBw-OF_0ihXIHxStjLiomW0qLAXQpUX3V_Xb6Z6WG3xe_g","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}} -- 张三
2024-09-04 16:45:12,945 - test_bpm.py[line:43] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': '', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831251705531572224"} -- 张三
2024-09-04 16:45:13,141 - test_bpm.py[line:43] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': '#!$!@#!@#', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831251706349461504"} -- 张三
2024-09-04 16:45:13,178 - test_bpm.py[line:43] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'adminadminadminadminadminadminadminadminadmin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831251706517233664"} -- 张三
2024-09-04 16:45:13,220 - test_bpm.py[line:43] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'a', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831251706693394432"} -- 张三
2024-09-04 16:45:13,268 - test_bpm.py[line:43] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'adminxyz', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831251706877943808"} -- 张三
2024-09-04 16:45:13,312 - test_bpm.py[line:46] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': ''}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账号或密码错误","code":200,"logId":"1831251707070881792"} -- 张三
2024-09-04 16:45:13,350 - test_bpm.py[line:46] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': '#!$!@#!@#'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账号或密码错误","code":200,"logId":"1831251707230265344"} -- 张三
2024-09-04 16:45:13,388 - test_bpm.py[line:43] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"解密密码异常,请检查RSA公钥和私钥配置","code":200,"logId":"1831251707393843200"} -- 张三
2024-09-04 16:45:13,433 - test_bpm.py[line:43] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': '123456'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"解密密码异常,请检查RSA公钥和私钥配置","code":200,"logId":"1831251707574198272"} -- 张三
2024-09-04 16:45:13,518 - test_bpm.py[line:43] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjU1MjU4MDQsImlhdCI6MTcyNTQzOTQwNH0.ILZEMwjPQNyBpTBOJxz-13PKR8KLPMxk_YWmmCA_wBw-OF_0ihXIHxStjLiomW0qLAXQpUX3V_Xb6Z6WG3xe_g","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}} -- 张三
2024-09-04 16:45:13,556 - test_bpm.py[line:43] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/refresh, 用例数据:None, 期望数据:{'message': '刷新token成功'}, 服务器返回数据:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjU1MjU4MDQsImlhdCI6MTcyNTQzOTQwNH0.ILZEMwjPQNyBpTBOJxz-13PKR8KLPMxk_YWmmCA_wBw-OF_0ihXIHxStjLiomW0qLAXQpUX3V_Xb6Z6WG3xe_g","username":"admin","account":"admin","userId":"","expiration":86400,"loginStatus":true} -- 张三
2024-09-04 16:45:13,610 - test_bpm.py[line:43] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/api/demension/v1/dem/addDem, 用例数据:{'code': 'requestsAddDem', 'description': 'requestsAddDem', 'isDefault': 1, 'name': 'requests添加的维度'}, 期望数据:{'message': '添加维度成功'}, 服务器返回数据:{"state":true,"message":"添加维度成功!","value":"","code":200} -- 张三
2024-09-04 16:45:13,649 - test_bpm.py[line:43] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/api/org/v1/org/addOrg, 用例数据:{'code': 'testAddOrg', 'demId': '需要更新', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据:{'message': '添加组织成功'}, 服务器返回数据:{"state":false,"message":"添加组织失败,组织编码[testAddOrg]已存在!","value":"保存失败","code":200} -- 张三
2024-09-04 16:45:13,688 - test_bpm.py[line:46] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/api/demension/v1/dem/deleteDemByIds, 用例数据:{'ids': '1831251708266258432'}, 期望数据:{'message': '删除维度成功!'}, 服务器返回数据:{"state":true,"message":"删除维度成功!","value":"","code":200} -- 张三
2024-09-04 16:45:47,857 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为case, -- 张三
2024-09-04 16:45:47,857 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为expect, -- 张三
2024-09-04 16:45:47,857 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为sql, -- 张三
2024-09-04 16:45:47,857 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为excel, -- 张三
2024-09-04 16:45:48,117 - test_bpm.py[line:48] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'username': '超级管理员', 'account': 'admin', 'userId': '1', 'expiration': 86400, 'loginStatus': True}, 服务器返回数据:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjU1MjU4MzksImlhdCI6MTcyNTQzOTQzOX0.-W4BWNR-Xo7tVgaoqmJhfUG19UPmGIdbG1M1LQfFmtWyVjyI62Z5JAM1Nfrx__pCH5Y58VoIQ55hnODbJrX5Og","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}} -- 张三
2024-09-04 16:45:48,140 - test_bpm.py[line:45] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': '', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831251853150101504"} -- 张三
2024-09-04 16:45:48,343 - test_bpm.py[line:45] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': '#!$!@#!@#', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831251854001545216"} -- 张三
2024-09-04 16:45:48,397 - test_bpm.py[line:45] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'adminadminadminadminadminadminadminadminadmin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831251854211260416"} -- 张三
2024-09-04 16:45:48,439 - test_bpm.py[line:45] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'a', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831251854400004096"} -- 张三
2024-09-04 16:45:48,485 - test_bpm.py[line:45] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'adminxyz', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831251854592942080"} -- 张三
2024-09-04 16:45:48,534 - test_bpm.py[line:48] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': ''}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账号或密码错误","code":200,"logId":"1831251854802657280"} -- 张三
2024-09-04 16:45:48,571 - test_bpm.py[line:48] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': '#!$!@#!@#'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账号或密码错误","code":200,"logId":"1831251854953652224"} -- 张三
2024-09-04 16:45:48,593 - test_bpm.py[line:45] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"解密密码异常,请检查RSA公钥和私钥配置","code":200,"logId":"1831251855050121216"} -- 张三
2024-09-04 16:45:48,640 - test_bpm.py[line:45] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': '123456'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"解密密码异常,请检查RSA公钥和私钥配置","code":200,"logId":"1831251855222087680"} -- 张三
2024-09-04 16:45:48,702 - test_bpm.py[line:45] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjU1MjU4NDAsImlhdCI6MTcyNTQzOTQ0MH0.qCpY5FCy9rgWC_AIYtycsrdUL3Pxsg-8TI48aLxDKupnDUaPNBWqo7B6NIQag7wwBAjfo3TRCFVEqLRhdL9tgQ","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}} -- 张三
2024-09-04 16:45:48,740 - test_bpm.py[line:45] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/refresh, 用例数据:None, 期望数据:{'message': '刷新token成功'}, 服务器返回数据:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjU1MjU4NDAsImlhdCI6MTcyNTQzOTQ0MH0.qCpY5FCy9rgWC_AIYtycsrdUL3Pxsg-8TI48aLxDKupnDUaPNBWqo7B6NIQag7wwBAjfo3TRCFVEqLRhdL9tgQ","username":"admin","account":"admin","userId":"","expiration":86400,"loginStatus":true} -- 张三
2024-09-04 16:45:48,808 - test_bpm.py[line:45] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/api/demension/v1/dem/addDem, 用例数据:{'code': 'requestsAddDem', 'description': 'requestsAddDem', 'isDefault': 1, 'name': 'requests添加的维度'}, 期望数据:{'message': '添加维度成功'}, 服务器返回数据:{"state":true,"message":"添加维度成功!","value":"","code":200} -- 张三
2024-09-04 16:45:48,841 - test_bpm.py[line:45] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/api/org/v1/org/addOrg, 用例数据:{'code': 'testAddOrg', 'demId': '需要更新', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据:{'message': '添加组织成功'}, 服务器返回数据:{"state":false,"message":"添加组织失败,组织编码[testAddOrg]已存在!","value":"保存失败","code":200} -- 张三
2024-09-04 16:45:48,889 - test_bpm.py[line:48] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/api/demension/v1/dem/deleteDemByIds, 用例数据:{'ids': '1831251855922536448'}, 期望数据:{'message': '删除维度成功!'}, 服务器返回数据:{"state":true,"message":"删除维度成功!","value":"","code":200} -- 张三
2024-09-04 16:46:28,219 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为case, -- 张三
2024-09-04 16:46:28,219 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为expect, -- 张三
2024-09-04 16:46:28,219 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为sql, -- 张三
2024-09-04 16:46:28,219 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为excel, -- 张三
2024-09-04 16:46:28,488 - test_bpm.py[line:48] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'username': '超级管理员', 'account': 'admin', 'userId': '1', 'expiration': 86400, 'loginStatus': True}, 服务器返回数据:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjU1MjU4NzksImlhdCI6MTcyNTQzOTQ3OX0.lxqel778Zsb_FlOEDkQi_kh_CwRM0Lm2B3yQn_rBW1znNPXLc44oot02AFO7i9zv8F2zBNVkRHw9cdSYGDxibg","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}} -- 张三
2024-09-04 16:46:28,512 - test_bpm.py[line:45] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': '', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831252022474153984"} -- 张三
2024-09-04 16:46:28,706 - test_bpm.py[line:45] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': '#!$!@#!@#', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831252023292043264"} -- 张三
2024-09-04 16:46:28,751 - test_bpm.py[line:45] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'adminadminadminadminadminadminadminadminadmin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831252023476592640"} -- 张三
2024-09-04 16:46:28,797 - test_bpm.py[line:45] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'a', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831252023673724928"} -- 张三
2024-09-04 16:46:28,850 - test_bpm.py[line:45] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'adminxyz', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831252023887634432"} -- 张三
2024-09-04 16:46:28,895 - test_bpm.py[line:48] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': ''}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账号或密码错误","code":200,"logId":"1831252024084766720"} -- 张三
2024-09-04 16:46:28,928 - test_bpm.py[line:48] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': '#!$!@#!@#'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账号或密码错误","code":200,"logId":"1831252024223178752"} -- 张三
2024-09-04 16:46:28,949 - test_bpm.py[line:45] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"解密密码异常,请检查RSA公钥和私钥配置","code":200,"logId":"1831252024311259136"} -- 张三
2024-09-04 16:46:28,998 - test_bpm.py[line:45] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': '123456'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"解密密码异常,请检查RSA公钥和私钥配置","code":200,"logId":"1831252024512585728"} -- 张三
2024-09-04 16:46:29,064 - test_bpm.py[line:45] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjU1MjU4ODAsImlhdCI6MTcyNTQzOTQ4MH0.BUK4zZa7S9BURzcjU5jP9E_qvrcxitoT9ONY8fcjSr-2bUhjI_XwwgHqP7XqRBHGG4jd1otqQqtg5WgQ7cdFrA","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}} -- 张三
2024-09-04 16:46:29,117 - test_bpm.py[line:45] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/refresh, 用例数据:None, 期望数据:{'message': '刷新token成功'}, 服务器返回数据:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjU1MjU4ODAsImlhdCI6MTcyNTQzOTQ4MH0.BUK4zZa7S9BURzcjU5jP9E_qvrcxitoT9ONY8fcjSr-2bUhjI_XwwgHqP7XqRBHGG4jd1otqQqtg5WgQ7cdFrA","username":"admin","account":"admin","userId":"","expiration":86400,"loginStatus":true} -- 张三
2024-09-04 16:46:29,185 - test_bpm.py[line:45] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/api/demension/v1/dem/addDem, 用例数据:{'code': 'requestsAddDem', 'description': 'requestsAddDem', 'isDefault': 1, 'name': 'requests添加的维度'}, 期望数据:{'message': '添加维度成功'}, 服务器返回数据:{"state":true,"message":"添加维度成功!","value":"","code":200} -- 张三
2024-09-04 16:46:29,219 - test_bpm.py[line:45] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/api/org/v1/org/addOrg, 用例数据:{'code': 'testAddOrg', 'demId': '需要更新', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据:{'message': '添加组织成功'}, 服务器返回数据:{"state":false,"message":"添加组织失败,组织编码[testAddOrg]已存在!","value":"保存失败","code":200} -- 张三
2024-09-04 16:46:29,265 - test_bpm.py[line:48] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/api/demension/v1/dem/deleteDemByIds, 用例数据:{'ids': '1831252025221423104'}, 期望数据:{'message': '删除维度成功!'}, 服务器返回数据:{"state":true,"message":"删除维度成功!","value":"","code":200} -- 张三
2024-09-04 16:48:34,407 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为case, -- 张三
2024-09-04 16:48:34,407 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为expect, -- 张三
2024-09-04 16:48:34,407 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为sql, -- 张三
2024-09-04 16:48:34,407 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为excel, -- 张三
2024-09-04 16:48:34,688 - test_bpm.py[line:53] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'username': '超级管理员', 'account': 'admin', 'userId': '1', 'expiration': 86400, 'loginStatus': True}, 服务器返回数据:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjU1MjYwMDUsImlhdCI6MTcyNTQzOTYwNX0.MYYoJsYMmsQn41-V1XGu-6-4BTg2l0ebekvglPl1kGFbyuTruKIRUEGAC4dQ02LthdJwSgepykZc6HUAoDCo4A","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}} -- 张三
2024-09-04 16:48:34,715 - test_bpm.py[line:50] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': '', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831252551786930176"} -- 张三
2024-09-04 16:48:34,911 - test_bpm.py[line:50] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': '#!$!@#!@#', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831252552621596672"} -- 张三
2024-09-04 16:48:34,945 - test_bpm.py[line:50] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'adminadminadminadminadminadminadminadminadmin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831252552764203008"} -- 张三
2024-09-04 16:48:34,992 - test_bpm.py[line:50] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'a', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831252552952946688"} -- 张三
2024-09-04 16:48:35,042 - test_bpm.py[line:50] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'adminxyz', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831252553171050496"} -- 张三
2024-09-04 16:48:35,089 - test_bpm.py[line:53] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': ''}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账号或密码错误","code":200,"logId":"1831252553359794176"} -- 张三
2024-09-04 16:48:35,119 - test_bpm.py[line:53] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': '#!$!@#!@#'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账号或密码错误","code":200,"logId":"1831252553494011904"} -- 张三
2024-09-04 16:48:35,155 - test_bpm.py[line:50] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"解密密码异常,请检查RSA公钥和私钥配置","code":200,"logId":"1831252553632423936"} -- 张三
2024-09-04 16:48:35,196 - test_bpm.py[line:50] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': '123456'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"解密密码异常,请检查RSA公钥和私钥配置","code":200,"logId":"1831252553800196096"} -- 张三
2024-09-04 16:48:35,258 - test_bpm.py[line:50] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjU1MjYwMDYsImlhdCI6MTcyNTQzOTYwNn0.G4tI4VentFXXSAptjDNMkgMfurAD4nvSQVv0f733jVFaybTE7O7FZms9F-Ft4v8-AWu0TdQv9IrLUIA5UfwtXA","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}} -- 张三
2024-09-04 16:48:35,290 - test_bpm.py[line:50] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/refresh, 用例数据:None, 期望数据:{'message': '刷新token成功'}, 服务器返回数据:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjU1MjYwMDYsImlhdCI6MTcyNTQzOTYwNn0.G4tI4VentFXXSAptjDNMkgMfurAD4nvSQVv0f733jVFaybTE7O7FZms9F-Ft4v8-AWu0TdQv9IrLUIA5UfwtXA","username":"admin","account":"admin","userId":"","expiration":86400,"loginStatus":true} -- 张三
2024-09-04 16:48:35,554 - test_bpm.py[line:50] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/api/demension/v1/dem/addDem, 用例数据:{'code': 'requestsAddDem', 'description': 'requestsAddDem', 'isDefault': 1, 'name': 'requests添加的维度'}, 期望数据:{'message': '添加维度成功'}, 服务器返回数据:{"state":true,"message":"添加维度成功!","value":"","code":200} -- 张三
2024-09-04 16:48:35,582 - test_bpm.py[line:50] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/api/org/v1/org/addOrg, 用例数据:{'code': 'testAddOrg', 'demId': '需要更新', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据:{'message': '添加组织成功'}, 服务器返回数据:{"state":false,"message":"添加组织失败,组织编码[testAddOrg]已存在!","value":"保存失败","code":200} -- 张三
2024-09-04 16:48:35,625 - test_bpm.py[line:53] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/api/demension/v1/dem/deleteDemByIds, 用例数据:{'ids': '1831252555289174016'}, 期望数据:{'message': '删除维度成功!'}, 服务器返回数据:{"state":true,"message":"删除维度成功!","value":"","code":200} -- 张三
2024-09-04 16:51:44,133 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为case, -- 张三
2024-09-04 16:51:44,133 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为expect, -- 张三
2024-09-04 16:51:44,133 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为sql, -- 张三
2024-09-04 16:51:44,133 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为excel, -- 张三
2024-09-04 16:51:44,429 - test_bpm.py[line:58] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'username': '超级管理员', 'account': 'admin', 'userId': '1', 'expiration': 86400, 'loginStatus': True}, 服务器返回数据:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjU1MjYxOTUsImlhdCI6MTcyNTQzOTc5NX0.GnTR6jW8JCuWBE4n4DMTDCKvJZ8oYPJ-yTFFmPylqgpAs7amoqlCxfpevtWXPq_8cgEC4ixsW_1S6PnVrcpqHA","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}} -- 张三
2024-09-04 16:51:44,456 - test_bpm.py[line:55] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': '', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831253347601588224"} -- 张三
2024-09-04 16:51:44,691 - test_bpm.py[line:55] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': '#!$!@#!@#', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831253348583055360"} -- 张三
2024-09-04 16:51:44,740 - test_bpm.py[line:55] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'adminadminadminadminadminadminadminadminadmin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831253348792770560"} -- 张三
2024-09-04 16:51:44,814 - test_bpm.py[line:55] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'a', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831253349111537664"} -- 张三
2024-09-04 16:51:44,861 - test_bpm.py[line:55] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'adminxyz', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831253349308669952"} -- 张三
2024-09-04 16:51:44,917 - test_bpm.py[line:58] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': ''}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账号或密码错误","code":200,"logId":"1831253349543550976"} -- 张三
2024-09-04 16:51:44,951 - test_bpm.py[line:58] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': '#!$!@#!@#'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账号或密码错误","code":200,"logId":"1831253349686157312"} -- 张三
2024-09-04 16:51:44,983 - test_bpm.py[line:55] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"解密密码异常,请检查RSA公钥和私钥配置","code":200,"logId":"1831253349820375040"} -- 张三
2024-09-04 16:51:45,020 - test_bpm.py[line:55] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': '123456'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"解密密码异常,请检查RSA公钥和私钥配置","code":200,"logId":"1831253349971369984"} -- 张三
2024-09-04 16:51:45,086 - test_bpm.py[line:55] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjU1MjYxOTYsImlhdCI6MTcyNTQzOTc5Nn0.pS6RVJdp8-Z2rXkkT6zUDdt7A5OJkTZOrqSlriFgo2EumR-G8-97gH3Lz2WRlw8FEFIz2atUHYjz0FdEaY9mmg","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}} -- 张三
2024-09-04 16:51:45,140 - test_bpm.py[line:55] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/refresh, 用例数据:None, 期望数据:{'message': '刷新token成功'}, 服务器返回数据:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjU1MjYxOTYsImlhdCI6MTcyNTQzOTc5Nn0.pS6RVJdp8-Z2rXkkT6zUDdt7A5OJkTZOrqSlriFgo2EumR-G8-97gH3Lz2WRlw8FEFIz2atUHYjz0FdEaY9mmg","username":"admin","account":"admin","userId":"","expiration":86400,"loginStatus":true} -- 张三
2024-09-04 16:51:45,197 - test_bpm.py[line:55] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/api/demension/v1/dem/addDem, 用例数据:{'code': 'requestsAddDem', 'description': 'requestsAddDem', 'isDefault': 1, 'name': 'requests添加的维度'}, 期望数据:{'message': '添加维度成功'}, 服务器返回数据:{"state":true,"message":"添加维度成功!","value":"","code":200} -- 张三
2024-09-04 16:51:45,284 - test_bpm.py[line:55] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/api/org/v1/org/addOrg, 用例数据:{'code': 'testAddOrg', 'demId': '1831253350676013056', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据:{'message': '添加组织成功'}, 服务器返回数据:{"state":true,"message":"添加组织成功!","value":"","code":200} -- 张三
2024-09-04 16:51:45,322 - test_bpm.py[line:55] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/api/demension/v1/dem/deleteDemByIds, 用例数据:{'ids': '1831253350676013056'}, 期望数据:{'message': '删除维度成功!'}, 服务器返回数据:{"state":false,"message":"【requests添加的维度(requestsAddDem)】的维度下存在组织,不允许删除 ","value":"","code":200} -- 张三
2024-09-04 16:59:55,437 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为case, -- 张三
2024-09-04 16:59:55,438 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为expect, -- 张三
2024-09-04 16:59:55,438 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为sql, -- 张三
2024-09-04 16:59:55,438 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为excel, -- 张三
2024-09-04 16:59:55,704 - test_bpm.py[line:56] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'username': '超级管理员', 'account': 'admin', 'userId': '1', 'expiration': 86400, 'loginStatus': True}, 服务器返回数据:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjU1MjY2ODYsImlhdCI6MTcyNTQ0MDI4Nn0.skfWILC25NVQ6ISV9e7hj6EqrnTbSNznKCnY2REgRbgRSotRt3xFfO9Sf5n7eTAGBD6HQtg3ZlsZdgxg73CRNg","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}} -- 张三
2024-09-04 16:59:55,727 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': '', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831255408095371264"} -- 张三
2024-09-04 16:59:55,922 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': '#!$!@#!@#', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831255408913260544"} -- 张三
2024-09-04 16:59:55,961 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'adminadminadminadminadminadminadminadminadmin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831255409072644096"} -- 张三
2024-09-04 16:59:56,001 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'a', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831255409240416256"} -- 张三
2024-09-04 16:59:56,040 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'adminxyz', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831255409408188416"} -- 张三
2024-09-04 16:59:56,086 - test_bpm.py[line:56] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': ''}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账号或密码错误","code":200,"logId":"1831255409605320704"} -- 张三
2024-09-04 16:59:56,119 - test_bpm.py[line:56] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': '#!$!@#!@#'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账号或密码错误","code":200,"logId":"1831255409731149824"} -- 张三
2024-09-04 16:59:56,142 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"解密密码异常,请检查RSA公钥和私钥配置","code":200,"logId":"1831255409831813120"} -- 张三
2024-09-04 16:59:56,176 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': '123456'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"解密密码异常,请检查RSA公钥和私钥配置","code":200,"logId":"1831255409982808064"} -- 张三
2024-09-04 16:59:56,248 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjU1MjY2ODcsImlhdCI6MTcyNTQ0MDI4N30.wM_ZGtbNFFdxzASvkBYFjvbqqgf_8oDhUJKZQ3XF2c-eM5sSCN9Y7UvqvNXunA29BYptmSo940PMHwjonwBCfQ","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}} -- 张三
2024-09-04 16:59:56,279 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/refresh, 用例数据:None, 期望数据:{'message': '刷新token成功'}, 服务器返回数据:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjU1MjY2ODcsImlhdCI6MTcyNTQ0MDI4N30.wM_ZGtbNFFdxzASvkBYFjvbqqgf_8oDhUJKZQ3XF2c-eM5sSCN9Y7UvqvNXunA29BYptmSo940PMHwjonwBCfQ","username":"admin","account":"admin","userId":"","expiration":86400,"loginStatus":true} -- 张三
2024-09-04 16:59:56,336 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/api/demension/v1/dem/addDem, 用例数据:{'code': 'requestsAddDem', 'description': 'requestsAddDem', 'isDefault': 1, 'name': 'requests添加的维度'}, 期望数据:{'message': '添加维度成功'}, 服务器返回数据:{"state":true,"message":"添加维度成功!","value":"","code":200} -- 张三
2024-09-04 16:59:56,392 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/api/org/v1/org/addOrg, 用例数据:{'code': 'testAddOrg', 'demId': '1831255410590982144', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据:{'message': '添加组织成功'}, 服务器返回数据:{"state":true,"message":"添加组织成功!","value":"","code":200} -- 张三
2024-09-04 16:59:56,429 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/api/demension/v1/dem/deleteDemByIds, 用例数据:{'ids': '1831255410590982144'}, 期望数据:{'message': '删除维度成功!'}, 服务器返回数据:{"state":false,"message":"【requests添加的维度(requestsAddDem)】的维度下存在组织,不允许删除 ","value":"","code":200} -- 张三
2024-09-04 17:00:07,616 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为case, -- 张三
2024-09-04 17:00:07,616 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为expect, -- 张三
2024-09-04 17:00:07,617 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为sql, -- 张三
2024-09-04 17:00:07,617 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为excel, -- 张三
2024-09-04 17:00:07,968 - test_bpm.py[line:56] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'username': '超级管理员', 'account': 'admin', 'userId': '1', 'expiration': 86400, 'loginStatus': True}, 服务器返回数据:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjU1MjY2OTksImlhdCI6MTcyNTQ0MDI5OX0.s0qoHmgizERclKDu8NrZ1n2pT1fuBDJnus8yDOylVoWpD0EtN4rfqqf_kSebhnPxaIIltNNc-vLqkPRIzDpoIA","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}} -- 张三
2024-09-04 17:00:07,992 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': '', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831255459530121216"} -- 张三
2024-09-04 17:00:08,288 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': '#!$!@#!@#', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831255460775829504"} -- 张三
2024-09-04 17:00:08,338 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'adminadminadminadminadminadminadminadminadmin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831255460981350400"} -- 张三
2024-09-04 17:00:08,388 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'a', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831255461195259904"} -- 张三
2024-09-04 17:00:08,439 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'adminxyz', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831255461413363712"} -- 张三
2024-09-04 17:00:08,496 - test_bpm.py[line:56] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': ''}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账号或密码错误","code":200,"logId":"1831255461635661824"} -- 张三
2024-09-04 17:00:08,532 - test_bpm.py[line:56] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': '#!$!@#!@#'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账号或密码错误","code":200,"logId":"1831255461803433984"} -- 张三
2024-09-04 17:00:08,552 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"解密密码异常,请检查RSA公钥和私钥配置","code":200,"logId":"1831255461887320064"} -- 张三
2024-09-04 17:00:08,593 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': '123456'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"解密密码异常,请检查RSA公钥和私钥配置","code":200,"logId":"1831255462050897920"} -- 张三
2024-09-04 17:00:08,652 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjU1MjY2OTksImlhdCI6MTcyNTQ0MDI5OX0.s0qoHmgizERclKDu8NrZ1n2pT1fuBDJnus8yDOylVoWpD0EtN4rfqqf_kSebhnPxaIIltNNc-vLqkPRIzDpoIA","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}} -- 张三
2024-09-04 17:00:08,693 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/refresh, 用例数据:None, 期望数据:{'message': '刷新token成功'}, 服务器返回数据:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjU1MjY2OTksImlhdCI6MTcyNTQ0MDI5OX0.s0qoHmgizERclKDu8NrZ1n2pT1fuBDJnus8yDOylVoWpD0EtN4rfqqf_kSebhnPxaIIltNNc-vLqkPRIzDpoIA","username":"admin","account":"admin","userId":"","expiration":86400,"loginStatus":true} -- 张三
2024-09-04 17:00:08,764 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/api/demension/v1/dem/addDem, 用例数据:{'code': 'requestsAddDem', 'description': 'requestsAddDem', 'isDefault': 1, 'name': 'requests添加的维度'}, 期望数据:{'message': '添加维度成功'}, 服务器返回数据:{"state":true,"message":"添加维度成功!","value":"","code":200} -- 张三
2024-09-04 17:00:08,829 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/api/org/v1/org/addOrg, 用例数据:{'code': 'testAddOrg', 'demId': '1831255462705209344', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据:{'message': '添加组织成功'}, 服务器返回数据:{"state":true,"message":"添加组织成功!","value":"","code":200} -- 张三
2024-09-04 17:00:08,890 - test_bpm.py[line:56] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/api/org/v1/orgUsers/addUsersForOrg, 用例数据:{'orgCode': 'testAddOrg', 'accounts': 'admin,guest'}, 期望数据:{'message': '加入成功'}, 服务器返回数据:{"state":true,"message":"加入成功","value":"","code":200} -- 张三
2024-09-04 17:00:08,922 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/api/demension/v1/dem/deleteDemByIds, 用例数据:{'ids': '1831255462705209344'}, 期望数据:{'message': '删除维度成功!'}, 服务器返回数据:{"state":false,"message":"【requests添加的维度(requestsAddDem)】的维度下存在组织,不允许删除 ","value":"","code":200} -- 张三
2024-09-04 17:08:56,078 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为case, -- 张三
2024-09-04 17:08:56,079 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为expect, -- 张三
2024-09-04 17:08:56,079 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为sql, -- 张三
2024-09-04 17:08:56,079 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为excel, -- 张三
2024-09-04 17:08:56,345 - test_bpm.py[line:56] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'username': '超级管理员', 'account': 'admin', 'userId': '1', 'expiration': 86400, 'loginStatus': True}, 服务器返回数据:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjU1MjcyMjcsImlhdCI6MTcyNTQ0MDgyN30.NKTENfGh2N6bBSW0ozBvNGbV0AiSjWIcu41-S8SlBkNRRZVR094zouuMGOFlUFIP1MqqGKP6iBwHLQIEfM2Aww","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}} -- 张三
2024-09-04 17:08:56,372 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': '', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831257675661942784"} -- 张三
2024-09-04 17:08:56,582 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': '#!$!@#!@#', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831257676542746624"} -- 张三
2024-09-04 17:08:56,619 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'adminadminadminadminadminadminadminadminadmin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831257676706324480"} -- 张三
2024-09-04 17:08:56,656 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'a', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831257676861513728"} -- 张三
2024-09-04 17:08:56,693 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'adminxyz', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831257677008314368"} -- 张三
2024-09-04 17:08:56,739 - test_bpm.py[line:56] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': ''}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账号或密码错误","code":200,"logId":"1831257677201252352"} -- 张三
2024-09-04 17:08:56,773 - test_bpm.py[line:56] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': '#!$!@#!@#'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账号或密码错误","code":200,"logId":"1831257677348052992"} -- 张三
2024-09-04 17:08:56,796 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"解密密码异常,请检查RSA公钥和私钥配置","code":200,"logId":"1831257677440327680"} -- 张三
2024-09-04 17:08:56,833 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': '123456'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"解密密码异常,请检查RSA公钥和私钥配置","code":200,"logId":"1831257677599711232"} -- 张三
2024-09-04 17:08:56,896 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjU1MjcyMjgsImlhdCI6MTcyNTQ0MDgyOH0.pYuXHIHD_dp0t4vLEJHB1K4q0667LkVzEgQuJ4CtElLTr8D1CV-PJgeZcAM7fTXStL5RPEWAjMCjeStvWBPjMA","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}} -- 张三
2024-09-04 17:08:56,937 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/refresh, 用例数据:None, 期望数据:{'message': '刷新token成功'}, 服务器返回数据:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjU1MjcyMjgsImlhdCI6MTcyNTQ0MDgyOH0.pYuXHIHD_dp0t4vLEJHB1K4q0667LkVzEgQuJ4CtElLTr8D1CV-PJgeZcAM7fTXStL5RPEWAjMCjeStvWBPjMA","username":"admin","account":"admin","userId":"","expiration":86400,"loginStatus":true} -- 张三
2024-09-04 17:08:56,993 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/api/demension/v1/dem/addDem, 用例数据:{'code': 'requestsAddDem', 'description': 'requestsAddDem', 'isDefault': 1, 'name': 'requests添加的维度'}, 期望数据:{'message': '添加维度成功'}, 服务器返回数据:{"state":true,"message":"添加维度成功!","value":"","code":200} -- 张三
2024-09-04 17:08:57,100 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/api/org/v1/org/addOrg, 用例数据:{'code': 'testAddOrg', 'demId': '1831257678233051136', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据:{'message': '添加组织成功'}, 服务器返回数据:{"state":true,"message":"添加组织成功!","value":"","code":200} -- 张三
2024-09-04 17:08:57,173 - test_bpm.py[line:56] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/api/org/v1/orgUsers/addUsersForOrg, 用例数据:{'orgCode': 'testAddOrg', 'accounts': 'admin,guest'}, 期望数据:{'message': '加入成功'}, 服务器返回数据:{"state":true,"message":"加入成功","value":"","code":200} -- 张三
2024-09-04 17:08:57,198 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/api/demension/v1/dem/deleteDemByIds, 用例数据:{'ids': '1831257678233051136'}, 期望数据:{'message': '删除维度成功!'}, 服务器返回数据:{"state":false,"message":"【requests添加的维度(requestsAddDem)】的维度下存在组织,不允许删除 ","value":"","code":200} -- 张三
2024-09-04 17:09:06,012 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为case, -- 张三
2024-09-04 17:09:06,012 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为expect, -- 张三
2024-09-04 17:09:06,012 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为sql, -- 张三
2024-09-04 17:09:06,012 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为excel, -- 张三
2024-09-04 17:10:00,866 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为case, -- 张三
2024-09-04 17:10:00,866 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为expect, -- 张三
2024-09-04 17:10:00,866 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为sql, -- 张三
2024-09-04 17:10:00,866 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为excel, -- 张三
2024-09-04 17:10:01,129 - test_bpm.py[line:56] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'username': '超级管理员', 'account': 'admin', 'userId': '1', 'expiration': 86400, 'loginStatus': True}, 服务器返回数据:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjU1MjcyOTIsImlhdCI6MTcyNTQ0MDg5Mn0.GsbQeIv86ZUCr1us1Mb_kDEnWledm29RrwZoHmmUveg0kNFUd7pFMamTJ5ZZnow1X39VKCqflG6cJinPrIrE4w","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}} -- 张三
2024-09-04 17:10:01,149 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': '', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831257947352178688"} -- 张三
2024-09-04 17:10:01,337 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': '#!$!@#!@#', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831257948140707840"} -- 张三
2024-09-04 17:10:01,377 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'adminadminadminadminadminadminadminadminadmin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831257948308480000"} -- 张三
2024-09-04 17:10:01,416 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'a', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831257948463669248"} -- 张三
2024-09-04 17:10:01,454 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'adminxyz', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831257948631441408"} -- 张三
2024-09-04 17:10:01,498 - test_bpm.py[line:56] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': ''}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账号或密码错误","code":200,"logId":"1831257948815990784"} -- 张三
2024-09-04 17:10:01,536 - test_bpm.py[line:56] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': '#!$!@#!@#'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账号或密码错误","code":200,"logId":"1831257948975374336"} -- 张三
2024-09-04 17:10:01,559 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"解密密码异常,请检查RSA公钥和私钥配置","code":200,"logId":"1831257949071843328"} -- 张三
2024-09-04 17:10:01,597 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': '123456'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"解密密码异常,请检查RSA公钥和私钥配置","code":200,"logId":"1831257949227032576"} -- 张三
2024-09-04 17:10:01,649 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjU1MjcyOTIsImlhdCI6MTcyNTQ0MDg5Mn0.GsbQeIv86ZUCr1us1Mb_kDEnWledm29RrwZoHmmUveg0kNFUd7pFMamTJ5ZZnow1X39VKCqflG6cJinPrIrE4w","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}} -- 张三
2024-09-04 17:10:01,693 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/refresh, 用例数据:None, 期望数据:{'message': '刷新token成功'}, 服务器返回数据:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjU1MjcyOTIsImlhdCI6MTcyNTQ0MDg5Mn0.GsbQeIv86ZUCr1us1Mb_kDEnWledm29RrwZoHmmUveg0kNFUd7pFMamTJ5ZZnow1X39VKCqflG6cJinPrIrE4w","username":"admin","account":"admin","userId":"","expiration":86400,"loginStatus":true} -- 张三
2024-09-04 17:10:01,747 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/api/demension/v1/dem/addDem, 用例数据:{'code': 'requestsAddDem', 'description': 'requestsAddDem', 'isDefault': 1, 'name': 'requests添加的维度'}, 期望数据:{'message': '添加维度成功'}, 服务器返回数据:{"state":true,"message":"添加维度成功!","value":"","code":200} -- 张三
2024-09-04 17:10:01,811 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/api/org/v1/org/addOrg, 用例数据:{'code': 'testAddOrg', 'demId': '1831257949818429440', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据:{'message': '添加组织成功'}, 服务器返回数据:{"state":true,"message":"添加组织成功!","value":"","code":200} -- 张三
2024-09-04 17:10:01,862 - test_bpm.py[line:56] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/api/org/v1/orgUsers/addUsersForOrg, 用例数据:{'orgCode': 'testAddOrg', 'accounts': 'admin,guest'}, 期望数据:{'message': '加入成功'}, 服务器返回数据:{"state":true,"message":"加入成功","value":"","code":200} -- 张三
2024-09-04 17:10:01,891 - test_bpm.py[line:56] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/api/org/v1/orgParam/saveOrgParams, 用例数据:{'query': {'orgCode': 'testAddOrg'}, 'body': [{'alias': 'hxxmts', 'value': '项目中没有关系户'}]}, 期望数据:{'message': '保存组织参数成功!'}, 服务器返回数据:{"state":true,"message":"保存组织参数成功!","value":"","code":200} -- 张三
2024-09-04 17:10:01,915 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/api/demension/v1/dem/deleteDemByIds, 用例数据:{'ids': '1831257949818429440'}, 期望数据:{'message': '删除维度成功!'}, 服务器返回数据:{"state":false,"message":"【requests添加的维度(requestsAddDem)】的维度下存在组织,不允许删除 ","value":"","code":200} -- 张三
2024-09-04 17:16:56,964 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为case, -- 张三
2024-09-04 17:16:56,964 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为expect, -- 张三
2024-09-04 17:16:56,965 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为sql, -- 张三
2024-09-04 17:16:56,965 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为excel, -- 张三
2024-09-04 17:16:57,220 - test_bpm.py[line:56] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'username': '超级管理员', 'account': 'admin', 'userId': '1', 'expiration': 86400, 'loginStatus': True}, 服务器返回数据:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjU1Mjc3MDgsImlhdCI6MTcyNTQ0MTMwOH0.zrsZbK2wyQ6NksRmMP4T5E6tCgSdGzEgTMzmjIzp55fXf3npSdp8aYJbSaUaaRt35Lyb6gbC5QB0twF2hHN41Q","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}} -- 张三
2024-09-04 17:16:57,243 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': '', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831259692534964224"} -- 张三
2024-09-04 17:16:57,439 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': '#!$!@#!@#', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831259693348659200"} -- 张三
2024-09-04 17:16:57,505 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'adminadminadminadminadminadminadminadminadmin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831259693633871872"} -- 张三
2024-09-04 17:16:57,548 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'a', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831259693810032640"} -- 张三
2024-09-04 17:16:57,585 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'adminxyz', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831259693961027584"} -- 张三
2024-09-04 17:16:57,625 - test_bpm.py[line:56] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': ''}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账号或密码错误","code":200,"logId":"1831259694141382656"} -- 张三
2024-09-04 17:16:57,657 - test_bpm.py[line:56] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': '#!$!@#!@#'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账号或密码错误","code":200,"logId":"1831259694267211776"} -- 张三
2024-09-04 17:16:57,678 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"解密密码异常,请检查RSA公钥和私钥配置","code":200,"logId":"1831259694359486464"} -- 张三
2024-09-04 17:16:57,708 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': '123456'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"解密密码异常,请检查RSA公钥和私钥配置","code":200,"logId":"1831259694481121280"} -- 张三
2024-09-04 17:16:57,763 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjU1Mjc3MDksImlhdCI6MTcyNTQ0MTMwOX0.6q72utq90P0w9KVmCZXMBVLnQDIcc-b39_-iSwxKDU2AxKjxrCb5iXhZSaRwnu5oCT-bb6UclekedNdB_sEbdA","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}} -- 张三
2024-09-04 17:16:57,796 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/refresh, 用例数据:None, 期望数据:{'message': '刷新token成功'}, 服务器返回数据:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjU1Mjc3MDksImlhdCI6MTcyNTQ0MTMwOX0.6q72utq90P0w9KVmCZXMBVLnQDIcc-b39_-iSwxKDU2AxKjxrCb5iXhZSaRwnu5oCT-bb6UclekedNdB_sEbdA","username":"admin","account":"admin","userId":"","expiration":86400,"loginStatus":true} -- 张三
2024-09-04 17:16:57,852 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/api/demension/v1/dem/addDem, 用例数据:{'code': 'requestsAddDem', 'description': 'requestsAddDem', 'isDefault': 1, 'name': 'requests添加的维度'}, 期望数据:{'message': '添加维度成功'}, 服务器返回数据:{"state":true,"message":"添加维度成功!","value":"","code":200} -- 张三
2024-09-04 17:16:57,919 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/api/org/v1/org/addOrg, 用例数据:{'code': 'testAddOrg', 'demId': '1831259695055740928', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据:{'message': '添加组织成功'}, 服务器返回数据:{"state":true,"message":"添加组织成功!","value":"","code":200} -- 张三
2024-09-04 17:16:57,966 - test_bpm.py[line:56] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/api/org/v1/orgUsers/addUsersForOrg, 用例数据:{'orgCode': 'testAddOrg', 'accounts': 'admin,guest'}, 期望数据:{'message': '加入成功'}, 服务器返回数据:{"state":true,"message":"加入成功","value":"","code":200} -- 张三
2024-09-04 17:16:57,992 - test_bpm.py[line:56] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/api/org/v1/orgParam/saveOrgParams, 用例数据:{'query': {'orgCode': 'testAddOrg'}, 'body': [{'alias': 'hxxmts', 'value': '项目中没有关系户'}]}, 期望数据:{'message': '保存组织参数成功!'}, 服务器返回数据:{"state":true,"message":"保存组织参数成功!","value":"","code":200} -- 张三
2024-09-04 17:16:58,026 - test_bpm.py[line:56] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/api/org/v1/org/deleteOrg, 用例数据:testAddOrg, 期望数据:{'message': '删除组织成功!'}, 服务器返回数据:{"state":true,"message":"删除组织成功!","value":"","code":200} -- 张三
2024-09-04 17:16:58,062 - test_bpm.py[line:56] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/api/demension/v1/dem/deleteDemByIds, 用例数据:{'ids': '1831259695055740928'}, 期望数据:{'message': '删除维度成功!'}, 服务器返回数据:{"state":true,"message":"删除维度成功!","value":"","code":200} -- 张三
2024-09-04 17:17:31,159 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为case, -- 张三
2024-09-04 17:17:31,160 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为expect, -- 张三
2024-09-04 17:17:31,160 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为sql, -- 张三
2024-09-04 17:17:31,160 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为excel, -- 张三
2024-09-04 17:17:31,420 - test_bpm.py[line:56] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'username': '超级管理员', 'account': 'admin', 'userId': '1', 'expiration': 86400, 'loginStatus': True}, 服务器返回数据:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjU1Mjc3NDIsImlhdCI6MTcyNTQ0MTM0Mn0.6Gu9QmOOr5T77tbk5Y90A9VErRKnfwzy3G7khOqLXwQqOqFT5ZPyptHdwNjm9NKZ2Xi_WbvpRK4KrzSgGAyS_A","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}} -- 张三
2024-09-04 17:17:31,448 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': '', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831259835996938240"} -- 张三
2024-09-04 17:17:31,691 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': '#!$!@#!@#', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831259837016154112"} -- 张三
2024-09-04 17:17:32,742 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'adminadminadminadminadminadminadminadminadmin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831259841415979008"} -- 张三
2024-09-04 17:17:32,792 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'a', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831259841634082816"} -- 张三
2024-09-04 17:17:32,931 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'adminxyz', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831259842217091072"} -- 张三
2024-09-04 17:17:32,985 - test_bpm.py[line:56] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': ''}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账号或密码错误","code":200,"logId":"1831259842439389184"} -- 张三
2024-09-04 17:17:33,233 - test_bpm.py[line:56] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': '#!$!@#!@#'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账号或密码错误","code":200,"logId":"1831259842565218304"} -- 张三
2024-09-04 17:17:33,260 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"解密密码异常,请检查RSA公钥和私钥配置","code":200,"logId":"1831259843592822784"} -- 张三
2024-09-04 17:17:33,300 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': '123456'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"解密密码异常,请检查RSA公钥和私钥配置","code":200,"logId":"1831259843760594944"} -- 张三
2024-09-04 17:17:33,516 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjU1Mjc3NDQsImlhdCI6MTcyNTQ0MTM0NH0.nds35RJG9FVOiUcsNearADNlMXjLJvrkowWojOf-aYVt5c4Onr8GYsDIz2wSqGWczoFDCU3B4Ek4sVWKoMdShA","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}} -- 张三
2024-09-04 17:17:33,565 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/refresh, 用例数据:None, 期望数据:{'message': '刷新token成功'}, 服务器返回数据:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjU1Mjc3NDQsImlhdCI6MTcyNTQ0MTM0NH0.nds35RJG9FVOiUcsNearADNlMXjLJvrkowWojOf-aYVt5c4Onr8GYsDIz2wSqGWczoFDCU3B4Ek4sVWKoMdShA","username":"admin","account":"admin","userId":"","expiration":86400,"loginStatus":true} -- 张三
2024-09-04 17:17:33,626 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/api/demension/v1/dem/addDem, 用例数据:{'code': 'requestsAddDem', 'description': 'requestsAddDem', 'isDefault': 1, 'name': 'requests添加的维度'}, 期望数据:{'message': '添加维度成功'}, 服务器返回数据:{"state":true,"message":"添加维度成功!","value":"","code":200} -- 张三
2024-09-04 17:17:33,685 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/api/org/v1/org/addOrg, 用例数据:{'code': 'testAddOrg', 'demId': '1831259845090189312', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据:{'message': '添加组织成功'}, 服务器返回数据:{"state":true,"message":"添加组织成功!","value":"","code":200} -- 张三
2024-09-04 17:17:33,744 - test_bpm.py[line:56] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/api/org/v1/orgUsers/addUsersForOrg, 用例数据:{'orgCode': 'testAddOrg', 'accounts': 'admin,guest'}, 期望数据:{'message': '加入成功'}, 服务器返回数据:{"state":true,"message":"加入成功","value":"","code":200} -- 张三
2024-09-04 17:17:33,775 - test_bpm.py[line:56] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/api/org/v1/orgParam/saveOrgParams, 用例数据:{'query': {'orgCode': 'testAddOrg'}, 'body': [{'alias': 'hxxmts', 'value': '项目中没有关系户'}]}, 期望数据:{'message': '保存组织参数成功!'}, 服务器返回数据:{"state":true,"message":"保存组织参数成功!","value":"","code":200} -- 张三
2024-09-04 17:17:33,790 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/api/org/v1/org/deleteOrg, 用例数据:testAddOrg, 期望数据:{'message': '删除组织成功!'}, 服务器返回数据:{"state":true,"message":"部分删除成功,其中编码为【\"testAddOrg\"】的组织不存在;","value":"","code":200} -- 张三
2024-09-04 17:17:33,832 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/api/demension/v1/dem/deleteDemByIds, 用例数据:{'ids': '1831259845090189312'}, 期望数据:{'message': '删除维度成功!'}, 服务器返回数据:{"state":false,"message":"【requests添加的维度(requestsAddDem)】的维度下存在组织,不允许删除 ","value":"","code":200} -- 张三
2024-09-04 17:23:29,224 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为case, -- 张三
2024-09-04 17:23:29,224 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为expect, -- 张三
2024-09-04 17:23:29,224 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为sql, -- 张三
2024-09-04 17:23:29,224 - read_ini.py[line:27] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为excel, -- 张三
2024-09-04 17:23:29,487 - test_bpm.py[line:56] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'username': '超级管理员', 'account': 'admin', 'userId': '1', 'expiration': 86400, 'loginStatus': True}, 服务器返回数据:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjU1MjgxMDAsImlhdCI6MTcyNTQ0MTcwMH0.YVLeLq1Vums4opWx8mTxtIKmLkct9FrixSyE9wEI4xGyIzwBjgoYNVI8s0sa4snLrJ3bfgJuyn8NxdzffAy-aQ","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}} -- 张三
2024-09-04 17:23:29,513 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': '', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831261337792651264"} -- 张三
2024-09-04 17:23:29,725 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': '#!$!@#!@#', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831261338673455104"} -- 张三
2024-09-04 17:23:29,761 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'adminadminadminadminadminadminadminadminadmin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831261338828644352"} -- 张三
2024-09-04 17:23:29,798 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'a', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831261338983833600"} -- 张三
2024-09-04 17:23:29,836 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'adminxyz', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831261339139022848"} -- 张三
2024-09-04 17:23:29,875 - test_bpm.py[line:56] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': ''}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账号或密码错误","code":200,"logId":"1831261339310989312"} -- 张三
2024-09-04 17:23:29,905 - test_bpm.py[line:56] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': '#!$!@#!@#'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账号或密码错误","code":200,"logId":"1831261339436818432"} -- 张三
2024-09-04 17:23:29,926 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"解密密码异常,请检查RSA公钥和私钥配置","code":200,"logId":"1831261339520704512"} -- 张三
2024-09-04 17:23:29,959 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': '123456'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"解密密码异常,请检查RSA公钥和私钥配置","code":200,"logId":"1831261339654922240"} -- 张三
2024-09-04 17:23:30,010 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjU1MjgxMDEsImlhdCI6MTcyNTQ0MTcwMX0.W3QyfHU614dSplxKNYmWx_wmBBX9drnuNst-iPmUkowDV-uM7gJQwmM6ZY1Oj7X95hgqtbbGxzNYvtuNgeXVHg","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}} -- 张三
2024-09-04 17:23:30,047 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/refresh, 用例数据:None, 期望数据:{'message': '刷新token成功'}, 服务器返回数据:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjU1MjgxMDEsImlhdCI6MTcyNTQ0MTcwMX0.W3QyfHU614dSplxKNYmWx_wmBBX9drnuNst-iPmUkowDV-uM7gJQwmM6ZY1Oj7X95hgqtbbGxzNYvtuNgeXVHg","username":"admin","account":"admin","userId":"","expiration":86400,"loginStatus":true} -- 张三
2024-09-04 17:23:30,110 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/api/demension/v1/dem/addDem, 用例数据:{'code': 'requestsAddDem', 'description': 'requestsAddDem', 'isDefault': 1, 'name': 'requests添加的维度'}, 期望数据:{'message': '添加维度成功'}, 服务器返回数据:{"state":true,"message":"添加维度成功!","value":"","code":200} -- 张三
2024-09-04 17:23:30,171 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/api/org/v1/org/addOrg, 用例数据:{'code': 'testAddOrg', 'demId': '1831261340250513408', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据:{'message': '添加组织成功'}, 服务器返回数据:{"state":true,"message":"添加组织成功!","value":"","code":200} -- 张三
2024-09-04 17:23:30,222 - test_bpm.py[line:56] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/api/org/v1/orgUsers/addUsersForOrg, 用例数据:{'orgCode': 'testAddOrg', 'accounts': 'admin,guest'}, 期望数据:{'message': '加入成功'}, 服务器返回数据:{"state":true,"message":"加入成功","value":"","code":200} -- 张三
2024-09-04 17:23:30,250 - test_bpm.py[line:56] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/api/org/v1/orgParam/saveOrgParams, 用例数据:{'query': {'orgCode': 'testAddOrg'}, 'body': [{'alias': 'hxxmts', 'value': '项目中没有关系户'}]}, 期望数据:{'message': '保存组织参数成功!'}, 服务器返回数据:{"state":true,"message":"保存组织参数成功!","value":"","code":200} -- 张三
2024-09-04 17:23:30,266 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/api/org/v1/org/deleteOrg, 用例数据:testAddOrg, 期望数据:{'message': '删除组织成功!'}, 服务器返回数据:{"state":true,"message":"部分删除成功,其中编码为【\"testAddOrg\"】的组织不存在;","value":"","code":200} -- 张三
2024-09-04 17:23:30,299 - test_bpm.py[line:53] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/api/demension/v1/dem/deleteDemByIds, 用例数据:{'ids': '1831261340250513408'}, 期望数据:{'message': '删除维度成功!'}, 服务器返回数据:{"state":false,"message":"【requests添加的维度(requestsAddDem)】的维度下存在组织,不允许删除 ","value":"","code":200} -- 张三
2024-09-04 17:40:52,171 - user_read_ini.py[line:28] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为case, -- 张三
2024-09-04 17:40:52,171 - user_read_ini.py[line:28] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为expect, -- 张三
2024-09-04 17:40:52,171 - user_read_ini.py[line:28] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为sql, -- 张三
2024-09-04 17:40:52,171 - user_read_ini.py[line:28] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为excel, -- 张三
2024-09-04 17:41:01,556 - user_read_ini.py[line:28] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为case, -- 张三
2024-09-04 17:41:01,556 - user_read_ini.py[line:28] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为expect, -- 张三
2024-09-04 17:41:01,557 - user_read_ini.py[line:28] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为sql, -- 张三
2024-09-04 17:41:01,557 - user_read_ini.py[line:28] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为excel, -- 张三
2024-09-04 17:44:21,296 - user_read_ini.py[line:28] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为case, -- 张三
2024-09-04 17:44:21,296 - user_read_ini.py[line:28] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为expect, -- 张三
2024-09-04 17:44:21,296 - user_read_ini.py[line:28] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为sql, -- 张三
2024-09-04 17:44:21,296 - user_read_ini.py[line:28] - INFO: 执行方法get_file_path为:根据key获取file节点下key对应文件的路径,形参key的传参为excel, -- 张三
2024-09-04 17:44:21,538 - test_bpm.py[line:57] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'username': '超级管理员', 'account': 'admin', 'userId': '1', 'expiration': 86400, 'loginStatus': True}, 服务器返回数据:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjU1MjkzNTIsImlhdCI6MTcyNTQ0Mjk1Mn0.xv5AtRczk0uO3y5DJegxLGmLXRxolpexDaddRa4RZAFXRAWwdXwgjhN_VYU26PxTynpOeYZ0LMIMfTYmZdGC3Q","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}} -- 张三
2024-09-04 17:44:21,560 - test_bpm.py[line:54] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': '', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831266589119979520"} -- 张三
2024-09-04 17:44:21,747 - test_bpm.py[line:54] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': '#!$!@#!@#', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831266589900120064"} -- 张三
2024-09-04 17:44:21,781 - test_bpm.py[line:54] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'adminadminadminadminadminadminadminadminadmin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831266590046920704"} -- 张三
2024-09-04 17:44:21,818 - test_bpm.py[line:54] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'a', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831266590202109952"} -- 张三
2024-09-04 17:44:21,853 - test_bpm.py[line:54] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'adminxyz', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831266590348910592"} -- 张三
2024-09-04 17:44:21,889 - test_bpm.py[line:57] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': ''}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账号或密码错误","code":200,"logId":"1831266590504099840"} -- 张三
2024-09-04 17:44:21,917 - test_bpm.py[line:57] - INFO: 断言成功,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': '#!$!@#!@#'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账号或密码错误","code":200,"logId":"1831266590617346048"} -- 张三
2024-09-04 17:44:21,943 - test_bpm.py[line:54] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"解密密码异常,请检查RSA公钥和私钥配置","code":200,"logId":"1831266590718009344"} -- 张三
2024-09-04 17:44:21,984 - test_bpm.py[line:54] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': '123456'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"解密密码异常,请检查RSA公钥和私钥配置","code":200,"logId":"1831266590873198592"} -- 张三
2024-09-04 17:44:22,039 - test_bpm.py[line:54] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjU1MjkzNTMsImlhdCI6MTcyNTQ0Mjk1M30.IJumTCOTKvigqS8Dp8mJcWl6e5pldNQP3s8Dgg_udewufHxgJb5aMqQaXIrIED70bh4pw-7Y5bj1zr_IXk5OQw","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}} -- 张三
2024-09-04 17:44:22,088 - test_bpm.py[line:54] - ERROR: 断言失败,接口url为:http://36.139.193.99:8088/refresh, 用例数据:None, 期望数据:{'message': '刷新token成功'}, 服务器返回数据:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjU1MjkzNTMsImlhdCI6MTcyNTQ0Mjk1M30.IJumTCOTKvigqS8Dp8mJcWl6e5pldNQP3s8Dgg_udewufHxgJb5aMqQaXIrIED70bh4pw-7Y5bj1zr_IXk5OQw","username":"admin","account":"admin","userId":"","expiration":86400,"loginStatus":true} -- 张三
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: test62
# FileName: public_request_method.py
# FileName: request_method.py
# Author: lao_zhao
# Datetime: 2024/9/4 15:35
# Description:
......@@ -9,15 +9,14 @@
# ---------------------------------------------------------------------------
import requests
from apiAutoTest_v30.common.basic_read_ini import ReadIni
from apiAutoTest_v3.common.basic_read_ini import ReadIni
class RequestMethod:
def __init__(self):
"""关联登录成功的token"""
login_url = ReadIni().get_host("bpm_host") + "/auth"
login_data = {"username": "admin",
"password": "bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQ"
login_data = {"username": "admin", "password": "bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQ"
"qmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerV"
"lYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ="}
self.bpm_session = requests.sessions.Session()
......@@ -51,7 +50,6 @@ class RequestMethod:
return self.bpm_session.request(method=req_method, url=req_url)
# 判断媒体类型是否为query|json或者为json|query, 表示请求体和地址栏同时传参
elif req_mime == "query|json" or "json|query":
elif req_mime == "query|json" or req_mime == "json|query":
# requests是支持地址栏和请求体同时传参的。地址栏使用params传参,请求体根据不同的媒体类型选择不同的关键字传参。
return self.bpm_session.request(method=req_method, url=req_url, params=case_data["query"],
json=case_data["body"])
return self.bpm_session.request(method=req_method, url=req_url, params=case_data["query"], json=case_data["body"])
\ No newline at end of file
......@@ -8,8 +8,8 @@
#
# ---------------------------------------------------------------------------
import pytest
from apiAutoTest_v30.common.db import DB
from apiAutoTest_v30.request_method.request_method import RequestMethod
from apiAutoTest_v3.common.db import DB
from apiAutoTest_v3.request_method.request_method import RequestMethod
# DB自定义固件
......
......@@ -9,9 +9,9 @@
# ---------------------------------------------------------------------------
import pytest
from apiAutoTest_v30 import log
from apiAutoTest_v30.common.read_excel import ReadExcel
from apiAutoTest_v30.test_case.test_demo import namespace
from apiAutoTest_v3 import log
from apiAutoTest_v3.common.read_excel import ReadExcel
from apiAutoTest_v3.test_case.test_demo import namespace
excel = ReadExcel(namespace)
......
......@@ -8,8 +8,8 @@
#
# ---------------------------------------------------------------------------
import pytest
from apiAutoTest_v30.common.db import DB
from apiAutoTest_v30.request_method.request_method import RequestMethod
from apiAutoTest_v3.common.db import DB
from apiAutoTest_v3.request_method.request_method import RequestMethod
# DB自定义固件
......
......@@ -9,9 +9,9 @@
# ---------------------------------------------------------------------------
import pytest
from apiAutoTest_v30 import log
from apiAutoTest_v30.common.read_excel import ReadExcel
from apiAutoTest_v30.test_case.test_lao_zhang import namespace
from apiAutoTest_v3 import log
from apiAutoTest_v3.common.read_excel import ReadExcel
from apiAutoTest_v3.test_case.test_lao_zhang import namespace
excel = ReadExcel(namespace)
......
......@@ -8,8 +8,8 @@
#
# ---------------------------------------------------------------------------
import pytest
from apiAutoTest_v30.common.db import DB
from apiAutoTest_v30.request_method.request_method import RequestMethod
from apiAutoTest_v3.common.db import DB
from apiAutoTest_v3.request_method.request_method import RequestMethod
# DB自定义固件
......
......@@ -9,9 +9,9 @@
# ---------------------------------------------------------------------------
import pytest
from apiAutoTest_v30 import log
from apiAutoTest_v30.common.read_excel import ReadExcel
from apiAutoTest_v30.test_case.test_lisi import namespace
from apiAutoTest_v3 import log
from apiAutoTest_v3.common.read_excel import ReadExcel
from apiAutoTest_v3.test_case.test_lao_zhang import namespace
excel = ReadExcel(namespace)
......
{"name": "test_bpm[http://36.139.193.99:8088/auth-post-application/json-case_data8-expect_data8-None-None-None]", "status": "failed", "statusDetails": {"message": "AssertionError: 断言失败", "trace": "self = <apiAutoTest_v3.test_case.test_lao_zhang.test_bpm.TestBPM object at 0x0000027377B5C6D0>\nfix_db = <apiAutoTest_v3.common.db.DB object at 0x0000027377B5C970>\nfix_req = <apiAutoTest_v3.request_method.request_method.RequestMethod object at 0x0000027377BA6730>\nurl = 'http://36.139.193.99:8088/auth', method = 'post'\nmime = 'application/json'\ncase_data = {'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQraz...aEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn', 'username': 'admin'}\nexpect_data = {'message': '账号或密码错误'}, sql_type = None, sql_data = None\nupdate_key = None\n\n> ???\nE AssertionError: assert '账号或密码错误' == '解密密码异常,请检查RSA公钥和私钥配置'\nE \nE - 解密密码异常,请检查RSA公钥和私钥配置\nE + 账号或密码错误\n\nD:\\Project\\PythonDoc\\test62\\test62\\apiAutoTest_v3\\test_case\\test_lao_zhang\\test_bpm.py:52: AssertionError\n\nDuring handling of the above exception, another exception occurred:\n\nself = <apiAutoTest_v3.test_case.test_lao_zhang.test_bpm.TestBPM object at 0x0000027377B5C6D0>\nfix_db = <apiAutoTest_v3.common.db.DB object at 0x0000027377B5C970>\nfix_req = <apiAutoTest_v3.request_method.request_method.RequestMethod object at 0x0000027377BA6730>\nurl = 'http://36.139.193.99:8088/auth', method = 'post'\nmime = 'application/json'\ncase_data = {'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQraz...aEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn', 'username': 'admin'}\nexpect_data = {'message': '账号或密码错误'}, sql_type = None, sql_data = None\nupdate_key = None\n\n> ???\nE AssertionError: 断言失败\n\nD:\\Project\\PythonDoc\\test62\\test62\\apiAutoTest_v3\\test_case\\test_lao_zhang\\test_bpm.py:55: AssertionError"}, "attachments": [{"name": "log", "source": "764a0c58-731c-4c08-a327-e05b118c103c-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "url", "value": "'http://36.139.193.99:8088/auth'"}, {"name": "method", "value": "'post'"}, {"name": "mime", "value": "'application/json'"}, {"name": "case_data", "value": "{'username': 'admin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn'}"}, {"name": "expect_data", "value": "{'message': '账号或密码错误'}"}, {"name": "sql_type", "value": "None"}, {"name": "sql_data", "value": "None"}, {"name": "update_key", "value": "None"}], "start": 1725508088873, "stop": 1725508088892, "uuid": "f4152573-eca0-4a7a-a057-09e0d4e5f169", "historyId": "360ea9bac0889e7a810c6d4d11ec15ee", "testCaseId": "0abeaba8f176b6785a0334bed7c1bdad", "fullName": "test_bpm.TestBPM#test_bpm", "labels": [{"name": "suite", "value": "test_bpm"}, {"name": "subSuite", "value": "TestBPM"}, {"name": "host", "value": "JIKE-TECHN0LOGY"}, {"name": "thread", "value": "22716-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_bpm"}]}
\ No newline at end of file
{"name": "test_bpm[http://36.139.193.99:8088/auth-POST-application/json-case_data5-expect_data5-None-None-None]", "status": "failed", "statusDetails": {"message": "AssertionError: 断言失败", "trace": "self = <apiAutoTest_v3.test_case.test_lao_zhang.test_bpm.TestBPM object at 0x0000027377B5C490>\nfix_db = <apiAutoTest_v3.common.db.DB object at 0x0000027377B5C970>\nfix_req = <apiAutoTest_v3.request_method.request_method.RequestMethod object at 0x0000027377BA6730>\nurl = 'http://36.139.193.99:8088/auth', method = 'POST'\nmime = 'application/json'\ncase_data = {'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ=', 'username': 'adminxyz'}\nexpect_data = {'message': '账号或密码错误'}, sql_type = None, sql_data = None\nupdate_key = None\n\n> ???\nE AssertionError: assert '账号或密码错误' == '账户错误或该租户未启用'\nE \nE - 账户错误或该租户未启用\nE + 账号或密码错误\n\nD:\\Project\\PythonDoc\\test62\\test62\\apiAutoTest_v3\\test_case\\test_lao_zhang\\test_bpm.py:52: AssertionError\n\nDuring handling of the above exception, another exception occurred:\n\nself = <apiAutoTest_v3.test_case.test_lao_zhang.test_bpm.TestBPM object at 0x0000027377B5C490>\nfix_db = <apiAutoTest_v3.common.db.DB object at 0x0000027377B5C970>\nfix_req = <apiAutoTest_v3.request_method.request_method.RequestMethod object at 0x0000027377BA6730>\nurl = 'http://36.139.193.99:8088/auth', method = 'POST'\nmime = 'application/json'\ncase_data = {'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ=', 'username': 'adminxyz'}\nexpect_data = {'message': '账号或密码错误'}, sql_type = None, sql_data = None\nupdate_key = None\n\n> ???\nE AssertionError: 断言失败\n\nD:\\Project\\PythonDoc\\test62\\test62\\apiAutoTest_v3\\test_case\\test_lao_zhang\\test_bpm.py:55: AssertionError"}, "attachments": [{"name": "log", "source": "1bc5c8b5-65a9-47e1-9331-0ed9f8c2e156-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "url", "value": "'http://36.139.193.99:8088/auth'"}, {"name": "method", "value": "'POST'"}, {"name": "mime", "value": "'application/json'"}, {"name": "case_data", "value": "{'username': 'adminxyz', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}"}, {"name": "expect_data", "value": "{'message': '账号或密码错误'}"}, {"name": "sql_type", "value": "None"}, {"name": "sql_data", "value": "None"}, {"name": "update_key", "value": "None"}], "start": 1725508088760, "stop": 1725508088789, "uuid": "3bdeca36-6e5b-442f-89fb-c975268a9ec2", "historyId": "e4cbd9d1b0732867dccc279c0d75dad6", "testCaseId": "0abeaba8f176b6785a0334bed7c1bdad", "fullName": "test_bpm.TestBPM#test_bpm", "labels": [{"name": "suite", "value": "test_bpm"}, {"name": "subSuite", "value": "TestBPM"}, {"name": "host", "value": "JIKE-TECHN0LOGY"}, {"name": "thread", "value": "22716-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_bpm"}]}
\ No newline at end of file
{"uuid": "e78fc5c1-7c0e-4537-89fb-db97d23270e5", "children": ["d597e75a-1203-4a9d-87ee-0f95477e8669", "45d8c772-74c3-40c3-9bb0-fc7b54503e0e", "e5e32c1a-9e7c-4ee9-897b-3b701628aae1", "45a0299e-1963-4a2d-8190-bcabd63e5a40", "08935bbc-7dba-479c-b0ff-13f0d099791e", "3bdeca36-6e5b-442f-89fb-c975268a9ec2", "dbba2296-0e17-4785-8aeb-11ceec32d91d", "612a8448-6bd8-4b72-876c-68aff6a3db3c", "f4152573-eca0-4a7a-a057-09e0d4e5f169", "d04cfa13-a223-487e-bee9-7fd9c55465d9", "a03ebbd3-54c8-49ff-965b-9a7ce9fff570", "514cc69a-aa1e-4d81-a9ba-2aa189b1c754"], "befores": [{"name": "fix_db", "status": "passed", "start": 1725508088280, "stop": 1725508088316}], "afters": [{"name": "fix_db::0", "status": "passed", "start": 1725508089043, "stop": 1725508089043}], "start": 1725508088280, "stop": 1725508089043}
\ No newline at end of file
{"uuid": "487dba5e-071e-48c0-824d-c3398db0f44b", "befores": [{"name": "method", "status": "passed", "start": 1725508089001, "stop": 1725508089001}], "start": 1725508089001, "stop": 1725508089041}
\ No newline at end of file
{"uuid": "64cf0a74-bf18-42c8-a3c2-04b59c1068a3", "befores": [{"name": "sql_type", "status": "passed", "start": 1725508088407, "stop": 1725508088407}], "start": 1725508088407, "stop": 1725508088585}
\ No newline at end of file
{"uuid": "1fc9bbea-dfdc-4d62-bda7-815ae7f05040", "befores": [{"name": "expect_data", "status": "passed", "start": 1725508089001, "stop": 1725508089001}], "start": 1725508089001, "stop": 1725508089040}
\ No newline at end of file
ERROR 张三:test_bpm.py:54 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': '#!$!@#!@#', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831539351088635904"}
\ No newline at end of file
{"uuid": "4d9f2af7-61e5-4365-aabc-47dadebd1356", "befores": [{"name": "url", "status": "passed", "start": 1725508088707, "stop": 1725508088707}], "start": 1725508088707, "stop": 1725508088755}
\ No newline at end of file
{"uuid": "2c00d33e-1d04-4ae4-ad7c-256fea5a92ca", "befores": [{"name": "mime", "status": "passed", "start": 1725508088872, "stop": 1725508088872}], "start": 1725508088872, "stop": 1725508088902}
\ No newline at end of file
{"uuid": "934b2aaa-4a1b-4517-90f5-6e0a52714032", "befores": [{"name": "mime", "status": "passed", "start": 1725508088358, "stop": 1725508088358}], "start": 1725508088358, "stop": 1725508088401}
\ No newline at end of file
{"uuid": "53cea6e1-0106-4cad-a762-d9e587247e58", "befores": [{"name": "update_key", "status": "passed", "start": 1725508088407, "stop": 1725508088407}], "start": 1725508088407, "stop": 1725508088584}
\ No newline at end of file
{"uuid": "a4573cb4-e5cb-40e1-b187-ec1b3792782d", "befores": [{"name": "case_data", "status": "passed", "start": 1725508088707, "stop": 1725508088707}], "start": 1725508088707, "stop": 1725508088754}
\ No newline at end of file
ERROR 张三:test_bpm.py:54 断言失败,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'adminxyz', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1831539351768113152"}
\ No newline at end of file
{"uuid": "96cb3706-94d5-40c3-841c-71176b6c7709", "befores": [{"name": "mime", "status": "passed", "start": 1725508089001, "stop": 1725508089001}], "start": 1725508089001, "stop": 1725508089041}
\ No newline at end of file
{"uuid": "f2723a1a-89ef-488f-9ed7-525224855060", "befores": [{"name": "expect_data", "status": "passed", "start": 1725508088407, "stop": 1725508088407}], "start": 1725508088407, "stop": 1725508088587}
\ No newline at end of file
{"uuid": "f4d961ed-fde0-490d-a7ef-eea5bcdb502c", "befores": [{"name": "expect_data", "status": "passed", "start": 1725508088707, "stop": 1725508088707}], "start": 1725508088707, "stop": 1725508088753}
\ No newline at end of file
{"uuid": "a111eb51-fd88-4111-94aa-0f4436dd5930", "befores": [{"name": "expect_data", "status": "passed", "start": 1725508088759, "stop": 1725508088759}], "start": 1725508088759, "stop": 1725508088795}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment