Commit 8b9bff10 by erwan

api接口自动化框架

parent 67e8ae5d

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: test_58
# FileName: __init__.py
# Author: xxxxxxx
# Datetime: 2024/1/4 9:31
# Description:
#
# ---------------------------------------------------------------------------
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: test_58
# FileName: __init__.py
# Author: xxxxxxx
# Datetime: 2024/1/4 9:33
# Description:
#
# ---------------------------------------------------------------------------
import functools
import os
from InterfaceAutoTest.common.log import log
# 日志文件的路径,需要先创建好日志文件
log_path = os.path.join(os.path.join(os.path.join(os.path.dirname(os.path.dirname(__file__)), "report"), "log"), "log_template.log")
# 获取loger
loger = log(log_path)
# 装饰器
def log_decorator(func):
@functools.wraps(func) # 解决被装饰函数和方法名重名的问题,它会将被装饰的函数或方法使用原来的名称
def inner(*args, **kwargs):
# 在执行func之前需要获取func的名称和功能,并写入到日志
loger.info("功能的名称为:"+str(func.__name__)+" 功能的描述为:"+str(func.__doc__))
try:
# 执行func
result = func(*args, **kwargs)
except Exception as e:
# 如果有错误,需要写入到日志
loger.error(str(e))
# 将错误,原路返回
raise e
else:
return result
return inner
\ No newline at end of file
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: test_58
# FileName: db.py
# Author: xxxxxxx
# Datetime: 2024/1/4 9:53
# Description:
#
# ---------------------------------------------------------------------------
import pymysql
from InterfaceAutoTest.common.read_ini import ReadIni
from InterfaceAutoTest.data_config.settings import *
class DB:
def __init__(self):
"""链接数据库,获取链接对象,并创建游标对象"""
# 创建ReadIni的对象,因为后面需要调用get_sql_connect_msg获取数据库的链接信息
read_ini = ReadIni()
try:
# 链接数据库, 获取链接对象
self.conn = pymysql.connect(
host=read_ini.get_sql_connect_msg(SQL_HOST),
port=int(read_ini.get_sql_connect_msg(SQL_PORT)),
user=read_ini.get_sql_connect_msg(SQL_USER),
password=read_ini.get_sql_connect_msg(SQL_PASSWORD),
database=read_ini.get_sql_connect_msg(SQL_DATABASE),
charset="utf8"
)
except:
raise ConnectionError("链接数据库出错,请查看配置文件是否配置正确")
else:
# 获取游标对象
self.cursor = self.conn.cursor()
def close(self):
"""关闭数据的链接"""
self.cursor.close()
self.conn.close()
def delete(self, sql_sentence):
"""执行删除的sql语句"""
try:
# 使用游标对象执行删除的sql语句
self.cursor.execute(sql_sentence)
except:
raise ValueError("请察看sql语句是否正确")
else:
# 使用链接对象提交
self.conn.commit()
def select(self, sql_sentence):
"""执行查询的sql语句,并返回查询的结果,如果没有查询结果返回None"""
try:
# 使用游标对象执行查询的sql语句
self.cursor.execute(sql_sentence)
except:
raise ValueError("请察看sql语句是否正确")
else:
# 接收查询的结果
select_result = self.cursor.fetchall()
# 判断查询的结果是否为空的元组,如果是返回None,如果不是返回查询的第一个值
if select_result:
return select_result[0][0]
\ No newline at end of file
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: test_58
# FileName: log.py
# Author: xxxxxxx
# Datetime: 2024/1/4 11:48
# Description:
#
# ---------------------------------------------------------------------------
import logging
def log(filename):
# 创建logger对象
loger = logging.getLogger()
# 创建文件的控制器
handler = logging.FileHandler(filename, mode="a", encoding="utf-8")
# 设置日志文件中内容的格式
formatter = logging.Formatter('%(levelname)s--%(asctime)s--%(message)s')
# 格式添加到文件的控制器中
handler.setFormatter(formatter)
# logger对象添加文件控制器
loger.addHandler(handler)
# 设置日志文件的级别
loger.level = logging.INFO
return loger
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: test_58
# FileName: read_excel.py
# Author: xxxxxxx
# Datetime: 2024/1/4 10:05
# Description:
#
# ---------------------------------------------------------------------------
import os
import openpyxl
from InterfaceAutoTest.common.read_ini import ReadIni
from InterfaceAutoTest.common.read_json import read_json
from InterfaceAutoTest.data_config.settings import *
class ReadExcel:
def __init__(self, excel_path, table_name, case_data_path, expect_data_path, sql_data_path):
"""
根据传入的文件路径,读取文件中的内容
:param excel_path: excel文件的路径
:param table_name: 工作表名称
:param case_data_path: 用例json文件的路径
:param expect_data_path: 期望json文件的路径
:param sql_data_path: sql语句json文件的路径
"""
# 读取json文件,使用read_json函数
self.case_data_dict = read_json(case_data_path)
self.expect_data_dict = read_json(expect_data_path)
self.sql_data_dict = read_json(sql_data_path)
try:
# 加载excel的工作簿
wb = openpyxl.load_workbook(excel_path)
# 再获取工作表
self.ws = wb[table_name]
except:
raise ValueError("传入的excel路径或者工作表的名称错误")
def __get_cell_value(self, column: str, row: int) -> str:
"""根据列号和行号,获取单元格数据"""
try:
# 工作表["列号行号"].value
cell_value = self.ws[column+str(row)].value
except:
raise ValueError("传入的列号或行号错误")
else:
# 判断单元格数据是否为None,如果是返回None
if cell_value is None:
return None
# 判断单元格数据去掉前后空格,是否为空字符串,如果是返回None,如果不是返回去掉空格的字符串
elif cell_value.strip():
return cell_value.strip()
def module_name(self, row):
"""根据行号,获取模块名称"""
return self.__get_cell_value(MODULE_NAME, row)
def api_name(self, row):
"""根据行号,获取接口名称"""
return self.__get_cell_value(API_NAME, row)
def case_req(self, row):
"""根据行号,获取请求方法"""
return self.__get_cell_value(REQUEST_METHOD, row)
def case_mime(self, row):
"""根据行号,获取用例的媒体类型"""
mime_value = self.__get_cell_value(MIME, row)
# 判断媒体类型的值是否为None,如果为None返回None,如果不为None,返回转小写的媒体类型的值
if mime_value:
return mime_value.lower()
def case_url(self, row):
"""根据行号,获取用例请求的url"""
# 获取用例请求的路径
path = self.__get_cell_value(PATH, row)
# 判断用例请求的路径的值是否为None,如果为None返回None,如果不为None,返回完整的url
if path:
return ReadIni().get_host("bpm") + path
def case_data(self, row):
"""根据行号,获取用例数据"""
# 获取用例数据的key
case_data_key = self.__get_cell_value(CASE_DATA, row)
# 判断用例数据的key是否不为None,如果是就提取用例数据,如果为None,返回None
if case_data_key:
# 获取模块名称
module_name = self.module_name(row)
# 获取接口名称
api_name = self.api_name(row)
# 返回用例数据
return self.case_data_dict[module_name][api_name][case_data_key]
def expect_data(self, row):
"""根据行号,获取用例数据"""
# 获取期望数据的key
expect_data_key = self.__get_cell_value(EXPECT_DATA, row)
# 判断期望数据的key是否不为None,如果是就提取期望数据,如果为None,返回None
if expect_data_key:
# 获取模块名称
module_name = self.module_name(row)
# 获取接口名称
api_name = self.api_name(row)
# 返回期望数据
return self.expect_data_dict[module_name][api_name][expect_data_key]
def sql_data(self, row):
"""根据行号,获取用例数据"""
# 获取sql语句的key
sql_data_key = self.__get_cell_value(SQL_DATA, row)
# 判断sql语句的key是否不为None,如果是就提取sql语句,如果为None,返回None
if sql_data_key:
# 获取模块名称
module_name = self.module_name(row)
# 获取接口名称
api_name = self.api_name(row)
# 返回sql语句
return self.sql_data_dict[module_name][api_name][sql_data_key]
def sql_type(self, row):
"""根据行号,获取sql语句的类型"""
# 获取sql语句的类型的值
sql_type_value = self.__get_cell_value(SQL_TYPE, row)
# 判断sql语句的类型的值不为None,如果不为None,将sql语句的类型的值转小写返回,如果为None,返回None
if sql_type_value:
return sql_type_value.lower()
def update_key(self, row):
"""根据行号,获取更新的key"""
return self.__get_cell_value(UPDATE_KEY, row)
def case_title(self, row):
"""根据行号,获取用例的标题"""
return self.__get_cell_value(TITLE, row)
def case_level(self, row):
"""根据行号,获取用例等级"""
return self.__get_cell_value(LEVEL, row)
def get_data(self):
"""将使用的数据存放到一个二维列表中"""
# 创建空列表
list_data = []
# 循环所有的行,并取出每行的数据,再规避空行
for row in range(2, self.ws.max_row+1):
# 模块名称
module_name = self.module_name(row)
# 接口名称
api_name = self.api_name(row)
# 用例标题
case_title = self.case_title(row)
# 用例等级
case_level = self.case_level(row)
# 请求方法
case_req = self.case_req(row)
# 请求url
case_url = self.case_url(row)
# 请求媒体类型
case_mime = self.case_mime(row)
# 请求用例数据
case_data = self.case_data(row)
# 期望数据
expect_data = self.expect_data(row)
# sql语句类型
sql_type = self.sql_type(row)
# sql语句
sql_data = self.sql_data(row)
# 更新的key
update_key = self.update_key(row)
# 将数据存放在列表中
row_list = [module_name, api_name, case_title, case_level, case_req, case_url, case_mime, case_data, expect_data, sql_type, sql_data, update_key]
# 规避空行===每行的空数据不能超过5个
if row_list.count(None) <= 5:
# 将存放每行数据的列表追加到前面创建的空列表中
list_data.append(row_list)
else:
return list_data
if __name__ == '__main__':
dir_path = os.path.join(os.path.join(os.path.dirname(os.path.dirname(__file__)), "data_config"), "template")
excel_path = os.path.join(dir_path, "APIAutoTest.xlsx")
case_data_path = os.path.join(dir_path, "case_data.json")
expect_data_path = os.path.join(dir_path, "expect_data.json")
sql_data_path = os.path.join(dir_path, "sql_data.json")
table_name = "BPM"
excel = ReadExcel(excel_path, table_name, case_data_path, expect_data_path, sql_data_path)
print(excel.get_data())
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: test_58
# FileName: read_ini.py
# Author: xxxxxxx
# Datetime: 2024/1/4 9:40
# Description:
#
# ---------------------------------------------------------------------------
import configparser
import os
from InterfaceAutoTest.data_config.settings import *
class ReadIni:
def __init__(self):
"""获取ini文件的路径,并创建Configparser对象,再读取ini文件"""
# 获取data_config的路径
self.data_config_path = os.path.join(os.path.dirname(os.path.dirname(__file__)), "data_config")
# 获取ini文件的路径
ini_path = os.path.join(self.data_config_path, "config.ini")
# 创建Configparser对象
self.conf = configparser.ConfigParser()
# 读取ini文件
self.conf.read(ini_path, encoding="utf-8")
def get_host(self, key):
"""根据key, 获取被测系统的域名"""
try:
# Configparser对象调用get方法获取节点下key对应的值
host = self.conf.get(HOST, key)
return host
except:
raise KeyError("传入的key错误~~")
# else:
# return host
def get_sql_connect_msg(self, key):
"""根据key 获取数据库的链接信息"""
try:
# Configparser对象调用get方法获取节点下key对应的值
msg = self.conf.get(SQL, key)
except:
raise KeyError("传入的key错误~~")
else:
return msg
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: test_58
# FileName: read_json.py
# Author: xxxxxxx
# Datetime: 2024/1/4 9:48
# Description:
#
# ---------------------------------------------------------------------------
import json
import os
def read_json(filename: str):
"""根据文件的路径,读取json文件,并将json文件的数据转成python对象并返回"""
# 判断传入的文件路径是否合法并且是.json结尾
if os.path.isfile(filename) and filename.endswith(".json"):
# 以读的模式打开文件
with open(filename, mode="r", encoding="utf-8") as f:
try:
# 读取文件中的内容,并将内容转成python对象
res_obj = json.loads(f.read())
except:
raise FileExistsError("将文件的内容转成python对象出错~~")
else:
return res_obj
else:
raise FileNotFoundError("传入的json文件错误")
;[file]
;# 数据配置层中文件的名称
;excel=APIAutoTest.xlsx
;case=case_data.json
;expect=expect_data.json
;sql=sql_data.json
;
;[table]
;# excel工作表的名称
;name=BPM
[host]
# 被测系统的域名
bpm=http://120.46.172.186:8080
[sql]
# 数据库链接信息
host=120.46.172.186
port=3306
user=root
pwd=root@2023
database=eipsaas
\ No newline at end of file
{
"认证接口":{
"登录系统":{
"LoginSuccess":{"username":"admin","password":"MTIzNDU2"},
"LoginErrorUsernameIsNone":{"username":"","password":"MTIzNDU2"},
"LoginErrorUsernameIsShort":{"username":"a","password":"MTIzNDU2"},
"LoginErrorUsernameIsLong":{"username":"adminadminadminadminadminadminadminadminadminadmin","password":"MTIzNDU2"},
"LoginErrorUsernameIsSpecial":{"username":"♠♣▣▤▥▦▩◘◙◈","password":"MTIzNDU2"},
"LoginErrorUsernameIsError":{"username":"Admin","password":"MTIzNDU2"},
"LoginErrorPasswordIsNone":{"username":"admin","password":""},
"LoginErrorPasswordIsLong":{"username":"admin","password":"MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2"},
"LoginErrorPasswordIsShort":{"username":"admin","password":"m"},
"LoginErrorPasswordIsSpecial":{"username":"admin","password":"♠♣▣▤▥▦▩◘◙◈"}
}
},
"维度管理": {
"添加维度": {
"AddDemSuccess": {
"code": "test58_dem_abc",
"description": "测试维度-58",
"isDefault": 0,
"name": "测试维度-58"
}
},
"根据维度编码删除维度": {
"DeleteDemSuccess": {"ids": "需要更新"}
}
},
"组织管理": {
"添加组织": {
"AddOrgSuccess": {
"code": "test_58_org",
"demId": "需要更新",
"exceedLimitNum": 0,
"grade": "",
"limitNum": 0,
"name": "测试组织-58",
"nowNum": 0,
"orderNo": 0,
"parentId": "0"
}
},
"用户加入组织": {
"OrgAddUserSuccess": {"orgCode": "test_58_org", "accounts": "admin,guest"}
},
"保存组织参数": {
"OrgSaveParamSuccess": {"query": {"orgCode": "test_58_org"}, "json": [{"alias": "sz", "value": "999"}]}
},
"删除组织": {
"DeleteOrgSuccess": "test_58_org"
}
}
}
{
"认证接口":{
"登录系统":{
"LoginSuccess":{"username":"超级管理员","account":"admin","loginStatus":true},
"LoginErrorUsernameIsNone":{"state":false,"message":"账号或密码错误"},
"LoginErrorUsernameIsShort":{"state":false,"message":"账号或密码错误"},
"LoginErrorUsernameIsLong":{"state":false,"message":"账号或密码错误"},
"LoginErrorUsernameIsSpecial":{"state":false,"message":"账号或密码错误"},
"LoginErrorUsernameIsError":{"state":false,"message":"账号或密码错误"},
"LoginErrorPasswordIsNone":{"state":false,"message":"账号或密码错误"},
"LoginErrorPasswordIsLong":{"state":false,"message":"账号或密码错误"},
"LoginErrorPasswordIsShort":{"state":false,"message":"账号或密码错误"},
"LoginErrorPasswordIsSpecial":{"state":false,"message":"账号或密码错误"}
},
"刷新token": {
"RefreshTokenSuccess": {"message": "刷新成功"}
}
},
"维度管理": {
"添加维度": {
"AddDemSuccess": {"message": "添加维度成功!"}
},
"根据维度编码删除维度": {
"DeleteDemSuccess": {"message": "删除维度成功!"}
}
},
"组织管理": {
"添加组织": {
"AddOrgSuccess": {"message": "添加组织成功"}
},
"用户加入组织": {
"OrgAddUserSuccess": {"state":true,"message":"加入成功"}
},
"保存组织参数": {
"OrgSaveParamSuccess": {"state":true,"message":"保存组织参数成功!"}
},
"删除组织": {
"DeleteOrgSuccess": {"state":true,"message":"删除组织成功!"}
}
}
}
{
"维度管理": {
"添加维度": {
"AddDemSuccess": " delete from uc_demension WHERE `CODE_`=\"test58_dem_abc\";"
},
"根据维度编码删除维度": {
"DeleteDemSuccess": "select ID_ from uc_demension WHERE `CODE_`=\"test58_dem_abc\";"
}
},
"组织管理": {
"添加组织": {
"AddOrgSuccess": {"delete": "delete from uc_org WHERE `CODE_`=\"test_58_org\";", "select": "select ID_ from uc_demension WHERE `CODE_`=\"test58_dem_abc\";"}
}
}
}
{
"认证接口":{
"登录系统":{
"LoginSuccess":{"username":"admin","password":"MTIzNDU2"},
"LoginErrorUsernameIsNone":{"username":"","password":"MTIzNDU2"},
"LoginErrorUsernameIsShort":{"username":"a","password":"MTIzNDU2"},
"LoginErrorUsernameIsLong":{"username":"adminadminadminadminadminadminadminadminadminadmin","password":"MTIzNDU2"},
"LoginErrorUsernameIsSpecial":{"username":"♠♣▣▤▥▦▩◘◙◈","password":"MTIzNDU2"},
"LoginErrorUsernameIsError":{"username":"Admin","password":"MTIzNDU2"},
"LoginErrorPasswordIsNone":{"username":"admin","password":""},
"LoginErrorPasswordIsLong":{"username":"admin","password":"MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2"},
"LoginErrorPasswordIsShort":{"username":"admin","password":"m"},
"LoginErrorPasswordIsSpecial":{"username":"admin","password":"♠♣▣▤▥▦▩◘◙◈"}
}
},
"维度管理": {
"添加维度": {
"AddDemSuccess": {
"code": "test58_dem_abc",
"description": "测试维度-58",
"isDefault": 0,
"name": "测试维度-58"
}
},
"根据维度编码删除维度": {
"DeleteDemSuccess": {"ids": "需要更新"}
}
},
"组织管理": {
"添加组织": {
"AddOrgSuccess": {
"code": "test_58_org",
"demId": "需要更新",
"exceedLimitNum": 0,
"grade": "",
"limitNum": 0,
"name": "测试组织-58",
"nowNum": 0,
"orderNo": 0,
"parentId": "0"
}
},
"用户加入组织": {
"OrgAddUserSuccess": {"orgCode": "test_58_org", "accounts": "admin,guest"}
},
"保存组织参数": {
"OrgSaveParamSuccess": {"query": {"orgCode": "test_58_org"}, "json": [{"alias": "sz", "value": "999"}]}
},
"删除组织": {
"DeleteOrgSuccess": "test_58_org"
}
}
}
{
"认证接口":{
"登录系统":{
"LoginSuccess":{"username":"超级管理员","account":"admin","loginStatus":true},
"LoginErrorUsernameIsNone":{"state":false,"message":"账号或密码错误"},
"LoginErrorUsernameIsShort":{"state":false,"message":"账号或密码错误"},
"LoginErrorUsernameIsLong":{"state":false,"message":"账号或密码错误"},
"LoginErrorUsernameIsSpecial":{"state":false,"message":"账号或密码错误"},
"LoginErrorUsernameIsError":{"state":false,"message":"账号或密码错误"},
"LoginErrorPasswordIsNone":{"state":false,"message":"账号或密码错误"},
"LoginErrorPasswordIsLong":{"state":false,"message":"账号或密码错误"},
"LoginErrorPasswordIsShort":{"state":false,"message":"账号或密码错误"},
"LoginErrorPasswordIsSpecial":{"state":false,"message":"账号或密码错误"}
},
"刷新token": {
"RefreshTokenSuccess": {"message": "刷新成功"}
}
},
"维度管理": {
"添加维度": {
"AddDemSuccess": {"message": "添加维度成功!"}
},
"根据维度编码删除维度": {
"DeleteDemSuccess": {"message": "删除维度成功!"}
}
},
"组织管理": {
"添加组织": {
"AddOrgSuccess": {"message": "添加组织成功"}
},
"用户加入组织": {
"OrgAddUserSuccess": {"state":true,"message":"加入成功"}
},
"保存组织参数": {
"OrgSaveParamSuccess": {"state":true,"message":"保存组织参数成功!"}
},
"删除组织": {
"DeleteOrgSuccess": {"state":true,"message":"删除组织成功!"}
}
}
}
{
"维度管理": {
"添加维度": {
"AddDemSuccess": " delete from uc_demension WHERE `CODE_`=\"test58_dem_abc\";"
},
"根据维度编码删除维度": {
"DeleteDemSuccess": "select ID_ from uc_demension WHERE `CODE_`=\"test58_dem_abc\";"
}
},
"组织管理": {
"添加组织": {
"AddOrgSuccess": {"delete": "delete from uc_org WHERE `CODE_`=\"test_58_org\";", "select": "select ID_ from uc_demension WHERE `CODE_`=\"test58_dem_abc\";"}
}
}
}
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: test_58
# FileName: settings.py
# Author: xxxxxxx
# Datetime: 2024/1/3 17:06
# Description:
#
# ---------------------------------------------------------------------------
# ======================================================================
"""配置列号"""
MODULE_NAME = "B" # 模块名称
API_NAME = "c" # 接口名称
TITLE = "d"
LEVEL = "E"
REQUEST_METHOD = "F"
PATH = "G"
MIME = "H"
CASE_DATA = "I"
EXPECT_DATA = "J"
SQL_TYPE = "K"
SQL_DATA = "L"
UPDATE_KEY = "M"
# ======================================================================
"""ini文件中的节点"""
FILE = "file"
TABLE = "table"
HOST = "host"
SQL = "sql"
# ======================================================================
"""配置sql节点下的key"""
SQL_HOST = "host"
SQL_PORT = "port"
SQL_USER = "user"
SQL_PASSWORD = "pwd"
SQL_DATABASE = "database"
\ No newline at end of file
{
"认证接口":{
"登录系统":{
"LoginSuccess":{"username":"admin","password":"MTIzNDU2"},
"LoginErrorUsernameIsNone":{"username":"","password":"MTIzNDU2"},
"LoginErrorUsernameIsShort":{"username":"a","password":"MTIzNDU2"},
"LoginErrorUsernameIsLong":{"username":"adminadminadminadminadminadminadminadminadminadmin","password":"MTIzNDU2"},
"LoginErrorUsernameIsSpecial":{"username":"♠♣▣▤▥▦▩◘◙◈","password":"MTIzNDU2"},
"LoginErrorUsernameIsError":{"username":"Admin","password":"MTIzNDU2"},
"LoginErrorPasswordIsNone":{"username":"admin","password":""},
"LoginErrorPasswordIsLong":{"username":"admin","password":"MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2"},
"LoginErrorPasswordIsShort":{"username":"admin","password":"m"},
"LoginErrorPasswordIsSpecial":{"username":"admin","password":"♠♣▣▤▥▦▩◘◙◈"}
}
},
"维度管理": {
"添加维度": {
"AddDemSuccess": {
"code": "test58_dem_abc",
"description": "测试维度-58",
"isDefault": 0,
"name": "测试维度-58"
}
},
"根据维度编码删除维度": {
"DeleteDemSuccess": {"ids": "需要更新"}
}
},
"组织管理": {
"添加组织": {
"AddOrgSuccess": {
"code": "test_58_org",
"demId": "需要更新",
"exceedLimitNum": 0,
"grade": "",
"limitNum": 0,
"name": "测试组织-58",
"nowNum": 0,
"orderNo": 0,
"parentId": "0"
}
},
"用户加入组织": {
"OrgAddUserSuccess": {"orgCode": "test_58_org", "accounts": "admin,guest"}
},
"保存组织参数": {
"OrgSaveParamSuccess": {"query": {"orgCode": "test_58_org"}, "json": [{"alias": "sz", "value": "999"}]}
},
"删除组织": {
"DeleteOrgSuccess": "test_58_org"
}
},
"用户管理": {
"添加用户": {
"AddUserSuccess": {"id":"","account":"laowang","address":"","email":"","fullname":"laowang","mobile":"","password":"123456","photo":"","sex":"","status":1}
}
}
}
{
"认证接口":{
"登录系统":{
"LoginSuccess":{"username":"超级管理员","account":"admin","loginStatus":true},
"LoginErrorUsernameIsNone":{"state":false,"message":"账号或密码错误"},
"LoginErrorUsernameIsShort":{"state":false,"message":"账号或密码错误"},
"LoginErrorUsernameIsLong":{"state":false,"message":"账号或密码错误"},
"LoginErrorUsernameIsSpecial":{"state":false,"message":"账号或密码错误"},
"LoginErrorUsernameIsError":{"state":false,"message":"账号或密码错误"},
"LoginErrorPasswordIsNone":{"state":false,"message":"账号或密码错误"},
"LoginErrorPasswordIsLong":{"state":false,"message":"账号或密码错误"},
"LoginErrorPasswordIsShort":{"state":false,"message":"账号或密码错误"},
"LoginErrorPasswordIsSpecial":{"state":false,"message":"账号或密码错误"}
},
"刷新token": {
"RefreshTokenSuccess": {"message": "刷新成功"}
}
},
"维度管理": {
"添加维度": {
"AddDemSuccess": {"message": "添加维度成功!"}
},
"根据维度编码删除维度": {
"DeleteDemSuccess": {"message": "删除维度成功!"}
}
},
"组织管理": {
"添加组织": {
"AddOrgSuccess": {"message": "添加组织成功"}
},
"用户加入组织": {
"OrgAddUserSuccess": {"state":true,"message":"加入成功"}
},
"保存组织参数": {
"OrgSaveParamSuccess": {"state":true,"message":"保存组织参数成功!"}
},
"删除组织": {
"DeleteOrgSuccess": {"state":true,"message":"删除组织成功!"}
}
},
"用户管理": {
"添加用户": {
"AddUserSuccess": {"state":true,"message":"用户添加成功!"}
}
}
}
{
"维度管理": {
"添加维度": {
"AddDemSuccess": " delete from uc_demension WHERE `CODE_`=\"test58_dem_abc\";"
},
"根据维度编码删除维度": {
"DeleteDemSuccess": "select ID_ from uc_demension WHERE `CODE_`=\"test58_dem_abc\";"
}
},
"组织管理": {
"添加组织": {
"AddOrgSuccess": {"delete": "delete from uc_org WHERE `CODE_`=\"test_58_org\";", "select": "select ID_ from uc_demension WHERE `CODE_`=\"test58_dem_abc\";"}
}
},
"用户管理": {
"添加用户": {
"AddUserSuccess": "delete from uc_user WHERE `ACCOUNT_`=\"laowang\";"
}
}
}
This source diff could not be displayed because it is too large. You can view the blob instead.
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_template.py:64 断言失败:用例为:{'username': 'Admin', 'password': 'MTIzNDU2'}期望数据为:{'state': False, 'message': '账号或密码错误'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTcsImlhdCI6MTcwNDM1NTM1N30.hnmhDlF6Wb2RgZXXLER5oBe6w_8BYR9IUwJBnhC7bzfS1GDffHfAUI9z9wseeoVN0iZvJeOifbd0UnyU9AbFDg","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_template.py:64 断言失败:用例为:{'username': 'Admin', 'password': 'MTIzNDU2'}期望数据为:{'state': False, 'message': '账号或密码错误'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTcsImlhdCI6MTcwNDM1NTM1N30.hnmhDlF6Wb2RgZXXLER5oBe6w_8BYR9IUwJBnhC7bzfS1GDffHfAUI9z9wseeoVN0iZvJeOifbd0UnyU9AbFDg","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_template.py:64 断言失败:用例为:{'username': 'Admin', 'password': 'MTIzNDU2'}期望数据为:{'state': False, 'message': '账号或密码错误'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTcsImlhdCI6MTcwNDM1NTM1N30.hnmhDlF6Wb2RgZXXLER5oBe6w_8BYR9IUwJBnhC7bzfS1GDffHfAUI9z9wseeoVN0iZvJeOifbd0UnyU9AbFDg","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_template.py:64 断言失败:用例为:{'username': 'Admin', 'password': 'MTIzNDU2'}期望数据为:{'state': False, 'message': '账号或密码错误'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTcsImlhdCI6MTcwNDM1NTM1N30.hnmhDlF6Wb2RgZXXLER5oBe6w_8BYR9IUwJBnhC7bzfS1GDffHfAUI9z9wseeoVN0iZvJeOifbd0UnyU9AbFDg","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_template.py:64 断言失败:用例为:{'username': 'Admin', 'password': 'MTIzNDU2'}期望数据为:{'state': False, 'message': '账号或密码错误'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTcsImlhdCI6MTcwNDM1NTM1N30.hnmhDlF6Wb2RgZXXLER5oBe6w_8BYR9IUwJBnhC7bzfS1GDffHfAUI9z9wseeoVN0iZvJeOifbd0UnyU9AbFDg","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}}
ERROR  root:__init__.py:32 断言失败
\ No newline at end of file
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_wang.py:64 断言失败:用例为:{'code': 'test_58_org', 'demId': '1742818777076088832', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试组织-58', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}期望数据为:{'message': '添加组织成功'}服务器返回数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_wang.py:64 断言失败:用例为:{'code': 'test_58_org', 'demId': '1742818777076088832', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试组织-58', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}期望数据为:{'message': '添加组织成功'}服务器返回数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:__init__.py:32 断言失败
\ No newline at end of file
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_wang.py:64 断言失败:用例为:{'username': 'Admin', 'password': 'MTIzNDU2'}期望数据为:{'state': False, 'message': '账号或密码错误'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NDksImlhdCI6MTcwNDM1NTM0OX0.vlqKtTRw2aGvOdsjztfJ24jCyiEcUA7XQ_C-1Mf3uiiSdp1I2z3q5Hy1y-giyCPcvYTseBXOhqQhNvzVM3lxiQ","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_wang.py:64 断言失败:用例为:{'username': 'Admin', 'password': 'MTIzNDU2'}期望数据为:{'state': False, 'message': '账号或密码错误'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NDksImlhdCI6MTcwNDM1NTM0OX0.vlqKtTRw2aGvOdsjztfJ24jCyiEcUA7XQ_C-1Mf3uiiSdp1I2z3q5Hy1y-giyCPcvYTseBXOhqQhNvzVM3lxiQ","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_wang.py:64 断言失败:用例为:{'username': 'Admin', 'password': 'MTIzNDU2'}期望数据为:{'state': False, 'message': '账号或密码错误'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NDksImlhdCI6MTcwNDM1NTM0OX0.vlqKtTRw2aGvOdsjztfJ24jCyiEcUA7XQ_C-1Mf3uiiSdp1I2z3q5Hy1y-giyCPcvYTseBXOhqQhNvzVM3lxiQ","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}}
ERROR  root:__init__.py:32 断言失败
\ No newline at end of file
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
\ No newline at end of file
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
\ No newline at end of file
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_zhang.py:64 断言失败:用例为:{'username': 'Admin', 'password': 'MTIzNDU2'}期望数据为:{'state': False, 'message': '账号或密码错误'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTMsImlhdCI6MTcwNDM1NTM1M30.iIqaIOC216iH_yvZSAPlt1gw_EQ4v_y9KyH8b1ptKn4i44OHQ5oDvteaHEjrLkfvKfqf3CrYotXQkRoryaguZA","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}}
ERROR  root:__init__.py:32 断言失败
\ No newline at end of file
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_wang.py:64 断言失败:用例为:{'code': 'test_58_org', 'demId': '1742818777076088832', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试组织-58', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}期望数据为:{'message': '添加组织成功'}服务器返回数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_wang.py:64 断言失败:用例为:{'code': 'test_58_org', 'demId': '1742818777076088832', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试组织-58', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}期望数据为:{'message': '添加组织成功'}服务器返回数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_wang.py:64 断言失败:用例为:{'code': 'test_58_org', 'demId': '1742818777076088832', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试组织-58', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}期望数据为:{'message': '添加组织成功'}服务器返回数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_wang.py:64 断言失败:用例为:{'code': 'test_58_org', 'demId': '1742818777076088832', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试组织-58', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}期望数据为:{'message': '添加组织成功'}服务器返回数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:__init__.py:32 断言失败
\ No newline at end of file
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_template.py:64 断言失败:用例为:{'username': 'Admin', 'password': 'MTIzNDU2'}期望数据为:{'state': False, 'message': '账号或密码错误'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTcsImlhdCI6MTcwNDM1NTM1N30.hnmhDlF6Wb2RgZXXLER5oBe6w_8BYR9IUwJBnhC7bzfS1GDffHfAUI9z9wseeoVN0iZvJeOifbd0UnyU9AbFDg","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_template.py:64 断言失败:用例为:{'username': 'Admin', 'password': 'MTIzNDU2'}期望数据为:{'state': False, 'message': '账号或密码错误'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTcsImlhdCI6MTcwNDM1NTM1N30.hnmhDlF6Wb2RgZXXLER5oBe6w_8BYR9IUwJBnhC7bzfS1GDffHfAUI9z9wseeoVN0iZvJeOifbd0UnyU9AbFDg","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_template.py:64 断言失败:用例为:{'username': 'Admin', 'password': 'MTIzNDU2'}期望数据为:{'state': False, 'message': '账号或密码错误'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTcsImlhdCI6MTcwNDM1NTM1N30.hnmhDlF6Wb2RgZXXLER5oBe6w_8BYR9IUwJBnhC7bzfS1GDffHfAUI9z9wseeoVN0iZvJeOifbd0UnyU9AbFDg","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_template.py:64 断言失败:用例为:{'username': 'Admin', 'password': 'MTIzNDU2'}期望数据为:{'state': False, 'message': '账号或密码错误'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTcsImlhdCI6MTcwNDM1NTM1N30.hnmhDlF6Wb2RgZXXLER5oBe6w_8BYR9IUwJBnhC7bzfS1GDffHfAUI9z9wseeoVN0iZvJeOifbd0UnyU9AbFDg","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_template.py:64 断言失败:用例为:{'username': 'Admin', 'password': 'MTIzNDU2'}期望数据为:{'state': False, 'message': '账号或密码错误'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTcsImlhdCI6MTcwNDM1NTM1N30.hnmhDlF6Wb2RgZXXLER5oBe6w_8BYR9IUwJBnhC7bzfS1GDffHfAUI9z9wseeoVN0iZvJeOifbd0UnyU9AbFDg","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_template.py:64 断言失败:用例为:{'username': 'Admin', 'password': 'MTIzNDU2'}期望数据为:{'state': False, 'message': '账号或密码错误'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTcsImlhdCI6MTcwNDM1NTM1N30.hnmhDlF6Wb2RgZXXLER5oBe6w_8BYR9IUwJBnhC7bzfS1GDffHfAUI9z9wseeoVN0iZvJeOifbd0UnyU9AbFDg","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}}
ERROR  root:__init__.py:32 断言失败
\ No newline at end of file
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_template.py:64 断言失败:用例为:{'code': 'test_58_org', 'demId': '1742818809330286592', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试组织-58', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}期望数据为:{'message': '添加组织成功'}服务器返回数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_template.py:64 断言失败:用例为:{'code': 'test_58_org', 'demId': '1742818809330286592', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试组织-58', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}期望数据为:{'message': '添加组织成功'}服务器返回数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_template.py:64 断言失败:用例为:{'code': 'test_58_org', 'demId': '1742818809330286592', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试组织-58', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}期望数据为:{'message': '添加组织成功'}服务器返回数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_template.py:64 断言失败:用例为:{'code': 'test_58_org', 'demId': '1742818809330286592', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试组织-58', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}期望数据为:{'message': '添加组织成功'}服务器返回数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_template.py:64 断言失败:用例为:{'code': 'test_58_org', 'demId': '1742818809330286592', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试组织-58', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}期望数据为:{'message': '添加组织成功'}服务器返回数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_template.py:64 断言失败:用例为:{'code': 'test_58_org', 'demId': '1742818809330286592', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试组织-58', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}期望数据为:{'message': '添加组织成功'}服务器返回数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:__init__.py:32 断言失败
\ No newline at end of file
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_template.py:64 断言失败:用例为:{'username': 'Admin', 'password': 'MTIzNDU2'}期望数据为:{'state': False, 'message': '账号或密码错误'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTcsImlhdCI6MTcwNDM1NTM1N30.hnmhDlF6Wb2RgZXXLER5oBe6w_8BYR9IUwJBnhC7bzfS1GDffHfAUI9z9wseeoVN0iZvJeOifbd0UnyU9AbFDg","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}}
ERROR  root:__init__.py:32 断言失败
\ No newline at end of file
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_zhang.py:64 断言失败:用例为:{'username': 'Admin', 'password': 'MTIzNDU2'}期望数据为:{'state': False, 'message': '账号或密码错误'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTMsImlhdCI6MTcwNDM1NTM1M30.iIqaIOC216iH_yvZSAPlt1gw_EQ4v_y9KyH8b1ptKn4i44OHQ5oDvteaHEjrLkfvKfqf3CrYotXQkRoryaguZA","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_zhang.py:64 断言失败:用例为:{'username': 'Admin', 'password': 'MTIzNDU2'}期望数据为:{'state': False, 'message': '账号或密码错误'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTMsImlhdCI6MTcwNDM1NTM1M30.iIqaIOC216iH_yvZSAPlt1gw_EQ4v_y9KyH8b1ptKn4i44OHQ5oDvteaHEjrLkfvKfqf3CrYotXQkRoryaguZA","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}}
ERROR  root:__init__.py:32 断言失败
\ No newline at end of file
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
\ No newline at end of file
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
\ No newline at end of file
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
\ No newline at end of file
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
\ No newline at end of file
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
\ No newline at end of file
{'Authorization': 'Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NDgsImlhdCI6MTcwNDM1NTM0OH0.74lkX0v1gQKKnKXvut_3xcu6vl2HMiFHwyCFDWvJHr7rFSBPn6m-wEq7DDyy0pZWsEhy0X60v25Wkl0xRgBIfw'}
{'Authorization': 'Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NDgsImlhdCI6MTcwNDM1NTM0OH0.74lkX0v1gQKKnKXvut_3xcu6vl2HMiFHwyCFDWvJHr7rFSBPn6m-wEq7DDyy0pZWsEhy0X60v25Wkl0xRgBIfw'}
{'Authorization': 'Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NDgsImlhdCI6MTcwNDM1NTM0OH0.74lkX0v1gQKKnKXvut_3xcu6vl2HMiFHwyCFDWvJHr7rFSBPn6m-wEq7DDyy0pZWsEhy0X60v25Wkl0xRgBIfw'}
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_template.py:64 断言失败:用例为:None期望数据为:{'message': '刷新成功'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTgsImlhdCI6MTcwNDM1NTM1OH0.1n2ND0ui5e6b_0qFAxJ56TuUEEiYZBjG5W1SZ_O73wxHEOVOjaA3sOgTgUsg7F9SgM9J5a7-XiJIDI0dFYjDbw","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
ERROR  root:__init__.py:32 断言失败
\ No newline at end of file
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_wang.py:64 断言失败:用例为:{'code': 'test_58_org', 'demId': '1742818777076088832', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试组织-58', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}期望数据为:{'message': '添加组织成功'}服务器返回数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_wang.py:64 断言失败:用例为:{'code': 'test_58_org', 'demId': '1742818777076088832', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试组织-58', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}期望数据为:{'message': '添加组织成功'}服务器返回数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_wang.py:64 断言失败:用例为:{'code': 'test_58_org', 'demId': '1742818777076088832', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试组织-58', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}期望数据为:{'message': '添加组织成功'}服务器返回数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_wang.py:64 断言失败:用例为:{'code': 'test_58_org', 'demId': '1742818777076088832', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试组织-58', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}期望数据为:{'message': '添加组织成功'}服务器返回数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_wang.py:64 断言失败:用例为:{'code': 'test_58_org', 'demId': '1742818777076088832', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试组织-58', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}期望数据为:{'message': '添加组织成功'}服务器返回数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_wang.py:64 断言失败:用例为:{'code': 'test_58_org', 'demId': '1742818777076088832', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试组织-58', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}期望数据为:{'message': '添加组织成功'}服务器返回数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:__init__.py:32 断言失败
\ No newline at end of file
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_zhang.py:64 断言失败:用例为:{'username': 'Admin', 'password': 'MTIzNDU2'}期望数据为:{'state': False, 'message': '账号或密码错误'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTMsImlhdCI6MTcwNDM1NTM1M30.iIqaIOC216iH_yvZSAPlt1gw_EQ4v_y9KyH8b1ptKn4i44OHQ5oDvteaHEjrLkfvKfqf3CrYotXQkRoryaguZA","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_zhang.py:64 断言失败:用例为:{'username': 'Admin', 'password': 'MTIzNDU2'}期望数据为:{'state': False, 'message': '账号或密码错误'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTMsImlhdCI6MTcwNDM1NTM1M30.iIqaIOC216iH_yvZSAPlt1gw_EQ4v_y9KyH8b1ptKn4i44OHQ5oDvteaHEjrLkfvKfqf3CrYotXQkRoryaguZA","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_zhang.py:64 断言失败:用例为:{'username': 'Admin', 'password': 'MTIzNDU2'}期望数据为:{'state': False, 'message': '账号或密码错误'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTMsImlhdCI6MTcwNDM1NTM1M30.iIqaIOC216iH_yvZSAPlt1gw_EQ4v_y9KyH8b1ptKn4i44OHQ5oDvteaHEjrLkfvKfqf3CrYotXQkRoryaguZA","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_zhang.py:64 断言失败:用例为:{'username': 'Admin', 'password': 'MTIzNDU2'}期望数据为:{'state': False, 'message': '账号或密码错误'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTMsImlhdCI6MTcwNDM1NTM1M30.iIqaIOC216iH_yvZSAPlt1gw_EQ4v_y9KyH8b1ptKn4i44OHQ5oDvteaHEjrLkfvKfqf3CrYotXQkRoryaguZA","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}}
ERROR  root:__init__.py:32 断言失败
\ No newline at end of file
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
\ No newline at end of file
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_wang.py:64 断言失败:用例为:{'username': 'Admin', 'password': 'MTIzNDU2'}期望数据为:{'state': False, 'message': '账号或密码错误'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NDksImlhdCI6MTcwNDM1NTM0OX0.vlqKtTRw2aGvOdsjztfJ24jCyiEcUA7XQ_C-1Mf3uiiSdp1I2z3q5Hy1y-giyCPcvYTseBXOhqQhNvzVM3lxiQ","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_wang.py:64 断言失败:用例为:{'username': 'Admin', 'password': 'MTIzNDU2'}期望数据为:{'state': False, 'message': '账号或密码错误'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NDksImlhdCI6MTcwNDM1NTM0OX0.vlqKtTRw2aGvOdsjztfJ24jCyiEcUA7XQ_C-1Mf3uiiSdp1I2z3q5Hy1y-giyCPcvYTseBXOhqQhNvzVM3lxiQ","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}}
ERROR  root:__init__.py:32 断言失败
\ No newline at end of file
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
\ No newline at end of file
{'Authorization': 'Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NDgsImlhdCI6MTcwNDM1NTM0OH0.74lkX0v1gQKKnKXvut_3xcu6vl2HMiFHwyCFDWvJHr7rFSBPn6m-wEq7DDyy0pZWsEhy0X60v25Wkl0xRgBIfw'}
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_wang.py:64 断言失败:用例为:{'username': 'Admin', 'password': 'MTIzNDU2'}期望数据为:{'state': False, 'message': '账号或密码错误'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NDksImlhdCI6MTcwNDM1NTM0OX0.vlqKtTRw2aGvOdsjztfJ24jCyiEcUA7XQ_C-1Mf3uiiSdp1I2z3q5Hy1y-giyCPcvYTseBXOhqQhNvzVM3lxiQ","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_wang.py:64 断言失败:用例为:{'username': 'Admin', 'password': 'MTIzNDU2'}期望数据为:{'state': False, 'message': '账号或密码错误'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NDksImlhdCI6MTcwNDM1NTM0OX0.vlqKtTRw2aGvOdsjztfJ24jCyiEcUA7XQ_C-1Mf3uiiSdp1I2z3q5Hy1y-giyCPcvYTseBXOhqQhNvzVM3lxiQ","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_wang.py:64 断言失败:用例为:{'username': 'Admin', 'password': 'MTIzNDU2'}期望数据为:{'state': False, 'message': '账号或密码错误'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NDksImlhdCI6MTcwNDM1NTM0OX0.vlqKtTRw2aGvOdsjztfJ24jCyiEcUA7XQ_C-1Mf3uiiSdp1I2z3q5Hy1y-giyCPcvYTseBXOhqQhNvzVM3lxiQ","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_wang.py:64 断言失败:用例为:{'username': 'Admin', 'password': 'MTIzNDU2'}期望数据为:{'state': False, 'message': '账号或密码错误'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NDksImlhdCI6MTcwNDM1NTM0OX0.vlqKtTRw2aGvOdsjztfJ24jCyiEcUA7XQ_C-1Mf3uiiSdp1I2z3q5Hy1y-giyCPcvYTseBXOhqQhNvzVM3lxiQ","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}}
ERROR  root:__init__.py:32 断言失败
\ No newline at end of file
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
\ No newline at end of file
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
\ No newline at end of file
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_template.py:64 断言失败:用例为:None期望数据为:{'message': '刷新成功'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTgsImlhdCI6MTcwNDM1NTM1OH0.1n2ND0ui5e6b_0qFAxJ56TuUEEiYZBjG5W1SZ_O73wxHEOVOjaA3sOgTgUsg7F9SgM9J5a7-XiJIDI0dFYjDbw","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_template.py:64 断言失败:用例为:None期望数据为:{'message': '刷新成功'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTgsImlhdCI6MTcwNDM1NTM1OH0.1n2ND0ui5e6b_0qFAxJ56TuUEEiYZBjG5W1SZ_O73wxHEOVOjaA3sOgTgUsg7F9SgM9J5a7-XiJIDI0dFYjDbw","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
ERROR  root:__init__.py:32 断言失败
\ No newline at end of file
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_wang.py:64 断言失败:用例为:{'username': 'Admin', 'password': 'MTIzNDU2'}期望数据为:{'state': False, 'message': '账号或密码错误'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NDksImlhdCI6MTcwNDM1NTM0OX0.vlqKtTRw2aGvOdsjztfJ24jCyiEcUA7XQ_C-1Mf3uiiSdp1I2z3q5Hy1y-giyCPcvYTseBXOhqQhNvzVM3lxiQ","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_wang.py:64 断言失败:用例为:{'username': 'Admin', 'password': 'MTIzNDU2'}期望数据为:{'state': False, 'message': '账号或密码错误'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NDksImlhdCI6MTcwNDM1NTM0OX0.vlqKtTRw2aGvOdsjztfJ24jCyiEcUA7XQ_C-1Mf3uiiSdp1I2z3q5Hy1y-giyCPcvYTseBXOhqQhNvzVM3lxiQ","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_wang.py:64 断言失败:用例为:{'username': 'Admin', 'password': 'MTIzNDU2'}期望数据为:{'state': False, 'message': '账号或密码错误'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NDksImlhdCI6MTcwNDM1NTM0OX0.vlqKtTRw2aGvOdsjztfJ24jCyiEcUA7XQ_C-1Mf3uiiSdp1I2z3q5Hy1y-giyCPcvYTseBXOhqQhNvzVM3lxiQ","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_wang.py:64 断言失败:用例为:{'username': 'Admin', 'password': 'MTIzNDU2'}期望数据为:{'state': False, 'message': '账号或密码错误'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NDksImlhdCI6MTcwNDM1NTM0OX0.vlqKtTRw2aGvOdsjztfJ24jCyiEcUA7XQ_C-1Mf3uiiSdp1I2z3q5Hy1y-giyCPcvYTseBXOhqQhNvzVM3lxiQ","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_wang.py:64 断言失败:用例为:{'username': 'Admin', 'password': 'MTIzNDU2'}期望数据为:{'state': False, 'message': '账号或密码错误'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTAsImlhdCI6MTcwNDM1NTM1MH0.wiKNjyupL47nr54Pz2U_uxkbyyVtmXw6uheqhmfYUrEQ2kwEIlJysPWBR7KrXQ1QNrnNIaqaQGupj9tVloXBiw","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}}
ERROR  root:__init__.py:32 断言失败
\ No newline at end of file
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_wang.py:64 断言失败:用例为:None期望数据为:{'message': '刷新成功'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTAsImlhdCI6MTcwNDM1NTM1MH0.wiKNjyupL47nr54Pz2U_uxkbyyVtmXw6uheqhmfYUrEQ2kwEIlJysPWBR7KrXQ1QNrnNIaqaQGupj9tVloXBiw","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_wang.py:64 断言失败:用例为:None期望数据为:{'message': '刷新成功'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTAsImlhdCI6MTcwNDM1NTM1MH0.wiKNjyupL47nr54Pz2U_uxkbyyVtmXw6uheqhmfYUrEQ2kwEIlJysPWBR7KrXQ1QNrnNIaqaQGupj9tVloXBiw","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_wang.py:64 断言失败:用例为:None期望数据为:{'message': '刷新成功'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTAsImlhdCI6MTcwNDM1NTM1MH0.wiKNjyupL47nr54Pz2U_uxkbyyVtmXw6uheqhmfYUrEQ2kwEIlJysPWBR7KrXQ1QNrnNIaqaQGupj9tVloXBiw","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
ERROR  root:__init__.py:32 断言失败
\ No newline at end of file
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
\ No newline at end of file
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_wang.py:64 断言失败:用例为:{'username': 'Admin', 'password': 'MTIzNDU2'}期望数据为:{'state': False, 'message': '账号或密码错误'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NDksImlhdCI6MTcwNDM1NTM0OX0.vlqKtTRw2aGvOdsjztfJ24jCyiEcUA7XQ_C-1Mf3uiiSdp1I2z3q5Hy1y-giyCPcvYTseBXOhqQhNvzVM3lxiQ","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}}
ERROR  root:__init__.py:32 断言失败
\ No newline at end of file
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_zhang.py:64 断言失败:用例为:None期望数据为:{'message': '刷新成功'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTQsImlhdCI6MTcwNDM1NTM1NH0.yQMAfCBLqwRx9bWlsKzQ070eZTlPgR2QrdnDcgQsZb8MP9QLEREYv8r7ZXLolk2KlPHJTD50Nsix6jrW2EFq6w","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_zhang.py:64 断言失败:用例为:None期望数据为:{'message': '刷新成功'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTQsImlhdCI6MTcwNDM1NTM1NH0.yQMAfCBLqwRx9bWlsKzQ070eZTlPgR2QrdnDcgQsZb8MP9QLEREYv8r7ZXLolk2KlPHJTD50Nsix6jrW2EFq6w","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_zhang.py:64 断言失败:用例为:None期望数据为:{'message': '刷新成功'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTQsImlhdCI6MTcwNDM1NTM1NH0.yQMAfCBLqwRx9bWlsKzQ070eZTlPgR2QrdnDcgQsZb8MP9QLEREYv8r7ZXLolk2KlPHJTD50Nsix6jrW2EFq6w","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_zhang.py:64 断言失败:用例为:None期望数据为:{'message': '刷新成功'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTQsImlhdCI6MTcwNDM1NTM1NH0.yQMAfCBLqwRx9bWlsKzQ070eZTlPgR2QrdnDcgQsZb8MP9QLEREYv8r7ZXLolk2KlPHJTD50Nsix6jrW2EFq6w","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_zhang.py:64 断言失败:用例为:None期望数据为:{'message': '刷新成功'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTQsImlhdCI6MTcwNDM1NTM1NH0.yQMAfCBLqwRx9bWlsKzQ070eZTlPgR2QrdnDcgQsZb8MP9QLEREYv8r7ZXLolk2KlPHJTD50Nsix6jrW2EFq6w","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_zhang.py:64 断言失败:用例为:None期望数据为:{'message': '刷新成功'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTQsImlhdCI6MTcwNDM1NTM1NH0.yQMAfCBLqwRx9bWlsKzQ070eZTlPgR2QrdnDcgQsZb8MP9QLEREYv8r7ZXLolk2KlPHJTD50Nsix6jrW2EFq6w","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
ERROR  root:__init__.py:32 断言失败
\ No newline at end of file
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_wang.py:64 断言失败:用例为:None期望数据为:{'message': '刷新成功'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTAsImlhdCI6MTcwNDM1NTM1MH0.wiKNjyupL47nr54Pz2U_uxkbyyVtmXw6uheqhmfYUrEQ2kwEIlJysPWBR7KrXQ1QNrnNIaqaQGupj9tVloXBiw","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_wang.py:64 断言失败:用例为:None期望数据为:{'message': '刷新成功'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTAsImlhdCI6MTcwNDM1NTM1MH0.wiKNjyupL47nr54Pz2U_uxkbyyVtmXw6uheqhmfYUrEQ2kwEIlJysPWBR7KrXQ1QNrnNIaqaQGupj9tVloXBiw","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_wang.py:64 断言失败:用例为:None期望数据为:{'message': '刷新成功'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTAsImlhdCI6MTcwNDM1NTM1MH0.wiKNjyupL47nr54Pz2U_uxkbyyVtmXw6uheqhmfYUrEQ2kwEIlJysPWBR7KrXQ1QNrnNIaqaQGupj9tVloXBiw","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_wang.py:64 断言失败:用例为:None期望数据为:{'message': '刷新成功'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTAsImlhdCI6MTcwNDM1NTM1MH0.wiKNjyupL47nr54Pz2U_uxkbyyVtmXw6uheqhmfYUrEQ2kwEIlJysPWBR7KrXQ1QNrnNIaqaQGupj9tVloXBiw","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_wang.py:64 断言失败:用例为:None期望数据为:{'message': '刷新成功'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTAsImlhdCI6MTcwNDM1NTM1MH0.wiKNjyupL47nr54Pz2U_uxkbyyVtmXw6uheqhmfYUrEQ2kwEIlJysPWBR7KrXQ1QNrnNIaqaQGupj9tVloXBiw","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_wang.py:64 断言失败:用例为:None期望数据为:{'message': '刷新成功'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTAsImlhdCI6MTcwNDM1NTM1MH0.wiKNjyupL47nr54Pz2U_uxkbyyVtmXw6uheqhmfYUrEQ2kwEIlJysPWBR7KrXQ1QNrnNIaqaQGupj9tVloXBiw","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
ERROR  root:__init__.py:32 断言失败
\ No newline at end of file
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
\ No newline at end of file
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
\ No newline at end of file
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
\ No newline at end of file
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_template.py:64 断言失败:用例为:None期望数据为:{'message': '刷新成功'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTgsImlhdCI6MTcwNDM1NTM1OH0.1n2ND0ui5e6b_0qFAxJ56TuUEEiYZBjG5W1SZ_O73wxHEOVOjaA3sOgTgUsg7F9SgM9J5a7-XiJIDI0dFYjDbw","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_template.py:64 断言失败:用例为:None期望数据为:{'message': '刷新成功'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTgsImlhdCI6MTcwNDM1NTM1OH0.1n2ND0ui5e6b_0qFAxJ56TuUEEiYZBjG5W1SZ_O73wxHEOVOjaA3sOgTgUsg7F9SgM9J5a7-XiJIDI0dFYjDbw","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_template.py:64 断言失败:用例为:None期望数据为:{'message': '刷新成功'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTgsImlhdCI6MTcwNDM1NTM1OH0.1n2ND0ui5e6b_0qFAxJ56TuUEEiYZBjG5W1SZ_O73wxHEOVOjaA3sOgTgUsg7F9SgM9J5a7-XiJIDI0dFYjDbw","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_template.py:64 断言失败:用例为:None期望数据为:{'message': '刷新成功'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTgsImlhdCI6MTcwNDM1NTM1OH0.1n2ND0ui5e6b_0qFAxJ56TuUEEiYZBjG5W1SZ_O73wxHEOVOjaA3sOgTgUsg7F9SgM9J5a7-XiJIDI0dFYjDbw","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_template.py:64 断言失败:用例为:None期望数据为:{'message': '刷新成功'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTgsImlhdCI6MTcwNDM1NTM1OH0.1n2ND0ui5e6b_0qFAxJ56TuUEEiYZBjG5W1SZ_O73wxHEOVOjaA3sOgTgUsg7F9SgM9J5a7-XiJIDI0dFYjDbw","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
ERROR  root:__init__.py:32 断言失败
\ No newline at end of file
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_wang.py:64 断言失败:用例为:{'code': 'test_58_org', 'demId': '1742818777076088832', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试组织-58', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}期望数据为:{'message': '添加组织成功'}服务器返回数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:__init__.py:32 断言失败
\ No newline at end of file
{'Authorization': 'Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NDgsImlhdCI6MTcwNDM1NTM0OH0.74lkX0v1gQKKnKXvut_3xcu6vl2HMiFHwyCFDWvJHr7rFSBPn6m-wEq7DDyy0pZWsEhy0X60v25Wkl0xRgBIfw'}
{'Authorization': 'Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NDgsImlhdCI6MTcwNDM1NTM0OH0.74lkX0v1gQKKnKXvut_3xcu6vl2HMiFHwyCFDWvJHr7rFSBPn6m-wEq7DDyy0pZWsEhy0X60v25Wkl0xRgBIfw'}
{'Authorization': 'Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NDgsImlhdCI6MTcwNDM1NTM0OH0.74lkX0v1gQKKnKXvut_3xcu6vl2HMiFHwyCFDWvJHr7rFSBPn6m-wEq7DDyy0pZWsEhy0X60v25Wkl0xRgBIfw'}
{'Authorization': 'Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NDgsImlhdCI6MTcwNDM1NTM0OH0.74lkX0v1gQKKnKXvut_3xcu6vl2HMiFHwyCFDWvJHr7rFSBPn6m-wEq7DDyy0pZWsEhy0X60v25Wkl0xRgBIfw'}
{'Authorization': 'Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NDgsImlhdCI6MTcwNDM1NTM0OH0.74lkX0v1gQKKnKXvut_3xcu6vl2HMiFHwyCFDWvJHr7rFSBPn6m-wEq7DDyy0pZWsEhy0X60v25Wkl0xRgBIfw'}
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_zhang.py:64 断言失败:用例为:{'code': 'test_58_org', 'demId': '1742818793148661760', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试组织-58', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}期望数据为:{'message': '添加组织成功'}服务器返回数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:__init__.py:32 断言失败
\ No newline at end of file
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
\ No newline at end of file
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
\ No newline at end of file
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_template.py:64 断言失败:用例为:{'code': 'test_58_org', 'demId': '1742818809330286592', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试组织-58', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}期望数据为:{'message': '添加组织成功'}服务器返回数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_template.py:64 断言失败:用例为:{'code': 'test_58_org', 'demId': '1742818809330286592', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试组织-58', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}期望数据为:{'message': '添加组织成功'}服务器返回数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_template.py:64 断言失败:用例为:{'code': 'test_58_org', 'demId': '1742818809330286592', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试组织-58', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}期望数据为:{'message': '添加组织成功'}服务器返回数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_template.py:64 断言失败:用例为:{'code': 'test_58_org', 'demId': '1742818809330286592', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试组织-58', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}期望数据为:{'message': '添加组织成功'}服务器返回数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_template.py:64 断言失败:用例为:{'code': 'test_58_org', 'demId': '1742818809330286592', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试组织-58', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}期望数据为:{'message': '添加组织成功'}服务器返回数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:__init__.py:32 断言失败
\ No newline at end of file
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
\ No newline at end of file
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_wang.py:64 断言失败:用例为:None期望数据为:{'message': '刷新成功'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTAsImlhdCI6MTcwNDM1NTM1MH0.wiKNjyupL47nr54Pz2U_uxkbyyVtmXw6uheqhmfYUrEQ2kwEIlJysPWBR7KrXQ1QNrnNIaqaQGupj9tVloXBiw","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_wang.py:64 断言失败:用例为:None期望数据为:{'message': '刷新成功'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTAsImlhdCI6MTcwNDM1NTM1MH0.wiKNjyupL47nr54Pz2U_uxkbyyVtmXw6uheqhmfYUrEQ2kwEIlJysPWBR7KrXQ1QNrnNIaqaQGupj9tVloXBiw","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_wang.py:64 断言失败:用例为:None期望数据为:{'message': '刷新成功'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTAsImlhdCI6MTcwNDM1NTM1MH0.wiKNjyupL47nr54Pz2U_uxkbyyVtmXw6uheqhmfYUrEQ2kwEIlJysPWBR7KrXQ1QNrnNIaqaQGupj9tVloXBiw","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_wang.py:64 断言失败:用例为:None期望数据为:{'message': '刷新成功'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTAsImlhdCI6MTcwNDM1NTM1MH0.wiKNjyupL47nr54Pz2U_uxkbyyVtmXw6uheqhmfYUrEQ2kwEIlJysPWBR7KrXQ1QNrnNIaqaQGupj9tVloXBiw","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_wang.py:64 断言失败:用例为:None期望数据为:{'message': '刷新成功'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTAsImlhdCI6MTcwNDM1NTM1MH0.wiKNjyupL47nr54Pz2U_uxkbyyVtmXw6uheqhmfYUrEQ2kwEIlJysPWBR7KrXQ1QNrnNIaqaQGupj9tVloXBiw","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
ERROR  root:__init__.py:32 断言失败
\ No newline at end of file
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_zhang.py:64 断言失败:用例为:None期望数据为:{'message': '刷新成功'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTQsImlhdCI6MTcwNDM1NTM1NH0.yQMAfCBLqwRx9bWlsKzQ070eZTlPgR2QrdnDcgQsZb8MP9QLEREYv8r7ZXLolk2KlPHJTD50Nsix6jrW2EFq6w","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_zhang.py:64 断言失败:用例为:None期望数据为:{'message': '刷新成功'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTQsImlhdCI6MTcwNDM1NTM1NH0.yQMAfCBLqwRx9bWlsKzQ070eZTlPgR2QrdnDcgQsZb8MP9QLEREYv8r7ZXLolk2KlPHJTD50Nsix6jrW2EFq6w","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_zhang.py:64 断言失败:用例为:None期望数据为:{'message': '刷新成功'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTQsImlhdCI6MTcwNDM1NTM1NH0.yQMAfCBLqwRx9bWlsKzQ070eZTlPgR2QrdnDcgQsZb8MP9QLEREYv8r7ZXLolk2KlPHJTD50Nsix6jrW2EFq6w","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
ERROR  root:__init__.py:32 断言失败
\ No newline at end of file
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
\ No newline at end of file
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_template.py:64 断言失败:用例为:None期望数据为:{'message': '刷新成功'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTgsImlhdCI6MTcwNDM1NTM1OH0.1n2ND0ui5e6b_0qFAxJ56TuUEEiYZBjG5W1SZ_O73wxHEOVOjaA3sOgTgUsg7F9SgM9J5a7-XiJIDI0dFYjDbw","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_template.py:64 断言失败:用例为:None期望数据为:{'message': '刷新成功'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTgsImlhdCI6MTcwNDM1NTM1OH0.1n2ND0ui5e6b_0qFAxJ56TuUEEiYZBjG5W1SZ_O73wxHEOVOjaA3sOgTgUsg7F9SgM9J5a7-XiJIDI0dFYjDbw","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_template.py:64 断言失败:用例为:None期望数据为:{'message': '刷新成功'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTgsImlhdCI6MTcwNDM1NTM1OH0.1n2ND0ui5e6b_0qFAxJ56TuUEEiYZBjG5W1SZ_O73wxHEOVOjaA3sOgTgUsg7F9SgM9J5a7-XiJIDI0dFYjDbw","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
ERROR  root:__init__.py:32 断言失败
\ No newline at end of file
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
\ No newline at end of file
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
\ No newline at end of file
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_wang.py:64 断言失败:用例为:None期望数据为:{'message': '刷新成功'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTAsImlhdCI6MTcwNDM1NTM1MH0.wiKNjyupL47nr54Pz2U_uxkbyyVtmXw6uheqhmfYUrEQ2kwEIlJysPWBR7KrXQ1QNrnNIaqaQGupj9tVloXBiw","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_wang.py:64 断言失败:用例为:None期望数据为:{'message': '刷新成功'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTAsImlhdCI6MTcwNDM1NTM1MH0.wiKNjyupL47nr54Pz2U_uxkbyyVtmXw6uheqhmfYUrEQ2kwEIlJysPWBR7KrXQ1QNrnNIaqaQGupj9tVloXBiw","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
ERROR  root:__init__.py:32 断言失败
\ No newline at end of file
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
\ No newline at end of file
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_wang.py:64 断言失败:用例为:{'code': 'test_58_org', 'demId': '1742818777076088832', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试组织-58', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}期望数据为:{'message': '添加组织成功'}服务器返回数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_wang.py:64 断言失败:用例为:{'code': 'test_58_org', 'demId': '1742818777076088832', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试组织-58', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}期望数据为:{'message': '添加组织成功'}服务器返回数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_wang.py:64 断言失败:用例为:{'code': 'test_58_org', 'demId': '1742818777076088832', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试组织-58', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}期望数据为:{'message': '添加组织成功'}服务器返回数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_wang.py:64 断言失败:用例为:{'code': 'test_58_org', 'demId': '1742818777076088832', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试组织-58', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}期望数据为:{'message': '添加组织成功'}服务器返回数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_wang.py:64 断言失败:用例为:{'code': 'test_58_org', 'demId': '1742818777076088832', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试组织-58', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}期望数据为:{'message': '添加组织成功'}服务器返回数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:__init__.py:32 断言失败
\ No newline at end of file
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_zhang.py:64 断言失败:用例为:{'username': 'Admin', 'password': 'MTIzNDU2'}期望数据为:{'state': False, 'message': '账号或密码错误'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTMsImlhdCI6MTcwNDM1NTM1M30.iIqaIOC216iH_yvZSAPlt1gw_EQ4v_y9KyH8b1ptKn4i44OHQ5oDvteaHEjrLkfvKfqf3CrYotXQkRoryaguZA","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_zhang.py:64 断言失败:用例为:{'username': 'Admin', 'password': 'MTIzNDU2'}期望数据为:{'state': False, 'message': '账号或密码错误'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTMsImlhdCI6MTcwNDM1NTM1M30.iIqaIOC216iH_yvZSAPlt1gw_EQ4v_y9KyH8b1ptKn4i44OHQ5oDvteaHEjrLkfvKfqf3CrYotXQkRoryaguZA","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_zhang.py:64 断言失败:用例为:{'username': 'Admin', 'password': 'MTIzNDU2'}期望数据为:{'state': False, 'message': '账号或密码错误'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTMsImlhdCI6MTcwNDM1NTM1M30.iIqaIOC216iH_yvZSAPlt1gw_EQ4v_y9KyH8b1ptKn4i44OHQ5oDvteaHEjrLkfvKfqf3CrYotXQkRoryaguZA","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_zhang.py:64 断言失败:用例为:{'username': 'Admin', 'password': 'MTIzNDU2'}期望数据为:{'state': False, 'message': '账号或密码错误'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTMsImlhdCI6MTcwNDM1NTM1M30.iIqaIOC216iH_yvZSAPlt1gw_EQ4v_y9KyH8b1ptKn4i44OHQ5oDvteaHEjrLkfvKfqf3CrYotXQkRoryaguZA","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}}
ERROR  root:__init__.py:32 断言失败
INFO  root:__init__.py:26 功能的名称为:test_method_template 功能的描述为:None
ERROR  root:test_mr_zhang.py:64 断言失败:用例为:{'username': 'Admin', 'password': 'MTIzNDU2'}期望数据为:{'state': False, 'message': '账号或密码错误'}服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MDQ0NDE3NTMsImlhdCI6MTcwNDM1NTM1M30.iIqaIOC216iH_yvZSAPlt1gw_EQ4v_y9KyH8b1ptKn4i44OHQ5oDvteaHEjrLkfvKfqf3CrYotXQkRoryaguZA","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}}
ERROR  root:__init__.py:32 断言失败
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
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