Commit 2e26d35c by zhiming

修改后添加

parent 105252a7
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: test60
# FileName: __init__.py
# Author: lao_zhao
# Datetime: 2024/5/20 15:40
# Description:
#
# ---------------------------------------------------------------------------
import functools
import logging
import os
import time
log_dir_path = os.path.join(os.path.join(os.path.dirname(__file__), "report"), "log")
if not os.path.exists(log_dir_path):
# makedirs(c:\c\d\a) os.mkdir
os.makedirs(log_dir_path)
log_file_name = os.path.join(log_dir_path, time.strftime("%Y_%m_%d_%H_%M_%S") + ".log")
def log():
# 创建logger对象
logger = logging.getLogger()
# 设置日志的级别
logger.level = logging.ERROR
# 设置日志文件
handler = logging.FileHandler(log_file_name, mode="a", encoding="utf-8")
# 设置日志的格式
formatter = logging.Formatter('%(asctime)s - %(levelname)s: %(message)s')
# 将格式添加到handler中
handler.setFormatter(formatter)
# 将handler添加到logger对象中
logger.addHandler(handler)
return logger
log = log()
def log_decorator(func_name):
@functools.wraps(func_name)
def inner(*args, **kwargs):
try:
# 写入info级别的日志
"""
__init__(): 构造方法,初始化对象
__new__(): 为对象分配内存空间
__del__(): 析构方法,回收对象
__enter__()/__exit__(): 实现上下文管理器
__mro__: 查看继承顺序
__file__: 获取文件的路径
__name__: 获取功能/类/方法/模块的名称
__iter__(): 创建迭代器
__next__(): 迭代器和生成器取值
__code__: 获取功能的code属性
func.__code__.co_filename: 获取func所在的py文件名称
func.__code__.co_firstlineno: 获取func所在的py文件中行号
__doc__:获取功能的描述
"""
log.info(f"执行的功能为:{func_name.__name__}, 功能的描述为:{func_name.__doc__}, 所在的文件为:"
f"{func_name.__code__.co_filename}, 所在行为:{func_name.__code__.co_firstlineno}")
# 执行功能
return func_name(*args, **kwargs)
except Exception as e:
# 如果发生错误,写入一个错误的日志
log.error(f"执行的功能为:{func_name.__name__}, 功能的描述为:{func_name.__doc__}, 所在的文件为:"
f"{func_name.__code__.co_filename}, 所在行为:{func_name.__code__.co_firstlineno}, 错误为:{e}")
raise e
return inner
# 报告输出
"""
pytest-html----> pip install pytest-html
生成报告的命名:
pytest 用例层目录名称 -vv --html=存放报告的路径/报告名称.html --self-contained-html
-vv: 终端执行显示详细结果
--html: 存放报告的路径/报告名称.html
--self-contained-html: 报告生成单独的html文件
"""
# allure
"""
allure-pytest --- > pip install allure-pytest
第一步:生成测试结果的json文件:pytest 用例模块/包 --alluredir=存放json文件的路径 --clean-alluredir
第二步:
生成一个服务:allure serve 第一步存放json文件的路径
生成静态报告:allure generate 第一步存放json文件的路径 -o 存放报告的路径
打开allure的静态报告:allure open 存放报告的路径
"""
"""
失败重跑插件:pytest-rerunfailures ---> pip install pytest-rerunfailures
"""
\ No newline at end of file
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: test60
# FileName: db.py
# Author: lao_zhao
# Datetime: 2024/5/20 14:08
# Description:
#
# ---------------------------------------------------------------------------
import pymysql
from InterfaceAutoTest import log_decorator
from InterfaceAutoTest.common.read_ini import ReadIni
from InterfaceAutoTest.data_config.settings import *
class DB:
@log_decorator
def __init__(self):
"""链接数据库,获取链接对象和游标对象"""
ini = ReadIni()
try:
self.conn = pymysql.connect(
host=ini.get_db_connect_message(HOST_KEY),
port=int(ini.get_db_connect_message(PORT_KEY)),
user=ini.get_db_connect_message(USERNAME_KEY),
password=ini.get_db_connect_message(PASSWORD_KEY),
database=ini.get_db_connect_message(DATABASE_KEY),
charset="utf8"
)
self.cursor = self.conn.cursor()
except Exception as e:
raise e
@log_decorator
def close(self):
"""关闭吧数据库链接"""
self.cursor.close()
self.conn.close()
@log_decorator
def delete_func(self, sql):
"""执行删除的sql语句"""
try:
self.cursor.execute(sql)
self.conn.commit()
except Exception as e:
raise e
@log_decorator
def select_func(self, sql):
"""执行查询的sql语句,并返回查询结果"""
try:
self.cursor.execute(sql)
except Exception as e:
raise e
else:
result_select = self.cursor.fetchall()
if result_select:
return result_select[0][0]
if __name__ == '__main__':
db = DB()
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: test60
# FileName: read_excel.py
# Author: lao_zhao
# Datetime: 2024/5/20 14:15
# Description:
#
# ---------------------------------------------------------------------------
import openpyxl
from InterfaceAutoTest import log_decorator
from InterfaceAutoTest.common.read_ini import ReadIni
from InterfaceAutoTest.common.read_json import read_json
from InterfaceAutoTest.data_config.settings import *
class ReadExcel:
@log_decorator
def __init__(self, username="demo", table_name="BPM"):
"""获取所有json文件的路径,再读取json文件,再获取excel的路径和工作表名称,加载工作簿,获取工作表"""
self.ini = ReadIni()
case_data_path = self.ini.get_file_path(CASE_KEY, username)
expect_data_path = self.ini.get_file_path(EXPECT_KEY, username)
sql_data_path = self.ini.get_file_path(SQL_KEY, username)
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)
excel_path = self.ini.get_file_path(EXCEL_KEY, username)
# table_name = self.ini.get_table_name("table_name")
try:
wb = openpyxl.load_workbook(excel_path)
self.ws = wb[table_name]
except Exception as e:
raise e
@log_decorator
def __get_cell_value(self, column: str, row: int) -> str:
"""获取指定单元格数据"""
try:
value = self.ws[column+str(row)].value
except Exception as e:
raise e
else:
if value is None:
return None
elif value.strip():
return value.strip()
@log_decorator
def module_name(self, row):
"""获取模块名称"""
return self.__get_cell_value(MODULE, row)
@log_decorator
def api_name(self, row):
"""获取接口名称"""
return self.__get_cell_value(API, row)
@log_decorator
def case_req_method(self, row):
"""获取请求方法"""
return self.__get_cell_value(METHOD, row)
@log_decorator
def case_req_url(self, row):
"""获取请求url"""
value = self.__get_cell_value(URL, row)
if value:
return self.ini.get_host(BPM_KEY) + value
@log_decorator
def case_req_mime(self, row):
"""获取请求的媒体类型"""
value = self.__get_cell_value(MIME, row)
if value:
return value.lower()
@log_decorator
def case_data(self, row):
"""获取用例数据"""
case_data_key = self.__get_cell_value(CASE, row)
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]
@log_decorator
def expect_data(self, row):
"""获取用例数据"""
expect_data_key = self.__get_cell_value(EXPECT, row)
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]
@log_decorator
def sql_data(self, row):
"""获取用例数据"""
sql_data_key = self.__get_cell_value(SQL, row)
if sql_data_key:
module_name = self.module_name(row)
api_name = self.api_name(row)
return self.sql_data_dict[module_name][api_name][sql_data_key]
@log_decorator
def sql_type(self, row):
"""获取sql语句类型"""
value = self.__get_cell_value(SQL_TYPE, row)
if value:
return value.lower()
@log_decorator
def update_key(self, row):
"""获取更新的key"""
return self.__get_cell_value(UPDATE_KEY, row)
@log_decorator
def case_title(self, row):
"""根据行号,获取用例的标题"""
return self.__get_cell_value(TITLE, row)
@log_decorator
def case_level(self, row):
"""根据行,获取用例等级"""
return self.__get_cell_value(LEVEL, row)
@log_decorator
def get_data(self):
"""获取excel中的数据存放在二维列表中"""
list_data = []
for row in range(2, self.ws.max_row+1):
method = self.case_req_method(row)
url = self.case_req_url(row)
mime = self.case_req_mime(row)
case_data = self.case_data(row)
expect_data = self.expect_data(row)
sql_data = self.sql_data(row)
sql_type = self.sql_type(row)
update_key = self.update_key(row)
# 用例模块,接口,标题,等级
module_name = self.module_name(row)
api_name = self.api_name(row)
case_title = self.case_title(row)
case_level = self.case_level(row)
if method and url:
list_data.append([module_name, api_name, case_title, case_level, method, url, mime, case_data, expect_data, sql_data, sql_type, update_key])
else:
return list_data
if __name__ == '__main__':
excel = ReadExcel()
print(excel.get_data())
\ No newline at end of file
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: test60
# FileName: read_ini.py
# Author: lao_zhao
# Datetime: 2024/5/20 14:02
# Description:
#
# ---------------------------------------------------------------------------
import configparser
import os
from InterfaceAutoTest import log_decorator
from InterfaceAutoTest.data_config.settings import *
class ReadIni:
@log_decorator
def __init__(self):
"""获取ini文件的路径,再使用Configparser对象读取ini文件"""
self.data_config_path = os.path.join(os.path.dirname(os.path.dirname(__file__)), 'data_config')
ini_path = os.path.join(self.data_config_path, 'config.ini')
self.conf = configparser.ConfigParser()
self.conf.read(ini_path, encoding="utf-8")
@log_decorator
def get_file_path(self, key, username="demo"):
"""根据key获取file节点下文件的路径"""
try:
value = self.conf.get(FILE, key)
except Exception as e:
raise e
else:
username_dir = os.path.join(self.data_config_path, username)
return os.path.join(username_dir, value)
@log_decorator
def get_table_name(self, key):
"""根据key获取工作表名称"""
try:
value = self.conf.get(WORKSHEET, key)
except Exception as e:
raise e
else:
return value
@log_decorator
def get_host(self, key):
"""根据key获取域名"""
try:
value = self.conf.get(HOST, key)
except Exception as e:
raise e
else:
return value
@log_decorator
def get_db_connect_message(self, key):
"""根据key获取数据库的链接信息"""
try:
value = self.conf.get(DB, key)
except Exception as e:
raise e
else:
return value
if __name__ == '__main__':
ini = ReadIni()
print(ini.get_host("bpm"))
\ No newline at end of file
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: test60
# FileName: read_json.py
# Author: lao_zhao
# Datetime: 2024/5/20 14:13
# Description:
#
# ---------------------------------------------------------------------------
import json
import os.path
from InterfaceAutoTest import log_decorator
@log_decorator
def read_json(filename):
"""读取json文件,将json文件的内容序列化为python对象"""
if os.path.isfile(filename) and filename.endswith(".json"):
try:
with open(filename, mode="r", encoding="utf-8") as f:
return json.load(f)
except Exception as e:
raise e
else:
raise FileNotFoundError("json文件的路径错误")
\ No newline at end of file
# 配置数据配置层中文件的名称
[file1]
# 配置用例管理文件的名称
excel=APIAutoTest.xlsx
# 配置用例数据文件的名称
case=case_data.json
# 配置期望数据的文件
expect=expect_data.json
# sql语句的文件
sql=sql_data.json
[worksheet]
table_name=BPM
[host]
# 配置测试系统的域名
bpm=http://120.46.172.186:8080
[db]
# 配置测试系统的数据库的链接项
host=120.46.172.186
port=3306
username=root
password=root@2023
database=eipsaas
\ No newline at end of file
{
"认证接口":{
"登录系统":{
"LoginSuccess": {"username":"admin","password":"MTIzNDU2"},
"LoginErrorPasswordIsNone": {"username":"admin","password":""},
"LoginErrorPasswordIsLong":{"username":"admin","password":"MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2"},
"LoginErrorPasswordIsShort":{"username":"admin","password":"m"},
"LoginErrorPasswordIsSpecial":{"username":"admin","password":"☯㍿卍卐"},
"LoginErrorUsernameIsNone":{"username":"","password":"MTIzNDU2"},
"LoginErrorUsernameIsLong":{"username":"adminadminadminadmin","password":"MTIzNDU2"},
"LoginErrorUsernameIsShort":{"username":"a","password":"MTIzNDU2"},
"LoginErrorUsernameIsSpecial":{"username":"☯㍿卍卐","password":"MTIzNDU2"},
"LoginErrorUsernameIsErr":{"username":"admin123","password":"MTIzNDU2"}
}
},
"维度管理": {
"添加维度": {
"AddDemSuccess": {
"code": "api_auto_test_add_dem",
"description": "api_auto_test_add_dem",
"isDefault": 0,
"name": "api_auto_test_add_dem"
}
},
"根据维度编码删除维度": {
"DeleteDemSuccess": {"ids": "需要更新"}
}
},
"组织管理": {
"添加组织": {
"AddOrgSuccess": {
"code": "test_add_org",
"demId": "需要更新",
"exceedLimitNum": 0,
"grade": "",
"limitNum": 0,
"name": "测试添加的组织",
"nowNum": 0,
"orderNo": 0,
"parentId": "0"
}
},
"组织加入用户": {
"UserAddOrgSuccess": {"orgCode": "test_add_org", "accounts": "admin"}
},
"保存组织参数": {
"SaveParamSuccess": {
"query": {"orgCode": "test_add_org"},
"body": [{"alias":"sz","value":100},{"alias":"kc","value":"语文课"}]
}
},
"删除组织": {
"DeleteOrgSuccess": "test_add_org"
}
}
}
\ No newline at end of file
{
"认证接口":{
"登录系统":{
"LoginSuccess": {"username":"超级管理员","loginStatus":true, "account":"admin"},
"LoginErrorPasswordIsNone": {"message":"账号或密码错误"},
"LoginErrorPasswordIsLong":{"message":"账号或密码错误"},
"LoginErrorPasswordIsShort":{"message":"账号或密码错误"},
"LoginErrorPasswordIsSpecial":{"message":"账号或密码错误"},
"LoginErrorUsernameIsNone":{"message":"账号或密码错误"},
"LoginErrorUsernameIsLong":{"message":"账号或密码错误"},
"LoginErrorUsernameIsShort":{"message":"账号或密码错误"},
"LoginErrorUsernameIsSpecial":{"message":"账号或密码错误"},
"LoginErrorUsernameIsErr":{"message":"账号或密码错误"}
},
"刷新token": {
"RefreshTokenSuccess": {"message": "刷新token成功"}
}
},
"维度管理": {
"添加维度": {
"AddDemSuccess":{"message": "添加维度成功!"}
},
"根据维度编码删除维度": {
"DeleteDemSuccess": {"message": "删除维度成功"}
}
},
"组织管理": {
"添加组织": {
"AddOrgSuccess": {"message": "添加组织成功"}
},
"组织加入用户": {
"UserAddOrgSuccess": {"state":true,"message":"加入成功","value":""}
},
"保存组织参数": {
"SaveParamSuccess": {"state":true,"message":"保存组织参数成功!","value":""}
},
"删除组织": {
"DeleteOrgSuccess": {"state":true,"message":"删除组织成功!","value":""}
}
}
}
\ No newline at end of file
{
"维度管理": {
"添加维度": {
"AddDemSuccess": "delete FROM uc_demension WHERE `CODE_`=\"api_auto_test_add_dem\";"
},
"根据维度编码删除维度": {
"DeleteDemSuccess": "select ID_ FROM uc_demension WHERE `CODE_`=\"api_auto_test_add_dem\";"
}
},
"组织管理": {
"添加组织": {
"AddOrgSuccess": {
"select": "select ID_ FROM uc_demension WHERE `CODE_`=\"api_auto_test_add_dem\";",
"delete": "DELETE FROM uc_org WHERE `CODE_`=\"test_add_org\";"
}
}
}
}
\ No newline at end of file
{
"认证接口":{
"登录系统":{
"LoginSuccess": {"username":"admin","password":"MTIzNDU2"},
"LoginErrorPasswordIsNone": {"username":"admin","password":""},
"LoginErrorPasswordIsLong":{"username":"admin","password":"MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2"},
"LoginErrorPasswordIsShort":{"username":"admin","password":"m"},
"LoginErrorPasswordIsSpecial":{"username":"admin","password":"☯㍿卍卐"},
"LoginErrorUsernameIsNone":{"username":"","password":"MTIzNDU2"},
"LoginErrorUsernameIsLong":{"username":"adminadminadminadmin","password":"MTIzNDU2"},
"LoginErrorUsernameIsShort":{"username":"a","password":"MTIzNDU2"},
"LoginErrorUsernameIsSpecial":{"username":"☯㍿卍卐","password":"MTIzNDU2"},
"LoginErrorUsernameIsErr":{"username":"admin123","password":"MTIzNDU2"}
}
},
"维度管理": {
"添加维度": {
"AddDemSuccess": {
"code": "api_auto_test_add_dem",
"description": "api_auto_test_add_dem",
"isDefault": 0,
"name": "api_auto_test_add_dem"
}
},
"根据维度编码删除维度": {
"DeleteDemSuccess": {"ids": "需要更新"}
}
},
"组织管理": {
"添加组织": {
"AddOrgSuccess": {
"code": "test_add_org",
"demId": "需要更新",
"exceedLimitNum": 0,
"grade": "",
"limitNum": 0,
"name": "测试添加的组织",
"nowNum": 0,
"orderNo": 0,
"parentId": "0"
}
},
"组织加入用户": {
"UserAddOrgSuccess": {"orgCode": "test_add_org", "accounts": "admin"}
},
"保存组织参数": {
"SaveParamSuccess": {
"query": {"orgCode": "test_add_org"},
"body": [{"alias":"sz","value":100},{"alias":"kc","value":"语文课"}]
}
},
"删除组织": {
"DeleteOrgSuccess": "test_add_org"
}
}
}
\ No newline at end of file
{
"认证接口":{
"登录系统":{
"LoginSuccess": {"username":"超级管理员","loginStatus":true, "account":"admin"},
"LoginErrorPasswordIsNone": {"message":"账号或密码错误"},
"LoginErrorPasswordIsLong":{"message":"账号或密码错误"},
"LoginErrorPasswordIsShort":{"message":"账号或密码错误"},
"LoginErrorPasswordIsSpecial":{"message":"账号或密码错误"},
"LoginErrorUsernameIsNone":{"message":"账号或密码错误"},
"LoginErrorUsernameIsLong":{"message":"账号或密码错误"},
"LoginErrorUsernameIsShort":{"message":"账号或密码错误"},
"LoginErrorUsernameIsSpecial":{"message":"账号或密码错误"},
"LoginErrorUsernameIsErr":{"message":"账号或密码错误"}
},
"刷新token": {
"RefreshTokenSuccess": {"message": "刷新token成功"}
}
},
"维度管理": {
"添加维度": {
"AddDemSuccess":{"message": "添加维度成功!"}
},
"根据维度编码删除维度": {
"DeleteDemSuccess": {"message": "删除维度成功"}
}
},
"组织管理": {
"添加组织": {
"AddOrgSuccess": {"message": "添加组织成功"}
},
"组织加入用户": {
"UserAddOrgSuccess": {"state":true,"message":"加入成功","value":""}
},
"保存组织参数": {
"SaveParamSuccess": {"state":true,"message":"保存组织参数成功!","value":""}
},
"删除组织": {
"DeleteOrgSuccess": {"state":true,"message":"删除组织成功!","value":""}
}
}
}
\ No newline at end of file
{
"维度管理": {
"添加维度": {
"AddDemSuccess": "delete FROM uc_demension WHERE `CODE_`=\"api_auto_test_add_dem\";"
},
"根据维度编码删除维度": {
"DeleteDemSuccess": "select ID_ FROM uc_demension WHERE `CODE_`=\"api_auto_test_add_dem\";"
}
},
"组织管理": {
"添加组织": {
"AddOrgSuccess": {
"select": "select ID_ FROM uc_demension WHERE `CODE_`=\"api_auto_test_add_dem\";",
"delete": "DELETE FROM uc_org WHERE `CODE_`=\"test_add_org\";"
}
}
}
}
\ No newline at end of file
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: test60
# FileName: settings.py
# Author: lao_zhao
# Datetime: 2024/5/21 10:15
# Description:
#
# ---------------------------------------------------------------------------
# excel的列号=======================================
NUMBER = "A"
MODULE = "B"
API = "C"
TITLE = "D"
LEVEL = "E"
METHOD = "F"
URL = "G"
MIME = "H"
CASE = "I"
EXPECT = "J"
SQL = "K"
SQL_TYPE = "L"
UPDATE_KEY = "M"
# ini文件中节点名称======================================
FILE = "file1"
WORKSHEET = "worksheet"
HOST = "host"
DB = "db"
# ini文件中键名称======================================
# file节点============================================
EXCEL_KEY = "excel"
CASE_KEY = "case"
EXPECT_KEY = "expect"
SQL_KEY = "sql"
# worksheet节点============================================
TABLE_NAME_KEY = "table_name"
# host节点============================================
BPM_KEY = "bpm"
# db节点============================================
HOST_KEY = "host"
PORT_KEY = "port"
USERNAME_KEY = "username"
PASSWORD_KEY = "password"
DATABASE_KEY = "database"
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'ids': '1792803475629817856'}, 期望数据为:{'message': '删除维度成功'}, 服务器返回的数据为:{"state":true,"message":"删除维度成功!","value":""}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'ids': '1792803475629817856'}, 期望数据为:{'message': '删除维度成功'}, 服务器返回的数据为:{"state":false,"message":"","logId":"1792803532844318720"}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'ids': '1792803475629817856'}, 期望数据为:{'message': '删除维度成功'}, 服务器返回的数据为:{"state":false,"message":"","logId":"1792803541883043840"}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'ids': '1792803475629817856'}, 期望数据为:{'message': '删除维度成功'}, 服务器返回的数据为:{"state":false,"message":"","logId":"1792803550955323392"}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'ids': '1792803475629817856'}, 期望数据为:{'message': '删除维度成功'}, 服务器返回的数据为:{"state":false,"message":"","logId":"1792803560044380160"}
\ No newline at end of file
ERROR  root:test_bpm.py:68 断言成功, 用例数据为{'username': 'adminadminadminadmin', 'password': 'MTIzNDU2'}, 期望数据为:{'message': '账号或密码错误'}, 服务器返回的数据为:{"state":false,"message":"账号或密码错误","logId":"1792803332507582464"}
\ No newline at end of file
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'ids': '1792803379156631552'}, 期望数据为:{'message': '删除维度成功'}, 服务器返回的数据为:{"state":true,"message":"删除维度成功!","value":""}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'ids': '1792803379156631552'}, 期望数据为:{'message': '删除维度成功'}, 服务器返回的数据为:{"state":false,"message":"","logId":"1792803436442435584"}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'ids': '1792803379156631552'}, 期望数据为:{'message': '删除维度成功'}, 服务器返回的数据为:{"state":false,"message":"","logId":"1792803445468577792"}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'ids': '1792803379156631552'}, 期望数据为:{'message': '删除维度成功'}, 服务器返回的数据为:{"state":false,"message":"","logId":"1792803454528274432"}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'ids': '1792803379156631552'}, 期望数据为:{'message': '删除维度成功'}, 服务器返回的数据为:{"state":false,"message":"","logId":"1792803463587971072"}
\ No newline at end of file
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'ids': '1792803475629817856'}, 期望数据为:{'message': '删除维度成功'}, 服务器返回的数据为:{"state":true,"message":"删除维度成功!","value":""}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'ids': '1792803475629817856'}, 期望数据为:{'message': '删除维度成功'}, 服务器返回的数据为:{"state":false,"message":"","logId":"1792803532844318720"}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'ids': '1792803475629817856'}, 期望数据为:{'message': '删除维度成功'}, 服务器返回的数据为:{"state":false,"message":"","logId":"1792803541883043840"}
\ No newline at end of file
ERROR  root:test_bpm.py:68 断言成功, 用例数据为{'orgCode': 'test_add_org', 'accounts': 'admin'}, 期望数据为:{'state': True, 'message': '加入成功', 'value': ''}, 服务器返回的数据为:{"state":true,"message":"加入成功","value":""}
\ No newline at end of file
ERROR  root:test_bpm.py:68 断言成功, 用例数据为{'username': 'admin', 'password': 'm'}, 期望数据为:{'message': '账号或密码错误'}, 服务器返回的数据为:{"state":false,"message":"账号或密码错误","logId":"1792803331177988096"}
\ No newline at end of file
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'code': 'test_add_org', 'demId': '1792803475629817856', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'}, 服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'code': 'test_add_org', 'demId': '1792803475629817856', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'}, 服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'code': 'test_add_org', 'demId': '1792803475629817856', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'}, 服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'code': 'test_add_org', 'demId': '1792803475629817856', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'}, 服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'code': 'test_add_org', 'demId': '1792803475629817856', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'}, 服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
\ No newline at end of file
ERROR  root:test_bpm.py:65 断言失败, 用例数据为None, 期望数据为:{'message': '刷新token成功'}, 服务器返回的数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MTYzNTg5OTgsImlhdCI6MTcxNjI3MjU5OH0.4JgpWuf9sSQnYV9dPIhf0I76OkCqUlLws0abjIB0nEM_iXrT2qd79jiUvk3kiwUvDIw9aHYQdvVjAFq8AQLNCw","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为None, 期望数据为:{'message': '刷新token成功'}, 服务器返回的数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MTYzNTkwMDAsImlhdCI6MTcxNjI3MjYwMH0.atAGdmkk-bhC9iAhggDWp0VlgVLl39hN3_u2ytWqmjm1GWT-vhDYRgCax56GrBuR6EkPJEseXgX-S8EfzoWXhg","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为None, 期望数据为:{'message': '刷新token成功'}, 服务器返回的数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MTYzNTkwMDIsImlhdCI6MTcxNjI3MjYwMn0.2ULfoTRcxys6pnuEKjHxZH4GI20D2qBisJFYoBn2GdZLw23Xapl1u2ATzI1w5cFlBcJf3_bFyVN7eo7OfOOMUg","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为None, 期望数据为:{'message': '刷新token成功'}, 服务器返回的数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MTYzNTkwMDQsImlhdCI6MTcxNjI3MjYwNH0.TOXPdeAD96XQ_Maa-ITQDDQZTnKhlW09esTDC6-C8_Wux9HSk3bWURoOvhmcidK-lCj4Tvw1ZO0dYFWGR8-lsg","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为None, 期望数据为:{'message': '刷新token成功'}, 服务器返回的数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MTYzNTkwMDYsImlhdCI6MTcxNjI3MjYwNn0.W_ynWuu-79lzZS5ScuftmKzI8_B3z3llQ0gnSpahTsvIdUBKeaos4loXKk4DrzU4CGbchLTa5lK48yzcFXXQoA","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
\ No newline at end of file
ERROR  root:test_bpm.py:65 断言失败, 用例数据为None, 期望数据为:{'message': '刷新token成功'}, 服务器返回的数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MTYzNTg5OTgsImlhdCI6MTcxNjI3MjU5OH0.4JgpWuf9sSQnYV9dPIhf0I76OkCqUlLws0abjIB0nEM_iXrT2qd79jiUvk3kiwUvDIw9aHYQdvVjAFq8AQLNCw","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
\ No newline at end of file
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'ids': '1792803475629817856'}, 期望数据为:{'message': '删除维度成功'}, 服务器返回的数据为:{"state":true,"message":"删除维度成功!","value":""}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'ids': '1792803475629817856'}, 期望数据为:{'message': '删除维度成功'}, 服务器返回的数据为:{"state":false,"message":"","logId":"1792803532844318720"}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'ids': '1792803475629817856'}, 期望数据为:{'message': '删除维度成功'}, 服务器返回的数据为:{"state":false,"message":"","logId":"1792803541883043840"}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'ids': '1792803475629817856'}, 期望数据为:{'message': '删除维度成功'}, 服务器返回的数据为:{"state":false,"message":"","logId":"1792803550955323392"}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'ids': '1792803475629817856'}, 期望数据为:{'message': '删除维度成功'}, 服务器返回的数据为:{"state":false,"message":"","logId":"1792803560044380160"}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'ids': '1792803475629817856'}, 期望数据为:{'message': '删除维度成功'}, 服务器返回的数据为:{"state":false,"message":"","logId":"1792803569104076800"}
\ No newline at end of file
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'ids': '1792803379156631552'}, 期望数据为:{'message': '删除维度成功'}, 服务器返回的数据为:{"state":true,"message":"删除维度成功!","value":""}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'ids': '1792803379156631552'}, 期望数据为:{'message': '删除维度成功'}, 服务器返回的数据为:{"state":false,"message":"","logId":"1792803436442435584"}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'ids': '1792803379156631552'}, 期望数据为:{'message': '删除维度成功'}, 服务器返回的数据为:{"state":false,"message":"","logId":"1792803445468577792"}
\ No newline at end of file
ERROR  root:test_bpm.py:68 断言成功, 用例数据为{'username': 'admin', 'password': '☯㍿卍卐'}, 期望数据为:{'message': '账号或密码错误'}, 服务器返回的数据为:{"state":false,"message":"账号或密码错误","logId":"1792803331643555840"}
\ No newline at end of file
ERROR  root:test_bpm.py:68 断言成功, 用例数据为{'username': '', 'password': 'MTIzNDU2'}, 期望数据为:{'message': '账号或密码错误'}, 服务器返回的数据为:{"state":false,"message":"账号或密码错误","logId":"1792803332075569152"}
\ No newline at end of file
ERROR  root:test_bpm.py:68 断言成功, 用例数据为{'username': 'admin', 'password': 'MTIzNDU2'}, 期望数据为:{'username': '超级管理员', 'loginStatus': True, 'account': 'admin'}, 服务器返回的数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MTYzNTg5OTcsImlhdCI6MTcxNjI3MjU5N30.sY4lvg3FdRhPw7aTY0jx3ZeN03MQbTx1bARhQIZP2H41KaUr83P2Q4MTt-AKuPxQxYsVlEOH9rPkM0X7HhxEJA","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}}
\ No newline at end of file
ERROR  root:test_bpm.py:68 断言成功, 用例数据为{'query': {'orgCode': 'test_add_org'}, 'body': [{'alias': 'sz', 'value': 100}, {'alias': 'kc', 'value': '语文课'}]}, 期望数据为:{'state': True, 'message': '保存组织参数成功!', 'value': ''}, 服务器返回的数据为:{"state":true,"message":"保存组织参数成功!","value":""}
\ No newline at end of file
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'ids': '1792803475629817856'}, 期望数据为:{'message': '删除维度成功'}, 服务器返回的数据为:{"state":true,"message":"删除维度成功!","value":""}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'ids': '1792803475629817856'}, 期望数据为:{'message': '删除维度成功'}, 服务器返回的数据为:{"state":false,"message":"","logId":"1792803532844318720"}
\ No newline at end of file
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'ids': '1792803379156631552'}, 期望数据为:{'message': '删除维度成功'}, 服务器返回的数据为:{"state":true,"message":"删除维度成功!","value":""}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'ids': '1792803379156631552'}, 期望数据为:{'message': '删除维度成功'}, 服务器返回的数据为:{"state":false,"message":"","logId":"1792803436442435584"}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'ids': '1792803379156631552'}, 期望数据为:{'message': '删除维度成功'}, 服务器返回的数据为:{"state":false,"message":"","logId":"1792803445468577792"}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'ids': '1792803379156631552'}, 期望数据为:{'message': '删除维度成功'}, 服务器返回的数据为:{"state":false,"message":"","logId":"1792803454528274432"}
\ No newline at end of file
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'code': 'test_add_org', 'demId': '1792803379156631552', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'}, 服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'code': 'test_add_org', 'demId': '1792803379156631552', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'}, 服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'code': 'test_add_org', 'demId': '1792803379156631552', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'}, 服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
\ No newline at end of file
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'code': 'test_add_org', 'demId': '1792803475629817856', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'}, 服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'code': 'test_add_org', 'demId': '1792803475629817856', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'}, 服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'code': 'test_add_org', 'demId': '1792803475629817856', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'}, 服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'code': 'test_add_org', 'demId': '1792803475629817856', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'}, 服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'code': 'test_add_org', 'demId': '1792803475629817856', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'}, 服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'code': 'test_add_org', 'demId': '1792803475629817856', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'}, 服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
\ No newline at end of file
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'code': 'test_add_org', 'demId': '1792803379156631552', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'}, 服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'code': 'test_add_org', 'demId': '1792803379156631552', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'}, 服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'code': 'test_add_org', 'demId': '1792803379156631552', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'}, 服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'code': 'test_add_org', 'demId': '1792803379156631552', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'}, 服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'code': 'test_add_org', 'demId': '1792803379156631552', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'}, 服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
\ No newline at end of file
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'ids': '1792803379156631552'}, 期望数据为:{'message': '删除维度成功'}, 服务器返回的数据为:{"state":true,"message":"删除维度成功!","value":""}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'ids': '1792803379156631552'}, 期望数据为:{'message': '删除维度成功'}, 服务器返回的数据为:{"state":false,"message":"","logId":"1792803436442435584"}
\ No newline at end of file
ERROR  root:test_bpm.py:68 断言成功, 用例数据为{'username': 'admin', 'password': ''}, 期望数据为:{'message': '账号或密码错误'}, 服务器返回的数据为:{"state":false,"message":"账号或密码错误","logId":"1792803330313961472"}
\ No newline at end of file
ERROR  root:test_bpm.py:68 断言成功, 用例数据为{'orgCode': 'test_add_org', 'accounts': 'admin'}, 期望数据为:{'state': True, 'message': '加入成功', 'value': ''}, 服务器返回的数据为:{"state":true,"message":"加入成功","value":""}
\ No newline at end of file
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'code': 'test_add_org', 'demId': '1792803475629817856', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'}, 服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'code': 'test_add_org', 'demId': '1792803475629817856', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'}, 服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'code': 'test_add_org', 'demId': '1792803475629817856', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'}, 服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'code': 'test_add_org', 'demId': '1792803475629817856', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'}, 服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
\ No newline at end of file
ERROR  root:test_bpm.py:68 断言成功, 用例数据为{'username': '☯㍿卍卐', 'password': 'MTIzNDU2'}, 期望数据为:{'message': '账号或密码错误'}, 服务器返回的数据为:{"state":false,"message":"账号或密码错误","logId":"1792803333417746432"}
\ No newline at end of file
ERROR  root:test_bpm.py:65 断言失败, 用例数据为None, 期望数据为:{'message': '刷新token成功'}, 服务器返回的数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MTYzNTg5OTgsImlhdCI6MTcxNjI3MjU5OH0.4JgpWuf9sSQnYV9dPIhf0I76OkCqUlLws0abjIB0nEM_iXrT2qd79jiUvk3kiwUvDIw9aHYQdvVjAFq8AQLNCw","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为None, 期望数据为:{'message': '刷新token成功'}, 服务器返回的数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MTYzNTkwMDAsImlhdCI6MTcxNjI3MjYwMH0.atAGdmkk-bhC9iAhggDWp0VlgVLl39hN3_u2ytWqmjm1GWT-vhDYRgCax56GrBuR6EkPJEseXgX-S8EfzoWXhg","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为None, 期望数据为:{'message': '刷新token成功'}, 服务器返回的数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MTYzNTkwMDIsImlhdCI6MTcxNjI3MjYwMn0.2ULfoTRcxys6pnuEKjHxZH4GI20D2qBisJFYoBn2GdZLw23Xapl1u2ATzI1w5cFlBcJf3_bFyVN7eo7OfOOMUg","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为None, 期望数据为:{'message': '刷新token成功'}, 服务器返回的数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MTYzNTkwMDQsImlhdCI6MTcxNjI3MjYwNH0.TOXPdeAD96XQ_Maa-ITQDDQZTnKhlW09esTDC6-C8_Wux9HSk3bWURoOvhmcidK-lCj4Tvw1ZO0dYFWGR8-lsg","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为None, 期望数据为:{'message': '刷新token成功'}, 服务器返回的数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MTYzNTkwMDYsImlhdCI6MTcxNjI3MjYwNn0.W_ynWuu-79lzZS5ScuftmKzI8_B3z3llQ0gnSpahTsvIdUBKeaos4loXKk4DrzU4CGbchLTa5lK48yzcFXXQoA","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为None, 期望数据为:{'message': '刷新token成功'}, 服务器返回的数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MTYzNTkwMDgsImlhdCI6MTcxNjI3MjYwOH0.LsIqI6NBfMYmLfeFQHaiE3TLchmrNO9P3P92GkiuQQoiDTEXfelTGerbpaF-Qp4K4_45jG2cACLNB8dNwS0m-w","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
\ No newline at end of file
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'ids': '1792803379156631552'}, 期望数据为:{'message': '删除维度成功'}, 服务器返回的数据为:{"state":true,"message":"删除维度成功!","value":""}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'ids': '1792803379156631552'}, 期望数据为:{'message': '删除维度成功'}, 服务器返回的数据为:{"state":false,"message":"","logId":"1792803436442435584"}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'ids': '1792803379156631552'}, 期望数据为:{'message': '删除维度成功'}, 服务器返回的数据为:{"state":false,"message":"","logId":"1792803445468577792"}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'ids': '1792803379156631552'}, 期望数据为:{'message': '删除维度成功'}, 服务器返回的数据为:{"state":false,"message":"","logId":"1792803454528274432"}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'ids': '1792803379156631552'}, 期望数据为:{'message': '删除维度成功'}, 服务器返回的数据为:{"state":false,"message":"","logId":"1792803463587971072"}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'ids': '1792803379156631552'}, 期望数据为:{'message': '删除维度成功'}, 服务器返回的数据为:{"state":false,"message":"","logId":"1792803472635084800"}
\ No newline at end of file
ERROR  root:test_bpm.py:65 断言失败, 用例数据为None, 期望数据为:{'message': '刷新token成功'}, 服务器返回的数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MTYzNTg5OTgsImlhdCI6MTcxNjI3MjU5OH0.4JgpWuf9sSQnYV9dPIhf0I76OkCqUlLws0abjIB0nEM_iXrT2qd79jiUvk3kiwUvDIw9aHYQdvVjAFq8AQLNCw","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为None, 期望数据为:{'message': '刷新token成功'}, 服务器返回的数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MTYzNTkwMDAsImlhdCI6MTcxNjI3MjYwMH0.atAGdmkk-bhC9iAhggDWp0VlgVLl39hN3_u2ytWqmjm1GWT-vhDYRgCax56GrBuR6EkPJEseXgX-S8EfzoWXhg","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为None, 期望数据为:{'message': '刷新token成功'}, 服务器返回的数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MTYzNTkwMDIsImlhdCI6MTcxNjI3MjYwMn0.2ULfoTRcxys6pnuEKjHxZH4GI20D2qBisJFYoBn2GdZLw23Xapl1u2ATzI1w5cFlBcJf3_bFyVN7eo7OfOOMUg","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为None, 期望数据为:{'message': '刷新token成功'}, 服务器返回的数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MTYzNTkwMDQsImlhdCI6MTcxNjI3MjYwNH0.TOXPdeAD96XQ_Maa-ITQDDQZTnKhlW09esTDC6-C8_Wux9HSk3bWURoOvhmcidK-lCj4Tvw1ZO0dYFWGR8-lsg","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
\ No newline at end of file
ERROR  root:test_bpm.py:68 断言成功, 用例数据为test_add_org, 期望数据为:{'state': True, 'message': '删除组织成功!', 'value': ''}, 服务器返回的数据为:{"state":true,"message":"删除组织成功!","value":""}
\ No newline at end of file
ERROR  root:test_bpm.py:65 断言失败, 用例数据为None, 期望数据为:{'message': '刷新token成功'}, 服务器返回的数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MTYzNTg5OTgsImlhdCI6MTcxNjI3MjU5OH0.4JgpWuf9sSQnYV9dPIhf0I76OkCqUlLws0abjIB0nEM_iXrT2qd79jiUvk3kiwUvDIw9aHYQdvVjAFq8AQLNCw","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为None, 期望数据为:{'message': '刷新token成功'}, 服务器返回的数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MTYzNTkwMDAsImlhdCI6MTcxNjI3MjYwMH0.atAGdmkk-bhC9iAhggDWp0VlgVLl39hN3_u2ytWqmjm1GWT-vhDYRgCax56GrBuR6EkPJEseXgX-S8EfzoWXhg","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
\ No newline at end of file
ERROR  root:test_bpm.py:68 断言成功, 用例数据为{'query': {'orgCode': 'test_add_org'}, 'body': [{'alias': 'sz', 'value': 100}, {'alias': 'kc', 'value': '语文课'}]}, 期望数据为:{'state': True, 'message': '保存组织参数成功!', 'value': ''}, 服务器返回的数据为:{"state":true,"message":"保存组织参数成功!","value":""}
\ No newline at end of file
ERROR  root:test_bpm.py:68 断言成功, 用例数据为{'username': 'a', 'password': 'MTIzNDU2'}, 期望数据为:{'message': '账号或密码错误'}, 服务器返回的数据为:{"state":false,"message":"账号或密码错误","logId":"1792803332960567296"}
\ No newline at end of file
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'code': 'test_add_org', 'demId': '1792803379156631552', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'}, 服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'code': 'test_add_org', 'demId': '1792803379156631552', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'}, 服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'code': 'test_add_org', 'demId': '1792803379156631552', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'}, 服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'code': 'test_add_org', 'demId': '1792803379156631552', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'}, 服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'code': 'test_add_org', 'demId': '1792803379156631552', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'}, 服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'code': 'test_add_org', 'demId': '1792803379156631552', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'}, 服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
\ No newline at end of file
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'ids': '1792803475629817856'}, 期望数据为:{'message': '删除维度成功'}, 服务器返回的数据为:{"state":true,"message":"删除维度成功!","value":""}
\ No newline at end of file
ERROR  root:test_bpm.py:68 断言成功, 用例数据为{'username': 'admin', 'password': 'MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2'}, 期望数据为:{'message': '账号或密码错误'}, 服务器返回的数据为:{"state":false,"message":"账号或密码错误","logId":"1792803330750169088"}
\ No newline at end of file
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'ids': '1792803475629817856'}, 期望数据为:{'message': '删除维度成功'}, 服务器返回的数据为:{"state":true,"message":"删除维度成功!","value":""}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'ids': '1792803475629817856'}, 期望数据为:{'message': '删除维度成功'}, 服务器返回的数据为:{"state":false,"message":"","logId":"1792803532844318720"}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'ids': '1792803475629817856'}, 期望数据为:{'message': '删除维度成功'}, 服务器返回的数据为:{"state":false,"message":"","logId":"1792803541883043840"}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'ids': '1792803475629817856'}, 期望数据为:{'message': '删除维度成功'}, 服务器返回的数据为:{"state":false,"message":"","logId":"1792803550955323392"}
\ No newline at end of file
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'code': 'test_add_org', 'demId': '1792803475629817856', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'}, 服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'code': 'test_add_org', 'demId': '1792803475629817856', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'}, 服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
\ No newline at end of file
ERROR  root:test_bpm.py:68 断言成功, 用例数据为{'username': 'admin123', 'password': 'MTIzNDU2'}, 期望数据为:{'message': '账号或密码错误'}, 服务器返回的数据为:{"state":false,"message":"账号或密码错误","logId":"1792803333887508480"}
\ No newline at end of file
ERROR  root:test_bpm.py:68 断言成功, 用例数据为{'code': 'api_auto_test_add_dem', 'description': 'api_auto_test_add_dem', 'isDefault': 0, 'name': 'api_auto_test_add_dem'}, 期望数据为:{'message': '添加维度成功!'}, 服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
\ No newline at end of file
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'ids': '1792803379156631552'}, 期望数据为:{'message': '删除维度成功'}, 服务器返回的数据为:{"state":true,"message":"删除维度成功!","value":""}
\ No newline at end of file
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'code': 'test_add_org', 'demId': '1792803379156631552', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'}, 服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'code': 'test_add_org', 'demId': '1792803379156631552', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'}, 服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'code': 'test_add_org', 'demId': '1792803379156631552', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'}, 服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'code': 'test_add_org', 'demId': '1792803379156631552', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'}, 服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
\ No newline at end of file
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'code': 'test_add_org', 'demId': '1792803475629817856', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'}, 服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'code': 'test_add_org', 'demId': '1792803475629817856', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'}, 服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'code': 'test_add_org', 'demId': '1792803475629817856', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'}, 服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
\ No newline at end of file
ERROR  root:test_bpm.py:68 断言成功, 用例数据为test_add_org, 期望数据为:{'state': True, 'message': '删除组织成功!', 'value': ''}, 服务器返回的数据为:{"state":true,"message":"删除组织成功!","value":""}
\ No newline at end of file
ERROR  root:test_bpm.py:65 断言失败, 用例数据为None, 期望数据为:{'message': '刷新token成功'}, 服务器返回的数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MTYzNTg5OTgsImlhdCI6MTcxNjI3MjU5OH0.4JgpWuf9sSQnYV9dPIhf0I76OkCqUlLws0abjIB0nEM_iXrT2qd79jiUvk3kiwUvDIw9aHYQdvVjAFq8AQLNCw","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为None, 期望数据为:{'message': '刷新token成功'}, 服务器返回的数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MTYzNTkwMDAsImlhdCI6MTcxNjI3MjYwMH0.atAGdmkk-bhC9iAhggDWp0VlgVLl39hN3_u2ytWqmjm1GWT-vhDYRgCax56GrBuR6EkPJEseXgX-S8EfzoWXhg","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为None, 期望数据为:{'message': '刷新token成功'}, 服务器返回的数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MTYzNTkwMDIsImlhdCI6MTcxNjI3MjYwMn0.2ULfoTRcxys6pnuEKjHxZH4GI20D2qBisJFYoBn2GdZLw23Xapl1u2ATzI1w5cFlBcJf3_bFyVN7eo7OfOOMUg","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
\ No newline at end of file
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'code': 'test_add_org', 'demId': '1792803379156631552', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'}, 服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
\ No newline at end of file
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'code': 'test_add_org', 'demId': '1792803475629817856', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'}, 服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
\ No newline at end of file
ERROR  root:test_bpm.py:68 断言成功, 用例数据为{'code': 'api_auto_test_add_dem', 'description': 'api_auto_test_add_dem', 'isDefault': 0, 'name': 'api_auto_test_add_dem'}, 期望数据为:{'message': '添加维度成功!'}, 服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
\ No newline at end of file
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'code': 'test_add_org', 'demId': '1792803379156631552', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'}, 服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
ERROR  root:test_bpm.py:65 断言失败, 用例数据为{'code': 'test_add_org', 'demId': '1792803379156631552', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'}, 服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
\ No newline at end of file
"Epic","Feature","Story","FAILED","BROKEN","PASSED","SKIPPED","UNKNOWN"
"BPM系统-demo","认证接口","登录系统","0","0","10","0","0"
"BPM系统-demo","认证接口","刷新token","1","0","0","0","0"
"BPM系统-demo","维度管理","根据维度编码删除维度","1","0","0","0","0"
"BPM系统-demo","组织管理","删除组织","0","0","1","0","0"
"BPM系统-老张","组织管理","删除组织","0","0","1","0","0"
"BPM系统-老张","组织管理","保存组织参数","0","0","1","0","0"
"BPM系统-老张","组织管理","组织加入用户","0","0","1","0","0"
"BPM系统-demo","维度管理","添加维度","0","0","1","0","0"
"BPM系统-demo","组织管理","添加组织","1","0","0","0","0"
"BPM系统-demo","组织管理","组织加入用户","0","0","1","0","0"
"BPM系统-demo","组织管理","保存组织参数","0","0","1","0","0"
"BPM-场景测试","认证接口","登录系统","0","0","1","0","0"
"BPM系统-老张","维度管理","添加维度","0","0","1","0","0"
"BPM系统-老张","维度管理","根据维度编码删除维度","1","0","0","0","0"
"BPM-场景测试","维度管理","添加维度","0","0","1","0","0"
"BPM系统-老张","组织管理","添加组织","1","0","0","0","0"
"BPM-场景测试","test","test","0","0","1","0","0"
"Category","FAILED","BROKEN","PASSED","SKIPPED","UNKNOWN"
"Product defects","5","0","0","0","0"
{
"uid" : "4b4757e66a1912dae1a509f688f20b0f",
"name" : "categories",
"children" : [ {
"name" : "Product defects",
"children" : [ {
"name" : "AssertionError: assert '刷新token成功' == None\n + where None = <built-in method get of dict object at 0x0000014F191C40C0>('message')\n + where <built-in method get of dict object at 0x0000014F191C40C0> = {'account': '', 'loginStatus': True, 'token': 'eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOj...3MjYwOH0.LsIqI6NBfMYmLfeFQHaiE3TLchmrNO9P3P92GkiuQQoiDTEXfelTGerbpaF-Qp4K4_45jG2cACLNB8dNwS0m-w', 'userAttrs': {}, ...}.get\n + where {'account': '', 'loginStatus': True, 'token': 'eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOj...3MjYwOH0.LsIqI6NBfMYmLfeFQHaiE3TLchmrNO9P3P92GkiuQQoiDTEXfelTGerbpaF-Qp4K4_45jG2cACLNB8dNwS0m-w', 'userAttrs': {}, ...} = <bound method Response.json of <Response [200]>>()\n + where <bound method Response.json of <Response [200]>> = <Response [200]>.json",
"children" : [ {
"name" : "正向用例",
"uid" : "139913cc61e34bb9",
"parentUid" : "1b23de01d9810fce01500382107beb90",
"status" : "failed",
"time" : {
"start" : 1716272610326,
"stop" : 1716272610382,
"duration" : 56
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'刷新token'", "None", "'中'", "'正向用例'", "{'message': '刷新token成功'}", "'GET'", "None", "'认证接口'", "None", "None", "None", "'http://120.46.172.186:8080/refresh'" ]
} ],
"uid" : "1b23de01d9810fce01500382107beb90"
}, {
"name" : "AssertionError: assert '添加组织成功' == '添加组织成功!'\n \n - 添加组织成功!\n ? -\n + 添加组织成功",
"children" : [ {
"name" : "正向用例",
"uid" : "f7e90e36deb68600",
"parentUid" : "4a7003532ab41bb4162e963e0553c0dd",
"status" : "failed",
"time" : {
"start" : 1716272621599,
"stop" : 1716272621780,
"duration" : 181
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'添加组织'", "{'code': 'test_add_org', 'demId': '1792803379156631552', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}", "'高'", "'正向用例'", "{'message': '添加组织成功'}", "'POST'", "'json'", "'组织管理'", "{'select': 'select ID_ FROM uc_demension WHERE `CODE_`=\"api_auto_test_add_dem\";', 'delete': 'DELETE FROM uc_org WHERE `CODE_`=\"test_add_org\";'}", "'select|delete'", "'demId'", "'http://120.46.172.186:8080/api/org/v1/org/addOrg'" ]
}, {
"name" : "正向用例",
"uid" : "643ca7629b09152b",
"parentUid" : "4a7003532ab41bb4162e963e0553c0dd",
"status" : "failed",
"time" : {
"start" : 1716272644557,
"stop" : 1716272644742,
"duration" : 185
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'添加组织'", "{'code': 'test_add_org', 'demId': '1792803475629817856', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}", "'高'", "'正向用例'", "{'message': '添加组织成功'}", "'POST'", "'json'", "'组织管理'", "{'select': 'select ID_ FROM uc_demension WHERE `CODE_`=\"api_auto_test_add_dem\";', 'delete': 'DELETE FROM uc_org WHERE `CODE_`=\"test_add_org\";'}", "'select|delete'", "'demId'", "'http://120.46.172.186:8080/api/org/v1/org/addOrg'" ]
} ],
"uid" : "4a7003532ab41bb4162e963e0553c0dd"
}, {
"name" : "AssertionError: assert '删除维度成功' == ''\n \n + 删除维度成功",
"children" : [ {
"name" : "正向用例",
"uid" : "cc6c15cf3215c8cc",
"parentUid" : "fc88e63a27e532a1ff14905d99754e1d",
"status" : "failed",
"time" : {
"start" : 1716272632686,
"stop" : 1716272632817,
"duration" : 131
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'根据维度编码删除维度'", "{'ids': '1792803379156631552'}", "'中'", "'正向用例'", "{'message': '删除维度成功'}", "'DELETE'", "'query'", "'维度管理'", "'select ID_ FROM uc_demension WHERE `CODE_`=\"api_auto_test_add_dem\";'", "'select'", "'ids'", "'http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds'" ]
}, {
"name" : "正向用例",
"uid" : "6bce7862e8bf2a3f",
"parentUid" : "fc88e63a27e532a1ff14905d99754e1d",
"status" : "failed",
"time" : {
"start" : 1716272655685,
"stop" : 1716272655817,
"duration" : 132
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'根据维度编码删除维度'", "{'ids': '1792803475629817856'}", "'中'", "'正向用例'", "{'message': '删除维度成功'}", "'DELETE'", "'query'", "'维度管理'", "'select ID_ FROM uc_demension WHERE `CODE_`=\"api_auto_test_add_dem\";'", "'select'", "'ids'", "'http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds'" ]
} ],
"uid" : "fc88e63a27e532a1ff14905d99754e1d"
} ],
"uid" : "8fb3a91ba5aaf9de24cc8a92edc82b5d"
} ]
}
\ No newline at end of file
"Status","Start Time","Stop Time","Duration in ms","Parent Suite","Suite","Sub Suite","Test Class","Test Method","Name","Description"
"passed","Tue May 21 14:23:19 CST 2024","Tue May 21 14:23:19 CST 2024","92","test_case.test_demo","test_bpm","TestBPM","","","反向用例-密码正确,用户名过长",""
"failed","Tue May 21 14:23:30 CST 2024","Tue May 21 14:23:30 CST 2024","56","test_case.test_demo","test_bpm","TestBPM","","","正向用例",""
"passed","Tue May 21 14:23:18 CST 2024","Tue May 21 14:23:18 CST 2024","63","test_case.test_demo","test_bpm","TestBPM","","","正向用例-正确输入用户名和密码",""
"failed","Tue May 21 14:23:52 CST 2024","Tue May 21 14:23:52 CST 2024","131","test_case.test_demo","test_bpm","TestBPM","","","正向用例",""
"passed","Tue May 21 14:23:18 CST 2024","Tue May 21 14:23:18 CST 2024","57","test_case.test_demo","test_bpm","TestBPM","","","反向用例-用户名正确,密码为空",""
"passed","Tue May 21 14:23:19 CST 2024","Tue May 21 14:23:19 CST 2024","100","test_case.test_demo","test_bpm","TestBPM","","","反向用例-密码正确,用户名为特殊字符",""
"passed","Tue May 21 14:23:41 CST 2024","Tue May 21 14:23:41 CST 2024","58","test_case.test_demo","test_bpm","TestBPM","","","正向用例",""
"passed","Tue May 21 14:24:04 CST 2024","Tue May 21 14:24:04 CST 2024","55","test_case.test_mirZhang","test_bpm","TestBPM","","","正向用例",""
"passed","Tue May 21 14:23:19 CST 2024","Tue May 21 14:23:19 CST 2024","93","test_case.test_demo","test_bpm","TestBPM","","","反向用例-密码正确,用户名为空",""
"passed","Tue May 21 14:24:04 CST 2024","Tue May 21 14:24:04 CST 2024","55","test_case.test_mirZhang","test_bpm","TestBPM","","","正向用例",""
"passed","Tue May 21 14:24:04 CST 2024","Tue May 21 14:24:04 CST 2024","53","test_case.test_mirZhang","test_bpm","TestBPM","","","正向用例",""
"passed","Tue May 21 14:23:30 CST 2024","Tue May 21 14:23:30 CST 2024","136","test_case.test_demo","test_bpm","TestBPM","","","正向用例",""
"failed","Tue May 21 14:23:41 CST 2024","Tue May 21 14:23:41 CST 2024","181","test_case.test_demo","test_bpm","TestBPM","","","正向用例",""
"passed","Tue May 21 14:23:41 CST 2024","Tue May 21 14:23:41 CST 2024","53","test_case.test_demo","test_bpm","TestBPM","","","正向用例",""
"passed","Tue May 21 14:23:41 CST 2024","Tue May 21 14:23:41 CST 2024","56","test_case.test_demo","test_bpm","TestBPM","","","正向用例",""
"passed","Tue May 21 14:23:52 CST 2024","Tue May 21 14:23:52 CST 2024","95","test_case.test_dependency","test_dependency","","","","登录--前置",""
"passed","Tue May 21 14:23:53 CST 2024","Tue May 21 14:23:53 CST 2024","137","test_case.test_mirZhang","test_bpm","TestBPM","","","正向用例",""
"failed","Tue May 21 14:24:15 CST 2024","Tue May 21 14:24:15 CST 2024","132","test_case.test_mirZhang","test_bpm","TestBPM","","","正向用例",""
"passed","Tue May 21 14:23:19 CST 2024","Tue May 21 14:23:19 CST 2024","97","test_case.test_demo","test_bpm","TestBPM","","","反向用例-密码正确,用户名错误",""
"passed","Tue May 21 14:23:18 CST 2024","Tue May 21 14:23:18 CST 2024","94","test_case.test_demo","test_bpm","TestBPM","","","反向用例-用户名正确,密码过长",""
"passed","Tue May 21 14:23:19 CST 2024","Tue May 21 14:23:19 CST 2024","100","test_case.test_demo","test_bpm","TestBPM","","","反向用例-用户名正确,密码为特殊字符",""
"passed","Tue May 21 14:23:52 CST 2024","Tue May 21 14:23:53 CST 2024","152","test_case.test_dependency","test_dependency","","","","添加维度-依赖登录",""
"failed","Tue May 21 14:24:04 CST 2024","Tue May 21 14:24:04 CST 2024","185","test_case.test_mirZhang","test_bpm","TestBPM","","","正向用例",""
"passed","Tue May 21 14:23:18 CST 2024","Tue May 21 14:23:19 CST 2024","95","test_case.test_demo","test_bpm","TestBPM","","","反向用例-用户名正确,密码过短",""
"passed","Tue May 21 14:23:53 CST 2024","Tue May 21 14:23:53 CST 2024","1","test_case.test_dependency","test_dependency","","","","test用例函数-依赖登录成功和添加维度成功",""
"passed","Tue May 21 14:23:19 CST 2024","Tue May 21 14:23:19 CST 2024","99","test_case.test_demo","test_bpm","TestBPM","","","反向用例-密码正确,用户名过短",""
{
"uid" : "10e8cf966692af2d",
"name" : "正向用例",
"fullName" : "test_case.test_demo.test_bpm.TestBPM#test_bpm",
"historyId" : "385bda31fe152e15cd1fc6b7817225aa",
"time" : {
"start" : 1716272621795,
"stop" : 1716272621848,
"duration" : 53
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "7201d70001e141e",
"name" : "log",
"source" : "7201d70001e141e.txt",
"type" : "text/plain",
"size" : 276
}, {
"uid" : "b40117ab71b81a91",
"name" : "stdout",
"source" : "b40117ab71b81a91.txt",
"type" : "text/plain",
"size" : 7
} ],
"parameters" : [ ],
"hasContent" : true,
"stepsCount" : 0,
"attachmentsCount" : 2,
"shouldDisplayMessage" : false
},
"afterStages" : [ ],
"labels" : [ {
"name" : "feature",
"value" : "组织管理"
}, {
"name" : "story",
"value" : "组织加入用户"
}, {
"name" : "severity",
"value" : "高"
}, {
"name" : "epic",
"value" : "BPM系统-demo"
}, {
"name" : "parentSuite",
"value" : "test_case.test_demo"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "LAPTOP-O09782E1"
}, {
"name" : "thread",
"value" : "8968-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_demo.test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api_name",
"value" : "'组织加入用户'"
}, {
"name" : "case_data",
"value" : "{'orgCode': 'test_add_org', 'accounts': 'admin'}"
}, {
"name" : "case_level",
"value" : "'高'"
}, {
"name" : "case_title",
"value" : "'正向用例'"
}, {
"name" : "expect_data",
"value" : "{'state': True, 'message': '加入成功', 'value': ''}"
}, {
"name" : "method",
"value" : "'POST'"
}, {
"name" : "mime",
"value" : "'query'"
}, {
"name" : "module_name",
"value" : "'组织管理'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "update_key",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://120.46.172.186:8080/api/org/v1/orgUsers/addUsersForOrg'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "10e8cf966692af2d.json",
"parameterValues" : [ "'组织加入用户'", "{'orgCode': 'test_add_org', 'accounts': 'admin'}", "'高'", "'正向用例'", "{'state': True, 'message': '加入成功', 'value': ''}", "'POST'", "'query'", "'组织管理'", "None", "None", "None", "'http://120.46.172.186:8080/api/org/v1/orgUsers/addUsersForOrg'" ]
}
\ No newline at end of file
{
"uid" : "15e35cc79ee68b8c",
"name" : "正向用例",
"fullName" : "test_case.test_demo.test_bpm.TestBPM#test_bpm",
"historyId" : "e133082949e07d38e4a8587843153535",
"time" : {
"start" : 1716272621856,
"stop" : 1716272621912,
"duration" : 56
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "9822ad938ab5e065",
"name" : "log",
"source" : "9822ad938ab5e065.txt",
"type" : "text/plain",
"size" : 376
}, {
"uid" : "756ecf2b72d113b2",
"name" : "stdout",
"source" : "756ecf2b72d113b2.txt",
"type" : "text/plain",
"size" : 7
} ],
"parameters" : [ ],
"hasContent" : true,
"stepsCount" : 0,
"attachmentsCount" : 2,
"shouldDisplayMessage" : false
},
"afterStages" : [ ],
"labels" : [ {
"name" : "feature",
"value" : "组织管理"
}, {
"name" : "story",
"value" : "保存组织参数"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "BPM系统-demo"
}, {
"name" : "parentSuite",
"value" : "test_case.test_demo"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "LAPTOP-O09782E1"
}, {
"name" : "thread",
"value" : "8968-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_demo.test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api_name",
"value" : "'保存组织参数'"
}, {
"name" : "case_data",
"value" : "{'query': {'orgCode': 'test_add_org'}, 'body': [{'alias': 'sz', 'value': 100}, {'alias': 'kc', 'value': '语文课'}]}"
}, {
"name" : "case_level",
"value" : "'中'"
}, {
"name" : "case_title",
"value" : "'正向用例'"
}, {
"name" : "expect_data",
"value" : "{'state': True, 'message': '保存组织参数成功!', 'value': ''}"
}, {
"name" : "method",
"value" : "'post'"
}, {
"name" : "mime",
"value" : "'query|json'"
}, {
"name" : "module_name",
"value" : "'组织管理'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "update_key",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://120.46.172.186:8080/api/org/v1/orgParam/saveOrgParams'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "15e35cc79ee68b8c.json",
"parameterValues" : [ "'保存组织参数'", "{'query': {'orgCode': 'test_add_org'}, 'body': [{'alias': 'sz', 'value': 100}, {'alias': 'kc', 'value': '语文课'}]}", "'中'", "'正向用例'", "{'state': True, 'message': '保存组织参数成功!', 'value': ''}", "'post'", "'query|json'", "'组织管理'", "None", "None", "None", "'http://120.46.172.186:8080/api/org/v1/orgParam/saveOrgParams'" ]
}
\ No newline at end of file
{
"uid" : "1bd3c031f056ab2e",
"name" : "反向用例-用户名正确,密码为空",
"fullName" : "test_case.test_demo.test_bpm.TestBPM#test_bpm",
"historyId" : "4164dfc118ea6cc8eeb9ce3984609436",
"time" : {
"start" : 1716272598829,
"stop" : 1716272598886,
"duration" : 57
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "71a819440c253d52",
"name" : "log",
"source" : "71a819440c253d52.txt",
"type" : "text/plain",
"size" : 275
}, {
"uid" : "8883fd4feebc6905",
"name" : "stdout",
"source" : "8883fd4feebc6905.txt",
"type" : "text/plain",
"size" : 7
} ],
"parameters" : [ ],
"hasContent" : true,
"stepsCount" : 0,
"attachmentsCount" : 2,
"shouldDisplayMessage" : false
},
"afterStages" : [ ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登录系统"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "BPM系统-demo"
}, {
"name" : "parentSuite",
"value" : "test_case.test_demo"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "LAPTOP-O09782E1"
}, {
"name" : "thread",
"value" : "8968-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_demo.test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api_name",
"value" : "'登录系统'"
}, {
"name" : "case_data",
"value" : "{'username': 'admin', 'password': ''}"
}, {
"name" : "case_level",
"value" : "'中'"
}, {
"name" : "case_title",
"value" : "'反向用例-用户名正确,密码为空'"
}, {
"name" : "expect_data",
"value" : "{'message': '账号或密码错误'}"
}, {
"name" : "method",
"value" : "'POST'"
}, {
"name" : "mime",
"value" : "'application/json'"
}, {
"name" : "module_name",
"value" : "'认证接口'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "update_key",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://120.46.172.186:8080/auth'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "1bd3c031f056ab2e.json",
"parameterValues" : [ "'登录系统'", "{'username': 'admin', 'password': ''}", "'中'", "'反向用例-用户名正确,密码为空'", "{'message': '账号或密码错误'}", "'POST'", "'application/json'", "'认证接口'", "None", "None", "None", "'http://120.46.172.186:8080/auth'" ]
}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
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