Commit bd70479e by zys

self test v3

parent 7baad809
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: test62
# FileName: __init__.py
# Author: lao_zhao
# Datetime: 2024/9/4 14:01
# Description:
#
# ---------------------------------------------------------------------------
import logging
import os
import time
def log(name='root'):
#创建logging对象
logger = logging.getLogger(name)
#设置日志级别
logger.level = logging.INFO
#日志名称为时间.log
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.addHandler(handle)
return logger
log = log()
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: study_python
# FileName: db.py
# Author: xxxxxxx
# Datetime: 2024/9/7 10:42
# Description:
# 命名规范:文件名全小写+下划线,类名大驼峰,方法和变量小写+下划线连接,
# 常量大写,变量和常量用名词,方法用动词
# ---------------------------------------------------------------------------
import pymysql
from ApiAutoTese_3 import log
from ApiAutoTese_3.common.read_project_ini import Read_Project_Ini
class DB:
def __init__(self):
ini = Read_Project_Ini()
self.db = pymysql.connect(
host=ini.get_sql_conf('host'),
port=int(ini.get_sql_conf('port')),
user=ini.get_sql_conf('user'),
password=ini.get_sql_conf('password'),
database=ini.get_sql_conf('database'),
charset='utf8'
)
self.cursor = self.db.cursor()
def delete(self,sql):
if isinstance(sql,str):
if sql.lower().startswith('delete'):
try:
self.cursor.execute(sql)
self.db.commit()
except Exception as e:
log.error(f'执行sql语句错误,sql语句为{sql},错误为{e}')
raise e
else:
log.error(f'执行delete方法sql语句不是delete语句,sql语句为{sql}')
raise ValueError(f'执行delete方法sql语句不是delete语句')
else:
log.error(f'传入的sql语句类型不是字符串,sql为{sql}')
raise TypeError(f'传入的sql语句类型不是字符串,sql为{sql}')
def select(self,sql,n=0):
if isinstance(sql,str):
if sql.lower().startswith('select'):
try:
self.cursor.execute(sql)
except Exception as e:
log.error(f'执行sql语句错误,sql语句为{sql},错误为{e}')
raise e
else:
data = self.cursor.fetchall()
if isinstance(n,int) and data:
try:
return data[n][0]
except Exception as e:
log.error(f"执行select方法时,获取查询结果失败,传入的n为:{n}")
raise e
else:
log.error(f'执行delete方法sql语句不是delete语句,sql语句为{sql}')
raise ValueError(f'执行delete方法sql语句不是delete语句')
else:
log.error(f'传入的sql语句类型不是字符串,sql为{sql}')
raise TypeError(f'传入的sql语句类型不是字符串,sql为{sql}')
def close(self):
self.cursor.close()
self.db.close()
\ No newline at end of file
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: study_python
# FileName: read_excel.py
# Author: xxxxxxx
# Datetime: 2024/9/7 10:00
# Description:
# 命名规范:文件名全小写+下划线,类名大驼峰,方法和变量小写+下划线连接,
# 常量大写,变量和常量用名词,方法用动词
# ---------------------------------------------------------------------------
import openpyxl
from ApiAutoTese_3 import log
from ApiAutoTese_3.common.read_json import read_json
from ApiAutoTese_3.common.read_project_ini import Read_Project_Ini
from ApiAutoTese_3.common.read_user_ini import Read_User_Ini
from ApiAutoTese_3.data_config.settings import *
class Read_excel:
def __init__(self,username):
ini = Read_User_Ini(username)
self.ini = Read_Project_Ini()
file_path = ini.get_file_path('excel')
table_name = ini.get_table_name('table_name')
case_path = ini.get_file_path('case')
expct_path = ini.get_file_path('expect')
sql_path = ini.get_file_path('sql')
self.case_dict = read_json(case_path)
self.expect_dict = read_json(expct_path)
self.sql_dict = read_json(sql_path)
try:
wb = openpyxl.load_workbook(file_path)
self.ws = wb[table_name]
except Exception as e:
log.error(f'加载excel工作簿和工作表时出错,excel路径为{file_path},工作表为{table_name},错误为{e}')
def __get_excel_data(self,column,row):
try:
cell_value = self.ws[column+str(row)].value
except Exception as e:
log.error(f'获取单元格{column}{row}数据出错,错误为:{e}')
raise e
else:
if cell_value is None:
return None
elif cell_value.strip():
return cell_value.strip()
def get_module(self,row):
return self.__get_excel_data(MODULE,row)
def get_api(self,row):
return self.__get_excel_data(API,row)
def get_url(self,row):
path = self.__get_excel_data(URL,row)
if path:
return self.ini.get_host(HOST_KEY) + path
def get_method(self,row):
return self.__get_excel_data(REQ_METHOD,row)
def get_mime(self,row):
mime = self.__get_excel_data(MIME,row)
if mime:
return mime.lower()
def get_case_data(self,row):
case_key = self.__get_excel_data(CASE_DATA, row)
if case_key:
module_name = self.get_module(row)
api_name = self.get_api(row)
return self.case_dict[module_name][api_name][case_key]
def get_expect_data(self,row):
expect_key = self.__get_excel_data(EXPECT_DATA, row)
if expect_key:
module_name = self.get_module(row)
api_name = self.get_api(row)
return self.expect_dict[module_name][api_name][expect_key]
def get_sql_data(self,row):
sql_key = self.__get_excel_data(SQL_DATA, row)
if sql_key:
module_name = self.get_module(row)
api_name = self.get_api(row)
return self.sql_dict[module_name][api_name][sql_key]
def get_sql_type(self,row):
value = self.__get_excel_data(SQL_TYPE,row)
if value:
return value
def get_updata(self,row):
updata_key = self.__get_excel_data(UPDATE_KEY,row)
if updata_key:
return updata_key
def case_title(self, row):
"""根据行号,获取用例的标题"""
return self.__get_excel_data(TITLE, row)
def case_level(self, row):
"""根号行号,获取用例的等级"""
return self.__get_excel_data(LEVEL, row)
def get_data(self):
list_data = []
for i in range(2,self.ws.max_row+1):
module = self.get_module(i)
api = self.get_api(i)
url = self.get_url(i)
method = self.get_method(i)
mime = self.get_mime(i)
case_data = self.get_case_data(i)
expect_data = self.get_expect_data(i)
sql_typ = self.get_sql_type(i)
sql_data = self.get_sql_data(i)
updata_key = self.get_updata(i)
case_title = self.case_title(i)
case_level = self.case_level(i)
if url is not None and method is not None and expect_data is not None:
list_data.append([module,api,url,method,mime,case_data,expect_data,sql_typ,sql_data,updata_key,case_title,case_level])
return list_data
if __name__ == '__main__':
excel = Read_excel('zys')
print(excel.get_data())
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: study_python
# FileName: read_json.py
# Author: xxxxxxx
# Datetime: 2024/9/7 9:55
# Description:
# 命名规范:文件名全小写+下划线,类名大驼峰,方法和变量小写+下划线连接,
# 常量大写,变量和常量用名词,方法用动词
# ---------------------------------------------------------------------------
import json
from ApiAutoTese_3 import log
from ApiAutoTese_3.common.read_user_ini import Read_User_Ini
def read_json(file_path):
if isinstance(file_path,str):
if file_path.endswith('.json'):
try:
with open(file_path,mode='r',encoding='utf-8') as f:
return json.load(f)
except Exception as e:
log.error(f'方法read_json读取json文件失败,文件路径为{file_path},错误为{e}')
raise e
else:
log.error(f'方法read_json传入的文件不是json文件,传入的路径为{file_path}')
raise ValueError
else:
log.error(f'方法read_json传入的路径不是字符串,传入的路径为{file_path}')
raise TypeError
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: study_python
# FileName: read_project_ini.py
# Author: xxxxxxx
# Datetime: 2024/9/7 9:28
# Description:
# 命名规范:文件名全小写+下划线,类名大驼峰,方法和变量小写+下划线连接,
# 常量大写,变量和常量用名词,方法用动词
# ---------------------------------------------------------------------------
import configparser
import os
from ApiAutoTese_3 import log
class Read_Project_Ini:
def __init__(self):
ini_path = os.path.join(os.path.join(os.path.dirname(os.path.dirname(__file__)),'data_config'),'project_config.ini')
self.ini = configparser.ConfigParser()
self.ini.read(ini_path,encoding='utf-8')
def get_host(self,key):
try:
return self.ini.get("host",key)
except Exception as e:
log.error(f'方式get_host获取域名失败,传入的key为{key},错误为{e}')
raise e
def get_sql_conf(self,key):
try:
return self.ini.get('sql',key)
except Exception as e:
log.error(f'方法gen_sql_conf获取数据库连接信息失败,传入的ken为{key},错误为{e}')
raise e
if __name__ == '__main__':
ini = Read_Project_Ini()
print(ini.get_host('bpm_host'))
\ No newline at end of file
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: study_python
# FileName: read_user_ini.py
# Author: xxxxxxx
# Datetime: 2024/9/7 9:41
# Description:
# 命名规范:文件名全小写+下划线,类名大驼峰,方法和变量小写+下划线连接,
# 常量大写,变量和常量用名词,方法用动词
# ---------------------------------------------------------------------------
import configparser
import os
from ApiAutoTese_3 import log
class Read_User_Ini:
def __init__(self,username):
ini_dir = os.path.join(os.path.dirname(os.path.dirname(__file__)),'data_config')
self.user_dir = os.path.join(ini_dir,username)
ini_path = os.path.join(self.user_dir,'config.ini')
self.ini = configparser.ConfigParser()
self.ini.read(ini_path,encoding='utf-8')
def get_file_path(self,key):
try:
file_name = self.ini.get('file',key)
except Exception as e:
log.error(f'方法get_file_path获取路径失败,传入key为{key},错误为{e}')
raise e
else:
return os.path.join(self.user_dir,file_name)
def get_table_name(self,key):
try:
return self.ini.get('table',key)
except Exception as e:
log.error(f'方法get_table_name获取工作表失败,传入的key为{key},错误为{e}')
raise e
if __name__ == '__main__':
ini = Read_User_Ini('demo')
print(ini.get_file_path('sql'))
\ No newline at end of file
{
"认证接口":{
"登录系统":{
"LoginSuccess": {"username": "admin","password": "bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ="},
"LoginErrorUsernameIsNone": {"username": "","password": "bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ="},
"LoginErrorUsernameIsSpecialChar": {"username": "#!$!@#!@#","password": "bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ="},
"LoginErrorUsernameIsLong": {"username": "adminadminadminadminadminadminadminadminadmin","password": "bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ="},
"LoginErrorUsernameIsShort": {"username": "a","password": "bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ="},
"LoginErrorUsernameIsError": {"username": "adminxyz","password": "bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ="},
"LoginErrorPasswordIsNone": {"username": "admin","password": ""},
"LoginErrorPasswordIsSpecialChar": {"username": "admin","password": "#!$!@#!@#"},
"LoginErrorPasswordIsLong": {"username": "admin","password": "bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn"},
"LoginErrorPasswordIsShort": {"username": "admin","password": "123456"},
"LoginErrorPasswordIsError": {"username": "admin","password": "bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ"}
}
},
"维度管理": {
"添加维度": {
"AddDemSuccess": {"code": "requestsAddDem","description": "requestsAddDem","isDefault": 1,"name": "requests添加的维度"}
},
"根据维度编码获取维度信息": {
"GetDemMessageSuccess": {"code": "requestsAddDem"}
},
"根据维度编码删除维度": {
"DeleteDemSuccess": {"ids": "需要更新"}
},
"更新维度": {
"UpdateDemSuccess": {
"code": "requestsAddDem",
"description": "requestsAddDem",
"isDefault": 0,
"name": "requestsAddDem"
}
}
},
"组织管理": {
"添加组织": {
"AddOrgSuccess": {
"code": "testAddOrg",
"demId": "需要更新",
"exceedLimitNum": 0,
"grade": "",
"limitNum": 0,
"name": "测试添加的组织",
"nowNum": 0,
"orderNo": 0,
"parentId": "0"
}
},
"用户加入组织": {
"OrgAddUserSuccess": {"orgCode": "testAddOrg", "accounts": "admin,guest"}
},
"保存组织参数": {
"SaveOrgparamsSuccess": {
"query": {"orgCode": "testAddOrg"},
"body": [{"alias": "hxxmts", "value": "项目中没有关系户"}]
}
},
"删除组织": {
"DeleteOrgSuccess": "testAddOrg"
}
}
}
[file]
# 配置数据配置层中文件的名称
excel=apiAutoTest.xlsx
case=case_data.json
expect=expect_data.json
sql=sql_data.json
[table]
# 配置工作表名称
table_name=BPM
{
"认证接口":{
"登录系统":{
"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":"解密密码异常,请检查RSA公钥和私钥配置"},
"LoginErrorPasswordIsShort": {"message":"解密密码异常,请检查RSA公钥和私钥配置"},
"LoginErrorPasswordIsError":{"message":"账户错误或该租户未启用"}
},
"刷新token": {
"RefreshSuccess": {"message": "刷新token成功"}
}
},
"维度管理": {
"添加维度": {
"AddDemSuccess": {"message": "添加维度成功!"}
},
"根据维度编码获取维度信息": {
"GetDemMessageSuccess": {"isDelete": "0"}
},
"根据维度编码删除维度": {
"DeleteDemSuccess": {"message": "删除维度成功!"}
},
"更新维度": {
"UpdateDemSuccess": {"message": "更新维度成功!"}
}
},
"组织管理": {
"添加组织": {
"AddOrgSuccess": {"message": "添加组织成功!'"}
},
"用户加入组织": {
"OrgAddUserSuccess": {"message":"加入成功"}
},
"保存组织参数": {
"SaveOrgparamsSuccess": {"message":"保存组织参数成功!"}
},
"删除组织": {
"DeleteOrgSuccess": {"message":"删除组织成功!"}
}
}
}
{
"维度管理": {
"添加维度": {
"AddDemSuccess": {"delete": "dELETE FROM uc_demension WHERE `CODE_`=\"requestsAddDem\";"}
},
"根据维度编码删除维度": {
"DeleteDemSuccess": {"select": "select ID_ from uc_demension where CODE_=\"requestsAddDem\";"}
}
},
"组织管理": {
"添加组织": {
"AddOrgSuccess": {
"select": "select ID_ from uc_demension where CODE_=\"requestsAddDem\"; ",
"delete": "delete from uc_org where CODE_=\"testAddOrg\";"
}
}
}
}
[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
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: test62
# FileName: settings.py
# Author: lao_zhao
# Datetime: 2024/9/4 16:03
# 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文件中host节点的key---------------------------------------------------------------------------
HOST_KEY = "bpm_host"
# ini文件中table节点的key---------------------------------------------------------------------------
TABLE_kEY = "table_name"
\ No newline at end of file
[file]
# 配置数据配置层中文件的名称
excel=老张的用例管理文件.xlsx
case=老张的用例数据文件.json
expect=老张的期望数据文件.json
sql=老张的sql语句文件.json
[table]
# 配置工作表名称
table_name=登录和添加维度的用例
{
{
"维度管理": {
"添加维度": {
"AddDemSuccess": {"delete":"dELETE FROM uc_demension WHERE `CODE_`=\"requestsAddDem\";"}
},
"根据维度编码删除维度": {
"DeleteDemSuccess": "select ID_ from uc_demension where CODE_=\"requestsAddDem\";"
}
}
}
{
{
"认证接口":{
"登录系统":{
"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":"解密密码异常,请检查RSA公钥和私钥配置"},
"LoginErrorPasswordIsShort": {"message":"解密密码异常,请检查RSA公钥和私钥配置"},
"LoginErrorPasswordIsError":{"message":"账户错误或该租户未启用"}
},
"刷新token": {
"RefreshSuccess": {"message": "刷新token成功"}
}
},
"维度管理": {
"添加维度": {
"AddDemSuccess": {"message": "添加维度成功!"}
},
"根据维度编码获取维度信息": {
"GetDemMessageSuccess": {"isDelete": "0"}
},
"根据维度编码删除维度": {
"DeleteDemSuccess": {"message": "删除维度成功!"}
},
"更新维度": {
"UpdateDemSuccess": {"message": "更新维度成功!"}
}
},
"组织管理": {
"添加组织": {
"AddOrgSuccess": {"message": "添加组织成功!'"}
},
"用户加入组织": {
"OrgAddUserSuccess": {"message":"加入成功"}
},
"保存组织参数": {
"SaveOrgparamsSuccess": {"message":"保存组织参数成功!"}
},
"删除组织": {
"DeleteOrgSuccess": {"message":"删除组织成功!"}
}
}
}
{
{
"认证接口":{
"登录系统":{
"LoginSuccess": {"username": "admin","password": "bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ="},
"LoginErrorUsernameIsNone": {"username": "","password": "bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ="},
"LoginErrorUsernameIsSpecialChar": {"username": "#!$!@#!@#","password": "bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ="},
"LoginErrorUsernameIsLong": {"username": "adminadminadminadminadminadminadminadminadmin","password": "bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ="},
"LoginErrorUsernameIsShort": {"username": "a","password": "bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ="},
"LoginErrorUsernameIsError": {"username": "adminxyz","password": "bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ="},
"LoginErrorPasswordIsNone": {"username": "admin","password": ""},
"LoginErrorPasswordIsSpecialChar": {"username": "admin","password": "#!$!@#!@#"},
"LoginErrorPasswordIsLong": {"username": "admin","password": "bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn"},
"LoginErrorPasswordIsShort": {"username": "admin","password": "123456"},
"LoginErrorPasswordIsError": {"username": "admin","password": "bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ"}
}
},
"维度管理": {
"添加维度": {
"AddDemSuccess": {"code": "requestsAddDem","description": "requestsAddDem","isDefault": 1,"name": "requests添加的维度"}
},
"根据维度编码获取维度信息": {
"GetDemMessageSuccess": {"code": "requestsAddDem"}
},
"根据维度编码删除维度": {
"DeleteDemSuccess": {"ids": "需要更新"}
}
}
}
This source diff could not be displayed because it is too large. You can view the blob instead.
INFO  root:test_bpm.py:47 断言成功,标题为反向用例-username为特殊字符,用例等级为中,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': '#!$!@#!@#', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账户错误或该租户未启用'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1832308327985029120"},测试员为zys
\ No newline at end of file
INFO  root:test_bpm.py:47 断言成功,标题为反向用例-username过长,用例等级为中,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'adminadminadminadminadminadminadminadminadmin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账户错误或该租户未启用'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1832308328161189888"},测试员为zys
\ No newline at end of file
ERROR  root:test_bpm.py:44 断言失败,标题为正向用例,用例等级为中,接口url为:http://36.139.193.99:8088/api/demension/v1/dem/deleteDemByIds, 用例数据:{'ids': '需要更新'}, 期望数据:{'message': '删除维度成功!'}, 服务器返回数据:{"state":false,"message":"","code":200,"logId":"1832308329964740608"},测试员为zys
\ No newline at end of file
INFO  root:test_bpm.py:50 断言成功,标题为正向用例,用例等级为高,接口url为:http://36.139.193.99:8088/api/demension/v1/dem/addDem, 用例数据:{'code': 'requestsAddDem', 'description': 'requestsAddDem', 'isDefault': 1, 'name': 'requests添加的维度'}, 期望数据:{'message': '添加维度成功!'}, 服务器返回数据:{"state":true,"message":"添加维度成功!","value":"","code":200},测试员为demo
\ No newline at end of file
INFO  root:test_bpm.py:47 断言成功,标题为反向用例-password为特殊字符,用例等级为中,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': '#!$!@#!@#'}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账号或密码错误","code":200,"logId":"1832308328861638656"},测试员为zys
\ No newline at end of file
INFO  root:test_bpm.py:47 断言成功,标题为反向用例-username错误,用例等级为中,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'adminxyz', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账户错误或该租户未启用'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1832308328492539904"},测试员为zys
\ No newline at end of file
INFO  root:test_bpm.py:47 断言成功,标题为反向用例-password过短,用例等级为中,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': '123456'}, 期望数据:{'message': '解密密码异常,请检查RSA公钥和私钥配置'}, 服务器返回数据:{"state":false,"message":"解密密码异常,请检查RSA公钥和私钥配置","code":200,"logId":"1832308329192988672"},测试员为zys
\ No newline at end of file
INFO  root:test_bpm.py:47 断言成功,标题为反向用例-password为空,用例等级为中,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': ''}, 期望数据:{'message': '账号或密码错误'}, 服务器返回数据:{"state":false,"message":"账号或密码错误","code":200,"logId":"1832308328685477888"},测试员为zys
\ No newline at end of file
INFO  root:test_bpm.py:47 断言成功,标题为登录的正向用例,用例等级为高,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'username': '超级管理员', 'account': 'admin', 'userId': '1', 'expiration': 86400, 'loginStatus': True}, 服务器返回数据:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjU3Nzc3MjIsImlhdCI6MTcyNTY5MTMyMn0.kF1hGyYrkssXHq3cbJJDvO7yCbMSTAmwVBdjx7vk-Nk9lSz2fAgbeGai5HvJTumkFc5p81EMAHRqHgjGig7aGA","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}},测试员为zys
\ No newline at end of file
INFO  root:test_bpm.py:50 断言成功,标题为正向用例,用例等级为中,接口url为:http://36.139.193.99:8088/api/demension/v1/dem/updateDem, 用例数据:{'code': 'requestsAddDem', 'description': 'requestsAddDem', 'isDefault': 0, 'name': 'requestsAddDem'}, 期望数据:{'message': '更新维度成功!'}, 服务器返回数据:{"state":true,"message":"更新维度成功!","value":"","code":200},测试员为demo
\ No newline at end of file
INFO  root:test_bpm.py:50 断言成功,标题为正向用例,用例等级为高,接口url为:http://36.139.193.99:8088/api/org/v1/orgUsers/addUsersForOrg, 用例数据:{'orgCode': 'testAddOrg', 'accounts': 'admin,guest'}, 期望数据:{'message': '加入成功'}, 服务器返回数据:{"state":true,"message":"加入成功","value":"","code":200},测试员为demo
\ No newline at end of file
INFO  root:test_bpm.py:50 断言成功,标题为正向用例,用例等级为中,接口url为:http://36.139.193.99:8088/api/org/v1/orgParam/saveOrgParams, 用例数据:{'query': {'orgCode': 'testAddOrg'}, 'body': [{'alias': 'hxxmts', 'value': '项目中没有关系户'}]}, 期望数据:{'message': '保存组织参数成功!'}, 服务器返回数据:{"state":true,"message":"保存组织参数成功!","value":"","code":200},测试员为demo
\ No newline at end of file
ERROR  root:test_bpm.py:46 断言失败,标题为正向用例,用例等级为高,接口url为:http://36.139.193.99:8088/api/org/v1/org/addOrg, 用例数据:{'code': 'testAddOrg', 'demId': '1832308324872855552', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据:{'message': "添加组织成功!'"}, 服务器返回数据:{"state":true,"message":"添加组织成功!","value":"","code":200},测试员为demo
\ No newline at end of file
INFO  root:test_bpm.py:47 断言成功,标题为正向用例,用例等级为高,接口url为:http://36.139.193.99:8088/api/demension/v1/dem/addDem, 用例数据:{'code': 'requestsAddDem', 'description': 'requestsAddDem', 'isDefault': 1, 'name': 'requests添加的维度'}, 期望数据:{'message': '添加维度成功!'}, 服务器返回数据:{"state":true,"message":"添加维度成功!","value":"","code":200},测试员为zys
\ No newline at end of file
INFO  root:test_bpm.py:47 断言成功,标题为反向用例-username短,用例等级为中,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'a', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账户错误或该租户未启用'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1832308328324767744"},测试员为zys
\ No newline at end of file
INFO  root:test_bpm.py:50 断言成功,标题为正向用例,用例等级为中,接口url为:http://36.139.193.99:8088/api/org/v1/org/deleteOrg, 用例数据:testAddOrg, 期望数据:{'message': '删除组织成功!'}, 服务器返回数据:{"state":true,"message":"删除组织成功!","value":"","code":200},测试员为demo
\ No newline at end of file
INFO  root:test_bpm.py:47 断言成功,标题为反向用例-username为空,用例等级为中,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': '', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}, 期望数据:{'message': '账户错误或该租户未启用'}, 服务器返回数据:{"state":false,"message":"账户错误或该租户未启用","code":200,"logId":"1832308327813062656"},测试员为zys
\ No newline at end of file
ERROR  root:test_bpm.py:44 断言失败,标题为反向用例-password错误,用例等级为中,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ'}, 期望数据:{'message': '账户错误或该租户未启用'}, 服务器返回数据:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjU3Nzc3MjMsImlhdCI6MTcyNTY5MTMyM30.D0rRJoEN3sgTx5KIyeCW5nNtR6rTCq7ZC7_kMKnM4Hviw4YJ8wwvOjVlhrB5SenhBnJD_TvT7KmUafYDFpBFgg","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}},测试员为zys
\ No newline at end of file
ERROR  root:test_bpm.py:46 断言失败,标题为正向用例,用例等级为中,接口url为:http://36.139.193.99:8088/api/demension/v1/dem/deleteDemByIds, 用例数据:{'ids': '需要更新'}, 期望数据:{'message': '删除维度成功!'}, 服务器返回数据:{"state":false,"message":"","code":200,"logId":"1832308327112613888"},测试员为demo
\ No newline at end of file
INFO  root:test_bpm.py:47 断言成功,标题为反向用例-password过长,用例等级为中,接口url为:http://36.139.193.99:8088/auth, 用例数据:{'username': 'admin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn'}, 期望数据:{'message': '解密密码异常,请检查RSA公钥和私钥配置'}, 服务器返回数据:{"state":false,"message":"解密密码异常,请检查RSA公钥和私钥配置","code":200,"logId":"1832308329012633600"},测试员为zys
\ No newline at end of file
ERROR  root:test_bpm.py:44 断言失败,标题为正向用例,用例等级为高,接口url为:http://36.139.193.99:8088/refresh, 用例数据:None, 期望数据:{'message': '刷新token成功'}, 服务器返回数据:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjU3Nzc3MjMsImlhdCI6MTcyNTY5MTMyM30.D0rRJoEN3sgTx5KIyeCW5nNtR6rTCq7ZC7_kMKnM4Hviw4YJ8wwvOjVlhrB5SenhBnJD_TvT7KmUafYDFpBFgg","username":"admin","account":"admin","userId":"","expiration":86400,"loginStatus":true},测试员为zys
\ No newline at end of file
"Epic","Feature","Story","FAILED","BROKEN","PASSED","SKIPPED","UNKNOWN"
"BPM项目-Demo","维度管理","添加维度","0","0","2","0","0"
"BPM项目-Demo","认证接口","登录系统","1","0","10","0","0"
"BPM项目-Demo","维度管理","根据维度编码删除维度","2","0","0","0","0"
"BPM项目-Demo","组织管理","保存组织参数","0","0","1","0","0"
"BPM项目-Demo","维度管理","更新维度","0","0","1","0","0"
"BPM项目-Demo","组织管理","删除组织","0","0","1","0","0"
"BPM项目-Demo","认证接口","刷新token","1","0","0","0","0"
"BPM项目-Demo","组织管理","添加组织","1","0","0","0","0"
"BPM项目-Demo","组织管理","用户加入组织","0","0","1","0","0"
"Category","FAILED","BROKEN","PASSED","SKIPPED","UNKNOWN"
"Product defects","5","0","0","0","0"
{
"uid" : "4b4757e66a1912dae1a509f688f20b0f",
"name" : "categories",
"children" : [ {
"name" : "Product defects",
"children" : [ {
"name" : "AssertionError: 断言失败",
"children" : [ {
"name" : "正向用例",
"uid" : "d720ce3e7169f312",
"parentUid" : "19135fd4a1c65086de1dc2a02ed9d4e0",
"status" : "failed",
"time" : {
"start" : 1725691433197,
"stop" : 1725691433239,
"duration" : 42
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'添加组织'", "{'code': 'testAddOrg', 'demId': '需要更新', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}", "'高'", "'正向用例'", "{'message': \"添加组织成功!'\"}", "'POST'", "'json'", "'组织管理'", "{'select': 'select ID_ from uc_demension where CODE_=\"requestsAddDem\"; ', 'delete': 'delete from uc_org where CODE_=\"testAddOrg\";'}", "'delete|select'", "'demId'", "'http://36.139.193.99:8088/api/org/v1/org/addOrg'" ]
}, {
"name" : "正向用例",
"uid" : "c2ff82bdb32e2817",
"parentUid" : "19135fd4a1c65086de1dc2a02ed9d4e0",
"status" : "failed",
"time" : {
"start" : 1725691433658,
"stop" : 1725691433674,
"duration" : 16
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'根据维度编码删除维度'", "{'ids': '需要更新'}", "'中'", "'正向用例'", "{'message': '删除维度成功!'}", "'delete'", "'query'", "'维度管理'", "{'select': 'select ID_ from uc_demension where CODE_=\"requestsAddDem\";'}", "'SELECT'", "'ids'", "'http://36.139.193.99:8088/api/demension/v1/dem/deleteDemByIds'" ]
}, {
"name" : "反向用例-password错误",
"uid" : "db12915576da2a7c",
"parentUid" : "19135fd4a1c65086de1dc2a02ed9d4e0",
"status" : "failed",
"time" : {
"start" : 1725691434186,
"stop" : 1725691434216,
"duration" : 30
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'登录系统'", "{'username': 'admin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ'}", "'中'", "'反向用例-password错误'", "{'message': '账户错误或该租户未启用'}", "'POST'", "'application/json'", "'认证接口'", "None", "None", "None", "'http://36.139.193.99:8088/auth'" ]
}, {
"name" : "正向用例",
"uid" : "d112b18a8cbff620",
"parentUid" : "19135fd4a1c65086de1dc2a02ed9d4e0",
"status" : "failed",
"time" : {
"start" : 1725691434242,
"stop" : 1725691434258,
"duration" : 16
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'刷新token'", "None", "'高'", "'正向用例'", "{'message': '刷新token成功'}", "'GET'", "None", "'认证接口'", "None", "None", "None", "'http://36.139.193.99:8088/refresh'" ]
}, {
"name" : "正向用例",
"uid" : "d1a5c795a343a6b",
"parentUid" : "19135fd4a1c65086de1dc2a02ed9d4e0",
"status" : "failed",
"time" : {
"start" : 1725691434341,
"stop" : 1725691434353,
"duration" : 12
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'根据维度编码删除维度'", "{'ids': '需要更新'}", "'中'", "'正向用例'", "{'message': '删除维度成功!'}", "'delete'", "'query'", "'维度管理'", "'select ID_ from uc_demension where CODE_=\"requestsAddDem\";'", "'SELECT'", "'ids'", "'http://36.139.193.99:8088/api/demension/v1/dem/deleteDemByIds'" ]
} ],
"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"
"passed","Sat Sep 07 14:43:53 CST 2024","Sat Sep 07 14:43:53 CST 2024","35","test_case.test_demo","test_bpm","Test_bpm","","","正向用例",""
"passed","Sat Sep 07 14:43:53 CST 2024","Sat Sep 07 14:43:53 CST 2024","33","test_case.test_zys","test_bpm","Test_bpm","","","登录的正向用例",""
"failed","Sat Sep 07 14:43:54 CST 2024","Sat Sep 07 14:43:54 CST 2024","12","test_case.test_zys","test_bpm","Test_bpm","","","正向用例",""
"passed","Sat Sep 07 14:43:53 CST 2024","Sat Sep 07 14:43:53 CST 2024","23","test_case.test_zys","test_bpm","Test_bpm","","","反向用例-username为特殊字符",""
"passed","Sat Sep 07 14:43:54 CST 2024","Sat Sep 07 14:43:54 CST 2024","40","test_case.test_zys","test_bpm","Test_bpm","","","正向用例",""
"passed","Sat Sep 07 14:43:53 CST 2024","Sat Sep 07 14:43:53 CST 2024","29","test_case.test_demo","test_bpm","Test_bpm","","","正向用例",""
"failed","Sat Sep 07 14:43:54 CST 2024","Sat Sep 07 14:43:54 CST 2024","30","test_case.test_zys","test_bpm","Test_bpm","","","反向用例-password错误",""
"passed","Sat Sep 07 14:43:53 CST 2024","Sat Sep 07 14:43:53 CST 2024","25","test_case.test_zys","test_bpm","Test_bpm","","","反向用例-username过长",""
"passed","Sat Sep 07 14:43:54 CST 2024","Sat Sep 07 14:43:54 CST 2024","27","test_case.test_zys","test_bpm","Test_bpm","","","反向用例-password为特殊字符",""
"failed","Sat Sep 07 14:43:53 CST 2024","Sat Sep 07 14:43:53 CST 2024","16","test_case.test_demo","test_bpm","Test_bpm","","","正向用例",""
"passed","Sat Sep 07 14:43:53 CST 2024","Sat Sep 07 14:43:53 CST 2024","20","test_case.test_zys","test_bpm","Test_bpm","","","反向用例-username为空",""
"passed","Sat Sep 07 14:43:53 CST 2024","Sat Sep 07 14:43:53 CST 2024","17","test_case.test_demo","test_bpm","Test_bpm","","","正向用例",""
"passed","Sat Sep 07 14:43:53 CST 2024","Sat Sep 07 14:43:53 CST 2024","31","test_case.test_demo","test_bpm","Test_bpm","","","正向用例",""
"passed","Sat Sep 07 14:43:53 CST 2024","Sat Sep 07 14:43:53 CST 2024","27","test_case.test_zys","test_bpm","Test_bpm","","","反向用例-username短",""
"failed","Sat Sep 07 14:43:54 CST 2024","Sat Sep 07 14:43:54 CST 2024","16","test_case.test_zys","test_bpm","Test_bpm","","","正向用例",""
"failed","Sat Sep 07 14:43:53 CST 2024","Sat Sep 07 14:43:53 CST 2024","42","test_case.test_demo","test_bpm","Test_bpm","","","正向用例",""
"passed","Sat Sep 07 14:43:54 CST 2024","Sat Sep 07 14:43:54 CST 2024","29","test_case.test_zys","test_bpm","Test_bpm","","","反向用例-password为空",""
"passed","Sat Sep 07 14:43:54 CST 2024","Sat Sep 07 14:43:54 CST 2024","20","test_case.test_zys","test_bpm","Test_bpm","","","反向用例-password过长",""
"passed","Sat Sep 07 14:43:54 CST 2024","Sat Sep 07 14:43:54 CST 2024","29","test_case.test_zys","test_bpm","Test_bpm","","","反向用例-password过短",""
"passed","Sat Sep 07 14:43:53 CST 2024","Sat Sep 07 14:43:53 CST 2024","40","test_case.test_demo","test_bpm","Test_bpm","","","正向用例",""
"passed","Sat Sep 07 14:43:53 CST 2024","Sat Sep 07 14:43:54 CST 2024","23","test_case.test_zys","test_bpm","Test_bpm","","","反向用例-username错误",""
{
"uid" : "17e7e36b25e9b6cc",
"name" : "反向用例-username为空",
"fullName" : "test_case.test_zys.test_bpm.Test_bpm#test_bpm",
"historyId" : "9b12d7fa959dc5ae8ea6e1a4e2a9f3b4",
"time" : {
"start" : 1725691433821,
"stop" : 1725691433841,
"duration" : 20
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1725691432889,
"stop" : 1725691433045,
"duration" : 156
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "fix_db",
"time" : {
"start" : 1725691433701,
"stop" : 1725691433736,
"duration" : 35
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "fix_req",
"time" : {
"start" : 1725691433736,
"stop" : 1725691433771,
"duration" : 35
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "cfb9b14791558b65",
"name" : "log",
"source" : "cfb9b14791558b65.txt",
"type" : "text/plain",
"size" : 576
} ],
"parameters" : [ ],
"attachmentsCount" : 1,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : true
},
"afterStages" : [ {
"name" : "fix_db::0",
"time" : {
"start" : 1725691434375,
"stop" : 1725691434375,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "fix_req::0",
"time" : {
"start" : 1725691434373,
"stop" : 1725691434373,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
} ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登录系统"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "BPM项目-Demo"
}, {
"name" : "parentSuite",
"value" : "test_case.test_zys"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "Test_bpm"
}, {
"name" : "host",
"value" : "LAPTOP-LLUJ8P61"
}, {
"name" : "thread",
"value" : "9876-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_zys.test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api",
"value" : "'登录系统'"
}, {
"name" : "case_data",
"value" : "{'username': '', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}"
}, {
"name" : "case_level",
"value" : "'中'"
}, {
"name" : "case_title",
"value" : "'反向用例-username为空'"
}, {
"name" : "expect_data",
"value" : "{'message': '账户错误或该租户未启用'}"
}, {
"name" : "method",
"value" : "'POST'"
}, {
"name" : "mime",
"value" : "'application/json'"
}, {
"name" : "module",
"value" : "'认证接口'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_typ",
"value" : "None"
}, {
"name" : "updata_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" : "17e7e36b25e9b6cc.json",
"parameterValues" : [ "'登录系统'", "{'username': '', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}", "'中'", "'反向用例-username为空'", "{'message': '账户错误或该租户未启用'}", "'POST'", "'application/json'", "'认证接口'", "None", "None", "None", "'http://36.139.193.99:8088/auth'" ]
}
\ No newline at end of file
{
"uid" : "314ae8276c9d2ebf",
"name" : "反向用例-username过长",
"fullName" : "test_case.test_zys.test_bpm.Test_bpm#test_bpm",
"historyId" : "1b7e7a1219cc4c1498da19ecb95d0806",
"time" : {
"start" : 1725691433897,
"stop" : 1725691433922,
"duration" : 25
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1725691432889,
"stop" : 1725691433045,
"duration" : 156
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "fix_db",
"time" : {
"start" : 1725691433701,
"stop" : 1725691433736,
"duration" : 35
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "fix_req",
"time" : {
"start" : 1725691433736,
"stop" : 1725691433771,
"duration" : 35
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "24b1764128b9afe8",
"name" : "log",
"source" : "24b1764128b9afe8.txt",
"type" : "text/plain",
"size" : 621
} ],
"parameters" : [ ],
"attachmentsCount" : 1,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : true
},
"afterStages" : [ {
"name" : "fix_db::0",
"time" : {
"start" : 1725691434375,
"stop" : 1725691434375,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "fix_req::0",
"time" : {
"start" : 1725691434373,
"stop" : 1725691434373,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
} ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登录系统"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "BPM项目-Demo"
}, {
"name" : "parentSuite",
"value" : "test_case.test_zys"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "Test_bpm"
}, {
"name" : "host",
"value" : "LAPTOP-LLUJ8P61"
}, {
"name" : "thread",
"value" : "9876-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_zys.test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api",
"value" : "'登录系统'"
}, {
"name" : "case_data",
"value" : "{'username': 'adminadminadminadminadminadminadminadminadmin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}"
}, {
"name" : "case_level",
"value" : "'中'"
}, {
"name" : "case_title",
"value" : "'反向用例-username过长'"
}, {
"name" : "expect_data",
"value" : "{'message': '账户错误或该租户未启用'}"
}, {
"name" : "method",
"value" : "'POST'"
}, {
"name" : "mime",
"value" : "'application/json'"
}, {
"name" : "module",
"value" : "'认证接口'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_typ",
"value" : "None"
}, {
"name" : "updata_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" : "314ae8276c9d2ebf.json",
"parameterValues" : [ "'登录系统'", "{'username': 'adminadminadminadminadminadminadminadminadmin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}", "'中'", "'反向用例-username过长'", "{'message': '账户错误或该租户未启用'}", "'POST'", "'application/json'", "'认证接口'", "None", "None", "None", "'http://36.139.193.99:8088/auth'" ]
}
\ No newline at end of file
{
"uid" : "360a7f9f4aab7a3b",
"name" : "正向用例",
"fullName" : "test_case.test_demo.test_bpm.Test_bpm#test_bpm",
"historyId" : "c6aa3e0d0fd675e2976013b592c50eb4",
"time" : {
"start" : 1725691433611,
"stop" : 1725691433642,
"duration" : 31
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1725691432889,
"stop" : 1725691433045,
"duration" : 156
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "fix_req",
"time" : {
"start" : 1725691433073,
"stop" : 1725691433110,
"duration" : 37
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "fix_db",
"time" : {
"start" : 1725691433045,
"stop" : 1725691433072,
"duration" : 27
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "b48def1ee34669f0",
"name" : "log",
"source" : "b48def1ee34669f0.txt",
"type" : "text/plain",
"size" : 344
} ],
"parameters" : [ ],
"attachmentsCount" : 1,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : true
},
"afterStages" : [ {
"name" : "fix_req::0",
"time" : {
"start" : 1725691434376,
"stop" : 1725691434376,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "fix_db::0",
"time" : {
"start" : 1725691434377,
"stop" : 1725691434377,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
} ],
"labels" : [ {
"name" : "feature",
"value" : "组织管理"
}, {
"name" : "story",
"value" : "删除组织"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "BPM项目-Demo"
}, {
"name" : "parentSuite",
"value" : "test_case.test_demo"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "Test_bpm"
}, {
"name" : "host",
"value" : "LAPTOP-LLUJ8P61"
}, {
"name" : "thread",
"value" : "9876-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",
"value" : "'删除组织'"
}, {
"name" : "case_data",
"value" : "'testAddOrg'"
}, {
"name" : "case_level",
"value" : "'中'"
}, {
"name" : "case_title",
"value" : "'正向用例'"
}, {
"name" : "expect_data",
"value" : "{'message': '删除组织成功!'}"
}, {
"name" : "method",
"value" : "'POST'"
}, {
"name" : "mime",
"value" : "'form'"
}, {
"name" : "module",
"value" : "'组织管理'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_typ",
"value" : "None"
}, {
"name" : "updata_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" : "360a7f9f4aab7a3b.json",
"parameterValues" : [ "'删除组织'", "'testAddOrg'", "'中'", "'正向用例'", "{'message': '删除组织成功!'}", "'POST'", "'form'", "'组织管理'", "None", "None", "None", "'http://36.139.193.99:8088/api/org/v1/org/deleteOrg'" ]
}
\ No newline at end of file
{
"uid" : "6a4abbc46adf38c3",
"name" : "反向用例-password为特殊字符",
"fullName" : "test_case.test_zys.test_bpm.Test_bpm#test_bpm",
"historyId" : "0ba0fe40bf26f97a38b6c5d5f4c081cc",
"time" : {
"start" : 1725691434063,
"stop" : 1725691434090,
"duration" : 27
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1725691432889,
"stop" : 1725691433045,
"duration" : 156
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "fix_db",
"time" : {
"start" : 1725691433701,
"stop" : 1725691433736,
"duration" : 35
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "fix_req",
"time" : {
"start" : 1725691433736,
"stop" : 1725691433771,
"duration" : 35
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "4f9aa5d643462f9d",
"name" : "log",
"source" : "4f9aa5d643462f9d.txt",
"type" : "text/plain",
"size" : 403
} ],
"parameters" : [ ],
"attachmentsCount" : 1,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : true
},
"afterStages" : [ {
"name" : "fix_db::0",
"time" : {
"start" : 1725691434375,
"stop" : 1725691434375,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "fix_req::0",
"time" : {
"start" : 1725691434373,
"stop" : 1725691434373,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
} ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登录系统"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "BPM项目-Demo"
}, {
"name" : "parentSuite",
"value" : "test_case.test_zys"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "Test_bpm"
}, {
"name" : "host",
"value" : "LAPTOP-LLUJ8P61"
}, {
"name" : "thread",
"value" : "9876-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_zys.test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api",
"value" : "'登录系统'"
}, {
"name" : "case_data",
"value" : "{'username': 'admin', 'password': '#!$!@#!@#'}"
}, {
"name" : "case_level",
"value" : "'中'"
}, {
"name" : "case_title",
"value" : "'反向用例-password为特殊字符'"
}, {
"name" : "expect_data",
"value" : "{'message': '账号或密码错误'}"
}, {
"name" : "method",
"value" : "'POST'"
}, {
"name" : "mime",
"value" : "'application/json'"
}, {
"name" : "module",
"value" : "'认证接口'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_typ",
"value" : "None"
}, {
"name" : "updata_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" : "6a4abbc46adf38c3.json",
"parameterValues" : [ "'登录系统'", "{'username': 'admin', 'password': '#!$!@#!@#'}", "'中'", "'反向用例-password为特殊字符'", "{'message': '账号或密码错误'}", "'POST'", "'application/json'", "'认证接口'", "None", "None", "None", "'http://36.139.193.99:8088/auth'" ]
}
\ No newline at end of file
{
"uid" : "72f42ad495255459",
"name" : "登录的正向用例",
"fullName" : "test_case.test_zys.test_bpm.Test_bpm#test_bpm",
"historyId" : "aae8ca9062cb09b01c9ad1e34f05501e",
"time" : {
"start" : 1725691433773,
"stop" : 1725691433806,
"duration" : 33
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1725691432889,
"stop" : 1725691433045,
"duration" : 156
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "fix_db",
"time" : {
"start" : 1725691433701,
"stop" : 1725691433736,
"duration" : 35
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "fix_req",
"time" : {
"start" : 1725691433736,
"stop" : 1725691433771,
"duration" : 35
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "632edc890c3609da",
"name" : "log",
"source" : "632edc890c3609da.txt",
"type" : "text/plain",
"size" : 868
} ],
"parameters" : [ ],
"attachmentsCount" : 1,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : true
},
"afterStages" : [ {
"name" : "fix_db::0",
"time" : {
"start" : 1725691434375,
"stop" : 1725691434375,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "fix_req::0",
"time" : {
"start" : 1725691434373,
"stop" : 1725691434373,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
} ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登录系统"
}, {
"name" : "severity",
"value" : "高"
}, {
"name" : "epic",
"value" : "BPM项目-Demo"
}, {
"name" : "parentSuite",
"value" : "test_case.test_zys"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "Test_bpm"
}, {
"name" : "host",
"value" : "LAPTOP-LLUJ8P61"
}, {
"name" : "thread",
"value" : "9876-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_zys.test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api",
"value" : "'登录系统'"
}, {
"name" : "case_data",
"value" : "{'username': 'admin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}"
}, {
"name" : "case_level",
"value" : "'高'"
}, {
"name" : "case_title",
"value" : "'登录的正向用例'"
}, {
"name" : "expect_data",
"value" : "{'username': '超级管理员', 'account': 'admin', 'userId': '1', 'expiration': 86400, 'loginStatus': True}"
}, {
"name" : "method",
"value" : "'POST'"
}, {
"name" : "mime",
"value" : "'application/json'"
}, {
"name" : "module",
"value" : "'认证接口'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_typ",
"value" : "None"
}, {
"name" : "updata_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" : "72f42ad495255459.json",
"parameterValues" : [ "'登录系统'", "{'username': 'admin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}", "'高'", "'登录的正向用例'", "{'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
{
"uid" : "7619f133294ddd24",
"name" : "反向用例-username为特殊字符",
"fullName" : "test_case.test_zys.test_bpm.Test_bpm#test_bpm",
"historyId" : "ef8a1542b94422721551e9c77bff3b3c",
"time" : {
"start" : 1725691433858,
"stop" : 1725691433881,
"duration" : 23
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1725691432889,
"stop" : 1725691433045,
"duration" : 156
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "fix_db",
"time" : {
"start" : 1725691433701,
"stop" : 1725691433736,
"duration" : 35
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "fix_req",
"time" : {
"start" : 1725691433736,
"stop" : 1725691433771,
"duration" : 35
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "2360cc7b499ca07c",
"name" : "log",
"source" : "2360cc7b499ca07c.txt",
"type" : "text/plain",
"size" : 594
} ],
"parameters" : [ ],
"attachmentsCount" : 1,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : true
},
"afterStages" : [ {
"name" : "fix_db::0",
"time" : {
"start" : 1725691434375,
"stop" : 1725691434375,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "fix_req::0",
"time" : {
"start" : 1725691434373,
"stop" : 1725691434373,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
} ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登录系统"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "BPM项目-Demo"
}, {
"name" : "parentSuite",
"value" : "test_case.test_zys"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "Test_bpm"
}, {
"name" : "host",
"value" : "LAPTOP-LLUJ8P61"
}, {
"name" : "thread",
"value" : "9876-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_zys.test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api",
"value" : "'登录系统'"
}, {
"name" : "case_data",
"value" : "{'username': '#!$!@#!@#', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}"
}, {
"name" : "case_level",
"value" : "'中'"
}, {
"name" : "case_title",
"value" : "'反向用例-username为特殊字符'"
}, {
"name" : "expect_data",
"value" : "{'message': '账户错误或该租户未启用'}"
}, {
"name" : "method",
"value" : "'POST'"
}, {
"name" : "mime",
"value" : "'application/json'"
}, {
"name" : "module",
"value" : "'认证接口'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_typ",
"value" : "None"
}, {
"name" : "updata_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" : "7619f133294ddd24.json",
"parameterValues" : [ "'登录系统'", "{'username': '#!$!@#!@#', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}", "'中'", "'反向用例-username为特殊字符'", "{'message': '账户错误或该租户未启用'}", "'POST'", "'application/json'", "'认证接口'", "None", "None", "None", "'http://36.139.193.99:8088/auth'" ]
}
\ No newline at end of file
{
"uid" : "863edecbd1d60039",
"name" : "正向用例",
"fullName" : "test_case.test_demo.test_bpm.Test_bpm#test_bpm",
"historyId" : "42a94cac3e4240a5e49a372c3dfd4b22",
"time" : {
"start" : 1725691433163,
"stop" : 1725691433180,
"duration" : 17
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1725691432889,
"stop" : 1725691433045,
"duration" : 156
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "fix_req",
"time" : {
"start" : 1725691433073,
"stop" : 1725691433110,
"duration" : 37
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "fix_db",
"time" : {
"start" : 1725691433045,
"stop" : 1725691433072,
"duration" : 27
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "71005303a44375df",
"name" : "log",
"source" : "71005303a44375df.txt",
"type" : "text/plain",
"size" : 441
} ],
"parameters" : [ ],
"attachmentsCount" : 1,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : true
},
"afterStages" : [ {
"name" : "fix_req::0",
"time" : {
"start" : 1725691434376,
"stop" : 1725691434376,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "fix_db::0",
"time" : {
"start" : 1725691434377,
"stop" : 1725691434377,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
} ],
"labels" : [ {
"name" : "feature",
"value" : "维度管理"
}, {
"name" : "story",
"value" : "更新维度"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "BPM项目-Demo"
}, {
"name" : "parentSuite",
"value" : "test_case.test_demo"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "Test_bpm"
}, {
"name" : "host",
"value" : "LAPTOP-LLUJ8P61"
}, {
"name" : "thread",
"value" : "9876-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",
"value" : "'更新维度'"
}, {
"name" : "case_data",
"value" : "{'code': 'requestsAddDem', 'description': 'requestsAddDem', 'isDefault': 0, 'name': 'requestsAddDem'}"
}, {
"name" : "case_level",
"value" : "'中'"
}, {
"name" : "case_title",
"value" : "'正向用例'"
}, {
"name" : "expect_data",
"value" : "{'message': '更新维度成功!'}"
}, {
"name" : "method",
"value" : "'put'"
}, {
"name" : "mime",
"value" : "'json'"
}, {
"name" : "module",
"value" : "'维度管理'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_typ",
"value" : "None"
}, {
"name" : "updata_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" : "863edecbd1d60039.json",
"parameterValues" : [ "'更新维度'", "{'code': 'requestsAddDem', 'description': 'requestsAddDem', 'isDefault': 0, 'name': 'requestsAddDem'}", "'中'", "'正向用例'", "{'message': '更新维度成功!'}", "'put'", "'json'", "'维度管理'", "None", "None", "None", "'http://36.139.193.99:8088/api/demension/v1/dem/updateDem'" ]
}
\ No newline at end of file
{
"uid" : "94ab3dc9e3afd25c",
"name" : "反向用例-password过长",
"fullName" : "test_case.test_zys.test_bpm.Test_bpm#test_bpm",
"historyId" : "4a81d15cba0d212c05c62b771c220531",
"time" : {
"start" : 1725691434106,
"stop" : 1725691434126,
"duration" : 20
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1725691432889,
"stop" : 1725691433045,
"duration" : 156
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "fix_db",
"time" : {
"start" : 1725691433701,
"stop" : 1725691433736,
"duration" : 35
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "fix_req",
"time" : {
"start" : 1725691433736,
"stop" : 1725691433771,
"duration" : 35
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "fc64a5b69ca8647f",
"name" : "log",
"source" : "fc64a5b69ca8647f.txt",
"type" : "text/plain",
"size" : 1061
} ],
"parameters" : [ ],
"attachmentsCount" : 1,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : true
},
"afterStages" : [ {
"name" : "fix_db::0",
"time" : {
"start" : 1725691434375,
"stop" : 1725691434375,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "fix_req::0",
"time" : {
"start" : 1725691434373,
"stop" : 1725691434373,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
} ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登录系统"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "BPM项目-Demo"
}, {
"name" : "parentSuite",
"value" : "test_case.test_zys"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "Test_bpm"
}, {
"name" : "host",
"value" : "LAPTOP-LLUJ8P61"
}, {
"name" : "thread",
"value" : "9876-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_zys.test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api",
"value" : "'登录系统'"
}, {
"name" : "case_data",
"value" : "{'username': 'admin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn'}"
}, {
"name" : "case_level",
"value" : "'中'"
}, {
"name" : "case_title",
"value" : "'反向用例-password过长'"
}, {
"name" : "expect_data",
"value" : "{'message': '解密密码异常,请检查RSA公钥和私钥配置'}"
}, {
"name" : "method",
"value" : "'post'"
}, {
"name" : "mime",
"value" : "'application/json'"
}, {
"name" : "module",
"value" : "'认证接口'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_typ",
"value" : "None"
}, {
"name" : "updata_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" : "94ab3dc9e3afd25c.json",
"parameterValues" : [ "'登录系统'", "{'username': 'admin', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jznbF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn'}", "'中'", "'反向用例-password过长'", "{'message': '解密密码异常,请检查RSA公钥和私钥配置'}", "'post'", "'application/json'", "'认证接口'", "None", "None", "None", "'http://36.139.193.99:8088/auth'" ]
}
\ No newline at end of file
{
"uid" : "95d8794ccc079b68",
"name" : "反向用例-username短",
"fullName" : "test_case.test_zys.test_bpm.Test_bpm#test_bpm",
"historyId" : "92fdbdfea37ce54793c557fd2895f123",
"time" : {
"start" : 1725691433936,
"stop" : 1725691433963,
"duration" : 27
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1725691432889,
"stop" : 1725691433045,
"duration" : 156
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "fix_db",
"time" : {
"start" : 1725691433701,
"stop" : 1725691433736,
"duration" : 35
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "fix_req",
"time" : {
"start" : 1725691433736,
"stop" : 1725691433771,
"duration" : 35
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "a5d9b06c0b096572",
"name" : "log",
"source" : "a5d9b06c0b096572.txt",
"type" : "text/plain",
"size" : 574
} ],
"parameters" : [ ],
"attachmentsCount" : 1,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : true
},
"afterStages" : [ {
"name" : "fix_db::0",
"time" : {
"start" : 1725691434375,
"stop" : 1725691434375,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "fix_req::0",
"time" : {
"start" : 1725691434373,
"stop" : 1725691434373,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
} ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登录系统"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "BPM项目-Demo"
}, {
"name" : "parentSuite",
"value" : "test_case.test_zys"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "Test_bpm"
}, {
"name" : "host",
"value" : "LAPTOP-LLUJ8P61"
}, {
"name" : "thread",
"value" : "9876-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_zys.test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api",
"value" : "'登录系统'"
}, {
"name" : "case_data",
"value" : "{'username': 'a', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}"
}, {
"name" : "case_level",
"value" : "'中'"
}, {
"name" : "case_title",
"value" : "'反向用例-username短'"
}, {
"name" : "expect_data",
"value" : "{'message': '账户错误或该租户未启用'}"
}, {
"name" : "method",
"value" : "'POST'"
}, {
"name" : "mime",
"value" : "'json'"
}, {
"name" : "module",
"value" : "'认证接口'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_typ",
"value" : "None"
}, {
"name" : "updata_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" : "95d8794ccc079b68.json",
"parameterValues" : [ "'登录系统'", "{'username': 'a', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}", "'中'", "'反向用例-username短'", "{'message': '账户错误或该租户未启用'}", "'POST'", "'json'", "'认证接口'", "None", "None", "None", "'http://36.139.193.99:8088/auth'" ]
}
\ No newline at end of file
{
"uid" : "b4dec425268b3f3e",
"name" : "反向用例-password为空",
"fullName" : "test_case.test_zys.test_bpm.Test_bpm#test_bpm",
"historyId" : "44c467604eb42efdb90351fc9850265e",
"time" : {
"start" : 1725691434019,
"stop" : 1725691434048,
"duration" : 29
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1725691432889,
"stop" : 1725691433045,
"duration" : 156
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "fix_db",
"time" : {
"start" : 1725691433701,
"stop" : 1725691433736,
"duration" : 35
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "fix_req",
"time" : {
"start" : 1725691433736,
"stop" : 1725691433771,
"duration" : 35
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "629fa77ae286597b",
"name" : "log",
"source" : "629fa77ae286597b.txt",
"type" : "text/plain",
"size" : 385
} ],
"parameters" : [ ],
"attachmentsCount" : 1,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : true
},
"afterStages" : [ {
"name" : "fix_db::0",
"time" : {
"start" : 1725691434375,
"stop" : 1725691434375,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "fix_req::0",
"time" : {
"start" : 1725691434373,
"stop" : 1725691434373,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
} ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登录系统"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "BPM项目-Demo"
}, {
"name" : "parentSuite",
"value" : "test_case.test_zys"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "Test_bpm"
}, {
"name" : "host",
"value" : "LAPTOP-LLUJ8P61"
}, {
"name" : "thread",
"value" : "9876-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_zys.test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api",
"value" : "'登录系统'"
}, {
"name" : "case_data",
"value" : "{'username': 'admin', 'password': ''}"
}, {
"name" : "case_level",
"value" : "'中'"
}, {
"name" : "case_title",
"value" : "'反向用例-password为空'"
}, {
"name" : "expect_data",
"value" : "{'message': '账号或密码错误'}"
}, {
"name" : "method",
"value" : "'POST'"
}, {
"name" : "mime",
"value" : "'application/json'"
}, {
"name" : "module",
"value" : "'认证接口'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_typ",
"value" : "None"
}, {
"name" : "updata_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" : "b4dec425268b3f3e.json",
"parameterValues" : [ "'登录系统'", "{'username': 'admin', 'password': ''}", "'中'", "'反向用例-password为空'", "{'message': '账号或密码错误'}", "'POST'", "'application/json'", "'认证接口'", "None", "None", "None", "'http://36.139.193.99:8088/auth'" ]
}
\ No newline at end of file
{
"uid" : "b7c50a7673259529",
"name" : "反向用例-username错误",
"fullName" : "test_case.test_zys.test_bpm.Test_bpm#test_bpm",
"historyId" : "31a2ba3915635f4034f0e5463fef16f6",
"time" : {
"start" : 1725691433979,
"stop" : 1725691434002,
"duration" : 23
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1725691432889,
"stop" : 1725691433045,
"duration" : 156
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "fix_db",
"time" : {
"start" : 1725691433701,
"stop" : 1725691433736,
"duration" : 35
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "fix_req",
"time" : {
"start" : 1725691433736,
"stop" : 1725691433771,
"duration" : 35
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "5d9004b8027c45a7",
"name" : "log",
"source" : "5d9004b8027c45a7.txt",
"type" : "text/plain",
"size" : 584
} ],
"parameters" : [ ],
"attachmentsCount" : 1,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : true
},
"afterStages" : [ {
"name" : "fix_db::0",
"time" : {
"start" : 1725691434375,
"stop" : 1725691434375,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "fix_req::0",
"time" : {
"start" : 1725691434373,
"stop" : 1725691434373,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
} ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登录系统"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "BPM项目-Demo"
}, {
"name" : "parentSuite",
"value" : "test_case.test_zys"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "Test_bpm"
}, {
"name" : "host",
"value" : "LAPTOP-LLUJ8P61"
}, {
"name" : "thread",
"value" : "9876-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_zys.test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api",
"value" : "'登录系统'"
}, {
"name" : "case_data",
"value" : "{'username': 'adminxyz', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}"
}, {
"name" : "case_level",
"value" : "'中'"
}, {
"name" : "case_title",
"value" : "'反向用例-username错误'"
}, {
"name" : "expect_data",
"value" : "{'message': '账户错误或该租户未启用'}"
}, {
"name" : "method",
"value" : "'POST'"
}, {
"name" : "mime",
"value" : "'application/json'"
}, {
"name" : "module",
"value" : "'认证接口'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_typ",
"value" : "None"
}, {
"name" : "updata_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" : "b7c50a7673259529.json",
"parameterValues" : [ "'登录系统'", "{'username': 'adminxyz', 'password': 'bF6N3L93cX8pV6x2yEqxNjwIIPaEOYw9bNI5GuIY4g9MeoFyPFPL5WteHaV0LcxQqmDJWlhuCRMXzAPvrFcxJrA8BgGjJpmB1WMrQrazIJPbWbCfmDit2s2jzn+DRerVlYIFojDM96y24drEniwWzHtaJKiWoc7LGL1csNmokvQ='}", "'中'", "'反向用例-username错误'", "{'message': '账户错误或该租户未启用'}", "'POST'", "'application/json'", "'认证接口'", "None", "None", "None", "'http://36.139.193.99:8088/auth'" ]
}
\ No newline at end of file
{
"uid" : "bb3b6f5117ac4ce8",
"name" : "正向用例",
"fullName" : "test_case.test_demo.test_bpm.Test_bpm#test_bpm",
"historyId" : "45c0538ac4f1a753b075912dde2c053b",
"time" : {
"start" : 1725691433112,
"stop" : 1725691433147,
"duration" : 35
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1725691432889,
"stop" : 1725691433045,
"duration" : 156
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "fix_req",
"time" : {
"start" : 1725691433073,
"stop" : 1725691433110,
"duration" : 37
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "fix_db",
"time" : {
"start" : 1725691433045,
"stop" : 1725691433072,
"duration" : 27
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "4dbcdebcf3d4064d",
"name" : "log",
"source" : "4dbcdebcf3d4064d.txt",
"type" : "text/plain",
"size" : 447
} ],
"parameters" : [ ],
"attachmentsCount" : 1,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : true
},
"afterStages" : [ {
"name" : "fix_req::0",
"time" : {
"start" : 1725691434376,
"stop" : 1725691434376,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "fix_db::0",
"time" : {
"start" : 1725691434377,
"stop" : 1725691434377,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
} ],
"labels" : [ {
"name" : "feature",
"value" : "维度管理"
}, {
"name" : "story",
"value" : "添加维度"
}, {
"name" : "severity",
"value" : "高"
}, {
"name" : "epic",
"value" : "BPM项目-Demo"
}, {
"name" : "parentSuite",
"value" : "test_case.test_demo"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "Test_bpm"
}, {
"name" : "host",
"value" : "LAPTOP-LLUJ8P61"
}, {
"name" : "thread",
"value" : "9876-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",
"value" : "'添加维度'"
}, {
"name" : "case_data",
"value" : "{'code': 'requestsAddDem', 'description': 'requestsAddDem', 'isDefault': 1, 'name': 'requests添加的维度'}"
}, {
"name" : "case_level",
"value" : "'高'"
}, {
"name" : "case_title",
"value" : "'正向用例'"
}, {
"name" : "expect_data",
"value" : "{'message': '添加维度成功!'}"
}, {
"name" : "method",
"value" : "'post'"
}, {
"name" : "mime",
"value" : "'application/json'"
}, {
"name" : "module",
"value" : "'维度管理'"
}, {
"name" : "sql_data",
"value" : "{'delete': 'dELETE FROM uc_demension WHERE `CODE_`=\"requestsAddDem\";'}"
}, {
"name" : "sql_typ",
"value" : "'delete'"
}, {
"name" : "updata_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" : "bb3b6f5117ac4ce8.json",
"parameterValues" : [ "'添加维度'", "{'code': 'requestsAddDem', 'description': 'requestsAddDem', 'isDefault': 1, 'name': 'requests添加的维度'}", "'高'", "'正向用例'", "{'message': '添加维度成功!'}", "'post'", "'application/json'", "'维度管理'", "{'delete': 'dELETE FROM uc_demension WHERE `CODE_`=\"requestsAddDem\";'}", "'delete'", "None", "'http://36.139.193.99:8088/api/demension/v1/dem/addDem'" ]
}
\ No newline at end of file
{
"uid" : "c1e2ec99344272dc",
"name" : "反向用例-password过短",
"fullName" : "test_case.test_zys.test_bpm.Test_bpm#test_bpm",
"historyId" : "b5bf0f89c1475d47613b06a21ce654cf",
"time" : {
"start" : 1725691434141,
"stop" : 1725691434170,
"duration" : 29
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1725691432889,
"stop" : 1725691433045,
"duration" : 156
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "fix_db",
"time" : {
"start" : 1725691433701,
"stop" : 1725691433736,
"duration" : 35
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "fix_req",
"time" : {
"start" : 1725691433736,
"stop" : 1725691433771,
"duration" : 35
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "626ccd9a6bba5657",
"name" : "log",
"source" : "626ccd9a6bba5657.txt",
"type" : "text/plain",
"size" : 457
} ],
"parameters" : [ ],
"attachmentsCount" : 1,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : true
},
"afterStages" : [ {
"name" : "fix_db::0",
"time" : {
"start" : 1725691434375,
"stop" : 1725691434375,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "fix_req::0",
"time" : {
"start" : 1725691434373,
"stop" : 1725691434373,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
} ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登录系统"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "BPM项目-Demo"
}, {
"name" : "parentSuite",
"value" : "test_case.test_zys"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "Test_bpm"
}, {
"name" : "host",
"value" : "LAPTOP-LLUJ8P61"
}, {
"name" : "thread",
"value" : "9876-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_zys.test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api",
"value" : "'登录系统'"
}, {
"name" : "case_data",
"value" : "{'username': 'admin', 'password': '123456'}"
}, {
"name" : "case_level",
"value" : "'中'"
}, {
"name" : "case_title",
"value" : "'反向用例-password过短'"
}, {
"name" : "expect_data",
"value" : "{'message': '解密密码异常,请检查RSA公钥和私钥配置'}"
}, {
"name" : "method",
"value" : "'POST'"
}, {
"name" : "mime",
"value" : "'application/json'"
}, {
"name" : "module",
"value" : "'认证接口'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_typ",
"value" : "None"
}, {
"name" : "updata_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" : "c1e2ec99344272dc.json",
"parameterValues" : [ "'登录系统'", "{'username': 'admin', 'password': '123456'}", "'中'", "'反向用例-password过短'", "{'message': '解密密码异常,请检查RSA公钥和私钥配置'}", "'POST'", "'application/json'", "'认证接口'", "None", "None", "None", "'http://36.139.193.99:8088/auth'" ]
}
\ No newline at end of file
{
"uid" : "cbf177c8c9d1abe7",
"name" : "正向用例",
"fullName" : "test_case.test_zys.test_bpm.Test_bpm#test_bpm",
"historyId" : "49f97de15a9c12866fc4013457e84159",
"time" : {
"start" : 1725691434283,
"stop" : 1725691434323,
"duration" : 40
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1725691432889,
"stop" : 1725691433045,
"duration" : 156
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "fix_db",
"time" : {
"start" : 1725691433701,
"stop" : 1725691433736,
"duration" : 35
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "fix_req",
"time" : {
"start" : 1725691433736,
"stop" : 1725691433771,
"duration" : 35
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "963c3b4fecad293a",
"name" : "log",
"source" : "963c3b4fecad293a.txt",
"type" : "text/plain",
"size" : 446
} ],
"parameters" : [ ],
"attachmentsCount" : 1,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : true
},
"afterStages" : [ {
"name" : "fix_db::0",
"time" : {
"start" : 1725691434375,
"stop" : 1725691434375,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "fix_req::0",
"time" : {
"start" : 1725691434373,
"stop" : 1725691434373,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
} ],
"labels" : [ {
"name" : "feature",
"value" : "维度管理"
}, {
"name" : "story",
"value" : "添加维度"
}, {
"name" : "severity",
"value" : "高"
}, {
"name" : "epic",
"value" : "BPM项目-Demo"
}, {
"name" : "parentSuite",
"value" : "test_case.test_zys"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "Test_bpm"
}, {
"name" : "host",
"value" : "LAPTOP-LLUJ8P61"
}, {
"name" : "thread",
"value" : "9876-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_case.test_zys.test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api",
"value" : "'添加维度'"
}, {
"name" : "case_data",
"value" : "{'code': 'requestsAddDem', 'description': 'requestsAddDem', 'isDefault': 1, 'name': 'requests添加的维度'}"
}, {
"name" : "case_level",
"value" : "'高'"
}, {
"name" : "case_title",
"value" : "'正向用例'"
}, {
"name" : "expect_data",
"value" : "{'message': '添加维度成功!'}"
}, {
"name" : "method",
"value" : "'post'"
}, {
"name" : "mime",
"value" : "'application/json'"
}, {
"name" : "module",
"value" : "'维度管理'"
}, {
"name" : "sql_data",
"value" : "{'delete': 'dELETE FROM uc_demension WHERE `CODE_`=\"requestsAddDem\";'}"
}, {
"name" : "sql_typ",
"value" : "'delete'"
}, {
"name" : "updata_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" : "cbf177c8c9d1abe7.json",
"parameterValues" : [ "'添加维度'", "{'code': 'requestsAddDem', 'description': 'requestsAddDem', 'isDefault': 1, 'name': 'requests添加的维度'}", "'高'", "'正向用例'", "{'message': '添加维度成功!'}", "'post'", "'application/json'", "'维度管理'", "{'delete': 'dELETE FROM uc_demension WHERE `CODE_`=\"requestsAddDem\";'}", "'delete'", "None", "'http://36.139.193.99:8088/api/demension/v1/dem/addDem'" ]
}
\ No newline at end of file
{
"uid" : "d186585591c66c89",
"name" : "正向用例",
"fullName" : "test_case.test_demo.test_bpm.Test_bpm#test_bpm",
"historyId" : "8c9c66e0fa151de061ef3222cb9e2a73",
"time" : {
"start" : 1725691433511,
"stop" : 1725691433551,
"duration" : 40
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1725691432889,
"stop" : 1725691433045,
"duration" : 156
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "fix_req",
"time" : {
"start" : 1725691433073,
"stop" : 1725691433110,
"duration" : 37
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "fix_db",
"time" : {
"start" : 1725691433045,
"stop" : 1725691433072,
"duration" : 27
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "7a41672a3c3316ed",
"name" : "log",
"source" : "7a41672a3c3316ed.txt",
"type" : "text/plain",
"size" : 378
} ],
"parameters" : [ ],
"attachmentsCount" : 1,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : true
},
"afterStages" : [ {
"name" : "fix_req::0",
"time" : {
"start" : 1725691434376,
"stop" : 1725691434376,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "fix_db::0",
"time" : {
"start" : 1725691434377,
"stop" : 1725691434377,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
} ],
"labels" : [ {
"name" : "feature",
"value" : "组织管理"
}, {
"name" : "story",
"value" : "用户加入组织"
}, {
"name" : "severity",
"value" : "高"
}, {
"name" : "epic",
"value" : "BPM项目-Demo"
}, {
"name" : "parentSuite",
"value" : "test_case.test_demo"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "Test_bpm"
}, {
"name" : "host",
"value" : "LAPTOP-LLUJ8P61"
}, {
"name" : "thread",
"value" : "9876-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",
"value" : "'用户加入组织'"
}, {
"name" : "case_data",
"value" : "{'orgCode': 'testAddOrg', 'accounts': 'admin,guest'}"
}, {
"name" : "case_level",
"value" : "'高'"
}, {
"name" : "case_title",
"value" : "'正向用例'"
}, {
"name" : "expect_data",
"value" : "{'message': '加入成功'}"
}, {
"name" : "method",
"value" : "'POST'"
}, {
"name" : "mime",
"value" : "'query'"
}, {
"name" : "module",
"value" : "'组织管理'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_typ",
"value" : "None"
}, {
"name" : "updata_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" : "d186585591c66c89.json",
"parameterValues" : [ "'用户加入组织'", "{'orgCode': 'testAddOrg', '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" : "fc933547bc2773c3",
"name" : "正向用例",
"fullName" : "test_case.test_demo.test_bpm.Test_bpm#test_bpm",
"historyId" : "1172649fef746b2381a98909218657e2",
"time" : {
"start" : 1725691433567,
"stop" : 1725691433596,
"duration" : 29
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1725691432889,
"stop" : 1725691433045,
"duration" : 156
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "fix_req",
"time" : {
"start" : 1725691433073,
"stop" : 1725691433110,
"duration" : 37
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "fix_db",
"time" : {
"start" : 1725691433045,
"stop" : 1725691433072,
"duration" : 27
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "8a54281c51f1a5f7",
"name" : "log",
"source" : "8a54281c51f1a5f7.txt",
"type" : "text/plain",
"size" : 459
} ],
"parameters" : [ ],
"attachmentsCount" : 1,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : true
},
"afterStages" : [ {
"name" : "fix_req::0",
"time" : {
"start" : 1725691434376,
"stop" : 1725691434376,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "fix_db::0",
"time" : {
"start" : 1725691434377,
"stop" : 1725691434377,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
} ],
"labels" : [ {
"name" : "feature",
"value" : "组织管理"
}, {
"name" : "story",
"value" : "保存组织参数"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "BPM项目-Demo"
}, {
"name" : "parentSuite",
"value" : "test_case.test_demo"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "Test_bpm"
}, {
"name" : "host",
"value" : "LAPTOP-LLUJ8P61"
}, {
"name" : "thread",
"value" : "9876-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",
"value" : "'保存组织参数'"
}, {
"name" : "case_data",
"value" : "{'query': {'orgCode': 'testAddOrg'}, 'body': [{'alias': 'hxxmts', 'value': '项目中没有关系户'}]}"
}, {
"name" : "case_level",
"value" : "'中'"
}, {
"name" : "case_title",
"value" : "'正向用例'"
}, {
"name" : "expect_data",
"value" : "{'message': '保存组织参数成功!'}"
}, {
"name" : "method",
"value" : "'POST'"
}, {
"name" : "mime",
"value" : "'query|json'"
}, {
"name" : "module",
"value" : "'组织管理'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_typ",
"value" : "None"
}, {
"name" : "updata_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" : "fc933547bc2773c3.json",
"parameterValues" : [ "'保存组织参数'", "{'query': {'orgCode': 'testAddOrg'}, '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
launch_status failed=5 1725691534000000000
launch_status broken=0 1725691534000000000
launch_status passed=16 1725691534000000000
launch_status skipped=0 1725691534000000000
launch_status unknown=0 1725691534000000000
launch_time duration=1241 1725691534000000000
launch_time min_duration=12 1725691534000000000
launch_time max_duration=42 1725691534000000000
launch_time sum_duration=564 1725691534000000000
launch_problems product_defects=5 1725691534000000000
launch_retries retries=0 1725691534000000000
launch_retries run=21 1725691534000000000
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Allure Report summary mail</title>
</head>
<body>
Mail body
</body>
</html>
launch_status_failed 5
launch_status_broken 0
launch_status_passed 16
launch_status_skipped 0
launch_status_unknown 0
launch_time_duration 1241
launch_time_min_duration 12
launch_time_max_duration 42
launch_time_sum_duration 564
launch_problems_product_defects 5
launch_retries_retries 0
launch_retries_run 21
module.exports = __webpack_public_path__ + "favicon.ico";
\ No newline at end of file
[ {
"data" : {
"Product defects" : 5
}
} ]
\ No newline at end of file
[ {
"data" : {
"duration" : 1241
}
} ]
\ No newline at end of file
[ {
"data" : {
"failed" : 5,
"broken" : 0,
"skipped" : 0,
"passed" : 16,
"unknown" : 0,
"total" : 21
}
} ]
\ No newline at end of file
{
"49f97de15a9c12866fc4013457e84159" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "cbf177c8c9d1abe7",
"status" : "passed",
"time" : {
"start" : 1725691434283,
"stop" : 1725691434323,
"duration" : 40
}
} ]
},
"0ba0fe40bf26f97a38b6c5d5f4c081cc" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "6a4abbc46adf38c3",
"status" : "passed",
"time" : {
"start" : 1725691434063,
"stop" : 1725691434090,
"duration" : 27
}
} ]
},
"aae8ca9062cb09b01c9ad1e34f05501e" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "72f42ad495255459",
"status" : "passed",
"time" : {
"start" : 1725691433773,
"stop" : 1725691433806,
"duration" : 33
}
} ]
},
"ef8a1542b94422721551e9c77bff3b3c" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "7619f133294ddd24",
"status" : "passed",
"time" : {
"start" : 1725691433858,
"stop" : 1725691433881,
"duration" : 23
}
} ]
},
"9cc98b79ff532855a9f6c83be0885511" : {
"statistic" : {
"failed" : 1,
"broken" : 0,
"skipped" : 0,
"passed" : 0,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "d720ce3e7169f312",
"status" : "failed",
"statusDetails" : "AssertionError: 断言失败",
"time" : {
"start" : 1725691433197,
"stop" : 1725691433239,
"duration" : 42
}
} ]
},
"8c9c66e0fa151de061ef3222cb9e2a73" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "d186585591c66c89",
"status" : "passed",
"time" : {
"start" : 1725691433511,
"stop" : 1725691433551,
"duration" : 40
}
} ]
},
"d89148c1056f266e96344e052cd7621a" : {
"statistic" : {
"failed" : 1,
"broken" : 0,
"skipped" : 0,
"passed" : 0,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "d112b18a8cbff620",
"status" : "failed",
"statusDetails" : "AssertionError: 断言失败",
"time" : {
"start" : 1725691434242,
"stop" : 1725691434258,
"duration" : 16
}
} ]
},
"44c467604eb42efdb90351fc9850265e" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "b4dec425268b3f3e",
"status" : "passed",
"time" : {
"start" : 1725691434019,
"stop" : 1725691434048,
"duration" : 29
}
} ]
},
"45c0538ac4f1a753b075912dde2c053b" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "bb3b6f5117ac4ce8",
"status" : "passed",
"time" : {
"start" : 1725691433112,
"stop" : 1725691433147,
"duration" : 35
}
} ]
},
"b5bf0f89c1475d47613b06a21ce654cf" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "c1e2ec99344272dc",
"status" : "passed",
"time" : {
"start" : 1725691434141,
"stop" : 1725691434170,
"duration" : 29
}
} ]
},
"c6aa3e0d0fd675e2976013b592c50eb4" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "360a7f9f4aab7a3b",
"status" : "passed",
"time" : {
"start" : 1725691433611,
"stop" : 1725691433642,
"duration" : 31
}
} ]
},
"2f1e5c312e03d035089cc1d9867ef051" : {
"statistic" : {
"failed" : 1,
"broken" : 0,
"skipped" : 0,
"passed" : 0,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "d1a5c795a343a6b",
"status" : "failed",
"statusDetails" : "AssertionError: 断言失败",
"time" : {
"start" : 1725691434341,
"stop" : 1725691434353,
"duration" : 12
}
} ]
},
"d76da2539d39047dccb1e3c661bdcead" : {
"statistic" : {
"failed" : 1,
"broken" : 0,
"skipped" : 0,
"passed" : 0,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "c2ff82bdb32e2817",
"status" : "failed",
"statusDetails" : "AssertionError: 断言失败",
"time" : {
"start" : 1725691433658,
"stop" : 1725691433674,
"duration" : 16
}
} ]
},
"31a2ba3915635f4034f0e5463fef16f6" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "b7c50a7673259529",
"status" : "passed",
"time" : {
"start" : 1725691433979,
"stop" : 1725691434002,
"duration" : 23
}
} ]
},
"92fdbdfea37ce54793c557fd2895f123" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "95d8794ccc079b68",
"status" : "passed",
"time" : {
"start" : 1725691433936,
"stop" : 1725691433963,
"duration" : 27
}
} ]
},
"1b7e7a1219cc4c1498da19ecb95d0806" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "314ae8276c9d2ebf",
"status" : "passed",
"time" : {
"start" : 1725691433897,
"stop" : 1725691433922,
"duration" : 25
}
} ]
},
"4a81d15cba0d212c05c62b771c220531" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "94ab3dc9e3afd25c",
"status" : "passed",
"time" : {
"start" : 1725691434106,
"stop" : 1725691434126,
"duration" : 20
}
} ]
},
"1172649fef746b2381a98909218657e2" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "fc933547bc2773c3",
"status" : "passed",
"time" : {
"start" : 1725691433567,
"stop" : 1725691433596,
"duration" : 29
}
} ]
},
"9b12d7fa959dc5ae8ea6e1a4e2a9f3b4" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "17e7e36b25e9b6cc",
"status" : "passed",
"time" : {
"start" : 1725691433821,
"stop" : 1725691433841,
"duration" : 20
}
} ]
},
"42a94cac3e4240a5e49a372c3dfd4b22" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "863edecbd1d60039",
"status" : "passed",
"time" : {
"start" : 1725691433163,
"stop" : 1725691433180,
"duration" : 17
}
} ]
},
"1646ecb812285c616f0b5eb71dff5b07" : {
"statistic" : {
"failed" : 1,
"broken" : 0,
"skipped" : 0,
"passed" : 0,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "db12915576da2a7c",
"status" : "failed",
"statusDetails" : "AssertionError: 断言失败",
"time" : {
"start" : 1725691434186,
"stop" : 1725691434216,
"duration" : 30
}
} ]
}
}
\ No newline at end of file
[ {
"data" : {
"run" : 21,
"retry" : 0
}
} ]
\ No newline at end of file
<!DOCTYPE html>
<html dir="ltr">
<head>
<meta charset="utf-8">
<title>Allure Report</title>
<link rel="favicon" href="favicon.ico?v=2">
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" href="plugins/screen-diff/styles.css">
</head>
<body>
<div id="alert"></div>
<div id="content">
<span class="spinner">
<span class="spinner__circle"></span>
</span>
</div>
<div id="popup"></div>
<script src="app.js"></script>
<script src="plugins/behaviors/index.js"></script>
<script src="plugins/packages/index.js"></script>
<script src="plugins/screen-diff/index.js"></script>
</body>
</html>
'use strict';
allure.api.addTranslation('en', {
tab: {
behaviors: {
name: 'Behaviors'
}
},
widget: {
behaviors: {
name: 'Features by stories',
showAll: 'show all'
}
}
});
allure.api.addTranslation('ru', {
tab: {
behaviors: {
name: 'Функциональность'
}
},
widget: {
behaviors: {
name: 'Функциональность',
showAll: 'показать все'
}
}
});
allure.api.addTranslation('zh', {
tab: {
behaviors: {
name: '功能'
}
},
widget: {
behaviors: {
name: '特性场景',
showAll: '显示所有'
}
}
});
allure.api.addTranslation('de', {
tab: {
behaviors: {
name: 'Verhalten'
}
},
widget: {
behaviors: {
name: 'Features nach Stories',
showAll: 'Zeige alle'
}
}
});
allure.api.addTranslation('nl', {
tab: {
behaviors: {
name: 'Functionaliteit'
}
},
widget: {
behaviors: {
name: 'Features en story’s',
showAll: 'Toon alle'
}
}
});
allure.api.addTranslation('he', {
tab: {
behaviors: {
name: 'התנהגויות'
}
},
widget: {
behaviors: {
name: 'תכונות לפי סיפורי משתמש',
showAll: 'הצג הכול'
}
}
});
allure.api.addTranslation('br', {
tab: {
behaviors: {
name: 'Comportamentos'
}
},
widget: {
behaviors: {
name: 'Funcionalidades por história',
showAll: 'Mostrar tudo'
}
}
});
allure.api.addTranslation('ja', {
tab: {
behaviors: {
name: '振る舞い'
}
},
widget: {
behaviors: {
name: 'ストーリー別の機能',
showAll: '全て表示'
}
}
});
allure.api.addTranslation('es', {
tab: {
behaviors: {
name: 'Funcionalidades'
}
},
widget: {
behaviors: {
name: 'Funcionalidades por Historias de Usuario',
showAll: 'mostrar todo'
}
}
});
allure.api.addTranslation('kr', {
tab: {
behaviors: {
name: '동작'
}
},
widget: {
behaviors: {
name: '스토리별 기능',
showAll: '전체 보기'
}
}
});
allure.api.addTranslation('fr', {
tab: {
behaviors: {
name: 'Comportements'
}
},
widget: {
behaviors: {
name: 'Thèmes par histoires',
showAll: 'Montrer tout'
}
}
});
allure.api.addTab('behaviors', {
title: 'tab.behaviors.name', icon: 'fa fa-list',
route: 'behaviors(/)(:testGroup)(/)(:testResult)(/)(:testResultTab)(/)',
onEnter: (function (testGroup, testResult, testResultTab) {
return new allure.components.TreeLayout({
testGroup: testGroup,
testResult: testResult,
testResultTab: testResultTab,
tabName: 'tab.behaviors.name',
baseUrl: 'behaviors',
url: 'data/behaviors.json',
csvUrl: 'data/behaviors.csv'
});
})
});
allure.api.addWidget('widgets', 'behaviors', allure.components.WidgetStatusView.extend({
rowTag: 'a',
title: 'widget.behaviors.name',
baseUrl: 'behaviors',
showLinks: true
}));
'use strict';
allure.api.addTranslation('en', {
tab: {
packages: {
name: 'Packages'
}
}
});
allure.api.addTranslation('ru', {
tab: {
packages: {
name: 'Пакеты'
}
}
});
allure.api.addTranslation('zh', {
tab: {
packages: {
name: '包'
}
}
});
allure.api.addTranslation('de', {
tab: {
packages: {
name: 'Pakete'
}
}
});
allure.api.addTranslation('nl', {
tab: {
packages: {
name: 'Packages'
}
}
});
allure.api.addTranslation('he', {
tab: {
packages: {
name: 'חבילות'
}
}
});
allure.api.addTranslation('br', {
tab: {
packages: {
name: 'Pacotes'
}
}
});
allure.api.addTranslation('ja', {
tab: {
packages: {
name: 'パッケージ'
}
}
});
allure.api.addTranslation('es', {
tab: {
packages: {
name: 'Paquetes'
}
}
});
allure.api.addTranslation('kr', {
tab: {
packages: {
name: '패키지'
}
}
});
allure.api.addTranslation('fr', {
tab: {
packages: {
name: 'Paquets'
}
}
});
allure.api.addTab('packages', {
title: 'tab.packages.name', icon: 'fa fa-align-left',
route: 'packages(/)(:testGroup)(/)(:testResult)(/)(:testResultTab)(/)',
onEnter: (function (testGroup, testResult, testResultTab) {
return new allure.components.TreeLayout({
testGroup: testGroup,
testResult: testResult,
testResultTab: testResultTab,
tabName: 'tab.packages.name',
baseUrl: 'packages',
url: 'data/packages.json'
});
})
});
(function () {
var settings = allure.getPluginSettings('screen-diff', { diffType: 'diff' });
function renderImage(src) {
return (
'<div class="screen-diff__container">' +
'<img class="screen-diff__image" src="' +
src +
'">' +
'</div>'
);
}
function findImage(data, name) {
if (data.testStage && data.testStage.attachments) {
var matchedImage = data.testStage.attachments.filter(function (attachment) {
return attachment.name === name;
})[0];
if (matchedImage) {
return 'data/attachments/' + matchedImage.source;
}
}
return null;
}
function renderDiffContent(type, diffImage, actualImage, expectedImage) {
if (type === 'diff') {
if (diffImage) {
return renderImage(diffImage);
}
}
if (type === 'overlay' && expectedImage) {
return (
'<div class="screen-diff__overlay screen-diff__container">' +
'<img class="screen-diff__image" src="' +
expectedImage +
'">' +
'<div class="screen-diff__image-over">' +
'<img class="screen-diff__image" src="' +
actualImage +
'">' +
'</div>' +
'</div>'
);
}
if (actualImage) {
return renderImage(actualImage);
}
return 'No diff data provided';
}
var TestResultView = Backbone.Marionette.View.extend({
regions: {
subView: '.screen-diff-view',
},
template: function () {
return '<div class="screen-diff-view"></div>';
},
onRender: function () {
var data = this.model.toJSON();
var testType = data.labels.filter(function (label) {
return label.name === 'testType';
})[0];
var diffImage = findImage(data, 'diff');
var actualImage = findImage(data, 'actual');
var expectedImage = findImage(data, 'expected');
if (!testType || testType.value !== 'screenshotDiff') {
return;
}
this.showChildView(
'subView',
new ScreenDiffView({
diffImage: diffImage,
actualImage: actualImage,
expectedImage: expectedImage,
}),
);
},
});
var ErrorView = Backbone.Marionette.View.extend({
templateContext: function () {
return this.options;
},
template: function (data) {
return '<pre class="screen-diff-error">' + data.error + '</pre>';
},
});
var AttachmentView = Backbone.Marionette.View.extend({
regions: {
subView: '.screen-diff-view',
},
template: function () {
return '<div class="screen-diff-view"></div>';
},
onRender: function () {
jQuery
.getJSON(this.options.sourceUrl)
.then(this.renderScreenDiffView.bind(this), this.renderErrorView.bind(this));
},
renderErrorView: function (error) {
console.log(error);
this.showChildView(
'subView',
new ErrorView({
error: error.statusText,
}),
);
},
renderScreenDiffView: function (data) {
this.showChildView(
'subView',
new ScreenDiffView({
diffImage: data.diff,
actualImage: data.actual,
expectedImage: data.expected,
}),
);
},
});
var ScreenDiffView = Backbone.Marionette.View.extend({
className: 'pane__section',
events: function () {
return {
['click [name="screen-diff-type-' + this.cid + '"]']: 'onDiffTypeChange',
'mousemove .screen-diff__overlay': 'onOverlayMove',
};
},
initialize: function (options) {
this.diffImage = options.diffImage;
this.actualImage = options.actualImage;
this.expectedImage = options.expectedImage;
this.radioName = 'screen-diff-type-' + this.cid;
},
templateContext: function () {
return {
diffType: settings.get('diffType'),
diffImage: this.diffImage,
actualImage: this.actualImage,
expectedImage: this.expectedImage,
radioName: this.radioName,
};
},
template: function (data) {
if (!data.diffImage && !data.actualImage && !data.expectedImage) {
return '';
}
return (
'<h3 class="pane__section-title">Screen Diff</h3>' +
'<div class="screen-diff__content">' +
'<div class="screen-diff__switchers">' +
'<label><input type="radio" name="' +
data.radioName +
'" value="diff"> Show diff</label>' +
'<label><input type="radio" name="' +
data.radioName +
'" value="overlay"> Show overlay</label>' +
'</div>' +
renderDiffContent(
data.diffType,
data.diffImage,
data.actualImage,
data.expectedImage,
) +
'</div>'
);
},
adjustImageSize: function (event) {
var overImage = this.$(event.target);
overImage.width(overImage.width());
},
onRender: function () {
const diffType = settings.get('diffType');
this.$('[name="' + this.radioName + '"][value="' + diffType + '"]').prop(
'checked',
true,
);
if (diffType === 'overlay') {
this.$('.screen-diff__image-over img').on('load', this.adjustImageSize.bind(this));
}
},
onOverlayMove: function (event) {
var pageX = event.pageX;
var containerScroll = this.$('.screen-diff__container').scrollLeft();
var elementX = event.currentTarget.getBoundingClientRect().left;
var delta = pageX - elementX + containerScroll;
this.$('.screen-diff__image-over').width(delta);
},
onDiffTypeChange: function (event) {
settings.save('diffType', event.target.value);
this.render();
},
});
allure.api.addTestResultBlock(TestResultView, { position: 'before' });
allure.api.addAttachmentViewer('application/vnd.allure.image.diff', {
View: AttachmentView,
icon: 'fa fa-exchange',
});
})();
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