Commit b199bfdd by root

api的描述信息

parents
# Default ignored files
/shelf/
/workspace.xml
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml
# Editor-based HTTP Client requests
/httpRequests/
<?xml version="1.0" encoding="UTF-8"?>
<module type="PYTHON_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
<component name="TestRunnerService">
<option name="PROJECT_TEST_RUNNER" value="pytest" />
</component>
</module>
\ No newline at end of file
<component name="InspectionProjectProfileManager">
<profile version="1.0">
<option name="myName" value="Project Default" />
<inspection_tool class="PyUnresolvedReferencesInspection" enabled="true" level="WARNING" enabled_by_default="true">
<option name="ignoredIdentifiers">
<list>
<option value="study_selenium2.common.read_excel.ReadIni" />
<option value="study_selenium2.case.example.DB" />
</list>
</option>
</inspection_tool>
</profile>
</component>
\ No newline at end of file
<component name="InspectionProjectProfileManager">
<settings>
<option name="USE_PROJECT_PROFILE" value="false" />
<version value="1.0" />
</settings>
</component>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="JavaScriptSettings">
<option name="languageLevel" value="ES6" />
</component>
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.1" project-jdk-type="Python SDK" />
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/API_third.iml" filepath="$PROJECT_DIR$/.idea/API_third.iml" />
</modules>
</component>
</project>
\ No newline at end of file
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: API_third
# FileName: __init__.py
# Author: xxxxxxx
# Datetime: 2023/8/8 20:22
# Description:
#
# ---------------------------------------------------------------------------
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: test_56
# FileName: __init__.py
# Author: xxxxxxx
# Datetime: 2023/8/7 15:20
# Description:
#
# ---------------------------------------------------------------------------
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: python_stduy
# FileName: db.py
# Author: xxxxxxx
# Datetime: 2023/8/7 19:30
# Description:
#
# ---------------------------------------------------------------------------
import pymysql
from common.readini import ReadIni
from data_config.settings import *
class DB:
def __init__(self):
readini = ReadIni()
self.conn = pymysql.connect(
host=readini.get_sql(HOST1),
port=int(readini.get_sql(PORT)),
user=readini.get_sql(USER),
passwd=readini.get_sql(PWD),
database=readini.get_sql(DATABASE),
charset="utf8"
)
self.cursor = self.conn.cursor()
def close(self):
self.cursor.close()
self.conn.close()
def delete(self, sqlsentence):
self.cursor.execute(sqlsentence)
self.conn.commit()
def select(self, sqlsentence):
self.cursor.execute(sqlsentence)
result = self.cursor.fetchall()
if result:
return result[0][0]
\ No newline at end of file
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: python_stduy
# FileName: readexcel.py
# Author: xxxxxxx
# Datetime: 2023/8/7 18:46
# Description:
#
# ---------------------------------------------------------------------------
import openpyxl
from API_third.common.readini import ReadIni
from API_third.common.readjson import readjson
from API_third.data_config.settings import *
class ReadExcel:
def __init__(self):
self.readini = ReadIni()
case_data_path = self.readini.get_file_path(CASE)
expect_data_path = self.readini.get_file_path(EXPECT)
sql_data_path = self.readini.get_file_path(SQL)
self.case_data_dict = readjson(case_data_path)
self.expect_data_dict = readjson(expect_data_path)
self.sql_data_dict = readjson(sql_data_path)
excelpath = self.readini.get_file_path(EXCEL)
wb = openpyxl.load_workbook(excelpath)
table = self.readini.get_table_name(TABLE)
self.ws = wb[table]
def __get_excel_values(self,column,row):
value = self.ws[str(column)+str(row)].value
if value is None:
return None
elif value.strip():
return value.strip()
def get_modulename(self,row):
return self.__get_excel_values(MODULE,row)
def get_interfacename(self,row):
return self.__get_excel_values(API,row)
def get_casetitle(self,row):
return self.__get_excel_values(TITLE,row)
def get_caselevel(self,row):
return self.__get_excel_values(LEVEL,row)
def get_method(self,row):
return self.__get_excel_values(METHOD,row)
def get_url(self,row):
return self.readini.get_host(HOST)+self.__get_excel_values(PATH,row)
def case_mime(self,row):
value = self.__get_excel_values(MIME,row)
if value:
return value.lower()
def get_casedata(self,row):
casedata_key = self.__get_excel_values(CASEDATA,row)
if casedata_key:
modulename = self.get_modulename(row)
interfacename = self.get_interfacename(row)
return self.case_data_dict[modulename][interfacename][casedata_key]
def get_expectdata(self,row):
expect_key = self.__get_excel_values(EXPECTDATA, row)
if expect_key:
modulename = self.get_modulename(row)
interfacename = self.get_interfacename(row)
return self.expect_data_dict[modulename][interfacename][expect_key]
def get_sqltype(self,row):
value = self.__get_excel_values(SQLTYPE,row)
if value:
return value.lower()
def get_sqlsentence(self,row):
sql_key = self.__get_excel_values(SQLSENTENCE,row)
if sql_key:
modulename = self.get_modulename(row)
interfacename = self.get_interfacename(row)
return self.sql_data_dict[modulename][interfacename][sql_key]
def get_updatakey(self,row):
return self.__get_excel_values(UPDATEKEY,row)
def get_data(self):
lists = []
for row in range(2,self.ws.max_row+1):
module = self.get_modulename(row)
interface = self.get_interfacename(row)
title = self.get_casetitle(row)
level = self.get_caselevel(row)
method = self.get_method(row)
url = self.get_url(row)
mime = self.case_mime(row)
data = self.get_casedata(row)
expect = self.get_expectdata(row)
sqltype = self.get_sqltype(row)
sqlsentence = self.get_sqlsentence(row)
updatakey = self.get_updatakey(row)
lists.append([module, interface, title, level, method, url, mime, data, expect, sqltype, sqlsentence, updatakey])
return lists
if __name__ == '__main__':
readexcel = ReadExcel()
print(readexcel.get_data())
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: python_stduy
# FileName: readini.py
# Author: xxxxxxx
# Datetime: 2023/8/7 18:28
# Description:
#
# ---------------------------------------------------------------------------
import os
import configparser
class ReadIni:
def __init__(self):
self.data_config_path = os.path.join(os.path.dirname(os.path.dirname(__file__)),"data_config")
inipath = os.path.join(self.data_config_path,"config.ini")
self.conf = configparser.ConfigParser()
self.conf.read(inipath,encoding="utf-8")
def get_file_path(self,key):
file = self.conf.get("file",key)
return os.path.join(self.data_config_path,file)
def get_table_name(self,key):
return self.conf.get("table_name",key)
def get_host(self,key):
return self.conf.get("host",key)
def get_sql(self,key):
return self.conf.get("sql",key)
if __name__ == '__main__':
readini=ReadIni()
print(readini.get_host('test_bpm'))
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: python_stduy
# FileName: readjson.py
# Author: xxxxxxx
# Datetime: 2023/8/7 18:43
# Description:
#
# ---------------------------------------------------------------------------
import json
def readjson(fileneme):
with open(fileneme, mode="r",encoding="utf-8") as fp:
return json.loads(fp.read())
{
"认证接口":{
"登录系统":{
"LoginSuccess": {"password": "MTIzNDU2","username": "admin"},
"LoginFailUsernameIsNone":{"password": "MTIzNDU2","username": ""},
"LoginFailUsernameIsLong":{"password": "MTIzNDU2","username": "adminadminadminadminadminadminadminadminadmin"},
"LoginFailUsernameIsShort":{"password": "MTIzNDU2","username": "a"},
"LoginFailUsernameIsSpecialChar":{"password": "MTIzNDU2","username": "▬♦◊◦☼♠♣"},
"LoginFailUsernameIsError":{"password": "MTIzNDU2","username": "tomcat"},
"LoginFailPWDIsNone":{"password": "","username": "admin"},
"LoginFailPWDIsLong":{"password": "MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2","username": "admin"},
"LoginFailPWDIsShort":{"password": "1","username": "admin"},
"LoginFailPWDIsSpecial":{"password": "▬♦◊◦☼♠♣","username": "admin"}
}
},
"维度管理": {
"添加维度": {
"AddDemSuccess": {
"code": "test56_dem",
"description": "测试56期的维度",
"isDefault": 0,
"name": "测试56期的维度"
}
},
"根据维度编码删除维度": {
"DeleteDemSuccess": {"ids": "不知道"}
}
},
"组织管理": {
"添加组织": {
"AddOrgSuccess": {
"code": "test56_org",
"demId": "不知道",
"exceedLimitNum": 0,
"grade": "",
"limitNum": 0,
"name": "测试的组织",
"nowNum": 0,
"orderNo": 0,
"parentId": "0"
}
},
"删除组织": {
"DeleteOrgSuccess": "test56_org"
},
"保存组织参数": {
"SaveOrgParamSuccess": {
"query": {"orgCode": "test56_org"},
"body": [
{"alias":"sz","value":0},
{"alias":"zy","value":"math"},
{"alias":"rq","value":"2023-08-04T16:00:00.000Z"},
{"alias":"ah","value":"lq"},
{"alias":"yyyy","value":"越高越好"},
{"alias":"xb","value":"2"}]
}
}
}
}
\ No newline at end of file
[file]
excel=APIAutoTest.xlsx
excel1=APIAutoTest.xlsx
case=case_data.json
expect=expect_data.json
sql=sql.json
[host]
test_bpm=http://120.46.172.186:8080
[table_name]
table=BPM接口
[sql]
host=120.46.172.186
port=3306
user=root
pwd=root@2023
database=eipsaas
\ No newline at end of file
{
"认证接口":{
"登录系统":{
"LoginSuccess": {"username": "超级管理员","account": "admin"},
"LoginFailUsernameIsNone":{"state": false,"message": "账号或密码错误"},
"LoginFailUsernameIsLong":{"state": false,"message": "账号或密码错误"},
"LoginFailUsernameIsShort":{"state": false,"message": "账号或密码错误"},
"LoginFailUsernameIsSpecialChar":{"state": false,"message": "账号或密码错误"},
"LoginFailUsernameIsError":{"state": false,"message": "账号或密码错误"},
"LoginFailPWDIsNone":{"state": false,"message": "账号或密码错误"},
"LoginFailPWDIsLong":{"state": false,"message": "账号或密码错误"},
"LoginFailPWDIsShort":{"state": false,"message": "账号或密码错误"},
"LoginFailPWDIsSpecial":{"state": false,"message": "账号或密码错误"}
},
"刷新token": {
"RefreshSuccess": {"message": "刷新token成功"}
}
},
"维度管理": {
"添加维度": {
"AddDemSuccess": {"state": true, "message": "添加维度成功!"}
},
"根据维度编码删除维度": {
"DeleteDemSuccess": {"state": true, "message": "删除维度成功"}
}
},
"组织管理": {
"添加组织": {
"AddOrgSuccess": {"state": true, "message": "添加组织成功!"}
},
"删除组织": {
"DeleteOrgSuccess": {"state": true, "message": "删除组织成功!"}
},
"保存组织参数": {
"SaveOrgParamSuccess": {"state": true, "message": "保存组织参数成功!"}
}
}
}
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: test_56_env
# FileName: column.py
# Author: xxxxxxx
# Datetime: 2023/8/7 17:27
# Description:
#
# ---------------------------------------------------------------------------
"""excel列号的配置文件"""
MODULE = "b"
API = "C"
TITLE = "D"
LEVEL = "E"
PATH = "F"
METHOD = "G"
MIME = "H"
CASEDATA = "I"
EXPECTDATA = "J"
SQLTYPE = "K"
SQLSENTENCE = "L"
UPDATEKEY = "M"
"""配ini文件中file节点下的key"""
EXCEL = "excel1"
CASE = "case"
EXPECT = "expect"
SQL = "sql"
"""配置table_name节点下的key"""
TABLE = "table"
"""配置host节点下的key"""
HOST = "test_bpm"
"""配置sql节点下的key"""
HOST1 = "host"
PORT = "port"
USER = "user"
PWD = "pwd"
DATABASE = "database"
\ No newline at end of file
{
"维度管理": {
"添加维度": {
"AddDemSuccess": "DELETE FROM uc_demension WHERE `CODE_`=\"test56_dem\";"
},
"根据维度编码删除维度": {
"DeleteDemSuccess": "SELECT ID_ FROM uc_demension WHERE `CODE_`=\"test56_dem\";"
}
},
"组织管理": {
"添加组织": {
"AddOrgSuccess": {
"select": "SELECT ID_ FROM uc_demension WHERE `CODE_`=\"test56_dem\";",
"delete": "DELETE FROM uc_org WHERE `CODE_`=\"test56_org\";"
}
}
}
}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
DEBUG--2023-08-07 20:56:07--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:56:07--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
\ No newline at end of file
eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE2OTE0OTkzNjcsImlhdCI6MTY5MTQxMjk2N30.d4AYmgdA6QuRK26-zhH2ofqXlk-TRblTHqrpLQVE-Q9P-FwOxW-110cFyZKwJglF7xRmzSt0e42BkyEAcAlEVg
断言成功
DEBUG--2023-08-07 20:56:07--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:56:08--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
\ No newline at end of file
DEBUG--2023-08-07 20:56:08--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:56:08--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
\ No newline at end of file
DEBUG--2023-08-07 20:56:06--Looking for locale `en_US` in provider `faker.providers.address`.
DEBUG--2023-08-07 20:56:06--Provider `faker.providers.address` has been localized to `en_US`.
DEBUG--2023-08-07 20:56:06--Looking for locale `en_US` in provider `faker.providers.automotive`.
DEBUG--2023-08-07 20:56:06--Provider `faker.providers.automotive` has been localized to `en_US`.
DEBUG--2023-08-07 20:56:06--Looking for locale `en_US` in provider `faker.providers.bank`.
DEBUG--2023-08-07 20:56:06--Specified locale `en_US` is not available for provider `faker.providers.bank`. Locale reset to `en_GB` for this provider.
DEBUG--2023-08-07 20:56:06--Looking for locale `en_US` in provider `faker.providers.barcode`.
DEBUG--2023-08-07 20:56:06--Provider `faker.providers.barcode` has been localized to `en_US`.
DEBUG--2023-08-07 20:56:06--Looking for locale `en_US` in provider `faker.providers.color`.
DEBUG--2023-08-07 20:56:06--Provider `faker.providers.color` has been localized to `en_US`.
DEBUG--2023-08-07 20:56:06--Looking for locale `en_US` in provider `faker.providers.company`.
DEBUG--2023-08-07 20:56:06--Provider `faker.providers.company` has been localized to `en_US`.
DEBUG--2023-08-07 20:56:06--Looking for locale `en_US` in provider `faker.providers.credit_card`.
DEBUG--2023-08-07 20:56:06--Provider `faker.providers.credit_card` has been localized to `en_US`.
DEBUG--2023-08-07 20:56:06--Looking for locale `en_US` in provider `faker.providers.currency`.
DEBUG--2023-08-07 20:56:06--Provider `faker.providers.currency` has been localized to `en_US`.
DEBUG--2023-08-07 20:56:06--Looking for locale `en_US` in provider `faker.providers.date_time`.
DEBUG--2023-08-07 20:56:06--Provider `faker.providers.date_time` has been localized to `en_US`.
DEBUG--2023-08-07 20:56:06--Provider `faker.providers.emoji` does not feature localization. Specified locale `en_US` is not utilized for this provider.
DEBUG--2023-08-07 20:56:06--Provider `faker.providers.file` does not feature localization. Specified locale `en_US` is not utilized for this provider.
DEBUG--2023-08-07 20:56:06--Looking for locale `en_US` in provider `faker.providers.geo`.
DEBUG--2023-08-07 20:56:06--Provider `faker.providers.geo` has been localized to `en_US`.
DEBUG--2023-08-07 20:56:06--Looking for locale `en_US` in provider `faker.providers.internet`.
DEBUG--2023-08-07 20:56:06--Provider `faker.providers.internet` has been localized to `en_US`.
DEBUG--2023-08-07 20:56:06--Provider `faker.providers.isbn` does not feature localization. Specified locale `en_US` is not utilized for this provider.
DEBUG--2023-08-07 20:56:06--Looking for locale `en_US` in provider `faker.providers.job`.
DEBUG--2023-08-07 20:56:07--Provider `faker.providers.job` has been localized to `en_US`.
DEBUG--2023-08-07 20:56:07--Looking for locale `en_US` in provider `faker.providers.lorem`.
DEBUG--2023-08-07 20:56:07--Provider `faker.providers.lorem` has been localized to `en_US`.
DEBUG--2023-08-07 20:56:07--Looking for locale `en_US` in provider `faker.providers.misc`.
DEBUG--2023-08-07 20:56:07--Provider `faker.providers.misc` has been localized to `en_US`.
DEBUG--2023-08-07 20:56:07--Looking for locale `en_US` in provider `faker.providers.passport`.
DEBUG--2023-08-07 20:56:07--Provider `faker.providers.passport` has been localized to `en_US`.
DEBUG--2023-08-07 20:56:07--Looking for locale `en_US` in provider `faker.providers.person`.
DEBUG--2023-08-07 20:56:07--Provider `faker.providers.person` has been localized to `en_US`.
DEBUG--2023-08-07 20:56:07--Looking for locale `en_US` in provider `faker.providers.phone_number`.
DEBUG--2023-08-07 20:56:07--Provider `faker.providers.phone_number` has been localized to `en_US`.
DEBUG--2023-08-07 20:56:07--Provider `faker.providers.profile` does not feature localization. Specified locale `en_US` is not utilized for this provider.
DEBUG--2023-08-07 20:56:07--Provider `faker.providers.python` does not feature localization. Specified locale `en_US` is not utilized for this provider.
DEBUG--2023-08-07 20:56:07--Provider `faker.providers.sbn` does not feature localization. Specified locale `en_US` is not utilized for this provider.
DEBUG--2023-08-07 20:56:07--Looking for locale `en_US` in provider `faker.providers.ssn`.
DEBUG--2023-08-07 20:56:07--Provider `faker.providers.ssn` has been localized to `en_US`.
DEBUG--2023-08-07 20:56:07--Provider `faker.providers.user_agent` does not feature localization. Specified locale `en_US` is not utilized for this provider.
DEBUG--2023-08-07 20:56:07--Starting new HTTP connection (1): 120.46.172.186:8080
DEBUG--2023-08-07 20:56:07--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 200 None
DEBUG--2023-08-07 20:56:07--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 200 None
\ No newline at end of file
DEBUG--2023-08-07 20:56:07--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:56:07--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
\ No newline at end of file
DEBUG--2023-08-07 20:56:07--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
\ No newline at end of file
DEBUG--2023-08-07 20:56:08--http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
\ No newline at end of file
DEBUG--2023-08-07 20:56:08--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:56:08--http://120.46.172.186:8080 "GET /refresh HTTP/1.1" 200 None
ERROR--2023-08-07 20:56:08--断言失败, 模块名称为:认证接口,接口名称为:刷新token,用例标题:正向用例,用例为:None,期望结果为:{'message': '刷新token成功'},服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE2OTE0OTkzNjgsImlhdCI6MTY5MTQxMjk2OH0.IcXFXaZoEXPvHQIVbPmFLTkLDuCQcf5VpBGop1HeXWqL_5AsnlZWAS6xIHCKrKXpiDkaEsZ4WvT661jUusnY9A","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
\ No newline at end of file
DEBUG--2023-08-07 20:56:08--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:56:08--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
\ No newline at end of file
DEBUG--2023-08-07 20:56:09--http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1688534492479766528 HTTP/1.1" 200 None
ERROR--2023-08-07 20:56:09--断言失败, 模块名称为:维度管理,接口名称为:根据维度编码删除维度,用例标题:正向用例,用例为:{'ids': '1688534492479766528'},期望结果为:{'state': True, 'message': '删除维度成功'},服务器返回数据为:{"state":true,"message":"删除维度成功!","value":""}
\ No newline at end of file
DEBUG--2023-08-07 20:56:09--http://120.46.172.186:8080 "POST /api/org/v1/orgParam/saveOrgParams?orgCode=test56_org HTTP/1.1" 200 None
\ No newline at end of file
DEBUG--2023-08-07 20:56:08--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:56:08--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
\ No newline at end of file
DEBUG--2023-08-07 20:56:07--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:56:07--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
\ No newline at end of file
DEBUG--2023-08-07 20:56:08--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:56:08--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
\ No newline at end of file
DEBUG--2023-08-07 20:56:09--http://120.46.172.186:8080 "POST /api/org/v1/org/deleteOrg HTTP/1.1" 200 None
\ No newline at end of file
DEBUG--2023-08-07 20:56:09--http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
\ No newline at end of file
"Epic","Feature","Story","FAILED","BROKEN","PASSED","SKIPPED","UNKNOWN"
"BPM系统","认证接口","登录系统","0","0","10","0","0"
"BPM系统","维度管理","添加维度","0","0","1","0","0"
"BPM系统","维度管理","根据维度编码删除维度","1","0","0","0","0"
"BPM系统","组织管理","保存组织参数","0","0","1","0","0"
"BPM系统","组织管理","删除组织","0","0","1","0","0"
"BPM系统","组织管理","添加组织","0","0","1","0","0"
"BPM系统","认证接口","刷新token","1","0","0","0","0"
"Category","FAILED","BROKEN","PASSED","SKIPPED","UNKNOWN"
"Product defects","2","0","0","0","0"
{
"uid" : "4b4757e66a1912dae1a509f688f20b0f",
"name" : "categories",
"children" : [ {
"name" : "Product defects",
"children" : [ {
"name" : "AssertionError: 断言失败",
"children" : [ {
"name" : "正向用例",
"uid" : "c38dfbbf61a8e3a1",
"parentUid" : "19135fd4a1c65086de1dc2a02ed9d4e0",
"status" : "failed",
"time" : {
"start" : 1691412968538,
"stop" : 1691412968643,
"duration" : 105
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "None", "{'message': '刷新token成功'}", "'刷新token'", "'中'", "'get'", "None", "'认证接口'", "None", "None", "'正向用例'", "None", "'http://120.46.172.186:8080/refresh'" ]
}, {
"name" : "正向用例",
"uid" : "1a844f8c800e3521",
"parentUid" : "19135fd4a1c65086de1dc2a02ed9d4e0",
"status" : "failed",
"time" : {
"start" : 1691412969366,
"stop" : 1691412969476,
"duration" : 110
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'ids': '不知道'}", "{'state': True, 'message': '删除维度成功'}", "'根据维度编码删除维度'", "'高'", "'DELETE'", "'query'", "'维度管理'", "'SELECT ID_ FROM uc_demension WHERE `CODE_`=\"test56_dem\";'", "'select'", "'正向用例'", "'ids'", "'http://120.46.172.186:8080/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","Mon Aug 07 20:56:07 CST 2023","Mon Aug 07 20:56:07 CST 2023","56","","test_bpm","TestBPM","","","反向用例-用户名为空",""
"passed","Mon Aug 07 20:56:07 CST 2023","Mon Aug 07 20:56:08 CST 2023","96","","test_bpm","TestBPM","","","反向用例-用户名错误",""
"passed","Mon Aug 07 20:56:08 CST 2023","Mon Aug 07 20:56:08 CST 2023","140","","test_bpm","TestBPM","","","正向用例",""
"passed","Mon Aug 07 20:56:07 CST 2023","Mon Aug 07 20:56:07 CST 2023","97","","test_bpm","TestBPM","","","反向用例-用户名特殊字符",""
"failed","Mon Aug 07 20:56:09 CST 2023","Mon Aug 07 20:56:09 CST 2023","110","","test_bpm","TestBPM","","","正向用例",""
"passed","Mon Aug 07 20:56:08 CST 2023","Mon Aug 07 20:56:08 CST 2023","101","","test_bpm","TestBPM","","","反向用例-密码为空",""
"passed","Mon Aug 07 20:56:07 CST 2023","Mon Aug 07 20:56:07 CST 2023","104","","test_bpm","TestBPM","","","反向用例-用户名过长",""
"passed","Mon Aug 07 20:56:09 CST 2023","Mon Aug 07 20:56:09 CST 2023","74","","test_bpm","TestBPM","","","正向用例",""
"passed","Mon Aug 07 20:56:09 CST 2023","Mon Aug 07 20:56:09 CST 2023","66","","test_bpm","TestBPM","","","正向用例",""
"passed","Mon Aug 07 20:56:08 CST 2023","Mon Aug 07 20:56:09 CST 2023","185","","test_bpm","TestBPM","","","正向用例",""
"passed","Mon Aug 07 20:56:08 CST 2023","Mon Aug 07 20:56:08 CST 2023","103","","test_bpm","TestBPM","","","反向用例-密码为过短",""
"passed","Mon Aug 07 20:56:08 CST 2023","Mon Aug 07 20:56:08 CST 2023","104","","test_bpm","TestBPM","","","反向用例-密码为特殊字符",""
"passed","Mon Aug 07 20:56:07 CST 2023","Mon Aug 07 20:56:07 CST 2023","60","","test_bpm","TestBPM","","","正向用例",""
"passed","Mon Aug 07 20:56:07 CST 2023","Mon Aug 07 20:56:07 CST 2023","100","","test_bpm","TestBPM","","","反向用例-用户名过短",""
"passed","Mon Aug 07 20:56:08 CST 2023","Mon Aug 07 20:56:08 CST 2023","106","","test_bpm","TestBPM","","","反向用例-密码为长",""
"failed","Mon Aug 07 20:56:08 CST 2023","Mon Aug 07 20:56:08 CST 2023","105","","test_bpm","TestBPM","","","正向用例",""
{
"uid" : "2181236f7df59f69",
"name" : "反向用例-密码为长",
"fullName" : "test_bpm.TestBPM#test_bpm",
"historyId" : "1583d8257c325d21eabb5675af66c678",
"time" : {
"start" : 1691412968164,
"stop" : 1691412968270,
"duration" : 106
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1691412966920,
"stop" : 1691412967056,
"duration" : 136
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "req_fix",
"time" : {
"start" : 1691412967057,
"stop" : 1691412967162,
"duration" : 105
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "db_fix",
"time" : {
"start" : 1691412967162,
"stop" : 1691412967373,
"duration" : 211
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "d16216d3c9695184",
"name" : "log",
"source" : "d16216d3c9695184.txt",
"type" : "text/plain",
"size" : 176
}, {
"uid" : "192f61ff6e12e724",
"name" : "stdout",
"source" : "192f61ff6e12e724.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"attachmentsCount" : 2,
"shouldDisplayMessage" : false,
"hasContent" : true,
"stepsCount" : 0
},
"afterStages" : [ {
"name" : "db_fix::0",
"time" : {
"start" : 1691412969503,
"stop" : 1691412969503,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登录系统"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "BPM系统"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "DESKTOP-IFEUSC7"
}, {
"name" : "thread",
"value" : "9248-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "data",
"value" : "{'password': 'MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2', 'username': 'admin'}"
}, {
"name" : "expect",
"value" : "{'state': False, 'message': '账号或密码错误'}"
}, {
"name" : "interface",
"value" : "'登录系统'"
}, {
"name" : "level",
"value" : "'中'"
}, {
"name" : "method",
"value" : "'POST'"
}, {
"name" : "mime",
"value" : "'application/json'"
}, {
"name" : "module",
"value" : "'认证接口'"
}, {
"name" : "sqlsentence",
"value" : "None"
}, {
"name" : "sqltype",
"value" : "None"
}, {
"name" : "title",
"value" : "'反向用例-密码为长'"
}, {
"name" : "updatakey",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://120.46.172.186:8080/auth'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "2181236f7df59f69.json",
"parameterValues" : [ "{'password': 'MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2', 'username': 'admin'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-密码为长'", "None", "'http://120.46.172.186:8080/auth'" ]
}
\ No newline at end of file
{
"uid" : "2cad346442b8353d",
"name" : "反向用例-用户名错误",
"fullName" : "test_bpm.TestBPM#test_bpm",
"historyId" : "0bc244764898381335e19a8275f4cc75",
"time" : {
"start" : 1691412967917,
"stop" : 1691412968013,
"duration" : 96
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1691412966920,
"stop" : 1691412967056,
"duration" : 136
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "req_fix",
"time" : {
"start" : 1691412967057,
"stop" : 1691412967162,
"duration" : 105
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "db_fix",
"time" : {
"start" : 1691412967162,
"stop" : 1691412967373,
"duration" : 211
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "38f5caffc2c4e489",
"name" : "log",
"source" : "38f5caffc2c4e489.txt",
"type" : "text/plain",
"size" : 176
}, {
"uid" : "eef90565980ee0cf",
"name" : "stdout",
"source" : "eef90565980ee0cf.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"attachmentsCount" : 2,
"shouldDisplayMessage" : false,
"hasContent" : true,
"stepsCount" : 0
},
"afterStages" : [ {
"name" : "db_fix::0",
"time" : {
"start" : 1691412969503,
"stop" : 1691412969503,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登录系统"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "BPM系统"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "DESKTOP-IFEUSC7"
}, {
"name" : "thread",
"value" : "9248-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "data",
"value" : "{'password': 'MTIzNDU2', 'username': 'tomcat'}"
}, {
"name" : "expect",
"value" : "{'state': False, 'message': '账号或密码错误'}"
}, {
"name" : "interface",
"value" : "'登录系统'"
}, {
"name" : "level",
"value" : "'中'"
}, {
"name" : "method",
"value" : "'POST'"
}, {
"name" : "mime",
"value" : "'json'"
}, {
"name" : "module",
"value" : "'认证接口'"
}, {
"name" : "sqlsentence",
"value" : "None"
}, {
"name" : "sqltype",
"value" : "None"
}, {
"name" : "title",
"value" : "'反向用例-用户名错误'"
}, {
"name" : "updatakey",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://120.46.172.186:8080/auth'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "2cad346442b8353d.json",
"parameterValues" : [ "{'password': 'MTIzNDU2', 'username': 'tomcat'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'POST'", "'json'", "'认证接口'", "None", "None", "'反向用例-用户名错误'", "None", "'http://120.46.172.186:8080/auth'" ]
}
\ No newline at end of file
{
"uid" : "487b5b1e29b765f4",
"name" : "反向用例-用户名过短",
"fullName" : "test_bpm.TestBPM#test_bpm",
"historyId" : "a630861595e4d5075fdcba67048830da",
"time" : {
"start" : 1691412967668,
"stop" : 1691412967768,
"duration" : 100
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1691412966920,
"stop" : 1691412967056,
"duration" : 136
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "req_fix",
"time" : {
"start" : 1691412967057,
"stop" : 1691412967162,
"duration" : 105
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "db_fix",
"time" : {
"start" : 1691412967162,
"stop" : 1691412967373,
"duration" : 211
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "28fa4cd6aedc1c7f",
"name" : "log",
"source" : "28fa4cd6aedc1c7f.txt",
"type" : "text/plain",
"size" : 176
}, {
"uid" : "f4563960b7281e2e",
"name" : "stdout",
"source" : "f4563960b7281e2e.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"attachmentsCount" : 2,
"shouldDisplayMessage" : false,
"hasContent" : true,
"stepsCount" : 0
},
"afterStages" : [ {
"name" : "db_fix::0",
"time" : {
"start" : 1691412969503,
"stop" : 1691412969503,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登录系统"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "BPM系统"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "DESKTOP-IFEUSC7"
}, {
"name" : "thread",
"value" : "9248-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "data",
"value" : "{'password': 'MTIzNDU2', 'username': 'a'}"
}, {
"name" : "expect",
"value" : "{'state': False, 'message': '账号或密码错误'}"
}, {
"name" : "interface",
"value" : "'登录系统'"
}, {
"name" : "level",
"value" : "'中'"
}, {
"name" : "method",
"value" : "'POST'"
}, {
"name" : "mime",
"value" : "'application/json'"
}, {
"name" : "module",
"value" : "'认证接口'"
}, {
"name" : "sqlsentence",
"value" : "None"
}, {
"name" : "sqltype",
"value" : "None"
}, {
"name" : "title",
"value" : "'反向用例-用户名过短'"
}, {
"name" : "updatakey",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://120.46.172.186:8080/auth'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "487b5b1e29b765f4.json",
"parameterValues" : [ "{'password': 'MTIzNDU2', 'username': 'a'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-用户名过短'", "None", "'http://120.46.172.186:8080/auth'" ]
}
\ No newline at end of file
{
"uid" : "593a30ea50e4e65e",
"name" : "反向用例-用户名特殊字符",
"fullName" : "test_bpm.TestBPM#test_bpm",
"historyId" : "a0502452da70d924dbdea3f536ad8015",
"time" : {
"start" : 1691412967807,
"stop" : 1691412967904,
"duration" : 97
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1691412966920,
"stop" : 1691412967056,
"duration" : 136
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "req_fix",
"time" : {
"start" : 1691412967057,
"stop" : 1691412967162,
"duration" : 105
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "db_fix",
"time" : {
"start" : 1691412967162,
"stop" : 1691412967373,
"duration" : 211
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "df120568b73c96fa",
"name" : "log",
"source" : "df120568b73c96fa.txt",
"type" : "text/plain",
"size" : 176
}, {
"uid" : "31966f68be616dd9",
"name" : "stdout",
"source" : "31966f68be616dd9.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"attachmentsCount" : 2,
"shouldDisplayMessage" : false,
"hasContent" : true,
"stepsCount" : 0
},
"afterStages" : [ {
"name" : "db_fix::0",
"time" : {
"start" : 1691412969503,
"stop" : 1691412969503,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登录系统"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "BPM系统"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "DESKTOP-IFEUSC7"
}, {
"name" : "thread",
"value" : "9248-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "data",
"value" : "{'password': 'MTIzNDU2', 'username': '▬♦◊◦☼♠♣'}"
}, {
"name" : "expect",
"value" : "{'state': False, 'message': '账号或密码错误'}"
}, {
"name" : "interface",
"value" : "'登录系统'"
}, {
"name" : "level",
"value" : "'中'"
}, {
"name" : "method",
"value" : "'POST'"
}, {
"name" : "mime",
"value" : "'application/json'"
}, {
"name" : "module",
"value" : "'认证接口'"
}, {
"name" : "sqlsentence",
"value" : "None"
}, {
"name" : "sqltype",
"value" : "None"
}, {
"name" : "title",
"value" : "'反向用例-用户名特殊字符'"
}, {
"name" : "updatakey",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://120.46.172.186:8080/auth'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "593a30ea50e4e65e.json",
"parameterValues" : [ "{'password': 'MTIzNDU2', 'username': '▬♦◊◦☼♠♣'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-用户名特殊字符'", "None", "'http://120.46.172.186:8080/auth'" ]
}
\ No newline at end of file
{
"uid" : "80cc3d9125342c84",
"name" : "正向用例",
"fullName" : "test_bpm.TestBPM#test_bpm",
"historyId" : "98357aace79429a96dcb36c173fbfa06",
"time" : {
"start" : 1691412967381,
"stop" : 1691412967441,
"duration" : 60
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1691412966920,
"stop" : 1691412967056,
"duration" : 136
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "req_fix",
"time" : {
"start" : 1691412967057,
"stop" : 1691412967162,
"duration" : 105
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "db_fix",
"time" : {
"start" : 1691412967162,
"stop" : 1691412967373,
"duration" : 211
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "85cf5f85520d0d05",
"name" : "log",
"source" : "85cf5f85520d0d05.txt",
"type" : "text/plain",
"size" : 5166
}, {
"uid" : "3797722a1ea2dfdd",
"name" : "stdout",
"source" : "3797722a1ea2dfdd.txt",
"type" : "text/plain",
"size" : 209
} ],
"parameters" : [ ],
"attachmentsCount" : 2,
"shouldDisplayMessage" : false,
"hasContent" : true,
"stepsCount" : 0
},
"afterStages" : [ {
"name" : "db_fix::0",
"time" : {
"start" : 1691412969503,
"stop" : 1691412969503,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登录系统"
}, {
"name" : "severity",
"value" : "高"
}, {
"name" : "epic",
"value" : "BPM系统"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "DESKTOP-IFEUSC7"
}, {
"name" : "thread",
"value" : "9248-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "data",
"value" : "{'password': 'MTIzNDU2', 'username': 'admin'}"
}, {
"name" : "expect",
"value" : "{'username': '超级管理员', 'account': 'admin'}"
}, {
"name" : "interface",
"value" : "'登录系统'"
}, {
"name" : "level",
"value" : "'高'"
}, {
"name" : "method",
"value" : "'POST'"
}, {
"name" : "mime",
"value" : "'application/json'"
}, {
"name" : "module",
"value" : "'认证接口'"
}, {
"name" : "sqlsentence",
"value" : "None"
}, {
"name" : "sqltype",
"value" : "None"
}, {
"name" : "title",
"value" : "'正向用例'"
}, {
"name" : "updatakey",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://120.46.172.186:8080/auth'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "80cc3d9125342c84.json",
"parameterValues" : [ "{'password': 'MTIzNDU2', 'username': 'admin'}", "{'username': '超级管理员', 'account': 'admin'}", "'登录系统'", "'高'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'正向用例'", "None", "'http://120.46.172.186:8080/auth'" ]
}
\ No newline at end of file
{
"uid" : "878fd6d9be167c95",
"name" : "反向用例-用户名过长",
"fullName" : "test_bpm.TestBPM#test_bpm",
"historyId" : "db7f8347492d126be5aa0bc4cf128a49",
"time" : {
"start" : 1691412967526,
"stop" : 1691412967630,
"duration" : 104
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1691412966920,
"stop" : 1691412967056,
"duration" : 136
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "req_fix",
"time" : {
"start" : 1691412967057,
"stop" : 1691412967162,
"duration" : 105
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "db_fix",
"time" : {
"start" : 1691412967162,
"stop" : 1691412967373,
"duration" : 211
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "99ee87da98f590e3",
"name" : "log",
"source" : "99ee87da98f590e3.txt",
"type" : "text/plain",
"size" : 176
}, {
"uid" : "560a524f5e49d1c3",
"name" : "stdout",
"source" : "560a524f5e49d1c3.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"attachmentsCount" : 2,
"shouldDisplayMessage" : false,
"hasContent" : true,
"stepsCount" : 0
},
"afterStages" : [ {
"name" : "db_fix::0",
"time" : {
"start" : 1691412969503,
"stop" : 1691412969503,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登录系统"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "BPM系统"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "DESKTOP-IFEUSC7"
}, {
"name" : "thread",
"value" : "9248-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "data",
"value" : "{'password': 'MTIzNDU2', 'username': 'adminadminadminadminadminadminadminadminadmin'}"
}, {
"name" : "expect",
"value" : "{'state': False, 'message': '账号或密码错误'}"
}, {
"name" : "interface",
"value" : "'登录系统'"
}, {
"name" : "level",
"value" : "'中'"
}, {
"name" : "method",
"value" : "'POST'"
}, {
"name" : "mime",
"value" : "'application/json'"
}, {
"name" : "module",
"value" : "'认证接口'"
}, {
"name" : "sqlsentence",
"value" : "None"
}, {
"name" : "sqltype",
"value" : "None"
}, {
"name" : "title",
"value" : "'反向用例-用户名过长'"
}, {
"name" : "updatakey",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://120.46.172.186:8080/auth'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "878fd6d9be167c95.json",
"parameterValues" : [ "{'password': 'MTIzNDU2', 'username': 'adminadminadminadminadminadminadminadminadmin'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-用户名过长'", "None", "'http://120.46.172.186:8080/auth'" ]
}
\ No newline at end of file
{
"uid" : "97ed2c7bf2a5ae29",
"name" : "反向用例-密码为空",
"fullName" : "test_bpm.TestBPM#test_bpm",
"historyId" : "89cd3935e143f1777c5d98d06870bd50",
"time" : {
"start" : 1691412968026,
"stop" : 1691412968127,
"duration" : 101
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1691412966920,
"stop" : 1691412967056,
"duration" : 136
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "req_fix",
"time" : {
"start" : 1691412967057,
"stop" : 1691412967162,
"duration" : 105
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "db_fix",
"time" : {
"start" : 1691412967162,
"stop" : 1691412967373,
"duration" : 211
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "c0c96b0507bf7621",
"name" : "log",
"source" : "c0c96b0507bf7621.txt",
"type" : "text/plain",
"size" : 176
}, {
"uid" : "b925fc6f6ca3deb6",
"name" : "stdout",
"source" : "b925fc6f6ca3deb6.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"attachmentsCount" : 2,
"shouldDisplayMessage" : false,
"hasContent" : true,
"stepsCount" : 0
},
"afterStages" : [ {
"name" : "db_fix::0",
"time" : {
"start" : 1691412969503,
"stop" : 1691412969503,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登录系统"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "BPM系统"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "DESKTOP-IFEUSC7"
}, {
"name" : "thread",
"value" : "9248-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "data",
"value" : "{'password': '', 'username': 'admin'}"
}, {
"name" : "expect",
"value" : "{'state': False, 'message': '账号或密码错误'}"
}, {
"name" : "interface",
"value" : "'登录系统'"
}, {
"name" : "level",
"value" : "'中'"
}, {
"name" : "method",
"value" : "'POST'"
}, {
"name" : "mime",
"value" : "'application/json'"
}, {
"name" : "module",
"value" : "'认证接口'"
}, {
"name" : "sqlsentence",
"value" : "None"
}, {
"name" : "sqltype",
"value" : "None"
}, {
"name" : "title",
"value" : "'反向用例-密码为空'"
}, {
"name" : "updatakey",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://120.46.172.186:8080/auth'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "97ed2c7bf2a5ae29.json",
"parameterValues" : [ "{'password': '', 'username': 'admin'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-密码为空'", "None", "'http://120.46.172.186:8080/auth'" ]
}
\ No newline at end of file
{
"uid" : "988589cd93aad179",
"name" : "正向用例",
"fullName" : "test_bpm.TestBPM#test_bpm",
"historyId" : "036385e6c5707e95e98d58f17aa52abc",
"time" : {
"start" : 1691412969283,
"stop" : 1691412969349,
"duration" : 66
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1691412966920,
"stop" : 1691412967056,
"duration" : 136
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "req_fix",
"time" : {
"start" : 1691412967057,
"stop" : 1691412967162,
"duration" : 105
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "db_fix",
"time" : {
"start" : 1691412967162,
"stop" : 1691412967373,
"duration" : 211
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "f4e8fbe70a607b04",
"name" : "log",
"source" : "f4e8fbe70a607b04.txt",
"type" : "text/plain",
"size" : 114
}, {
"uid" : "afb16376cc503822",
"name" : "stdout",
"source" : "afb16376cc503822.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"attachmentsCount" : 2,
"shouldDisplayMessage" : false,
"hasContent" : true,
"stepsCount" : 0
},
"afterStages" : [ {
"name" : "db_fix::0",
"time" : {
"start" : 1691412969503,
"stop" : 1691412969503,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"labels" : [ {
"name" : "feature",
"value" : "组织管理"
}, {
"name" : "story",
"value" : "删除组织"
}, {
"name" : "severity",
"value" : "高"
}, {
"name" : "epic",
"value" : "BPM系统"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "DESKTOP-IFEUSC7"
}, {
"name" : "thread",
"value" : "9248-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "data",
"value" : "'test56_org'"
}, {
"name" : "expect",
"value" : "{'state': True, 'message': '删除组织成功!'}"
}, {
"name" : "interface",
"value" : "'删除组织'"
}, {
"name" : "level",
"value" : "'高'"
}, {
"name" : "method",
"value" : "'post'"
}, {
"name" : "mime",
"value" : "'text/plain'"
}, {
"name" : "module",
"value" : "'组织管理'"
}, {
"name" : "sqlsentence",
"value" : "None"
}, {
"name" : "sqltype",
"value" : "None"
}, {
"name" : "title",
"value" : "'正向用例'"
}, {
"name" : "updatakey",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://120.46.172.186:8080/api/org/v1/org/deleteOrg'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "988589cd93aad179.json",
"parameterValues" : [ "'test56_org'", "{'state': True, 'message': '删除组织成功!'}", "'删除组织'", "'高'", "'post'", "'text/plain'", "'组织管理'", "None", "None", "'正向用例'", "None", "'http://120.46.172.186:8080/api/org/v1/org/deleteOrg'" ]
}
\ No newline at end of file
{
"uid" : "9af0f3a6371960e0",
"name" : "正向用例",
"fullName" : "test_bpm.TestBPM#test_bpm",
"historyId" : "74e8920fe95c2c7a6d36157ccbacbeb9",
"time" : {
"start" : 1691412969191,
"stop" : 1691412969265,
"duration" : 74
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1691412966920,
"stop" : 1691412967056,
"duration" : 136
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "req_fix",
"time" : {
"start" : 1691412967057,
"stop" : 1691412967162,
"duration" : 105
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "db_fix",
"time" : {
"start" : 1691412967162,
"stop" : 1691412967373,
"duration" : 211
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "cfd7d9aa6c2431a4",
"name" : "log",
"source" : "cfd7d9aa6c2431a4.txt",
"type" : "text/plain",
"size" : 142
}, {
"uid" : "7a335eff6307d15a",
"name" : "stdout",
"source" : "7a335eff6307d15a.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"attachmentsCount" : 2,
"shouldDisplayMessage" : false,
"hasContent" : true,
"stepsCount" : 0
},
"afterStages" : [ {
"name" : "db_fix::0",
"time" : {
"start" : 1691412969503,
"stop" : 1691412969503,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"labels" : [ {
"name" : "feature",
"value" : "组织管理"
}, {
"name" : "story",
"value" : "保存组织参数"
}, {
"name" : "severity",
"value" : "高"
}, {
"name" : "epic",
"value" : "BPM系统"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "DESKTOP-IFEUSC7"
}, {
"name" : "thread",
"value" : "9248-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "data",
"value" : "{'query': {'orgCode': 'test56_org'}, 'body': [{'alias': 'sz', 'value': 0}, {'alias': 'zy', 'value': 'math'}, {'alias': 'rq', 'value': '2023-08-04T16:00:00.000Z'}, {'alias': 'ah', 'value': 'lq'}, {'alias': 'yyyy', 'value': '越高越好'}, {'alias': 'xb', 'value': '2'}]}"
}, {
"name" : "expect",
"value" : "{'state': True, 'message': '保存组织参数成功!'}"
}, {
"name" : "interface",
"value" : "'保存组织参数'"
}, {
"name" : "level",
"value" : "'高'"
}, {
"name" : "method",
"value" : "'post'"
}, {
"name" : "mime",
"value" : "'application/json|query'"
}, {
"name" : "module",
"value" : "'组织管理'"
}, {
"name" : "sqlsentence",
"value" : "None"
}, {
"name" : "sqltype",
"value" : "None"
}, {
"name" : "title",
"value" : "'正向用例'"
}, {
"name" : "updatakey",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://120.46.172.186:8080/api/org/v1/orgParam/saveOrgParams'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "9af0f3a6371960e0.json",
"parameterValues" : [ "{'query': {'orgCode': 'test56_org'}, 'body': [{'alias': 'sz', 'value': 0}, {'alias': 'zy', 'value': 'math'}, {'alias': 'rq', 'value': '2023-08-04T16:00:00.000Z'}, {'alias': 'ah', 'value': 'lq'}, {'alias': 'yyyy', 'value': '越高越好'}, {'alias': 'xb', 'value': '2'}]}", "{'state': True, 'message': '保存组织参数成功!'}", "'保存组织参数'", "'高'", "'post'", "'application/json|query'", "'组织管理'", "None", "None", "'正向用例'", "None", "'http://120.46.172.186:8080/api/org/v1/orgParam/saveOrgParams'" ]
}
\ No newline at end of file
{
"uid" : "ad15ad4694a1718c",
"name" : "正向用例",
"fullName" : "test_bpm.TestBPM#test_bpm",
"historyId" : "dda835db0410530904c0a8d301c29cbb",
"time" : {
"start" : 1691412968988,
"stop" : 1691412969173,
"duration" : 185
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1691412966920,
"stop" : 1691412967056,
"duration" : 136
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "req_fix",
"time" : {
"start" : 1691412967057,
"stop" : 1691412967162,
"duration" : 105
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "db_fix",
"time" : {
"start" : 1691412967162,
"stop" : 1691412967373,
"duration" : 211
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "f68f02d9359c4494",
"name" : "log",
"source" : "f68f02d9359c4494.txt",
"type" : "text/plain",
"size" : 111
}, {
"uid" : "457b1afef420def3",
"name" : "stdout",
"source" : "457b1afef420def3.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"attachmentsCount" : 2,
"shouldDisplayMessage" : false,
"hasContent" : true,
"stepsCount" : 0
},
"afterStages" : [ {
"name" : "db_fix::0",
"time" : {
"start" : 1691412969503,
"stop" : 1691412969503,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"labels" : [ {
"name" : "feature",
"value" : "组织管理"
}, {
"name" : "story",
"value" : "添加组织"
}, {
"name" : "severity",
"value" : "高"
}, {
"name" : "epic",
"value" : "BPM系统"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "DESKTOP-IFEUSC7"
}, {
"name" : "thread",
"value" : "9248-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "data",
"value" : "{'code': 'test56_org', 'demId': '不知道', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}"
}, {
"name" : "expect",
"value" : "{'state': True, 'message': '添加组织成功!'}"
}, {
"name" : "interface",
"value" : "'添加组织'"
}, {
"name" : "level",
"value" : "'高'"
}, {
"name" : "method",
"value" : "'post'"
}, {
"name" : "mime",
"value" : "'application/json'"
}, {
"name" : "module",
"value" : "'组织管理'"
}, {
"name" : "sqlsentence",
"value" : "{'select': 'SELECT ID_ FROM uc_demension WHERE `CODE_`=\"test56_dem\";', 'delete': 'DELETE FROM uc_org WHERE `CODE_`=\"test56_org\";'}"
}, {
"name" : "sqltype",
"value" : "'delete|select'"
}, {
"name" : "title",
"value" : "'正向用例'"
}, {
"name" : "updatakey",
"value" : "'demId'"
}, {
"name" : "url",
"value" : "'http://120.46.172.186:8080/api/org/v1/org/addOrg'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "ad15ad4694a1718c.json",
"parameterValues" : [ "{'code': 'test56_org', 'demId': '不知道', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}", "{'state': True, 'message': '添加组织成功!'}", "'添加组织'", "'高'", "'post'", "'application/json'", "'组织管理'", "{'select': 'SELECT ID_ FROM uc_demension WHERE `CODE_`=\"test56_dem\";', 'delete': 'DELETE FROM uc_org WHERE `CODE_`=\"test56_org\";'}", "'delete|select'", "'正向用例'", "'demId'", "'http://120.46.172.186:8080/api/org/v1/org/addOrg'" ]
}
\ No newline at end of file
{
"uid" : "c1137b52bc158c3b",
"name" : "反向用例-用户名为空",
"fullName" : "test_bpm.TestBPM#test_bpm",
"historyId" : "cb6bc4824561a6cdbaeea7fbbc0b0fca",
"time" : {
"start" : 1691412967458,
"stop" : 1691412967514,
"duration" : 56
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1691412966920,
"stop" : 1691412967056,
"duration" : 136
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "req_fix",
"time" : {
"start" : 1691412967057,
"stop" : 1691412967162,
"duration" : 105
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "db_fix",
"time" : {
"start" : 1691412967162,
"stop" : 1691412967373,
"duration" : 211
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "a7625d235959c324",
"name" : "log",
"source" : "a7625d235959c324.txt",
"type" : "text/plain",
"size" : 94
}, {
"uid" : "841c62202970077a",
"name" : "stdout",
"source" : "841c62202970077a.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"attachmentsCount" : 2,
"shouldDisplayMessage" : false,
"hasContent" : true,
"stepsCount" : 0
},
"afterStages" : [ {
"name" : "db_fix::0",
"time" : {
"start" : 1691412969503,
"stop" : 1691412969503,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登录系统"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "BPM系统"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "DESKTOP-IFEUSC7"
}, {
"name" : "thread",
"value" : "9248-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "data",
"value" : "{'password': 'MTIzNDU2', 'username': ''}"
}, {
"name" : "expect",
"value" : "{'state': False, 'message': '账号或密码错误'}"
}, {
"name" : "interface",
"value" : "'登录系统'"
}, {
"name" : "level",
"value" : "'中'"
}, {
"name" : "method",
"value" : "'POST'"
}, {
"name" : "mime",
"value" : "'application/json'"
}, {
"name" : "module",
"value" : "'认证接口'"
}, {
"name" : "sqlsentence",
"value" : "None"
}, {
"name" : "sqltype",
"value" : "None"
}, {
"name" : "title",
"value" : "'反向用例-用户名为空'"
}, {
"name" : "updatakey",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://120.46.172.186:8080/auth'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "c1137b52bc158c3b.json",
"parameterValues" : [ "{'password': 'MTIzNDU2', 'username': ''}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-用户名为空'", "None", "'http://120.46.172.186:8080/auth'" ]
}
\ No newline at end of file
{
"uid" : "d721c898d353a4f1",
"name" : "反向用例-密码为过短",
"fullName" : "test_bpm.TestBPM#test_bpm",
"historyId" : "1e00bd2cd85b6a0d93eb901ec3e350a3",
"time" : {
"start" : 1691412968295,
"stop" : 1691412968398,
"duration" : 103
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1691412966920,
"stop" : 1691412967056,
"duration" : 136
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "req_fix",
"time" : {
"start" : 1691412967057,
"stop" : 1691412967162,
"duration" : 105
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "db_fix",
"time" : {
"start" : 1691412967162,
"stop" : 1691412967373,
"duration" : 211
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "4d3a7bd16f3befde",
"name" : "log",
"source" : "4d3a7bd16f3befde.txt",
"type" : "text/plain",
"size" : 176
}, {
"uid" : "3a84b71bb83b430f",
"name" : "stdout",
"source" : "3a84b71bb83b430f.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"attachmentsCount" : 2,
"shouldDisplayMessage" : false,
"hasContent" : true,
"stepsCount" : 0
},
"afterStages" : [ {
"name" : "db_fix::0",
"time" : {
"start" : 1691412969503,
"stop" : 1691412969503,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登录系统"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "BPM系统"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "DESKTOP-IFEUSC7"
}, {
"name" : "thread",
"value" : "9248-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "data",
"value" : "{'password': '1', 'username': 'admin'}"
}, {
"name" : "expect",
"value" : "{'state': False, 'message': '账号或密码错误'}"
}, {
"name" : "interface",
"value" : "'登录系统'"
}, {
"name" : "level",
"value" : "'中'"
}, {
"name" : "method",
"value" : "'PoST'"
}, {
"name" : "mime",
"value" : "'application/json'"
}, {
"name" : "module",
"value" : "'认证接口'"
}, {
"name" : "sqlsentence",
"value" : "None"
}, {
"name" : "sqltype",
"value" : "None"
}, {
"name" : "title",
"value" : "'反向用例-密码为过短'"
}, {
"name" : "updatakey",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://120.46.172.186:8080/auth'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "d721c898d353a4f1.json",
"parameterValues" : [ "{'password': '1', 'username': 'admin'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'PoST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-密码为过短'", "None", "'http://120.46.172.186:8080/auth'" ]
}
\ No newline at end of file
{
"uid" : "dd6d3e153caa3b07",
"name" : "反向用例-密码为特殊字符",
"fullName" : "test_bpm.TestBPM#test_bpm",
"historyId" : "d47f225f414cd52cd2c4be15166397b9",
"time" : {
"start" : 1691412968411,
"stop" : 1691412968515,
"duration" : 104
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1691412966920,
"stop" : 1691412967056,
"duration" : 136
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "req_fix",
"time" : {
"start" : 1691412967057,
"stop" : 1691412967162,
"duration" : 105
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "db_fix",
"time" : {
"start" : 1691412967162,
"stop" : 1691412967373,
"duration" : 211
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "dffa90a829b86738",
"name" : "log",
"source" : "dffa90a829b86738.txt",
"type" : "text/plain",
"size" : 176
}, {
"uid" : "41799ebde59c7e14",
"name" : "stdout",
"source" : "41799ebde59c7e14.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"attachmentsCount" : 2,
"shouldDisplayMessage" : false,
"hasContent" : true,
"stepsCount" : 0
},
"afterStages" : [ {
"name" : "db_fix::0",
"time" : {
"start" : 1691412969503,
"stop" : 1691412969503,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登录系统"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "BPM系统"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "DESKTOP-IFEUSC7"
}, {
"name" : "thread",
"value" : "9248-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "data",
"value" : "{'password': '▬♦◊◦☼♠♣', 'username': 'admin'}"
}, {
"name" : "expect",
"value" : "{'state': False, 'message': '账号或密码错误'}"
}, {
"name" : "interface",
"value" : "'登录系统'"
}, {
"name" : "level",
"value" : "'中'"
}, {
"name" : "method",
"value" : "'POST'"
}, {
"name" : "mime",
"value" : "'application/json'"
}, {
"name" : "module",
"value" : "'认证接口'"
}, {
"name" : "sqlsentence",
"value" : "None"
}, {
"name" : "sqltype",
"value" : "None"
}, {
"name" : "title",
"value" : "'反向用例-密码为特殊字符'"
}, {
"name" : "updatakey",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://120.46.172.186:8080/auth'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "dd6d3e153caa3b07.json",
"parameterValues" : [ "{'password': '▬♦◊◦☼♠♣', 'username': 'admin'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-密码为特殊字符'", "None", "'http://120.46.172.186:8080/auth'" ]
}
\ No newline at end of file
{
"uid" : "e21a773239c439d2",
"name" : "正向用例",
"fullName" : "test_bpm.TestBPM#test_bpm",
"historyId" : "4db60c6a5deceb5e4bfbe2c9fd4ed59b",
"time" : {
"start" : 1691412968837,
"stop" : 1691412968977,
"duration" : 140
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1691412966920,
"stop" : 1691412967056,
"duration" : 136
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "req_fix",
"time" : {
"start" : 1691412967057,
"stop" : 1691412967162,
"duration" : 105
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "db_fix",
"time" : {
"start" : 1691412967162,
"stop" : 1691412967373,
"duration" : 211
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "afecc1fa6c1fd7d",
"name" : "log",
"source" : "afecc1fa6c1fd7d.txt",
"type" : "text/plain",
"size" : 117
}, {
"uid" : "53587c82b9cbbb8f",
"name" : "stdout",
"source" : "53587c82b9cbbb8f.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"attachmentsCount" : 2,
"shouldDisplayMessage" : false,
"hasContent" : true,
"stepsCount" : 0
},
"afterStages" : [ {
"name" : "db_fix::0",
"time" : {
"start" : 1691412969503,
"stop" : 1691412969503,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"labels" : [ {
"name" : "feature",
"value" : "维度管理"
}, {
"name" : "story",
"value" : "添加维度"
}, {
"name" : "severity",
"value" : "高"
}, {
"name" : "epic",
"value" : "BPM系统"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "DESKTOP-IFEUSC7"
}, {
"name" : "thread",
"value" : "9248-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "data",
"value" : "{'code': 'test56_dem', 'description': '测试56期的维度', 'isDefault': 0, 'name': '测试56期的维度'}"
}, {
"name" : "expect",
"value" : "{'state': True, 'message': '添加维度成功!'}"
}, {
"name" : "interface",
"value" : "'添加维度'"
}, {
"name" : "level",
"value" : "'高'"
}, {
"name" : "method",
"value" : "'post'"
}, {
"name" : "mime",
"value" : "'application/json'"
}, {
"name" : "module",
"value" : "'维度管理'"
}, {
"name" : "sqlsentence",
"value" : "'DELETE FROM uc_demension WHERE `CODE_`=\"test56_dem\";'"
}, {
"name" : "sqltype",
"value" : "'delete'"
}, {
"name" : "title",
"value" : "'正向用例'"
}, {
"name" : "updatakey",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://120.46.172.186:8080/api/demension/v1/dem/addDem'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "e21a773239c439d2.json",
"parameterValues" : [ "{'code': 'test56_dem', 'description': '测试56期的维度', 'isDefault': 0, 'name': '测试56期的维度'}", "{'state': True, 'message': '添加维度成功!'}", "'添加维度'", "'高'", "'post'", "'application/json'", "'维度管理'", "'DELETE FROM uc_demension WHERE `CODE_`=\"test56_dem\";'", "'delete'", "'正向用例'", "None", "'http://120.46.172.186:8080/api/demension/v1/dem/addDem'" ]
}
\ No newline at end of file
launch_status failed=2 1691413116000000000
launch_status broken=0 1691413116000000000
launch_status passed=14 1691413116000000000
launch_status skipped=0 1691413116000000000
launch_status unknown=0 1691413116000000000
launch_time duration=2095 1691413116000000000
launch_time min_duration=56 1691413116000000000
launch_time max_duration=185 1691413116000000000
launch_time sum_duration=1607 1691413116000000000
launch_problems product_defects=2 1691413116000000000
launch_retries retries=0 1691413116000000000
launch_retries run=16 1691413116000000000
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Allure Report summary mail</title>
</head>
<body>
Mail body
</body>
</html>
launch_status_failed 2
launch_status_broken 0
launch_status_passed 14
launch_status_skipped 0
launch_status_unknown 0
launch_time_duration 2095
launch_time_min_duration 56
launch_time_max_duration 185
launch_time_sum_duration 1607
launch_problems_product_defects 2
launch_retries_retries 0
launch_retries_run 16
module.exports = __webpack_public_path__ + "favicon.ico";
\ No newline at end of file
[ {
"data" : {
"Product defects" : 2
}
} ]
\ No newline at end of file
[ {
"data" : {
"duration" : 2095
}
} ]
\ No newline at end of file
[ {
"data" : {
"failed" : 2,
"broken" : 0,
"skipped" : 0,
"passed" : 14,
"unknown" : 0,
"total" : 16
}
} ]
\ No newline at end of file
{
"4db60c6a5deceb5e4bfbe2c9fd4ed59b" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "e21a773239c439d2",
"status" : "passed",
"time" : {
"start" : 1691412968837,
"stop" : 1691412968977,
"duration" : 140
}
} ]
},
"a0502452da70d924dbdea3f536ad8015" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "593a30ea50e4e65e",
"status" : "passed",
"time" : {
"start" : 1691412967807,
"stop" : 1691412967904,
"duration" : 97
}
} ]
},
"4611226fe8e8ea7f2f751c759c190024" : {
"statistic" : {
"failed" : 1,
"broken" : 0,
"skipped" : 0,
"passed" : 0,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "1a844f8c800e3521",
"status" : "failed",
"statusDetails" : "AssertionError: 断言失败",
"time" : {
"start" : 1691412969366,
"stop" : 1691412969476,
"duration" : 110
}
} ]
},
"89cd3935e143f1777c5d98d06870bd50" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "97ed2c7bf2a5ae29",
"status" : "passed",
"time" : {
"start" : 1691412968026,
"stop" : 1691412968127,
"duration" : 101
}
} ]
},
"74e8920fe95c2c7a6d36157ccbacbeb9" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "9af0f3a6371960e0",
"status" : "passed",
"time" : {
"start" : 1691412969191,
"stop" : 1691412969265,
"duration" : 74
}
} ]
},
"dda835db0410530904c0a8d301c29cbb" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "ad15ad4694a1718c",
"status" : "passed",
"time" : {
"start" : 1691412968988,
"stop" : 1691412969173,
"duration" : 185
}
} ]
},
"d47f225f414cd52cd2c4be15166397b9" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "dd6d3e153caa3b07",
"status" : "passed",
"time" : {
"start" : 1691412968411,
"stop" : 1691412968515,
"duration" : 104
}
} ]
},
"036385e6c5707e95e98d58f17aa52abc" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "988589cd93aad179",
"status" : "passed",
"time" : {
"start" : 1691412969283,
"stop" : 1691412969349,
"duration" : 66
}
} ]
},
"1e00bd2cd85b6a0d93eb901ec3e350a3" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "d721c898d353a4f1",
"status" : "passed",
"time" : {
"start" : 1691412968295,
"stop" : 1691412968398,
"duration" : 103
}
} ]
},
"0bc244764898381335e19a8275f4cc75" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "2cad346442b8353d",
"status" : "passed",
"time" : {
"start" : 1691412967917,
"stop" : 1691412968013,
"duration" : 96
}
} ]
},
"f368301ce537f1bbd596e0d19f24f393" : {
"statistic" : {
"failed" : 1,
"broken" : 0,
"skipped" : 0,
"passed" : 0,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "c38dfbbf61a8e3a1",
"status" : "failed",
"statusDetails" : "AssertionError: 断言失败",
"time" : {
"start" : 1691412968538,
"stop" : 1691412968643,
"duration" : 105
}
} ]
},
"a630861595e4d5075fdcba67048830da" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "487b5b1e29b765f4",
"status" : "passed",
"time" : {
"start" : 1691412967668,
"stop" : 1691412967768,
"duration" : 100
}
} ]
},
"cb6bc4824561a6cdbaeea7fbbc0b0fca" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "c1137b52bc158c3b",
"status" : "passed",
"time" : {
"start" : 1691412967458,
"stop" : 1691412967514,
"duration" : 56
}
} ]
},
"98357aace79429a96dcb36c173fbfa06" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "80cc3d9125342c84",
"status" : "passed",
"time" : {
"start" : 1691412967381,
"stop" : 1691412967441,
"duration" : 60
}
} ]
},
"1583d8257c325d21eabb5675af66c678" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "2181236f7df59f69",
"status" : "passed",
"time" : {
"start" : 1691412968164,
"stop" : 1691412968270,
"duration" : 106
}
} ]
},
"db7f8347492d126be5aa0bc4cf128a49" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "878fd6d9be167c95",
"status" : "passed",
"time" : {
"start" : 1691412967526,
"stop" : 1691412967630,
"duration" : 104
}
} ]
}
}
\ No newline at end of file
[ {
"data" : {
"run" : 16,
"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',
});
})();
.screen-diff__switchers {
margin-bottom: 1em;
}
.screen-diff__switchers label + label {
margin-left: 1em;
}
.screen-diff__overlay {
position: relative;
cursor: col-resize;
}
.screen-diff__container {
overflow-x: auto;
}
.screen-diff__image-over {
top: 0;
left: 0;
bottom: 0;
background: #fff;
position: absolute;
overflow: hidden;
box-shadow: 2px 0 1px -1px #aaa;
}
.screen-diff-error {
color: #fd5a3e;
}
This source diff could not be displayed because it is too large. You can view the blob instead.
{
"total" : 1,
"items" : [ {
"uid" : "f2ae4690c9b2f3df492f4f543cc9c7a2",
"name" : "BPM系统",
"statistic" : {
"failed" : 2,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 3
}
} ]
}
\ No newline at end of file
[ {
"data" : {
"Product defects" : 2
}
} ]
\ No newline at end of file
{
"total" : 1,
"items" : [ {
"uid" : "8fb3a91ba5aaf9de24cc8a92edc82b5d",
"name" : "Product defects",
"statistic" : {
"failed" : 2,
"broken" : 0,
"skipped" : 0,
"passed" : 0,
"unknown" : 0,
"total" : 2
}
} ]
}
\ No newline at end of file
[ {
"data" : {
"duration" : 2095
}
} ]
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment