Commit 0bb23dcf by wenjing

测试——03

parent 94b82df3
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: test62
# FileName: __init__.py
# Author: wen
# Datetime: 2024/9/4 下午6:53
# Description:
#
# ---------------------------------------------------------------------------
import logging
import os
import time
def log(name="ceshi"):
# 创建Logger对象
logger = logging.getLogger(name)
# 设置日志级别
logger.level = logging.INFO
# 设置日志文件名称,获取文件目录
log_name = time.strftime("%Y-%m-%d-%H-%M-%S", time.localtime()) + ".log"
log_dir = os.path.join(os.path.join(os.path.dirname(__file__), "report"), "log")
log_path = os.path.join(log_dir, log_name)
# 设置写入日志的文件
handle = logging.FileHandler(log_path, mode="a", encoding="utf_8")
# 设置日志的显示格式
formatter = logging.Formatter('%(asctime)s - %(filename)s[line:%(lineno)d] - %(levelname)s: %(message)s -- %(name)s')
# 设置文件中的日志格式
handle.setFormatter(formatter)
# 给Logger对象添加文件
logger.addHandler(handle)
# 返回Logger对象
return logger
# 先执行函数,获取函数的返回值,再使用函数的返回值写入文件
log = log()
\ No newline at end of file
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: test62
# FileName: __init__.py
# Author: wen
# Datetime: 2024/9/4 下午6:54
# Description:
#
# ---------------------------------------------------------------------------
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: test62
# FileName: user_read_ini.py
# Author: wen
# Datetime: 2024/8/31 上午10:07
# Description:
#
# ---------------------------------------------------------------------------
""""""
import configparser
import os.path
from Test_3 import log
class ReadIni:
def __init__(self):
# 获取数据配置目录的路径
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, "basic_config.ini")
# 创建Configparser对象
self.conf = configparser.ConfigParser()
# Configparser对象调用read方法读取ini文件
self.conf.read(ini_path, encoding="utf-8")
def get_host(self, key):
try:
# Configparser对象调用get方法获取key对应的值并返回被测系统的域名
return self.conf.get("host", key)
except Exception as e:
# critical--致命错误
log.error(f"方法get_host,获取被测系统的域名产生错误,传入的key为{key},错误为:{e}")
raise e
def get_sql(self, key):
"""根据key获取sql节点下数据库的链接信息"""
try:
# 调用get方法获取key对应的值获取数据库的链接信息
return self.conf.get("sql", key)
except Exception as e:
# critical--致命错误
log.error(f"方法get_sql,获取数据库链接信息产生错误,传入的key为{key},错误为:{e}")
raise e
if __name__ == '__main__':
ini = ReadIni()
ini.get_file_path(1111)
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: test62
# FileName: db.py
# Author: wen
# Datetime: 2024/9/3 下午7:01
# Description:
#
# ---------------------------------------------------------------------------
import pymysql
from Test_3 import log
from Test_3.common.basic_read_ini import ReadIni
class DB:
def __init__(self):
# 创建ReadIni对象
ini = ReadIni()
# 链接数据库
self.conn = pymysql.connect(
host=ini.get_sql("host"),
port=int(ini.get_sql("port")),
user=ini.get_sql("user"),
password=ini.get_sql("password"),
database=ini.get_sql("database"),
charset="utf8"
)
# 获取游标对象
self.cursor = self.conn.cursor()
def close(self):
# 关闭游标对象,关闭数据库
self.cursor.close()
self.conn.close()
def delete(self, sql_sentence):
# 判断删除sql语句为字符串
if isinstance(sql_sentence, str):
# 判断是否为delete开始
if sql_sentence.strip().lower().startswith("delete"):
try:
# 执行sql语句并提交
self.cursor.execute(sql_sentence)
self.conn.commit()
except Exception as e:
log.error(f"方法delete,执行删除的sql语句{sql_sentence}产生错误,错误为:{e}")
raise e
else:
log.error(f"执行delete方法时,sql语句错误,sql语句为:{sql_sentence}")
raise ValueError(f"删除sql语句错误")
else:
log.error(f"执行delete方法时,sql语句错误,sql语句为:{sql_sentence}")
raise ValueError(f"删除sql语句错误")
def select(self, sql_sentence, n=0):
# 判断查询sql语句为字符串
if isinstance(sql_sentence, str):
# 判断是否为select开始
if sql_sentence.strip().lower().startswith("select"):
try:
# 执行sql语句并提交
self.cursor.execute(sql_sentence)
self.conn.commit()
except Exception as e:
log.error(f"执行查询的sql语句{sql_sentence}产生错误,错误为:{e}")
raise e
else:
# 接受查询结果
select_result = self.cursor.fetchall()
try:
# 有查询结果返回查询结果,没有,返回None
if select_result:
return select_result[n][0]
except Exception as e:
log.error(f"获取查询结果产生错误错误可能是n产生的,n为{n},错误为:{e}")
raise e
else:
log.error(f"执行select方法时,sql语句不是查询的sql语句,sql语句为:{sql_sentence}")
raise ValueError(f"sql语句错误")
else:
log.error(f"执行select方法时,sql语句错误,sql语句为:{sql_sentence}")
raise ValueError(f"sql语句错误")
if __name__ == '__main__':
sql = "select ID_ FROM uc_demension LIMIT 2"
db = DB()
print(db.select(sql, n=100))
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: test62
# FileName: read_excel.py
# Author: wen
# Datetime: 2024/8/31 上午11:24
# Description:
#
# ---------------------------------------------------------------------------
import openpyxl
from Test_3 import log
from Test_3.common.user_read_ini import ReadIni
from Test_3.common.basic_read_ini import ReadIni as BasicIni
from Test_3.common.read_json import read_json
from Test_3.data_config.settings import *
class ReadExcel:
def __init__(self, username):
# 创建ReadIni对象
self.ini = ReadIni(username)
# 获取excel的路径
excel_path = self.ini.get_file_path(FILE_EXCEL)
# 获取工作表名称
table_name = self.ini.get_table(TABLE_KEY)
# 获取json文件路径
case_data_path = self.ini.get_file_path(FILE_CASE)
expect_data_path = self.ini.get_file_path(FILE_EXPECT)
sql_data_path = self.ini.get_file_path(FILE_SQL)
# 读取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:
# 加载工作簿
wb = openpyxl.load_workbook(excel_path)
self.ws = wb[table_name]
except Exception as e:
log.error(f"ini配置文件中的配置项填写错误,可能excel的文件名称{excel_path}错误,也可能工作表名称{table_name}错误,错误为:{e}")
raise e
def __get_cell_value(self, column, row):
try:
# 获取列表中的列行值(F1..)
cell_value = self.ws[column + str(row)].value
except Exception as e:
log.error(f"获取{column}列的第{row}行的数据,产生错误,错误为:{e}")
raise e
else:
# 判断单元格数据是否为None,如果为none,返回None
if cell_value is None:
return None
# 判断单元格数据去掉前后空白字符后是否为空,如果为空,返回None,不为空,去掉前后空格后返回
elif cell_value.strip():
return cell_value.strip()
def get_case_url(self, row):
# 获取excel里的用例路径
path = self.__get_cell_value(URL, row)
# 判断用例路径是否为空,不为空,进行拼接,为空,返回None
if path:
# ReadIni对象调用get_host获取域名
# 返回拼接路径
return BasicIni().get_host(HOST_KEY) + path
def get_request_method(self, row):
# 获取用例中的请求方法
return self.__get_cell_value(REQ_METHOD, row)
def get_request_mime(self, row):
# 获取用例的请求的媒体类型
mime = self.__get_cell_value(MIME, row)
# 判断是否为空,不为空,转小写返回,为空,返回None
# 结果1 if bool表达式 else 结果2
# return mime.lower() if mime else None
if mime:
return mime.lower()
def get_module_name(self, row):
# 根据行号,获取模块名称
return self.__get_cell_value(MODULE, row)
def get_api_name(self, row):
# 根据行号,获取接口名称
return self.__get_cell_value(API, row)
def get_case_data(self, row):
# 获取用例数据的key
case_data_key = self.__get_cell_value(CASE_DATA, row)
# 判断是否为None,如果为空,返回None,不为空,获取key
if case_data_key:
# 获取用例的模块名称,接口名称
module_name = self.get_module_name(row)
api_name = self.get_api_name(row)
# 根据模块名称,接口名称,用例数据的key获取用例数据
return self.case_data_dict[module_name][api_name][case_data_key]
def get_expect_data(self, row):
# 获取excel里期望数据的key
expect_data_key = self.__get_cell_value(EXPECT_DATA, row)
if expect_data_key:
# 获取期望数据的模块名称,接口名称
module_name = self.get_module_name(row)
api_name = self.get_api_name(row)
# 根据模块名称,接口名称,期望的key获取期望数据
return self.expect_data_dict[module_name][api_name][expect_data_key]
def get_sql_data(self, row):
# 获取excel里期望数据的key
sql_data_key = self.__get_cell_value(SQL_DATA, row)
if sql_data_key:
# 获取期望数据的模块名称,接口名称
module_name = self.get_module_name(row)
api_name = self.get_api_name(row)
# 根据模块名称,接口名称,期望的key获取期望数据
return self.sql_data_dict[module_name][api_name][sql_data_key]
def get_sql_type(self, row):
# 获取sql语句类型的值
sql = self.__get_cell_value(SQL_TYPE, row)
# 判断是否为空,不为空,转小写返回,为空,返回None
if sql:
return sql.lower()
def get_update_key(self, row):
# 获取更新的key
return self.__get_cell_value(UPDATE_KEY, row)
def get_case_title(self, row):
# 获取用例标题
return self.__get_cell_value(TITLE, row)
def get_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.get_module_name(row)
api_name = self.get_api_name(row)
title = self.get_case_title(row)
level = self.get_case_level(row)
# 请求路径
url = self.get_case_url(row)
# 请求方法
method = self.get_request_method(row)
# 请求媒体类型
mime = self.get_request_mime(row)
# 用例数据
case_data = self.get_case_data(row)
# 期望数据,做断言
expect_data = self.get_expect_data(row)
# sql语句类型
sql_type = self.get_sql_type(row)
# sql语句数据
sql_data = self.get_sql_data(row)
# 更新的key
update_key = self.get_update_key(row)
# 过滤空行,请求路径,方法,媒体类型都不为空,表示不是空行
if url is not None and method is not None and expect_data is not None:
# 将获取的数据放在一个空列表中,再将列表追加到前面的空列表中
list_data.append(
[module_name, api_name, title, level, url, method, mime, case_data, expect_data, sql_type, sql_data, update_key])
else:
return list_data
if __name__ == '__main__':
excel = ReadExcel("demo")
# print(excel.get_case_data(12))
# print(excel.get_expect_data(12))
# print(excel.get_sql_data(12))
print(excel.get_data())
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: test62
# FileName: read_json.py
# Author: wen
# Datetime: 2024/8/31 上午10:52
# Description:
#
# ---------------------------------------------------------------------------
import json
import os
from Test_3 import log
from Test_3.common.user_read_ini import ReadIni
def read_json(file_path):
# 判断传入的路径是否为字符串
if isinstance(file_path, str):
# 判断传入的路径是一个文件并以,json结尾
if os.path.isfile(file_path) and file_path.endswith(".json"):
try:
# 读取json文件
with open(file_path, mode="r", encoding="utf-8") as f:
# 将json文件的数据序列化python对象
return json.loads(f.read())
# return json.load(f)
except Exception as e:
log.error(f"读取json文件的数据存在问题,json文件路径为:{file_path},错误为:{e}")
raise e
else:
# 如果路径不存在或不是以.json结尾的,抛出FileNotFoundError的错误
raise FileNotFoundError("传入的路径找不到")
else:
# 如果路径不是字符串,抛出TypeError错误
log.error(f"方法read_json执行失败,传入的文件路径为:{file_path},不为字符串")
raise ValueError("传入的文件路径必须为字符串")
if __name__ == '__main__':
ini = ReadIni()
print(read_json(ini.get_file_path("case")))
\ No newline at end of file
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: test62
# FileName: user_read_ini.py
# Author: wen
# Datetime: 2024/8/31 上午10:07
# Description:
#
# ---------------------------------------------------------------------------
""""""
import configparser
import os.path
from Test_3 import log
class ReadIni:
def __init__(self, username):
# 获取数据配置目录的路径
data_config_path = os.path.join(os.path.dirname(os.path.dirname(__file__)), "data_config")
self.user_dir = os.path.join(data_config_path, username)
# 获取ini文件的路径
ini_path = os.path.join(self.user_dir, "config.ini")
# 创建Configparser对象
self.conf = configparser.ConfigParser()
# Configparser对象调用read方法读取ini文件
self.conf.read(ini_path, encoding="utf-8")
def get_file_path(self, key):
try:
log.info(f"执行方法为get_file_path,获取file节点下的key对应的值,传入的key为{key}")
# Configparser对象调用get方法获取key对应的值
file_name = self.conf.get("file", key)
except Exception as e:
# critical--致命错误
log.error(f"方法get_file_path执行失败,传入的key为{key},错误为:{e}")
raise e
else:
# 返回拼接文件的路径
return os.path.join(self.user_dir, file_name)
def get_table(self, key):
try:
# 调用get方法获取key对应的值返回工作表的名称
return self.conf.get("table", key)
except Exception as e:
# critical--致命错误
log.error(f"方法get_table,获取工作表名称产生错误,传入的key为{key},错误为:{e}")
raise e
if __name__ == '__main__':
ini = ReadIni()
ini.get_file_path(1111)
[host]
# 配置被测系统的域名
bpm_host=http://36.139.193.99:8088
[sql]
# 配置数据库数据
host=36.139.193.99
port=3306
user=root
password=Rhrc@2024
database=eip8
[report]
# 日志
log=log
\ No newline at end of file
{
"认证接口": {
"登陆系统": {
"LoginSuccess": {"username": "admin", "password": "EuaozNT/aGWiIjWYfJUjoGeLD/vQR5o4hTaHkaSPnfpmIkdQ6O83HZt+uCsiY02ssw09/ZRYFVVLDn6nzkTvRg28EsWAqZGOGqiMTSSY/MADPHKRxP+8Lc6CTPKRwkpLKgDeVUYAhqT7s2K4WO0W2Vv2nGRyEHdy+v7UyPe2bv8="},
"LoginErrorUsernameIsNone": {"username": "", "password": "EuaozNT/aGWiIjWYfJUjoGeLD/vQR5o4hTaHkaSPnfpmIkdQ6O83HZt+uCsiY02ssw09/ZRYFVVLDn6nzkTvRg28EsWAqZGOGqiMTSSY/MADPHKRxP+8Lc6CTPKRwkpLKgDeVUYAhqT7s2K4WO0W2Vv2nGRyEHdy+v7UyPe2bv8="},
"LoginErrorUsernameIsSpecialChar": {"username": "◦☼♠♣▣▤", "password": "EuaozNT/aGWiIjWYfJUjoGeLD/vQR5o4hTaHkaSPnfpmIkdQ6O83HZt+uCsiY02ssw09/ZRYFVVLDn6nzkTvRg28EsWAqZGOGqiMTSSY/MADPHKRxP+8Lc6CTPKRwkpLKgDeVUYAhqT7s2K4WO0W2Vv2nGRyEHdy+v7UyPe2bv8="},
"LoginErrorUsernameIsLong": {"username": "adminadminadminadminadminadminadminadminadminadminadmin", "password": "EuaozNT/aGWiIjWYfJUjoGeLD/vQR5o4hTaHkaSPnfpmIkdQ6O83HZt+uCsiY02ssw09/ZRYFVVLDn6nzkTvRg28EsWAqZGOGqiMTSSY/MADPHKRxP+8Lc6CTPKRwkpLKgDeVUYAhqT7s2K4WO0W2Vv2nGRyEHdy+v7UyPe2bv8="},
"LoginErrorUsernameIsShort": {"username": "a", "password": "EuaozNT/aGWiIjWYfJUjoGeLD/vQR5o4hTaHkaSPnfpmIkdQ6O83HZt+uCsiY02ssw09/ZRYFVVLDn6nzkTvRg28EsWAqZGOGqiMTSSY/MADPHKRxP+8Lc6CTPKRwkpLKgDeVUYAhqT7s2K4WO0W2Vv2nGRyEHdy+v7UyPe2bv8="},
"LoginErrorUsernameIsError": {"username": "admin1", "password": "EuaozNT/aGWiIjWYfJUjoGeLD/vQR5o4hTaHkaSPnfpmIkdQ6O83HZt+uCsiY02ssw09/ZRYFVVLDn6nzkTvRg28EsWAqZGOGqiMTSSY/MADPHKRxP+8Lc6CTPKRwkpLKgDeVUYAhqT7s2K4WO0W2Vv2nGRyEHdy+v7UyPe2bv8="},
"LoginErrorPasswordIsNone": {"username": "admin", "password": ""},
"LoginErrorPasswordIsSpecialChar": {"username": "admin", "password": "◦☼♠♣▣▤"},
"LoginErrorPasswordIsLong": {"username": "admin", "password": "EuaozNT/aGWiIjWYfJUjoGeLD/vQR5o4hTaHkaSPnfpmIkdQ6O83HZt+uCsiY02ssw09/ZRYFVVLDn6nzkTvRg28EsWAqZGOGqiMTSSY/MADPHKRxP+8Lc6CTPKRwkpLKgDeVUYAhqT7s2K4WO0W2Vv2nGRyEHdy+v7UyPe2bv8=EuaozNT/aGWiIjWYfJUjoGeLD/vQR5o4hTaHkaSPnfpmIkdQ6O83HZt+uCsiY02ssw09/ZRYFVVLDn6nzkTvRg28EsWAqZGOGqiMTSSY/MADPHKRxP+8Lc6CTPKRwkpLKgDeVUYAhqT7s2K4WO0W2Vv2nGRyEHdy+v7UyPe2bv8=EuaozNT/aGWiIjWYfJUjoGeLD/vQR5o4hTaHkaSPnfpmIkdQ6O83HZt+uCsiY02ssw09/ZRYFVVLDn6nzkTvRg28EsWAqZGOGqiMTSSY/MADPHKRxP+8Lc6CTPKRwkpLKgDeVUYAhqT7s2K4WO0W2Vv2nGRyEHdy+v7UyPe2bv8="},
"LoginErrorPasswordIsShort": {"username": "admin", "password": "123456"},
"LoginErrorPasswordIsError": {"username": "admin", "password": "EuaozNT/aGWiIjWYfJUjoGeLD/vQR5o4hTaHkaSPnfpmIkdQ6O83HZt+uCsiY02ssw09/ZRYFVVLDn6nzkTvRg28EsWAqZGOGqiMTSSY/MADPHKRxP+8Lc6CTPKRwkpLKgDeVUYAhqT7s2K4WO0W2Vv2nGRyEHdy+v7UyPe2bv"}
}
},
"维度管理": {
"添加维度": {
"AddDemSuccess": {"code": "request_add_dem_w1", "description": "add_dem_w1", "isDefault": 1, "name": "request添加的维度w1"}
},
"根据维度编码获取维度信息": {
"GetDemMessageSuccess": {"code": "request_add_dem_w1"}
},
"根据维度编码删除维度": {
"DeleteDemMessageSuccess": {"ids": "需要更新"}
},
"更新维度": {
"UpdateDemSuccess": {
"code": "request_add_dem_w1",
"description": "更新",
"isDefault": 0,
"name": "request_add_dem_w1"
}
}
},
"组织管理": {
"添加组织": {
"AddOrgSuccess": {
"code": "test_org_w1",
"demId": "需要更新",
"exceedLimitNum": 0,
"grade": "",
"limitNum": 0,
"name": "测试添加的组织w1",
"nowNum": 0,
"orderNo": 0,
"parentId": "0"
}
},
"用户加入组织": {
"OrgAddUserSuccess": {"orgCode": "test_org_w1", "accounts": "admin,guest"}
},
"保存组织参数": {
"SaveOrgParamsSuccess": {
"query": {"orgCode": "test_org_w1"},
"body": [{"alias": "hxxmts", "value": "项目中没有关系户"}]
}
},
"删除组织": {
"DeleteOrgSuccess": "test_org_w1"
}
}
}
\ No newline at end of file
[file]
# 配置数据层的文件名称
excel=apiAutoTest.xlsx
case=case_data.json
expect=expect_data.json
sql=sql_data.json
[table]
# 配置excel的工作表名称
table_name=bpm
\ No newline at end of file
{
"认证接口": {
"登陆系统": {
"LoginSuccess": {"username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true},
"LoginErrorUsernameIsNone": {"message":"账户错误或该租户未启用"},
"LoginErrorUsernameIsSpecialChar": {"message":"账户错误或该租户未启用"},
"LoginErrorUsernameIsLong": {"message":"账户错误或该租户未启用"},
"LoginErrorUsernameIsShort": {"message":"账户错误或该租户未启用"},
"LoginErrorUsernameIsError": {"message":"账户错误或该租户未启用"},
"LoginErrorPasswordIsNone": {"message":"账号或密码错误"},
"LoginErrorPasswordIsSpecialChar": {"message":"账号或密码错误"},
"LoginErrorPasswordIsLong": {"message":"账号或密码错误"},
"LoginErrorPasswordIsShort": {"message":"账号或密码错误"},
"LoginErrorPasswordIsError": {"message":"账号或密码错误"}
},
"刷新token": {
"RefreshSuccess": {"message":"刷新token成功"}
}
},
"维度管理": {
"添加维度": {
"AddDemSuccess": {"message":"添加维度成功!"}
},
"根据维度编码获取维度信息": {
"GetDemMessageSuccess": {"isDelete": "0"}
},
"根据维度编码删除维度": {
"DeleteDemMessageSuccess": {"message":"删除维度成功!"}
},
"更新维度": {
"UpdateDemSuccess": {"message":"更新维度成功!"}
}
},
"组织管理": {
"添加组织": {
"AddOrgSuccess": {"message":"添加组织成功!"}
},
"用户加入组织": {
"OrgAddUserSuccess": {"message":"加入成功"}
},
"保存组织参数": {
"SaveOrgParamsSuccess": {"message":"保存组织参数成功!"}
},
"删除组织": {
"DeleteOrgSuccess": {"message":"删除组织成功!"}
}
}
}
\ No newline at end of file
{
"维度管理": {
"添加维度": {
"AddDemSuccess": {"delete": "DELETE FROM uc_demension WHERE `CODE_`=\"request_add_dem_w1\";"}
},
"根据维度编码删除维度": {
"DeleteDemMessageSuccess": {"select": "select ID_ FROM uc_demension WHERE `CODE_`=\"request_add_dem_w1\";"}
}
},
"组织管理": {
"添加组织": {
"AddOrgSuccess": {
"select": "select ID_ FROM uc_demension WHERE `CODE_`=\"request_add_dem_w1\";",
"delete": "delete FROM uc_org WHERE `CODE_`=\"test_org_w1\";"
}
}
}
}
\ No newline at end of file
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: test62
# FileName: settings.py
# Author: wen
# Datetime: 2024/9/7 上午9:32
# Description:
#
# ---------------------------------------------------------------------------
# excel的列号
NUMBER = "A"
MODULE = "B"
API = "C"
TITLE = "D"
LEVEL = "E"
URL = "F"
REQ_METHOD = "G"
MIME = "H"
CASE_DATA = "I"
EXPECT_DATA = "J"
SQL_TYPE = "K"
SQL_DATA = "L"
UPDATE_KEY = "M"
# ini文件中file节点的key
FILE_EXCEL = "excel"
FILE_CASE = "case"
FILE_EXPECT = "expect"
FILE_SQL = "sql"
# ini文件中table的key
TABLE_KEY = "table_name"
# ini文件中host的key
HOST_KEY = "bpm_host"
{
"认证接口": {
"登陆系统": {
"LoginSuccess": {"username": "admin", "password": "EuaozNT/aGWiIjWYfJUjoGeLD/vQR5o4hTaHkaSPnfpmIkdQ6O83HZt+uCsiY02ssw09/ZRYFVVLDn6nzkTvRg28EsWAqZGOGqiMTSSY/MADPHKRxP+8Lc6CTPKRwkpLKgDeVUYAhqT7s2K4WO0W2Vv2nGRyEHdy+v7UyPe2bv8="},
"LoginErrorUsernameIsNone": {"username": "", "password": "EuaozNT/aGWiIjWYfJUjoGeLD/vQR5o4hTaHkaSPnfpmIkdQ6O83HZt+uCsiY02ssw09/ZRYFVVLDn6nzkTvRg28EsWAqZGOGqiMTSSY/MADPHKRxP+8Lc6CTPKRwkpLKgDeVUYAhqT7s2K4WO0W2Vv2nGRyEHdy+v7UyPe2bv8="},
"LoginErrorUsernameIsSpecialChar": {"username": "◦☼♠♣▣▤", "password": "EuaozNT/aGWiIjWYfJUjoGeLD/vQR5o4hTaHkaSPnfpmIkdQ6O83HZt+uCsiY02ssw09/ZRYFVVLDn6nzkTvRg28EsWAqZGOGqiMTSSY/MADPHKRxP+8Lc6CTPKRwkpLKgDeVUYAhqT7s2K4WO0W2Vv2nGRyEHdy+v7UyPe2bv8="},
"LoginErrorUsernameIsLong": {"username": "adminadminadminadminadminadminadminadminadminadminadmin", "password": "EuaozNT/aGWiIjWYfJUjoGeLD/vQR5o4hTaHkaSPnfpmIkdQ6O83HZt+uCsiY02ssw09/ZRYFVVLDn6nzkTvRg28EsWAqZGOGqiMTSSY/MADPHKRxP+8Lc6CTPKRwkpLKgDeVUYAhqT7s2K4WO0W2Vv2nGRyEHdy+v7UyPe2bv8="},
"LoginErrorUsernameIsShort": {"username": "a", "password": "EuaozNT/aGWiIjWYfJUjoGeLD/vQR5o4hTaHkaSPnfpmIkdQ6O83HZt+uCsiY02ssw09/ZRYFVVLDn6nzkTvRg28EsWAqZGOGqiMTSSY/MADPHKRxP+8Lc6CTPKRwkpLKgDeVUYAhqT7s2K4WO0W2Vv2nGRyEHdy+v7UyPe2bv8="},
"LoginErrorUsernameIsError": {"username": "admin1", "password": "EuaozNT/aGWiIjWYfJUjoGeLD/vQR5o4hTaHkaSPnfpmIkdQ6O83HZt+uCsiY02ssw09/ZRYFVVLDn6nzkTvRg28EsWAqZGOGqiMTSSY/MADPHKRxP+8Lc6CTPKRwkpLKgDeVUYAhqT7s2K4WO0W2Vv2nGRyEHdy+v7UyPe2bv8="},
"LoginErrorPasswordIsNone": {"username": "admin", "password": ""},
"LoginErrorPasswordIsSpecialChar": {"username": "admin", "password": "◦☼♠♣▣▤"},
"LoginErrorPasswordIsLong": {"username": "admin", "password": "EuaozNT/aGWiIjWYfJUjoGeLD/vQR5o4hTaHkaSPnfpmIkdQ6O83HZt+uCsiY02ssw09/ZRYFVVLDn6nzkTvRg28EsWAqZGOGqiMTSSY/MADPHKRxP+8Lc6CTPKRwkpLKgDeVUYAhqT7s2K4WO0W2Vv2nGRyEHdy+v7UyPe2bv8=EuaozNT/aGWiIjWYfJUjoGeLD/vQR5o4hTaHkaSPnfpmIkdQ6O83HZt+uCsiY02ssw09/ZRYFVVLDn6nzkTvRg28EsWAqZGOGqiMTSSY/MADPHKRxP+8Lc6CTPKRwkpLKgDeVUYAhqT7s2K4WO0W2Vv2nGRyEHdy+v7UyPe2bv8=EuaozNT/aGWiIjWYfJUjoGeLD/vQR5o4hTaHkaSPnfpmIkdQ6O83HZt+uCsiY02ssw09/ZRYFVVLDn6nzkTvRg28EsWAqZGOGqiMTSSY/MADPHKRxP+8Lc6CTPKRwkpLKgDeVUYAhqT7s2K4WO0W2Vv2nGRyEHdy+v7UyPe2bv8="},
"LoginErrorPasswordIsShort": {"username": "admin", "password": "123456"},
"LoginErrorPasswordIsError": {"username": "admin", "password": "EuaozNT/aGWiIjWYfJUjoGeLD/vQR5o4hTaHkaSPnfpmIkdQ6O83HZt+uCsiY02ssw09/ZRYFVVLDn6nzkTvRg28EsWAqZGOGqiMTSSY/MADPHKRxP+8Lc6CTPKRwkpLKgDeVUYAhqT7s2K4WO0W2Vv2nGRyEHdy+v7UyPe2bv"}
}
},
"维度管理": {
"添加维度": {
"AddDemSuccess": {"code": "request_add_dem_w1", "description": "add_dem_w1", "isDefault": 1, "name": "request添加的维度w1"}
},
"根据维度编码获取维度信息": {
"GetDemMessageSuccess": {"code": "request_add_dem_w1"}
},
"根据维度编码删除维度": {
"DeleteDemMessageSuccess": {"ids": "需要更新"}
},
"更新维度": {
"UpdateDemSuccess": {
"code": "request_add_dem_w1",
"description": "更新",
"isDefault": 0,
"name": "request_add_dem_w1"
}
}
},
"组织管理": {
"添加组织": {
"AddOrgSuccess": {
"code": "test_org_w1",
"demId": "需要更新",
"exceedLimitNum": 0,
"grade": "",
"limitNum": 0,
"name": "测试添加的组织w1",
"nowNum": 0,
"orderNo": 0,
"parentId": "0"
}
},
"用户加入组织": {
"OrgAddUserSuccess": {"orgCode": "test_org_w1", "accounts": "admin,guest"}
},
"保存组织参数": {
"SaveOrgParamsSuccess": {
"query": {"orgCode": "test_org_w1"},
"body": [{"alias": "hxxmts", "value": "项目中没有关系户"}]
}
},
"删除组织": {
"DeleteOrgSuccess": "test_org_w1"
}
}
}
\ No newline at end of file
[file]
# 配置数据层的文件名称
excel=wj.xlsx
case=case_data.json
expect=expect_data.json
sql=sql_data.json
[table]
# 配置excel的工作表名称
table_name=bpm
\ No newline at end of file
{
"认证接口": {
"登陆系统": {
"LoginSuccess": {"username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true},
"LoginErrorUsernameIsNone": {"message":"账户错误或该租户未启用"},
"LoginErrorUsernameIsSpecialChar": {"message":"账户错误或该租户未启用"},
"LoginErrorUsernameIsLong": {"message":"账户错误或该租户未启用"},
"LoginErrorUsernameIsShort": {"message":"账户错误或该租户未启用"},
"LoginErrorUsernameIsError": {"message":"账户错误或该租户未启用"},
"LoginErrorPasswordIsNone": {"message":"账号或密码错误"},
"LoginErrorPasswordIsSpecialChar": {"message":"账号或密码错误"},
"LoginErrorPasswordIsLong": {"message":"账号或密码错误"},
"LoginErrorPasswordIsShort": {"message":"账号或密码错误"},
"LoginErrorPasswordIsError": {"message":"账号或密码错误"}
},
"刷新token": {
"RefreshSuccess": {"message":"刷新token成功"}
}
},
"维度管理": {
"添加维度": {
"AddDemSuccess": {"message":"添加维度成功!"}
},
"根据维度编码获取维度信息": {
"GetDemMessageSuccess": {"isDelete": "0"}
},
"根据维度编码删除维度": {
"DeleteDemMessageSuccess": {"message":"删除维度成功!"}
},
"更新维度": {
"UpdateDemSuccess": {"message":"更新维度成功!"}
}
},
"组织管理": {
"添加组织": {
"AddOrgSuccess": {"message":"添加组织成功!"}
},
"用户加入组织": {
"OrgAddUserSuccess": {"message":"加入成功"}
},
"保存组织参数": {
"SaveOrgParamsSuccess": {"message":"保存组织参数成功!"}
},
"删除组织": {
"DeleteOrgSuccess": {"message":"删除组织成功!"}
}
}
}
\ No newline at end of file
{
"维度管理": {
"添加维度": {
"AddDemSuccess": {"delete": "DELETE FROM uc_demension WHERE `CODE_`=\"request_add_dem_w1\";"}
},
"根据维度编码删除维度": {
"DeleteDemMessageSuccess": {"select": "select ID_ FROM uc_demension WHERE `CODE_`=\"request_add_dem_w1\";"}
}
},
"组织管理": {
"添加组织": {
"AddOrgSuccess": {
"select": "select ID_ FROM uc_demension WHERE `CODE_`=\"request_add_dem_w1\";",
"delete": "delete FROM uc_org WHERE `CODE_`=\"test_org_w1\";"
}
}
}
}
\ 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  ceshi:test_bpm.py:64 断言成功,用例数据为:{'code': 'request_add_dem_w1'},服务器返回数据为:{"createTime":"2024-09-07 17:10:20","isDelete":"0","id":"1832345644397338624","demCode":"request_add_dem_w1","demName":"request添加的维度w1","demDesc":"add_dem_w1","isDefault":1,"organId":0,"code":"request_add_dem_w1","name":"request添加的维度w1","pkVal":"1832345644397338624"},期望数据为:{'isDelete': '0'}
\ No newline at end of file
ERROR  ceshi:test_bpm.py:63 断言成功,用例数据为:{'username': 'a', 'password': 'EuaozNT/aGWiIjWYfJUjoGeLD/vQR5o4hTaHkaSPnfpmIkdQ6O83HZt+uCsiY02ssw09/ZRYFVVLDn6nzkTvRg28EsWAqZGOGqiMTSSY/MADPHKRxP+8Lc6CTPKRwkpLKgDeVUYAhqT7s2K4WO0W2Vv2nGRyEHdy+v7UyPe2bv8='},服务器返回数据为:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1832345641276776448"},期望数据为:{'message': '账户错误或该租户未启用'}
\ No newline at end of file
ERROR  ceshi:test_bpm.py:59 断言失败,用例数据为:{'username': 'admin', 'password': 'EuaozNT/aGWiIjWYfJUjoGeLD/vQR5o4hTaHkaSPnfpmIkdQ6O83HZt+uCsiY02ssw09/ZRYFVVLDn6nzkTvRg28EsWAqZGOGqiMTSSY/MADPHKRxP+8Lc6CTPKRwkpLKgDeVUYAhqT7s2K4WO0W2Vv2nGRyEHdy+v7UyPe2bv8=EuaozNT/aGWiIjWYfJUjoGeLD/vQR5o4hTaHkaSPnfpmIkdQ6O83HZt+uCsiY02ssw09/ZRYFVVLDn6nzkTvRg28EsWAqZGOGqiMTSSY/MADPHKRxP+8Lc6CTPKRwkpLKgDeVUYAhqT7s2K4WO0W2Vv2nGRyEHdy+v7UyPe2bv8=EuaozNT/aGWiIjWYfJUjoGeLD/vQR5o4hTaHkaSPnfpmIkdQ6O83HZt+uCsiY02ssw09/ZRYFVVLDn6nzkTvRg28EsWAqZGOGqiMTSSY/MADPHKRxP+8Lc6CTPKRwkpLKgDeVUYAhqT7s2K4WO0W2Vv2nGRyEHdy+v7UyPe2bv8='},服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjU3ODY2MTksImlhdCI6MTcyNTcwMDIxOX0.GAQwuIS-uS7HzVXzV9w4i6wSBpBVwd7O59hZt9rKyibXM819wat3Cqxv4Z0To5U-nuS4rnwoJdT77XwygPv_9Q","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}},期望数据为:{'message': '账号或密码错误'}
\ No newline at end of file
ERROR  ceshi:test_bpm.py:63 断言成功,用例数据为:{'username': 'admin', 'password': ''},服务器返回数据为:{"state":false,"message":"账号或密码错误","code":200,"logId":"1832345641582960640"},期望数据为:{'message': '账号或密码错误'}
\ No newline at end of file
ERROR  ceshi:test_bpm.py:63 断言成功,用例数据为:{'username': '◦☼♠♣▣▤', 'password': 'EuaozNT/aGWiIjWYfJUjoGeLD/vQR5o4hTaHkaSPnfpmIkdQ6O83HZt+uCsiY02ssw09/ZRYFVVLDn6nzkTvRg28EsWAqZGOGqiMTSSY/MADPHKRxP+8Lc6CTPKRwkpLKgDeVUYAhqT7s2K4WO0W2Vv2nGRyEHdy+v7UyPe2bv8='},服务器返回数据为:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1832345640970592256"},期望数据为:{'message': '账户错误或该租户未启用'}
\ No newline at end of file
ERROR  ceshi:test_bpm.py:64 断言成功,用例数据为:{'query': {'orgCode': 'test_org_w1'}, 'body': [{'alias': 'hxxmts', 'value': '项目中没有关系户'}]},服务器返回数据为:{"state":true,"message":"保存组织参数成功!","value":"","code":200},期望数据为:{'message': '保存组织参数成功!'}
\ No newline at end of file
ERROR  ceshi:test_bpm.py:63 断言成功,用例数据为:{'username': 'admin', 'password': '◦☼♠♣▣▤'},服务器返回数据为:{"state":false,"message":"账号或密码错误","code":200,"logId":"1832345641742344192"},期望数据为:{'message': '账号或密码错误'}
\ No newline at end of file
ERROR  ceshi:test_bpm.py:59 断言失败,用例数据为:{'username': 'admin', 'password': '123456'},服务器返回数据为:{"state":false,"message":"解密密码异常,请检查RSA公钥和私钥配置","code":200,"logId":"1832345642627342336"},期望数据为:{'message': '账号或密码错误'}
\ No newline at end of file
ERROR  ceshi:test_bpm.py:64 断言成功,用例数据为:{'ids': '1832345644397338624'},服务器返回数据为:{"state":true,"message":"删除维度成功!","value":"","code":200},期望数据为:{'message': '删除维度成功!'}
\ No newline at end of file
ERROR  ceshi:test_bpm.py:64 断言成功,用例数据为:{'code': 'test_org_w1', 'demId': '1832345644397338624', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织w1', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'},服务器返回数据为:{"state":true,"message":"添加组织成功!","value":"","code":200},期望数据为:{'message': '添加组织成功!'}
\ No newline at end of file
ERROR  ceshi:test_bpm.py:64 断言成功,用例数据为:{'code': 'request_add_dem_w1', 'description': 'add_dem_w1', 'isDefault': 1, 'name': 'request添加的维度w1'},服务器返回数据为:{"state":true,"message":"添加维度成功!","value":"","code":200},期望数据为:{'message': '添加维度成功!'}
\ No newline at end of file
ERROR  ceshi:test_bpm.py:63 断言成功,用例数据为:{'username': 'admin1', 'password': 'EuaozNT/aGWiIjWYfJUjoGeLD/vQR5o4hTaHkaSPnfpmIkdQ6O83HZt+uCsiY02ssw09/ZRYFVVLDn6nzkTvRg28EsWAqZGOGqiMTSSY/MADPHKRxP+8Lc6CTPKRwkpLKgDeVUYAhqT7s2K4WO0W2Vv2nGRyEHdy+v7UyPe2bv8='},服务器返回数据为:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1832345641419382784"},期望数据为:{'message': '账户错误或该租户未启用'}
\ No newline at end of file
ERROR  ceshi:test_bpm.py:63 断言成功,用例数据为:{'username': 'adminadminadminadminadminadminadminadminadminadminadmin', 'password': 'EuaozNT/aGWiIjWYfJUjoGeLD/vQR5o4hTaHkaSPnfpmIkdQ6O83HZt+uCsiY02ssw09/ZRYFVVLDn6nzkTvRg28EsWAqZGOGqiMTSSY/MADPHKRxP+8Lc6CTPKRwkpLKgDeVUYAhqT7s2K4WO0W2Vv2nGRyEHdy+v7UyPe2bv8='},服务器返回数据为:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1832345641109004288"},期望数据为:{'message': '账户错误或该租户未启用'}
\ No newline at end of file
ERROR  ceshi:test_bpm.py:63 断言成功,用例数据为:{'username': '', 'password': 'EuaozNT/aGWiIjWYfJUjoGeLD/vQR5o4hTaHkaSPnfpmIkdQ6O83HZt+uCsiY02ssw09/ZRYFVVLDn6nzkTvRg28EsWAqZGOGqiMTSSY/MADPHKRxP+8Lc6CTPKRwkpLKgDeVUYAhqT7s2K4WO0W2Vv2nGRyEHdy+v7UyPe2bv8='},服务器返回数据为:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1832345640823791616"},期望数据为:{'message': '账户错误或该租户未启用'}
\ No newline at end of file
ERROR  ceshi:test_bpm.py:64 断言成功,用例数据为:{'code': 'request_add_dem_w1', 'description': '更新', 'isDefault': 0, 'name': 'request_add_dem_w1'},服务器返回数据为:{"state":true,"message":"更新维度成功!","value":"","code":200},期望数据为:{'message': '更新维度成功!'}
\ No newline at end of file
ERROR  ceshi:test_bpm.py:64 断言成功,用例数据为:test_org_w1,服务器返回数据为:{"state":true,"message":"删除组织成功!","value":"","code":200},期望数据为:{'message': '删除组织成功!'}
\ No newline at end of file
ERROR  ceshi:test_bpm.py:59 断言失败,用例数据为:{'username': 'admin', 'password': 'EuaozNT/aGWiIjWYfJUjoGeLD/vQR5o4hTaHkaSPnfpmIkdQ6O83HZt+uCsiY02ssw09/ZRYFVVLDn6nzkTvRg28EsWAqZGOGqiMTSSY/MADPHKRxP+8Lc6CTPKRwkpLKgDeVUYAhqT7s2K4WO0W2Vv2nGRyEHdy+v7UyPe2bv'},服务器返回数据为:{"state":false,"message":"解密密码异常,请检查RSA公钥和私钥配置","code":200,"logId":"1832345642795114496"},期望数据为:{'message': '账号或密码错误'}
\ No newline at end of file
ERROR  ceshi:test_bpm.py:59 断言失败,用例数据为:None,服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjU3ODY2MTksImlhdCI6MTcyNTcwMDIxOX0.GAQwuIS-uS7HzVXzV9w4i6wSBpBVwd7O59hZt9rKyibXM819wat3Cqxv4Z0To5U-nuS4rnwoJdT77XwygPv_9Q","username":"admin","account":"admin","userId":"","expiration":86400,"loginStatus":true},期望数据为:{'message': '刷新token成功'}
\ No newline at end of file
ERROR  ceshi:test_bpm.py:64 断言成功,用例数据为:{'orgCode': 'test_org_w1', 'accounts': 'admin,guest'},服务器返回数据为:{"state":true,"message":"加入成功","value":"","code":200},期望数据为:{'message': '加入成功'}
\ No newline at end of file
ERROR  ceshi:test_bpm.py:63 断言成功,用例数据为:{'username': 'admin', 'password': 'EuaozNT/aGWiIjWYfJUjoGeLD/vQR5o4hTaHkaSPnfpmIkdQ6O83HZt+uCsiY02ssw09/ZRYFVVLDn6nzkTvRg28EsWAqZGOGqiMTSSY/MADPHKRxP+8Lc6CTPKRwkpLKgDeVUYAhqT7s2K4WO0W2Vv2nGRyEHdy+v7UyPe2bv8='},服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjU3ODY2MTgsImlhdCI6MTcyNTcwMDIxOH0.Ec3-LFJt6Yf6gydzTndHpTL2fRECdK-M0VTUlh8xbVru1aITQ2jfHS7TuCVBpSBH-ZX-ktCgZiG8mE6Z-NnL4w","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}},期望数据为:{'username': '超级管理员', 'account': 'admin', 'userId': '1', 'expiration': 86400, 'loginStatus': True}
\ No newline at end of file
"Epic","Feature","Story","FAILED","BROKEN","PASSED","SKIPPED","UNKNOWN"
"项目名称","认证接口","刷新token","1","0","0","0","0"
"","","","0","0","3","0","0"
"项目名称","组织管理","保存组织参数","0","0","1","0","0"
"项目名称","维度管理","更新维度","0","0","1","0","0"
"项目名称","认证接口","登陆系统","3","0","8","0","0"
"项目名称","组织管理","删除组织","0","0","1","0","0"
"项目名称","组织管理","添加组织","0","0","1","0","0"
"项目名称","维度管理","根据维度编码删除维度","0","0","1","0","0"
"项目名称","维度管理","根据维度编码获取维度信息","0","0","1","0","0"
"项目名称","维度管理","添加维度","0","0","1","0","0"
"项目名称","组织管理","用户加入组织","0","0","1","0","0"
"Category","FAILED","BROKEN","PASSED","SKIPPED","UNKNOWN"
"Product defects","4","0","0","0","0"
{
"uid" : "4b4757e66a1912dae1a509f688f20b0f",
"name" : "categories",
"children" : [ {
"name" : "Product defects",
"children" : [ {
"name" : "AssertionError: 断言失败",
"children" : [ {
"name" : "反向用例-password过长",
"uid" : "118fe3c796fb78c7",
"parentUid" : "19135fd4a1c65086de1dc2a02ed9d4e0",
"status" : "failed",
"time" : {
"start" : 1725700331005,
"stop" : 1725700331044,
"duration" : 39
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'登陆系统'", "{'username': 'admin', 'password': 'EuaozNT/aGWiIjWYfJUjoGeLD/vQR5o4hTaHkaSPnfpmIkdQ6O83HZt+uCsiY02ssw09/ZRYFVVLDn6nzkTvRg28EsWAqZGOGqiMTSSY/MADPHKRxP+8Lc6CTPKRwkpLKgDeVUYAhqT7s2K4WO0W2Vv2nGRyEHdy+v7UyPe2bv8=EuaozNT/aGWiIjWYfJUjoGeLD/vQR5o4hTaHkaSPnfpmIkdQ6O83HZt+uCsiY02ssw09/ZRYFVVLDn6nzkTvRg28EsWAqZGOGqiMTSSY/MADPHKRxP+8Lc6CTPKRwkpLKgDeVUYAhqT7s2K4WO0W2Vv2nGRyEHdy+v7UyPe2bv8=EuaozNT/aGWiIjWYfJUjoGeLD/vQR5o4hTaHkaSPnfpmIkdQ6O83HZt+uCsiY02ssw09/ZRYFVVLDn6nzkTvRg28EsWAqZGOGqiMTSSY/MADPHKRxP+8Lc6CTPKRwkpLKgDeVUYAhqT7s2K4WO0W2Vv2nGRyEHdy+v7UyPe2bv8='}", "{'message': '账号或密码错误'}", "'中'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-password过长'", "None", "'http://36.139.193.99:8088/auth'" ]
}, {
"name" : "反向用例-password过短",
"uid" : "195a42b739a6736f",
"parentUid" : "19135fd4a1c65086de1dc2a02ed9d4e0",
"status" : "failed",
"time" : {
"start" : 1725700331196,
"stop" : 1725700331206,
"duration" : 10
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'登陆系统'", "{'username': 'admin', 'password': '123456'}", "{'message': '账号或密码错误'}", "'中'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-password过短'", "None", "'http://36.139.193.99:8088/auth'" ]
}, {
"name" : "反向用例-password错误",
"uid" : "8a0ab987fa1296fd",
"parentUid" : "19135fd4a1c65086de1dc2a02ed9d4e0",
"status" : "failed",
"time" : {
"start" : 1725700331228,
"stop" : 1725700331244,
"duration" : 16
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'登陆系统'", "{'username': 'admin', 'password': 'EuaozNT/aGWiIjWYfJUjoGeLD/vQR5o4hTaHkaSPnfpmIkdQ6O83HZt+uCsiY02ssw09/ZRYFVVLDn6nzkTvRg28EsWAqZGOGqiMTSSY/MADPHKRxP+8Lc6CTPKRwkpLKgDeVUYAhqT7s2K4WO0W2Vv2nGRyEHdy+v7UyPe2bv'}", "{'message': '账号或密码错误'}", "'中'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-password错误'", "None", "'http://36.139.193.99:8088/auth'" ]
}, {
"name" : "正向用例",
"uid" : "3c9bdc94d0926fe0",
"parentUid" : "19135fd4a1c65086de1dc2a02ed9d4e0",
"status" : "failed",
"time" : {
"start" : 1725700331264,
"stop" : 1725700331304,
"duration" : 40
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'刷新token'", "None", "{'message': '刷新token成功'}", "'高'", "'GET'", "None", "'认证接口'", "None", "None", "'正向用例'", "None", "'http://36.139.193.99:8088/refresh'" ]
} ],
"uid" : "19135fd4a1c65086de1dc2a02ed9d4e0"
} ],
"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"
"failed","Sat Sep 07 17:12:11 CST 2024","Sat Sep 07 17:12:11 CST 2024","40","test_case.test_demo","test_bpm","TestBPM","","","正向用例",""
"passed","Sat Sep 07 17:12:11 CST 2024","Sat Sep 07 17:12:11 CST 2024","31","test_case.test_dependency","test_bpm_3_org","TestBPMOrg","","","test_add_org",""
"passed","Sat Sep 07 17:12:11 CST 2024","Sat Sep 07 17:12:11 CST 2024","22","test_case.test_wj","test_bpm","TestBPM","","","正向用例",""
"passed","Sat Sep 07 17:12:11 CST 2024","Sat Sep 07 17:12:11 CST 2024","19","test_case.test_wj","test_bpm","TestBPM","","","正向用例",""
"passed","Sat Sep 07 17:12:10 CST 2024","Sat Sep 07 17:12:10 CST 2024","28","test_case.test_demo","test_bpm","TestBPM","","","反向用例-username为特殊字符",""
"passed","Sat Sep 07 17:12:11 CST 2024","Sat Sep 07 17:12:11 CST 2024","26","test_case.test_wj","test_bpm","TestBPM","","","正向用例",""
"passed","Sat Sep 07 17:12:11 CST 2024","Sat Sep 07 17:12:11 CST 2024","50","test_case.test_wj","test_bpm","TestBPM","","","正向用例",""
"passed","Sat Sep 07 17:12:10 CST 2024","Sat Sep 07 17:12:10 CST 2024","32","test_case.test_demo","test_bpm","TestBPM","","","反向用例-username过短",""
"passed","Sat Sep 07 17:12:11 CST 2024","Sat Sep 07 17:12:11 CST 2024","61","test_case.test_dependency","test_bpm_2_dem_org","TestBPMDem","","","test_add_dem",""
"passed","Sat Sep 07 17:12:11 CST 2024","Sat Sep 07 17:12:11 CST 2024","40","test_case.test_dependency","test_bpm_1_login","TestBPMLogin","","","test_login",""
"failed","Sat Sep 07 17:12:11 CST 2024","Sat Sep 07 17:12:11 CST 2024","16","test_case.test_demo","test_bpm","TestBPM","","","反向用例-password错误",""
"passed","Sat Sep 07 17:12:11 CST 2024","Sat Sep 07 17:12:11 CST 2024","32","test_case.test_wj","test_bpm","TestBPM","","","正向用例",""
"passed","Sat Sep 07 17:12:10 CST 2024","Sat Sep 07 17:12:10 CST 2024","26","test_case.test_demo","test_bpm","TestBPM","","","反向用例-password为特殊字符",""
"failed","Sat Sep 07 17:12:11 CST 2024","Sat Sep 07 17:12:11 CST 2024","39","test_case.test_demo","test_bpm","TestBPM","","","反向用例-password过长",""
"passed","Sat Sep 07 17:12:10 CST 2024","Sat Sep 07 17:12:10 CST 2024","22","test_case.test_demo","test_bpm","TestBPM","","","反向用例-username为空",""
"passed","Sat Sep 07 17:12:10 CST 2024","Sat Sep 07 17:12:10 CST 2024","21","test_case.test_demo","test_bpm","TestBPM","","","反向用例-username错误",""
"passed","Sat Sep 07 17:12:10 CST 2024","Sat Sep 07 17:12:10 CST 2024","22","test_case.test_demo","test_bpm","TestBPM","","","反向用例-username过长",""
"passed","Sat Sep 07 17:12:11 CST 2024","Sat Sep 07 17:12:11 CST 2024","10","test_case.test_wj","test_bpm","TestBPM","","","正向用例",""
"passed","Sat Sep 07 17:12:10 CST 2024","Sat Sep 07 17:12:10 CST 2024","32","test_case.test_demo","test_bpm","TestBPM","","","反向用例-password为空",""
"passed","Sat Sep 07 17:12:11 CST 2024","Sat Sep 07 17:12:11 CST 2024","50","test_case.test_wj","test_bpm","TestBPM","","","正向用例",""
"passed","Sat Sep 07 17:12:11 CST 2024","Sat Sep 07 17:12:11 CST 2024","40","test_case.test_wj","test_bpm","TestBPM","","","正向用例",""
"failed","Sat Sep 07 17:12:11 CST 2024","Sat Sep 07 17:12:11 CST 2024","10","test_case.test_demo","test_bpm","TestBPM","","","反向用例-password过短",""
"passed","Sat Sep 07 17:12:10 CST 2024","Sat Sep 07 17:12:10 CST 2024","33","test_case.test_demo","test_bpm","TestBPM","","","登录的正向用例",""
{
"uid" : "2822a15095c25425",
"name" : "反向用例-username为空",
"fullName" : "test_case.test_demo.test_bpm.TestBPM#test_bpm",
"historyId" : "524a478f317ab2e4a59dec7ae28013fe",
"time" : {
"start" : 1725700330759,
"stop" : 1725700330781,
"duration" : 22
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1725700330546,
"stop" : 1725700330625,
"duration" : 79
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "fix_req",
"time" : {
"start" : 1725700330625,
"stop" : 1725700330669,
"duration" : 44
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "fix_db",
"time" : {
"start" : 1725700330669,
"stop" : 1725700330716,
"duration" : 47
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "ab99cd9740269b68",
"name" : "log",
"source" : "ab99cd9740269b68.txt",
"type" : "text/plain",
"size" : 481
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"attachmentsCount" : 1,
"shouldDisplayMessage" : false
},
"afterStages" : [ {
"name" : "fix_req::0",
"time" : {
"start" : 1725700331945,
"stop" : 1725700331945,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "fix_db::0",
"time" : {
"start" : 1725700331944,
"stop" : 1725700331944,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登陆系统"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "项目名称"
}, {
"name" : "parentSuite",
"value" : "test_case.test_demo"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "LAPTOP-H5VLFKIL"
}, {
"name" : "thread",
"value" : "12816-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': '', 'password': 'EuaozNT/aGWiIjWYfJUjoGeLD/vQR5o4hTaHkaSPnfpmIkdQ6O83HZt+uCsiY02ssw09/ZRYFVVLDn6nzkTvRg28EsWAqZGOGqiMTSSY/MADPHKRxP+8Lc6CTPKRwkpLKgDeVUYAhqT7s2K4WO0W2Vv2nGRyEHdy+v7UyPe2bv8='}"
}, {
"name" : "expect_data",
"value" : "{'message': '账户错误或该租户未启用'}"
}, {
"name" : "level",
"value" : "'中'"
}, {
"name" : "method",
"value" : "'POST'"
}, {
"name" : "mime",
"value" : "'application/json'"
}, {
"name" : "module_name",
"value" : "'认证接口'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "title",
"value" : "'反向用例-username为空'"
}, {
"name" : "update_key",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://36.139.193.99:8088/auth'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "2822a15095c25425.json",
"parameterValues" : [ "'登陆系统'", "{'username': '', 'password': 'EuaozNT/aGWiIjWYfJUjoGeLD/vQR5o4hTaHkaSPnfpmIkdQ6O83HZt+uCsiY02ssw09/ZRYFVVLDn6nzkTvRg28EsWAqZGOGqiMTSSY/MADPHKRxP+8Lc6CTPKRwkpLKgDeVUYAhqT7s2K4WO0W2Vv2nGRyEHdy+v7UyPe2bv8='}", "{'message': '账户错误或该租户未启用'}", "'中'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-username为空'", "None", "'http://36.139.193.99:8088/auth'" ]
}
\ No newline at end of file
{
"uid" : "2e58d09c57f907e3",
"name" : "test_add_dem",
"fullName" : "test_case.test_dependency.test_bpm_2_dem_org.TestBPMDem#test_add_dem",
"historyId" : "32ab51b187bedec60154b48e8b192bfa",
"time" : {
"start" : 1725700331410,
"stop" : 1725700331471,
"duration" : 61
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1725700330546,
"stop" : 1725700330625,
"duration" : 79
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "fix_db",
"time" : {
"start" : 1725700331374,
"stop" : 1725700331408,
"duration" : 34
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "fix_req",
"time" : {
"start" : 1725700331325,
"stop" : 1725700331325,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "fix_dependency",
"time" : {
"start" : 1725700331410,
"stop" : 1725700331410,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"afterStages" : [ {
"name" : "fix_db::0",
"time" : {
"start" : 1725700331936,
"stop" : 1725700331936,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "fix_req::0",
"time" : {
"start" : 1725700331936,
"stop" : 1725700331936,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "fix_dependency::0",
"time" : {
"start" : 1725700331936,
"stop" : 1725700331936,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"labels" : [ {
"name" : "parentSuite",
"value" : "test_case.test_dependency"
}, {
"name" : "suite",
"value" : "test_bpm_2_dem_org"
}, {
"name" : "subSuite",
"value" : "TestBPMDem"
}, {
"name" : "host",
"value" : "LAPTOP-H5VLFKIL"
}, {
"name" : "thread",
"value" : "12816-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_dependency.test_bpm_2_dem_org"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "2e58d09c57f907e3.json",
"parameterValues" : [ ]
}
\ No newline at end of file
{
"uid" : "3b162d3e558e809f",
"name" : "正向用例",
"fullName" : "test_case.test_wj.test_bpm.TestBPM#test_bpm",
"historyId" : "f282d078e8b537f62c619cb1055d560f",
"time" : {
"start" : 1725700331676,
"stop" : 1725700331695,
"duration" : 19
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "fix_db",
"time" : {
"start" : 1725700331557,
"stop" : 1725700331594,
"duration" : 37
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "fix_req",
"time" : {
"start" : 1725700331517,
"stop" : 1725700331557,
"duration" : 40
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "_session_faker",
"time" : {
"start" : 1725700330546,
"stop" : 1725700330625,
"duration" : 79
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "c120157c7be91d3c",
"name" : "log",
"source" : "c120157c7be91d3c.txt",
"type" : "text/plain",
"size" : 334
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"attachmentsCount" : 1,
"shouldDisplayMessage" : false
},
"afterStages" : [ {
"name" : "fix_db::0",
"time" : {
"start" : 1725700331936,
"stop" : 1725700331936,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "fix_req::0",
"time" : {
"start" : 1725700331936,
"stop" : 1725700331936,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"labels" : [ {
"name" : "feature",
"value" : "维度管理"
}, {
"name" : "story",
"value" : "更新维度"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "项目名称"
}, {
"name" : "parentSuite",
"value" : "test_case.test_wj"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "LAPTOP-H5VLFKIL"
}, {
"name" : "thread",
"value" : "12816-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_wj.test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api_name",
"value" : "'更新维度'"
}, {
"name" : "case_data",
"value" : "{'code': 'request_add_dem_w1', 'description': '更新', 'isDefault': 0, 'name': 'request_add_dem_w1'}"
}, {
"name" : "expect_data",
"value" : "{'message': '更新维度成功!'}"
}, {
"name" : "level",
"value" : "'中'"
}, {
"name" : "method",
"value" : "'put'"
}, {
"name" : "mime",
"value" : "'json'"
}, {
"name" : "module_name",
"value" : "'维度管理'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "title",
"value" : "'正向用例'"
}, {
"name" : "update_key",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://36.139.193.99:8088/api/demension/v1/dem/updateDem'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "3b162d3e558e809f.json",
"parameterValues" : [ "'更新维度'", "{'code': 'request_add_dem_w1', 'description': '更新', 'isDefault': 0, 'name': 'request_add_dem_w1'}", "{'message': '更新维度成功!'}", "'中'", "'put'", "'json'", "'维度管理'", "None", "None", "'正向用例'", "None", "'http://36.139.193.99:8088/api/demension/v1/dem/updateDem'" ]
}
\ No newline at end of file
{
"uid" : "46db0a2ffdb8103d",
"name" : "正向用例",
"fullName" : "test_case.test_wj.test_bpm.TestBPM#test_bpm",
"historyId" : "1c7aaad50e3e620c1378274f88bf1cc3",
"time" : {
"start" : 1725700331900,
"stop" : 1725700331932,
"duration" : 32
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "fix_db",
"time" : {
"start" : 1725700331557,
"stop" : 1725700331594,
"duration" : 37
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "fix_req",
"time" : {
"start" : 1725700331517,
"stop" : 1725700331557,
"duration" : 40
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "_session_faker",
"time" : {
"start" : 1725700330546,
"stop" : 1725700330625,
"duration" : 79
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "851125801691be5",
"name" : "log",
"source" : "851125801691be5.txt",
"type" : "text/plain",
"size" : 263
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"attachmentsCount" : 1,
"shouldDisplayMessage" : false
},
"afterStages" : [ {
"name" : "fix_db::0",
"time" : {
"start" : 1725700331936,
"stop" : 1725700331936,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "fix_req::0",
"time" : {
"start" : 1725700331936,
"stop" : 1725700331936,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"labels" : [ {
"name" : "feature",
"value" : "维度管理"
}, {
"name" : "story",
"value" : "根据维度编码删除维度"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "项目名称"
}, {
"name" : "parentSuite",
"value" : "test_case.test_wj"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "LAPTOP-H5VLFKIL"
}, {
"name" : "thread",
"value" : "12816-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_wj.test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api_name",
"value" : "'根据维度编码删除维度'"
}, {
"name" : "case_data",
"value" : "{'ids': '需要更新'}"
}, {
"name" : "expect_data",
"value" : "{'message': '删除维度成功!'}"
}, {
"name" : "level",
"value" : "'中'"
}, {
"name" : "method",
"value" : "'DELETE'"
}, {
"name" : "mime",
"value" : "'query'"
}, {
"name" : "module_name",
"value" : "'维度管理'"
}, {
"name" : "sql_data",
"value" : "{'select': 'select ID_ FROM uc_demension WHERE `CODE_`=\"request_add_dem_w1\";'}"
}, {
"name" : "sql_type",
"value" : "'select'"
}, {
"name" : "title",
"value" : "'正向用例'"
}, {
"name" : "update_key",
"value" : "'ids'"
}, {
"name" : "url",
"value" : "'http://36.139.193.99:8088/api/demension/v1/dem/deleteDemByIds'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "46db0a2ffdb8103d.json",
"parameterValues" : [ "'根据维度编码删除维度'", "{'ids': '需要更新'}", "{'message': '删除维度成功!'}", "'中'", "'DELETE'", "'query'", "'维度管理'", "{'select': 'select ID_ FROM uc_demension WHERE `CODE_`=\"request_add_dem_w1\";'}", "'select'", "'正向用例'", "'ids'", "'http://36.139.193.99:8088/api/demension/v1/dem/deleteDemByIds'" ]
}
\ No newline at end of file
{
"uid" : "5bbc76995361039c",
"name" : "反向用例-username为特殊字符",
"fullName" : "test_case.test_demo.test_bpm.TestBPM#test_bpm",
"historyId" : "0fcefb845440c573d470494fc08a716e",
"time" : {
"start" : 1725700330785,
"stop" : 1725700330813,
"duration" : 28
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1725700330546,
"stop" : 1725700330625,
"duration" : 79
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "fix_req",
"time" : {
"start" : 1725700330625,
"stop" : 1725700330669,
"duration" : 44
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "fix_db",
"time" : {
"start" : 1725700330669,
"stop" : 1725700330716,
"duration" : 47
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "5fd8af403f439a5d",
"name" : "log",
"source" : "5fd8af403f439a5d.txt",
"type" : "text/plain",
"size" : 499
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"attachmentsCount" : 1,
"shouldDisplayMessage" : false
},
"afterStages" : [ {
"name" : "fix_req::0",
"time" : {
"start" : 1725700331945,
"stop" : 1725700331945,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "fix_db::0",
"time" : {
"start" : 1725700331944,
"stop" : 1725700331944,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登陆系统"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "项目名称"
}, {
"name" : "parentSuite",
"value" : "test_case.test_demo"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "LAPTOP-H5VLFKIL"
}, {
"name" : "thread",
"value" : "12816-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': '◦☼♠♣▣▤', 'password': 'EuaozNT/aGWiIjWYfJUjoGeLD/vQR5o4hTaHkaSPnfpmIkdQ6O83HZt+uCsiY02ssw09/ZRYFVVLDn6nzkTvRg28EsWAqZGOGqiMTSSY/MADPHKRxP+8Lc6CTPKRwkpLKgDeVUYAhqT7s2K4WO0W2Vv2nGRyEHdy+v7UyPe2bv8='}"
}, {
"name" : "expect_data",
"value" : "{'message': '账户错误或该租户未启用'}"
}, {
"name" : "level",
"value" : "'中'"
}, {
"name" : "method",
"value" : "'POST'"
}, {
"name" : "mime",
"value" : "'application/json'"
}, {
"name" : "module_name",
"value" : "'认证接口'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "title",
"value" : "'反向用例-username为特殊字符'"
}, {
"name" : "update_key",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://36.139.193.99:8088/auth'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "5bbc76995361039c.json",
"parameterValues" : [ "'登陆系统'", "{'username': '◦☼♠♣▣▤', 'password': 'EuaozNT/aGWiIjWYfJUjoGeLD/vQR5o4hTaHkaSPnfpmIkdQ6O83HZt+uCsiY02ssw09/ZRYFVVLDn6nzkTvRg28EsWAqZGOGqiMTSSY/MADPHKRxP+8Lc6CTPKRwkpLKgDeVUYAhqT7s2K4WO0W2Vv2nGRyEHdy+v7UyPe2bv8='}", "{'message': '账户错误或该租户未启用'}", "'中'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-username为特殊字符'", "None", "'http://36.139.193.99:8088/auth'" ]
}
\ No newline at end of file
{
"uid" : "5e4751ea3cd535ea",
"name" : "正向用例",
"fullName" : "test_case.test_wj.test_bpm.TestBPM#test_bpm",
"historyId" : "0ee376b906e9872302a2a7563f8c7e3a",
"time" : {
"start" : 1725700331704,
"stop" : 1725700331754,
"duration" : 50
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "fix_db",
"time" : {
"start" : 1725700331557,
"stop" : 1725700331594,
"duration" : 37
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "fix_req",
"time" : {
"start" : 1725700331517,
"stop" : 1725700331557,
"duration" : 40
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "_session_faker",
"time" : {
"start" : 1725700330546,
"stop" : 1725700330625,
"duration" : 79
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "8a19865065b1af87",
"name" : "log",
"source" : "8a19865065b1af87.txt",
"type" : "text/plain",
"size" : 416
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"attachmentsCount" : 1,
"shouldDisplayMessage" : false
},
"afterStages" : [ {
"name" : "fix_db::0",
"time" : {
"start" : 1725700331936,
"stop" : 1725700331936,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "fix_req::0",
"time" : {
"start" : 1725700331936,
"stop" : 1725700331936,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"labels" : [ {
"name" : "feature",
"value" : "组织管理"
}, {
"name" : "story",
"value" : "添加组织"
}, {
"name" : "severity",
"value" : "高"
}, {
"name" : "epic",
"value" : "项目名称"
}, {
"name" : "parentSuite",
"value" : "test_case.test_wj"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "LAPTOP-H5VLFKIL"
}, {
"name" : "thread",
"value" : "12816-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_wj.test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api_name",
"value" : "'添加组织'"
}, {
"name" : "case_data",
"value" : "{'code': 'test_org_w1', 'demId': '需要更新', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织w1', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}"
}, {
"name" : "expect_data",
"value" : "{'message': '添加组织成功!'}"
}, {
"name" : "level",
"value" : "'高'"
}, {
"name" : "method",
"value" : "'POST'"
}, {
"name" : "mime",
"value" : "'application/json'"
}, {
"name" : "module_name",
"value" : "'组织管理'"
}, {
"name" : "sql_data",
"value" : "{'select': 'select ID_ FROM uc_demension WHERE `CODE_`=\"request_add_dem_w1\";', 'delete': 'delete FROM uc_org WHERE `CODE_`=\"test_org_w1\";'}"
}, {
"name" : "sql_type",
"value" : "'delete|select'"
}, {
"name" : "title",
"value" : "'正向用例'"
}, {
"name" : "update_key",
"value" : "'demId'"
}, {
"name" : "url",
"value" : "'http://36.139.193.99:8088/api/org/v1/org/addOrg'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "5e4751ea3cd535ea.json",
"parameterValues" : [ "'添加组织'", "{'code': 'test_org_w1', 'demId': '需要更新', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织w1', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}", "{'message': '添加组织成功!'}", "'高'", "'POST'", "'application/json'", "'组织管理'", "{'select': 'select ID_ FROM uc_demension WHERE `CODE_`=\"request_add_dem_w1\";', 'delete': 'delete FROM uc_org WHERE `CODE_`=\"test_org_w1\";'}", "'delete|select'", "'正向用例'", "'demId'", "'http://36.139.193.99:8088/api/org/v1/org/addOrg'" ]
}
\ No newline at end of file
{
"uid" : "5ea06d200ead4ea3",
"name" : "正向用例",
"fullName" : "test_case.test_wj.test_bpm.TestBPM#test_bpm",
"historyId" : "cc932ca2fb4409dde020176fbed5825e",
"time" : {
"start" : 1725700331655,
"stop" : 1725700331665,
"duration" : 10
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "fix_db",
"time" : {
"start" : 1725700331557,
"stop" : 1725700331594,
"duration" : 37
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "fix_req",
"time" : {
"start" : 1725700331517,
"stop" : 1725700331557,
"duration" : 40
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "_session_faker",
"time" : {
"start" : 1725700330546,
"stop" : 1725700330625,
"duration" : 79
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "345c980402a00a1b",
"name" : "log",
"source" : "345c980402a00a1b.txt",
"type" : "text/plain",
"size" : 461
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"attachmentsCount" : 1,
"shouldDisplayMessage" : false
},
"afterStages" : [ {
"name" : "fix_db::0",
"time" : {
"start" : 1725700331936,
"stop" : 1725700331936,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "fix_req::0",
"time" : {
"start" : 1725700331936,
"stop" : 1725700331936,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"labels" : [ {
"name" : "feature",
"value" : "维度管理"
}, {
"name" : "story",
"value" : "根据维度编码获取维度信息"
}, {
"name" : "severity",
"value" : "高"
}, {
"name" : "epic",
"value" : "项目名称"
}, {
"name" : "parentSuite",
"value" : "test_case.test_wj"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "LAPTOP-H5VLFKIL"
}, {
"name" : "thread",
"value" : "12816-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_wj.test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api_name",
"value" : "'根据维度编码获取维度信息'"
}, {
"name" : "case_data",
"value" : "{'code': 'request_add_dem_w1'}"
}, {
"name" : "expect_data",
"value" : "{'isDelete': '0'}"
}, {
"name" : "level",
"value" : "'高'"
}, {
"name" : "method",
"value" : "'GET'"
}, {
"name" : "mime",
"value" : "'query'"
}, {
"name" : "module_name",
"value" : "'维度管理'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "title",
"value" : "'正向用例'"
}, {
"name" : "update_key",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://36.139.193.99:8088/api/demension/v1/dem/getDem'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "5ea06d200ead4ea3.json",
"parameterValues" : [ "'根据维度编码获取维度信息'", "{'code': 'request_add_dem_w1'}", "{'isDelete': '0'}", "'高'", "'GET'", "'query'", "'维度管理'", "None", "None", "'正向用例'", "None", "'http://36.139.193.99:8088/api/demension/v1/dem/getDem'" ]
}
\ No newline at end of file
{
"uid" : "6a84f8f3204ece8f",
"name" : "反向用例-username过短",
"fullName" : "test_case.test_demo.test_bpm.TestBPM#test_bpm",
"historyId" : "7ef2780ed8dee6b3445097b72939d760",
"time" : {
"start" : 1725700330854,
"stop" : 1725700330886,
"duration" : 32
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1725700330546,
"stop" : 1725700330625,
"duration" : 79
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "fix_req",
"time" : {
"start" : 1725700330625,
"stop" : 1725700330669,
"duration" : 44
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "fix_db",
"time" : {
"start" : 1725700330669,
"stop" : 1725700330716,
"duration" : 47
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "3a1ea027b72757d1",
"name" : "log",
"source" : "3a1ea027b72757d1.txt",
"type" : "text/plain",
"size" : 482
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"attachmentsCount" : 1,
"shouldDisplayMessage" : false
},
"afterStages" : [ {
"name" : "fix_req::0",
"time" : {
"start" : 1725700331945,
"stop" : 1725700331945,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "fix_db::0",
"time" : {
"start" : 1725700331944,
"stop" : 1725700331944,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登陆系统"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "项目名称"
}, {
"name" : "parentSuite",
"value" : "test_case.test_demo"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "LAPTOP-H5VLFKIL"
}, {
"name" : "thread",
"value" : "12816-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': 'a', 'password': 'EuaozNT/aGWiIjWYfJUjoGeLD/vQR5o4hTaHkaSPnfpmIkdQ6O83HZt+uCsiY02ssw09/ZRYFVVLDn6nzkTvRg28EsWAqZGOGqiMTSSY/MADPHKRxP+8Lc6CTPKRwkpLKgDeVUYAhqT7s2K4WO0W2Vv2nGRyEHdy+v7UyPe2bv8='}"
}, {
"name" : "expect_data",
"value" : "{'message': '账户错误或该租户未启用'}"
}, {
"name" : "level",
"value" : "'中'"
}, {
"name" : "method",
"value" : "'POST'"
}, {
"name" : "mime",
"value" : "'application/json'"
}, {
"name" : "module_name",
"value" : "'认证接口'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "title",
"value" : "'反向用例-username过短'"
}, {
"name" : "update_key",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://36.139.193.99:8088/auth'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "6a84f8f3204ece8f.json",
"parameterValues" : [ "'登陆系统'", "{'username': 'a', 'password': 'EuaozNT/aGWiIjWYfJUjoGeLD/vQR5o4hTaHkaSPnfpmIkdQ6O83HZt+uCsiY02ssw09/ZRYFVVLDn6nzkTvRg28EsWAqZGOGqiMTSSY/MADPHKRxP+8Lc6CTPKRwkpLKgDeVUYAhqT7s2K4WO0W2Vv2nGRyEHdy+v7UyPe2bv8='}", "{'message': '账户错误或该租户未启用'}", "'中'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-username过短'", "None", "'http://36.139.193.99:8088/auth'" ]
}
\ No newline at end of file
{
"uid" : "7e64410e92e4c030",
"name" : "test_login",
"fullName" : "test_case.test_dependency.test_bpm_1_login.TestBPMLogin#test_login",
"historyId" : "1ccccd7fd278cd020934ac861270a4d5",
"time" : {
"start" : 1725700331325,
"stop" : 1725700331365,
"duration" : 40
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1725700330546,
"stop" : 1725700330625,
"duration" : 79
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "fix_req",
"time" : {
"start" : 1725700331325,
"stop" : 1725700331325,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"afterStages" : [ {
"name" : "fix_req::0",
"time" : {
"start" : 1725700331936,
"stop" : 1725700331936,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"labels" : [ {
"name" : "parentSuite",
"value" : "test_case.test_dependency"
}, {
"name" : "suite",
"value" : "test_bpm_1_login"
}, {
"name" : "subSuite",
"value" : "TestBPMLogin"
}, {
"name" : "host",
"value" : "LAPTOP-H5VLFKIL"
}, {
"name" : "thread",
"value" : "12816-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_dependency.test_bpm_1_login"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "7e64410e92e4c030.json",
"parameterValues" : [ ]
}
\ No newline at end of file
{
"uid" : "8244565a79fd5d6",
"name" : "反向用例-password为空",
"fullName" : "test_case.test_demo.test_bpm.TestBPM#test_bpm",
"historyId" : "faa0d89633196d498f51828690fe9793",
"time" : {
"start" : 1725700330926,
"stop" : 1725700330958,
"duration" : 32
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1725700330546,
"stop" : 1725700330625,
"duration" : 79
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "fix_req",
"time" : {
"start" : 1725700330625,
"stop" : 1725700330669,
"duration" : 44
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "fix_db",
"time" : {
"start" : 1725700330669,
"stop" : 1725700330716,
"duration" : 47
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "420fdad01c478fe1",
"name" : "log",
"source" : "420fdad01c478fe1.txt",
"type" : "text/plain",
"size" : 290
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"attachmentsCount" : 1,
"shouldDisplayMessage" : false
},
"afterStages" : [ {
"name" : "fix_req::0",
"time" : {
"start" : 1725700331945,
"stop" : 1725700331945,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "fix_db::0",
"time" : {
"start" : 1725700331944,
"stop" : 1725700331944,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登陆系统"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "项目名称"
}, {
"name" : "parentSuite",
"value" : "test_case.test_demo"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "LAPTOP-H5VLFKIL"
}, {
"name" : "thread",
"value" : "12816-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" : "expect_data",
"value" : "{'message': '账号或密码错误'}"
}, {
"name" : "level",
"value" : "'中'"
}, {
"name" : "method",
"value" : "'POST'"
}, {
"name" : "mime",
"value" : "'application/json'"
}, {
"name" : "module_name",
"value" : "'认证接口'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "title",
"value" : "'反向用例-password为空'"
}, {
"name" : "update_key",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://36.139.193.99:8088/auth'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "8244565a79fd5d6.json",
"parameterValues" : [ "'登陆系统'", "{'username': 'admin', 'password': ''}", "{'message': '账号或密码错误'}", "'中'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-password为空'", "None", "'http://36.139.193.99:8088/auth'" ]
}
\ No newline at end of file
{
"uid" : "837095b0adfd2c39",
"name" : "正向用例",
"fullName" : "test_case.test_wj.test_bpm.TestBPM#test_bpm",
"historyId" : "12e822928b3f5db5c130443ca43b7870",
"time" : {
"start" : 1725700331594,
"stop" : 1725700331644,
"duration" : 50
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "fix_db",
"time" : {
"start" : 1725700331557,
"stop" : 1725700331594,
"duration" : 37
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "fix_req",
"time" : {
"start" : 1725700331517,
"stop" : 1725700331557,
"duration" : 40
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "_session_faker",
"time" : {
"start" : 1725700330546,
"stop" : 1725700330625,
"duration" : 79
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "8d5746d4bbfa5da7",
"name" : "log",
"source" : "8d5746d4bbfa5da7.txt",
"type" : "text/plain",
"size" : 344
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"attachmentsCount" : 1,
"shouldDisplayMessage" : false
},
"afterStages" : [ {
"name" : "fix_db::0",
"time" : {
"start" : 1725700331936,
"stop" : 1725700331936,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "fix_req::0",
"time" : {
"start" : 1725700331936,
"stop" : 1725700331936,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"labels" : [ {
"name" : "feature",
"value" : "维度管理"
}, {
"name" : "story",
"value" : "添加维度"
}, {
"name" : "severity",
"value" : "高"
}, {
"name" : "epic",
"value" : "项目名称"
}, {
"name" : "parentSuite",
"value" : "test_case.test_wj"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "LAPTOP-H5VLFKIL"
}, {
"name" : "thread",
"value" : "12816-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_wj.test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api_name",
"value" : "'添加维度'"
}, {
"name" : "case_data",
"value" : "{'code': 'request_add_dem_w1', 'description': 'add_dem_w1', 'isDefault': 1, 'name': 'request添加的维度w1'}"
}, {
"name" : "expect_data",
"value" : "{'message': '添加维度成功!'}"
}, {
"name" : "level",
"value" : "'高'"
}, {
"name" : "method",
"value" : "'POST'"
}, {
"name" : "mime",
"value" : "'application/json'"
}, {
"name" : "module_name",
"value" : "'维度管理'"
}, {
"name" : "sql_data",
"value" : "{'delete': 'DELETE FROM uc_demension WHERE `CODE_`=\"request_add_dem_w1\";'}"
}, {
"name" : "sql_type",
"value" : "'delete'"
}, {
"name" : "title",
"value" : "'正向用例'"
}, {
"name" : "update_key",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://36.139.193.99:8088/api/demension/v1/dem/addDem'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "837095b0adfd2c39.json",
"parameterValues" : [ "'添加维度'", "{'code': 'request_add_dem_w1', 'description': 'add_dem_w1', 'isDefault': 1, 'name': 'request添加的维度w1'}", "{'message': '添加维度成功!'}", "'高'", "'POST'", "'application/json'", "'维度管理'", "{'delete': 'DELETE FROM uc_demension WHERE `CODE_`=\"request_add_dem_w1\";'}", "'delete'", "'正向用例'", "None", "'http://36.139.193.99:8088/api/demension/v1/dem/addDem'" ]
}
\ No newline at end of file
{
"uid" : "961f0b4ba31482ea",
"name" : "正向用例",
"fullName" : "test_case.test_wj.test_bpm.TestBPM#test_bpm",
"historyId" : "45ecd97fdd28bf19e9e262efcd530171",
"time" : {
"start" : 1725700331859,
"stop" : 1725700331885,
"duration" : 26
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "fix_db",
"time" : {
"start" : 1725700331557,
"stop" : 1725700331594,
"duration" : 37
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "fix_req",
"time" : {
"start" : 1725700331517,
"stop" : 1725700331557,
"duration" : 40
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "_session_faker",
"time" : {
"start" : 1725700330546,
"stop" : 1725700330625,
"duration" : 79
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "d538de086c0c3db8",
"name" : "log",
"source" : "d538de086c0c3db8.txt",
"type" : "text/plain",
"size" : 244
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"attachmentsCount" : 1,
"shouldDisplayMessage" : false
},
"afterStages" : [ {
"name" : "fix_db::0",
"time" : {
"start" : 1725700331936,
"stop" : 1725700331936,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "fix_req::0",
"time" : {
"start" : 1725700331936,
"stop" : 1725700331936,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"labels" : [ {
"name" : "feature",
"value" : "组织管理"
}, {
"name" : "story",
"value" : "删除组织"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "项目名称"
}, {
"name" : "parentSuite",
"value" : "test_case.test_wj"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "LAPTOP-H5VLFKIL"
}, {
"name" : "thread",
"value" : "12816-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_wj.test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api_name",
"value" : "'删除组织'"
}, {
"name" : "case_data",
"value" : "'test_org_w1'"
}, {
"name" : "expect_data",
"value" : "{'message': '删除组织成功!'}"
}, {
"name" : "level",
"value" : "'中'"
}, {
"name" : "method",
"value" : "'POST'"
}, {
"name" : "mime",
"value" : "'form'"
}, {
"name" : "module_name",
"value" : "'组织管理'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "title",
"value" : "'正向用例'"
}, {
"name" : "update_key",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://36.139.193.99:8088/api/org/v1/org/deleteOrg'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "961f0b4ba31482ea.json",
"parameterValues" : [ "'删除组织'", "'test_org_w1'", "{'message': '删除组织成功!'}", "'中'", "'POST'", "'form'", "'组织管理'", "None", "None", "'正向用例'", "None", "'http://36.139.193.99:8088/api/org/v1/org/deleteOrg'" ]
}
\ No newline at end of file
{
"uid" : "98aedf97177cb29",
"name" : "正向用例",
"fullName" : "test_case.test_wj.test_bpm.TestBPM#test_bpm",
"historyId" : "03262c715a98503ac5d45d25fedf87ee",
"time" : {
"start" : 1725700331766,
"stop" : 1725700331806,
"duration" : 40
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "fix_db",
"time" : {
"start" : 1725700331557,
"stop" : 1725700331594,
"duration" : 37
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "fix_req",
"time" : {
"start" : 1725700331517,
"stop" : 1725700331557,
"duration" : 40
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "_session_faker",
"time" : {
"start" : 1725700330546,
"stop" : 1725700330625,
"duration" : 79
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "ebd117a04cf07ea1",
"name" : "log",
"source" : "ebd117a04cf07ea1.txt",
"type" : "text/plain",
"size" : 268
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"attachmentsCount" : 1,
"shouldDisplayMessage" : false
},
"afterStages" : [ {
"name" : "fix_db::0",
"time" : {
"start" : 1725700331936,
"stop" : 1725700331936,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "fix_req::0",
"time" : {
"start" : 1725700331936,
"stop" : 1725700331936,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"labels" : [ {
"name" : "feature",
"value" : "组织管理"
}, {
"name" : "story",
"value" : "用户加入组织"
}, {
"name" : "severity",
"value" : "高"
}, {
"name" : "epic",
"value" : "项目名称"
}, {
"name" : "parentSuite",
"value" : "test_case.test_wj"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "LAPTOP-H5VLFKIL"
}, {
"name" : "thread",
"value" : "12816-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_wj.test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api_name",
"value" : "'用户加入组织'"
}, {
"name" : "case_data",
"value" : "{'orgCode': 'test_org_w1', 'accounts': 'admin,guest'}"
}, {
"name" : "expect_data",
"value" : "{'message': '加入成功'}"
}, {
"name" : "level",
"value" : "'高'"
}, {
"name" : "method",
"value" : "'POST'"
}, {
"name" : "mime",
"value" : "'query'"
}, {
"name" : "module_name",
"value" : "'组织管理'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "title",
"value" : "'正向用例'"
}, {
"name" : "update_key",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://36.139.193.99:8088/api/org/v1/orgUsers/addUsersForOrg'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "98aedf97177cb29.json",
"parameterValues" : [ "'用户加入组织'", "{'orgCode': 'test_org_w1', 'accounts': 'admin,guest'}", "{'message': '加入成功'}", "'高'", "'POST'", "'query'", "'组织管理'", "None", "None", "'正向用例'", "None", "'http://36.139.193.99:8088/api/org/v1/orgUsers/addUsersForOrg'" ]
}
\ No newline at end of file
{
"uid" : "a9f87a49a93a8c0d",
"name" : "反向用例-username过长",
"fullName" : "test_case.test_demo.test_bpm.TestBPM#test_bpm",
"historyId" : "90126bf745c40d9aab74473cebff4173",
"time" : {
"start" : 1725700330824,
"stop" : 1725700330846,
"duration" : 22
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1725700330546,
"stop" : 1725700330625,
"duration" : 79
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "fix_req",
"time" : {
"start" : 1725700330625,
"stop" : 1725700330669,
"duration" : 44
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "fix_db",
"time" : {
"start" : 1725700330669,
"stop" : 1725700330716,
"duration" : 47
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "9d0320dd6099f974",
"name" : "log",
"source" : "9d0320dd6099f974.txt",
"type" : "text/plain",
"size" : 536
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"attachmentsCount" : 1,
"shouldDisplayMessage" : false
},
"afterStages" : [ {
"name" : "fix_req::0",
"time" : {
"start" : 1725700331945,
"stop" : 1725700331945,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "fix_db::0",
"time" : {
"start" : 1725700331944,
"stop" : 1725700331944,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登陆系统"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "项目名称"
}, {
"name" : "parentSuite",
"value" : "test_case.test_demo"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "LAPTOP-H5VLFKIL"
}, {
"name" : "thread",
"value" : "12816-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': 'adminadminadminadminadminadminadminadminadminadminadmin', 'password': 'EuaozNT/aGWiIjWYfJUjoGeLD/vQR5o4hTaHkaSPnfpmIkdQ6O83HZt+uCsiY02ssw09/ZRYFVVLDn6nzkTvRg28EsWAqZGOGqiMTSSY/MADPHKRxP+8Lc6CTPKRwkpLKgDeVUYAhqT7s2K4WO0W2Vv2nGRyEHdy+v7UyPe2bv8='}"
}, {
"name" : "expect_data",
"value" : "{'message': '账户错误或该租户未启用'}"
}, {
"name" : "level",
"value" : "'中'"
}, {
"name" : "method",
"value" : "'POST'"
}, {
"name" : "mime",
"value" : "'application/json'"
}, {
"name" : "module_name",
"value" : "'认证接口'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "title",
"value" : "'反向用例-username过长'"
}, {
"name" : "update_key",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://36.139.193.99:8088/auth'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "a9f87a49a93a8c0d.json",
"parameterValues" : [ "'登陆系统'", "{'username': 'adminadminadminadminadminadminadminadminadminadminadmin', 'password': 'EuaozNT/aGWiIjWYfJUjoGeLD/vQR5o4hTaHkaSPnfpmIkdQ6O83HZt+uCsiY02ssw09/ZRYFVVLDn6nzkTvRg28EsWAqZGOGqiMTSSY/MADPHKRxP+8Lc6CTPKRwkpLKgDeVUYAhqT7s2K4WO0W2Vv2nGRyEHdy+v7UyPe2bv8='}", "{'message': '账户错误或该租户未启用'}", "'中'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-username过长'", "None", "'http://36.139.193.99:8088/auth'" ]
}
\ No newline at end of file
{
"uid" : "b4d307afe7384e4",
"name" : "反向用例-username错误",
"fullName" : "test_case.test_demo.test_bpm.TestBPM#test_bpm",
"historyId" : "e4d3f077cf44e8ddaafaaa7e8f2c11d0",
"time" : {
"start" : 1725700330895,
"stop" : 1725700330916,
"duration" : 21
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1725700330546,
"stop" : 1725700330625,
"duration" : 79
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "fix_req",
"time" : {
"start" : 1725700330625,
"stop" : 1725700330669,
"duration" : 44
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "fix_db",
"time" : {
"start" : 1725700330669,
"stop" : 1725700330716,
"duration" : 47
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "97f53400f215fe07",
"name" : "log",
"source" : "97f53400f215fe07.txt",
"type" : "text/plain",
"size" : 487
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"attachmentsCount" : 1,
"shouldDisplayMessage" : false
},
"afterStages" : [ {
"name" : "fix_req::0",
"time" : {
"start" : 1725700331945,
"stop" : 1725700331945,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "fix_db::0",
"time" : {
"start" : 1725700331944,
"stop" : 1725700331944,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登陆系统"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "项目名称"
}, {
"name" : "parentSuite",
"value" : "test_case.test_demo"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "LAPTOP-H5VLFKIL"
}, {
"name" : "thread",
"value" : "12816-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': 'admin1', 'password': 'EuaozNT/aGWiIjWYfJUjoGeLD/vQR5o4hTaHkaSPnfpmIkdQ6O83HZt+uCsiY02ssw09/ZRYFVVLDn6nzkTvRg28EsWAqZGOGqiMTSSY/MADPHKRxP+8Lc6CTPKRwkpLKgDeVUYAhqT7s2K4WO0W2Vv2nGRyEHdy+v7UyPe2bv8='}"
}, {
"name" : "expect_data",
"value" : "{'message': '账户错误或该租户未启用'}"
}, {
"name" : "level",
"value" : "'中'"
}, {
"name" : "method",
"value" : "'POST'"
}, {
"name" : "mime",
"value" : "'application/json'"
}, {
"name" : "module_name",
"value" : "'认证接口'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "title",
"value" : "'反向用例-username错误'"
}, {
"name" : "update_key",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://36.139.193.99:8088/auth'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "b4d307afe7384e4.json",
"parameterValues" : [ "'登陆系统'", "{'username': 'admin1', 'password': 'EuaozNT/aGWiIjWYfJUjoGeLD/vQR5o4hTaHkaSPnfpmIkdQ6O83HZt+uCsiY02ssw09/ZRYFVVLDn6nzkTvRg28EsWAqZGOGqiMTSSY/MADPHKRxP+8Lc6CTPKRwkpLKgDeVUYAhqT7s2K4WO0W2Vv2nGRyEHdy+v7UyPe2bv8='}", "{'message': '账户错误或该租户未启用'}", "'中'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-username错误'", "None", "'http://36.139.193.99:8088/auth'" ]
}
\ No newline at end of file
{
"uid" : "b64ada8936aae46d",
"name" : "test_add_org",
"fullName" : "test_case.test_dependency.test_bpm_3_org.TestBPMOrg#test_add_org",
"historyId" : "8080b72a44c1dfb0997f6d9af411ce27",
"time" : {
"start" : 1725700331475,
"stop" : 1725700331506,
"duration" : 31
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1725700330546,
"stop" : 1725700330625,
"duration" : 79
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "fix_db",
"time" : {
"start" : 1725700331374,
"stop" : 1725700331408,
"duration" : 34
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "fix_req",
"time" : {
"start" : 1725700331325,
"stop" : 1725700331325,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "fix_dependency",
"time" : {
"start" : 1725700331410,
"stop" : 1725700331410,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"afterStages" : [ {
"name" : "fix_db::0",
"time" : {
"start" : 1725700331936,
"stop" : 1725700331936,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "fix_req::0",
"time" : {
"start" : 1725700331936,
"stop" : 1725700331936,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "fix_dependency::0",
"time" : {
"start" : 1725700331936,
"stop" : 1725700331936,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"labels" : [ {
"name" : "tag",
"value" : "dependency(depends=['test_case/test_dependency/test_bpm_1_login.py::TestBPMLogin::test_login', 'test_case/test_dependency/test_bpm_2_dem.py::TestBPMDem::test_add_dem'], scope='package')"
}, {
"name" : "parentSuite",
"value" : "test_case.test_dependency"
}, {
"name" : "suite",
"value" : "test_bpm_3_org"
}, {
"name" : "subSuite",
"value" : "TestBPMOrg"
}, {
"name" : "host",
"value" : "LAPTOP-H5VLFKIL"
}, {
"name" : "thread",
"value" : "12816-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_dependency.test_bpm_3_org"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ "dependency(depends=['test_case/test_dependency/test_bpm_1_login.py::TestBPMLogin::test_login', 'test_case/test_dependency/test_bpm_2_dem.py::TestBPMDem::test_add_dem'], scope='package')" ]
},
"source" : "b64ada8936aae46d.json",
"parameterValues" : [ ]
}
\ No newline at end of file
{
"uid" : "c833d907176ddb47",
"name" : "反向用例-password为特殊字符",
"fullName" : "test_case.test_demo.test_bpm.TestBPM#test_bpm",
"historyId" : "f6418c7f0a1bf3b84fdf672a51ad4d1c",
"time" : {
"start" : 1725700330970,
"stop" : 1725700330996,
"duration" : 26
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1725700330546,
"stop" : 1725700330625,
"duration" : 79
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "fix_req",
"time" : {
"start" : 1725700330625,
"stop" : 1725700330669,
"duration" : 44
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "fix_db",
"time" : {
"start" : 1725700330669,
"stop" : 1725700330716,
"duration" : 47
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "818084bfd37ad1d7",
"name" : "log",
"source" : "818084bfd37ad1d7.txt",
"type" : "text/plain",
"size" : 308
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"attachmentsCount" : 1,
"shouldDisplayMessage" : false
},
"afterStages" : [ {
"name" : "fix_req::0",
"time" : {
"start" : 1725700331945,
"stop" : 1725700331945,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "fix_db::0",
"time" : {
"start" : 1725700331944,
"stop" : 1725700331944,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登陆系统"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "项目名称"
}, {
"name" : "parentSuite",
"value" : "test_case.test_demo"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "LAPTOP-H5VLFKIL"
}, {
"name" : "thread",
"value" : "12816-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" : "expect_data",
"value" : "{'message': '账号或密码错误'}"
}, {
"name" : "level",
"value" : "'中'"
}, {
"name" : "method",
"value" : "'POST'"
}, {
"name" : "mime",
"value" : "'json'"
}, {
"name" : "module_name",
"value" : "'认证接口'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "title",
"value" : "'反向用例-password为特殊字符'"
}, {
"name" : "update_key",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://36.139.193.99:8088/auth'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "c833d907176ddb47.json",
"parameterValues" : [ "'登陆系统'", "{'username': 'admin', 'password': '◦☼♠♣▣▤'}", "{'message': '账号或密码错误'}", "'中'", "'POST'", "'json'", "'认证接口'", "None", "None", "'反向用例-password为特殊字符'", "None", "'http://36.139.193.99:8088/auth'" ]
}
\ No newline at end of file
{
"uid" : "e7cba59bc4a8563a",
"name" : "正向用例",
"fullName" : "test_case.test_wj.test_bpm.TestBPM#test_bpm",
"historyId" : "6258b02831f492f0d1189af8d05fd7c9",
"time" : {
"start" : 1725700331824,
"stop" : 1725700331846,
"duration" : 22
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "fix_db",
"time" : {
"start" : 1725700331557,
"stop" : 1725700331594,
"duration" : 37
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "fix_req",
"time" : {
"start" : 1725700331517,
"stop" : 1725700331557,
"duration" : 40
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "_session_faker",
"time" : {
"start" : 1725700330546,
"stop" : 1725700330625,
"duration" : 79
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "69e67b1ed3dbf002",
"name" : "log",
"source" : "69e67b1ed3dbf002.txt",
"type" : "text/plain",
"size" : 350
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"attachmentsCount" : 1,
"shouldDisplayMessage" : false
},
"afterStages" : [ {
"name" : "fix_db::0",
"time" : {
"start" : 1725700331936,
"stop" : 1725700331936,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "fix_req::0",
"time" : {
"start" : 1725700331936,
"stop" : 1725700331936,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"labels" : [ {
"name" : "feature",
"value" : "组织管理"
}, {
"name" : "story",
"value" : "保存组织参数"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "项目名称"
}, {
"name" : "parentSuite",
"value" : "test_case.test_wj"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "LAPTOP-H5VLFKIL"
}, {
"name" : "thread",
"value" : "12816-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_wj.test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api_name",
"value" : "'保存组织参数'"
}, {
"name" : "case_data",
"value" : "{'query': {'orgCode': 'test_org_w1'}, 'body': [{'alias': 'hxxmts', 'value': '项目中没有关系户'}]}"
}, {
"name" : "expect_data",
"value" : "{'message': '保存组织参数成功!'}"
}, {
"name" : "level",
"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" : "title",
"value" : "'正向用例'"
}, {
"name" : "update_key",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://36.139.193.99:8088/api/org/v1/orgParam/saveOrgParams'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "e7cba59bc4a8563a.json",
"parameterValues" : [ "'保存组织参数'", "{'query': {'orgCode': 'test_org_w1'}, 'body': [{'alias': 'hxxmts', 'value': '项目中没有关系户'}]}", "{'message': '保存组织参数成功!'}", "'中'", "'POST'", "'query|json'", "'组织管理'", "None", "None", "'正向用例'", "None", "'http://36.139.193.99:8088/api/org/v1/orgParam/saveOrgParams'" ]
}
\ No newline at end of file
{
"uid" : "ed3549cca2ac3539",
"name" : "登录的正向用例",
"fullName" : "test_case.test_demo.test_bpm.TestBPM#test_bpm",
"historyId" : "0aeace9ba0981b6a3c42d54e56ad4c26",
"time" : {
"start" : 1725700330716,
"stop" : 1725700330749,
"duration" : 33
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1725700330546,
"stop" : 1725700330625,
"duration" : 79
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "fix_req",
"time" : {
"start" : 1725700330625,
"stop" : 1725700330669,
"duration" : 44
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "fix_db",
"time" : {
"start" : 1725700330669,
"stop" : 1725700330716,
"duration" : 47
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "fbc2098f640e617a",
"name" : "log",
"source" : "fbc2098f640e617a.txt",
"type" : "text/plain",
"size" : 779
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"attachmentsCount" : 1,
"shouldDisplayMessage" : false
},
"afterStages" : [ {
"name" : "fix_req::0",
"time" : {
"start" : 1725700331945,
"stop" : 1725700331945,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "fix_db::0",
"time" : {
"start" : 1725700331944,
"stop" : 1725700331944,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登陆系统"
}, {
"name" : "severity",
"value" : "高"
}, {
"name" : "epic",
"value" : "项目名称"
}, {
"name" : "parentSuite",
"value" : "test_case.test_demo"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "LAPTOP-H5VLFKIL"
}, {
"name" : "thread",
"value" : "12816-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': 'EuaozNT/aGWiIjWYfJUjoGeLD/vQR5o4hTaHkaSPnfpmIkdQ6O83HZt+uCsiY02ssw09/ZRYFVVLDn6nzkTvRg28EsWAqZGOGqiMTSSY/MADPHKRxP+8Lc6CTPKRwkpLKgDeVUYAhqT7s2K4WO0W2Vv2nGRyEHdy+v7UyPe2bv8='}"
}, {
"name" : "expect_data",
"value" : "{'username': '超级管理员', 'account': 'admin', 'userId': '1', 'expiration': 86400, 'loginStatus': True}"
}, {
"name" : "level",
"value" : "'高'"
}, {
"name" : "method",
"value" : "'POST'"
}, {
"name" : "mime",
"value" : "'application/json'"
}, {
"name" : "module_name",
"value" : "'认证接口'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "title",
"value" : "'登录的正向用例'"
}, {
"name" : "update_key",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://36.139.193.99:8088/auth'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "ed3549cca2ac3539.json",
"parameterValues" : [ "'登陆系统'", "{'username': 'admin', 'password': 'EuaozNT/aGWiIjWYfJUjoGeLD/vQR5o4hTaHkaSPnfpmIkdQ6O83HZt+uCsiY02ssw09/ZRYFVVLDn6nzkTvRg28EsWAqZGOGqiMTSSY/MADPHKRxP+8Lc6CTPKRwkpLKgDeVUYAhqT7s2K4WO0W2Vv2nGRyEHdy+v7UyPe2bv8='}", "{'username': '超级管理员', 'account': 'admin', 'userId': '1', 'expiration': 86400, 'loginStatus': True}", "'高'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'登录的正向用例'", "None", "'http://36.139.193.99:8088/auth'" ]
}
\ No newline at end of file
launch_status failed=4 1725700338000000000
launch_status broken=0 1725700338000000000
launch_status passed=19 1725700338000000000
launch_status skipped=0 1725700338000000000
launch_status unknown=0 1725700338000000000
launch_time duration=1216 1725700338000000000
launch_time min_duration=10 1725700338000000000
launch_time max_duration=61 1725700338000000000
launch_time sum_duration=702 1725700338000000000
launch_problems product_defects=4 1725700338000000000
launch_retries retries=0 1725700338000000000
launch_retries run=23 1725700338000000000
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Allure Report summary mail</title>
</head>
<body>
Mail body
</body>
</html>
launch_status_failed 4
launch_status_broken 0
launch_status_passed 19
launch_status_skipped 0
launch_status_unknown 0
launch_time_duration 1216
launch_time_min_duration 10
launch_time_max_duration 61
launch_time_sum_duration 702
launch_problems_product_defects 4
launch_retries_retries 0
launch_retries_run 23
module.exports = __webpack_public_path__ + "favicon.ico";
\ No newline at end of file
[ {
"data" : {
"Product defects" : 4
}
} ]
\ No newline at end of file
[ {
"data" : {
"duration" : 1216
}
} ]
\ No newline at end of file
[ {
"data" : {
"failed" : 4,
"broken" : 0,
"skipped" : 0,
"passed" : 19,
"unknown" : 0,
"total" : 23
}
} ]
\ No newline at end of file
{
"1c7aaad50e3e620c1378274f88bf1cc3" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "46db0a2ffdb8103d",
"status" : "passed",
"time" : {
"start" : 1725700331900,
"stop" : 1725700331932,
"duration" : 32
}
} ]
},
"e4d3f077cf44e8ddaafaaa7e8f2c11d0" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "b4d307afe7384e4",
"status" : "passed",
"time" : {
"start" : 1725700330895,
"stop" : 1725700330916,
"duration" : 21
}
} ]
},
"f6418c7f0a1bf3b84fdf672a51ad4d1c" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "c833d907176ddb47",
"status" : "passed",
"time" : {
"start" : 1725700330970,
"stop" : 1725700330996,
"duration" : 26
}
} ]
},
"0fcefb845440c573d470494fc08a716e" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "5bbc76995361039c",
"status" : "passed",
"time" : {
"start" : 1725700330785,
"stop" : 1725700330813,
"duration" : 28
}
} ]
},
"45ecd97fdd28bf19e9e262efcd530171" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "961f0b4ba31482ea",
"status" : "passed",
"time" : {
"start" : 1725700331859,
"stop" : 1725700331885,
"duration" : 26
}
} ]
},
"03262c715a98503ac5d45d25fedf87ee" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "98aedf97177cb29",
"status" : "passed",
"time" : {
"start" : 1725700331766,
"stop" : 1725700331806,
"duration" : 40
}
} ]
},
"faa0d89633196d498f51828690fe9793" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "8244565a79fd5d6",
"status" : "passed",
"time" : {
"start" : 1725700330926,
"stop" : 1725700330958,
"duration" : 32
}
} ]
},
"12e822928b3f5db5c130443ca43b7870" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "837095b0adfd2c39",
"status" : "passed",
"time" : {
"start" : 1725700331594,
"stop" : 1725700331644,
"duration" : 50
}
} ]
},
"5919268c322d945c7bbd2cadf40894e2" : {
"statistic" : {
"failed" : 1,
"broken" : 0,
"skipped" : 0,
"passed" : 0,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "118fe3c796fb78c7",
"status" : "failed",
"statusDetails" : "AssertionError: 断言失败",
"time" : {
"start" : 1725700331005,
"stop" : 1725700331044,
"duration" : 39
}
} ]
},
"842633ec67e1af2b2c2b4190ba4e9cd6" : {
"statistic" : {
"failed" : 1,
"broken" : 0,
"skipped" : 0,
"passed" : 0,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "3c9bdc94d0926fe0",
"status" : "failed",
"statusDetails" : "AssertionError: 断言失败",
"time" : {
"start" : 1725700331264,
"stop" : 1725700331304,
"duration" : 40
}
} ]
},
"32ab51b187bedec60154b48e8b192bfa" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "2e58d09c57f907e3",
"status" : "passed",
"time" : {
"start" : 1725700331410,
"stop" : 1725700331471,
"duration" : 61
}
} ]
},
"7ef2780ed8dee6b3445097b72939d760" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "6a84f8f3204ece8f",
"status" : "passed",
"time" : {
"start" : 1725700330854,
"stop" : 1725700330886,
"duration" : 32
}
} ]
},
"1ccccd7fd278cd020934ac861270a4d5" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "7e64410e92e4c030",
"status" : "passed",
"time" : {
"start" : 1725700331325,
"stop" : 1725700331365,
"duration" : 40
}
} ]
},
"6258b02831f492f0d1189af8d05fd7c9" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "e7cba59bc4a8563a",
"status" : "passed",
"time" : {
"start" : 1725700331824,
"stop" : 1725700331846,
"duration" : 22
}
} ]
},
"f282d078e8b537f62c619cb1055d560f" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "3b162d3e558e809f",
"status" : "passed",
"time" : {
"start" : 1725700331676,
"stop" : 1725700331695,
"duration" : 19
}
} ]
},
"524a478f317ab2e4a59dec7ae28013fe" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "2822a15095c25425",
"status" : "passed",
"time" : {
"start" : 1725700330759,
"stop" : 1725700330781,
"duration" : 22
}
} ]
},
"dca5bf933e1dda58043c372b9595e3f4" : {
"statistic" : {
"failed" : 1,
"broken" : 0,
"skipped" : 0,
"passed" : 0,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "8a0ab987fa1296fd",
"status" : "failed",
"statusDetails" : "AssertionError: 断言失败",
"time" : {
"start" : 1725700331228,
"stop" : 1725700331244,
"duration" : 16
}
} ]
},
"0aeace9ba0981b6a3c42d54e56ad4c26" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "ed3549cca2ac3539",
"status" : "passed",
"time" : {
"start" : 1725700330716,
"stop" : 1725700330749,
"duration" : 33
}
} ]
},
"7a20a48bec2a40b09526c5f6b70a6337" : {
"statistic" : {
"failed" : 1,
"broken" : 0,
"skipped" : 0,
"passed" : 0,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "195a42b739a6736f",
"status" : "failed",
"statusDetails" : "AssertionError: 断言失败",
"time" : {
"start" : 1725700331196,
"stop" : 1725700331206,
"duration" : 10
}
} ]
},
"0ee376b906e9872302a2a7563f8c7e3a" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "5e4751ea3cd535ea",
"status" : "passed",
"time" : {
"start" : 1725700331704,
"stop" : 1725700331754,
"duration" : 50
}
} ]
},
"cc932ca2fb4409dde020176fbed5825e" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "5ea06d200ead4ea3",
"status" : "passed",
"time" : {
"start" : 1725700331655,
"stop" : 1725700331665,
"duration" : 10
}
} ]
},
"90126bf745c40d9aab74473cebff4173" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "a9f87a49a93a8c0d",
"status" : "passed",
"time" : {
"start" : 1725700330824,
"stop" : 1725700330846,
"duration" : 22
}
} ]
},
"8080b72a44c1dfb0997f6d9af411ce27" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "b64ada8936aae46d",
"status" : "passed",
"time" : {
"start" : 1725700331475,
"stop" : 1725700331506,
"duration" : 31
}
} ]
}
}
\ 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