Commit 53f0aeb4 by rio

第一次自动化提交

parents
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: pythonProject
# FileName: __init__.py
# Author: xxxxxxx
# Datetime: 2023/8/7 20:02
# Description:
#
# ---------------------------------------------------------------------------
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: pythonProject
# FileName: db.py
# Author: xxxxxxx
# Datetime: 2023/8/7 18:36
# Description:
#
# ---------------------------------------------------------------------------
import pymysql
from APIAutoTest_004.common.read_ini import ReadIni
class DB:
def __init__(self):
read_ini = ReadIni()
self.conn = pymysql.connect(host=read_ini.get_sql_message("host"),
port=int(read_ini.get_sql_message("port")),
user=read_ini.get_sql_message("user"),
password=read_ini.get_sql_message("pwd"),
database=read_ini.get_sql_message("database"),
charset="utf8"
)
self.cursor = self.conn.cursor()
def close(self):
self.cursor.close()
self.conn.close()
def delete(self, sql_sentence):
self.cursor.execute(sql_sentence)
self.conn.commit()
def select(self, sql_sentence):
self.cursor.execute(sql_sentence)
result = self.cursor.fetchall()
if result:
return result[0][0]
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: pythonProject
# FileName: read_excel.py
# Author: xxxxxxx
# Datetime: 2023/8/7 18:43
# Description:
#
# ---------------------------------------------------------------------------
import openpyxl
from APIAutoTest_004.common.read_ini import ReadIni
from APIAutoTest_004.common.read_json import read_json
from APIAutoTest_004.data_config.excel_column import *
class ReadExcel:
def __init__(self):
self.read_ini = ReadIni()
case_path = self.read_ini.get_file_path("case")
expect_path = self.read_ini.get_file_path("expect")
sql_path = self.read_ini.get_file_path("sql")
self.case_data_dict = read_json(case_path)
self.expect_data_dict = read_json(expect_path)
self.sql_data_dict = read_json(sql_path)
excel_path = self.read_ini.get_file_path("excel")
wb = openpyxl.load_workbook(excel_path)
sheet_name = self.read_ini.get_sheet("sheet1_name")
self.ws = wb[sheet_name]
def __get_cell_data(self, column: str, row: int) -> str:
value = self.ws[column+str(row)].value
if value is None:
return None
elif value.strip():
return value.strip()
def module_name(self, row):
return self.__get_cell_data(MODULE, row)
def interface_name(self, row):
return self.__get_cell_data(INTERFACE, row)
def case_title(self, row):
return self.__get_cell_data(TITLE, row)
def case_level(self, row):
return self.__get_cell_data(LEVEL, row)
def case_method(self, row):
return self.__get_cell_data(METHOD, row)
def case_url(self, row):
host = self.read_ini.get_host("bpm_url")
return host+self.__get_cell_data(URL, row)
def mime(self, row):
value = self.__get_cell_data(MIME, row)
if value:
return value.lower()
def case_data(self, row):
value_key = self.__get_cell_data(CASE_DATA, row)
if value_key:
module_name = self.module_name(row)
interface_name = self.interface_name(row)
return self.case_data_dict[module_name][interface_name][value_key]
def expect_data(self, row):
value_key = self.__get_cell_data(EXPECT_DATA, row)
if value_key:
module_name = self.module_name(row)
interface_name = self.interface_name(row)
return self.expect_data_dict[module_name][interface_name][value_key]
def sql_type(self, row):
value = self.__get_cell_data(SQL_TYPE, row)
if value:
return value.lower()
def sql_sentence(self, row):
value_key = self.__get_cell_data(SQL_SENTENCE, row)
if value_key:
module_name = self.module_name(row)
interface_name = self.interface_name(row)
return self.sql_data_dict[module_name][interface_name][value_key]
def update_key(self, row):
return self.__get_cell_data(UPDATE_KEY, row)
def get_data(self):
list_data = []
for i in range(2, self.ws.max_row+1):
module = self.module_name(i)
interface = self.interface_name(i)
title = self.case_title(i)
level = self.case_level(i)
method = self.case_method(i)
url = self.case_url(i)
mime = self.mime(i)
case_data = self.case_data(i)
expect_data = self.expect_data(i)
sql_type = self.sql_type(i)
sql_sentence = self.sql_sentence(i)
update_key = self.update_key(i)
list_data.append([module, interface, title, level, method, url, mime, case_data, expect_data, sql_type,sql_sentence,update_key])
else:
return list_data
if __name__ == '__main__':
read_excel = ReadExcel()
print(read_excel.get_data())
\ No newline at end of file
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: pythonProject
# FileName: read_ini.py
# Author: xxxxxxx
# Datetime: 2023/8/7 18:25
# Description:
#
# ---------------------------------------------------------------------------
import configparser
import os
class ReadIni:
def __init__(self):
self.data_config_path = os.path.join(os.path.dirname(os.path.dirname(__file__)), "data_config")
ini_path = os.path.join(self.data_config_path, "config.ini")
self.conf = configparser.ConfigParser()
self.conf.read(ini_path, encoding="utf-8")
def get_file_path(self, key):
file_name = self.conf.get("file", key)
return os.path.join(self.data_config_path, file_name.strip())
def get_host(self, key):
return self.conf.get("host", key).strip()
def get_sheet(self, key):
return self.conf.get("sheet", key).strip()
def get_sql_message(self, key):
return self.conf.get("sql", key).strip()
if __name__ == '__main__':
read_ini = ReadIni()
print(read_ini.get_file_path("case"))
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: pythonProject
# FileName: read_json.py
# Author: xxxxxxx
# Datetime: 2023/8/7 18:34
# Description:
#
# ---------------------------------------------------------------------------
import json
def read_json(file_name):
with open(file_name, mode="r", encoding="utf-8") as fp:
return json.load(fp)
\ No newline at end of file
{
"认证接口": {
"登录系统": {
"LoginSuccess": {"username":"admin", "password": "MTIzNDU2"},
"LoginFailUserNameIsLong": {"username":"adminadminadminadminadminadmin", "password": "MTIzNDU2"},
"LoginFailUserNameIsShort": {"username":"i", "password": "MTIzNDU2"},
"LoginFailUserNameIsNone": {"username":"", "password": "MTIzNDU2"},
"LoginFailUserNameIsSpecial": {"username":"▬♦◊◦☼♠♣", "password": "MTIzNDU2"},
"LoginFailUserNameIsError": {"username":"gmmn", "password": "MTIzNDU2"},
"LoginFailPasswordIsLong": {"username":"admin", "password": "MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2"},
"LoginFailPasswordIsShort": {"username":"admin", "password": "M"},
"LoginFailPasswordIsNone": {"username":"admin", "password": ""},
"LoginFailPasswordIsSpecial": {"username":"admin", "password": "▬♦◊◦☼♠♣"},
"LoginFailPasswordIsError": {"username":"admin", "password": "M534fg"}
}
},
"维度管理": {
"添加维度": {
"AddDemSuccess": {
"code": "yyct",
"description": "悠悠苍天何薄与我",
"isDefault": 0,
"name": "悠悠苍天"
}
},
"根据维度编码删除维度": {
"DeleteDemSuccess": {"ids": "不知道"}
}
},
"组织管理": {
"添加组织": {
"AddOrgSuccess": {
"code": "ct",
"demId": "不知道",
"exceedLimitNum": 0,
"grade": "",
"limitNum": 0,
"name": "苍天",
"nowNum": 0,
"orderNo": 0,
"parentId": "0"
}
},
"保存组织参数": {
"SaveOrgParamSuccess": {
"query": {"orgCode": "ct"},
"body": [
{"alias":"sz","value":0},
{"alias":"zy","value":"math"},
{"alias":"rq","value":"2023-08-04T16:00:00.000Z"},
{"alias":"ah","value":"zq"},
{"alias":"yyyy","value":"越高越好"},
{"alias":"xb","value":"2"}]
}
},
"删除组织": {
"DeleteOrgSuccess": "ct"
}
}
}
\ No newline at end of file
[file]
case=case_data.json
excel=APIAutoTest.xlsx
expect=expect_data.json
sql=sql.json
[host]
bpm_url=http://120.46.172.186:8080
[sheet]
sheet1_name=BPM接口
[sql]
host=120.46.172.186
port=3306
user=root
pwd=root@2023
database=eipsaas
\ No newline at end of file
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: pythonProject
# FileName: excel_column.py
# Author: xxxxxxx
# Datetime: 2023/8/7 18:51
# Description:
#
# ---------------------------------------------------------------------------
MODULE = "b"
INTERFACE = "C"
TITLE = "D"
LEVEL = "E"
METHOD = 'F'
URL = 'G'
MIME = 'H'
CASE_DATA = 'I'
EXPECT_DATA = 'J'
SQL_TYPE = 'K'
SQL_SENTENCE = 'L'
UPDATE_KEY = 'M'
\ No newline at end of file
{
"认证接口": {
"登录系统": {
"LoginSuccess": {"username": "超级管理员","account": "admin"},
"LoginFailUserNameIsLong": {"state": false,"message": "账号或密码错误"},
"LoginFailUserNameIsShort": {"state": false,"message": "账号或密码错误"},
"LoginFailUserNameIsNone": {"state": false,"message": "账号或密码错误"},
"LoginFailUserNameIsSpecial": {"state": false,"message": "账号或密码错误"},
"LoginFailUserNameIsError": {"state": false,"message": "账号或密码错误"},
"LoginFailPasswordIsLong": {"state": false,"message": "账号或密码错误"},
"LoginFailPasswordIsShort": {"state": false,"message": "账号或密码错误"},
"LoginFailPasswordIsNone": {"state": false,"message": "账号或密码错误"},
"LoginFailPasswordIsSpecial": {"state": false,"message": "账号或密码错误"},
"LoginFailPasswordIsError": {"state": false,"message": "账号或密码错误"}
},
"刷新token": {
"RefreshSuccess": {"message": "刷新token成功"}
}
},
"维度管理": {
"添加维度": {
"AddDemSuccess": {"state": true, "message": "添加维度成功!"}
},
"根据维度编码删除维度": {
"DeleteDemSuccess": {"state": true, "message": "删除维度成功!"}
}
},
"组织管理": {
"添加组织": {
"AddOrgSuccess": {"state": true, "message": "添加组织成功!"}
},
"保存组织参数": {
"SaveOrgParamSuccess": {"state": true, "message": "保存组织参数成功!"}
},
"删除组织": {
"DeleteOrgSuccess": {"state": true, "message": "删除组织成功!"}
}
}
}
\ No newline at end of file
{
"维度管理": {
"添加维度": {
"AddDemSuccess": "DELETE FROM uc_demension WHERE `CODE_`=\"yyct\";"
},
"根据维度编码删除维度": {
"DeleteDemSuccess": "SELECT ID_ FROM uc_demension WHERE `CODE_`=\"yyct\";"
}
},
"组织管理": {
"添加组织": {
"AddOrgSuccess": {
"select": "SELECT ID_ FROM uc_demension WHERE `CODE_`=\"yyct\";",
"delete": "DELETE FROM uc_org WHERE `CODE_`=\"ct\";"
}
}
}
}
\ No newline at end of file
{"uuid": "1a7198c9-621f-4fba-abc7-1a4cce38274f", "befores": [{"name": "module", "status": "passed", "start": 1691411149687, "stop": 1691411149687}], "start": 1691411149687, "stop": 1691411149796}
\ No newline at end of file
DEBUG--2023-08-07 20:25:49--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:25:49--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
\ No newline at end of file
{"name": "反向用例-用户名为空", "status": "passed", "attachments": [{"name": "log", "source": "017645a6-4098-45f6-8152-56772cc3e3e3-attachment.txt", "type": "text/plain"}, {"name": "stdout", "source": "9a90a131-8520-4cdf-a0a6-04a4ebb2491b-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "module", "value": "'认证接口'"}, {"name": "interface", "value": "'登录系统'"}, {"name": "title", "value": "'反向用例-用户名为空'"}, {"name": "level", "value": "'中'"}, {"name": "method", "value": "'post'"}, {"name": "url", "value": "'http://120.46.172.186:8080/auth'"}, {"name": "mime", "value": "'json'"}, {"name": "case_data", "value": "{'username': '', 'password': 'MTIzNDU2'}"}, {"name": "expect_data", "value": "{'state': False, 'message': '账号或密码错误'}"}, {"name": "sql_type", "value": "None"}, {"name": "sql_sentence", "value": "None"}, {"name": "update_key", "value": "None"}], "start": 1691411148813, "stop": 1691411148907, "uuid": "ed57de5c-63d8-44d5-b369-bd39bcaedee5", "historyId": "f35630a0c36bb5785be0848b09fcea36", "testCaseId": "0abeaba8f176b6785a0334bed7c1bdad", "fullName": "test_bpm.TestBPM#test_bpm", "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": "LAPTOP-R4HIB7H3"}, {"name": "thread", "value": "59428-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_bpm"}]}
\ No newline at end of file
DEBUG--2023-08-07 20:25:48--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:25:48--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
\ No newline at end of file
{"uuid": "429b79ad-6b29-46db-bdf3-c9dcec351381", "befores": [{"name": "expect_data", "status": "passed", "start": 1691411148501, "stop": 1691411148502}], "start": 1691411148501, "stop": 1691411148600}
\ No newline at end of file
{"uuid": "f91996bf-9afc-492f-af4d-c9856bee675a", "befores": [{"name": "method", "status": "passed", "start": 1691411148812, "stop": 1691411148812}], "start": 1691411148812, "stop": 1691411148914}
\ No newline at end of file
{"name": "反向用例-密码过短", "status": "passed", "attachments": [{"name": "log", "source": "0be7e7c3-6b6c-4f60-95ac-40a64f3473ab-attachment.txt", "type": "text/plain"}, {"name": "stdout", "source": "1bdaaeb8-dd36-4ad3-82a6-e2d5ff9e3f2d-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "module", "value": "'认证接口'"}, {"name": "interface", "value": "'登录系统'"}, {"name": "title", "value": "'反向用例-密码过短'"}, {"name": "level", "value": "'中'"}, {"name": "method", "value": "'post'"}, {"name": "url", "value": "'http://120.46.172.186:8080/auth'"}, {"name": "mime", "value": "'json'"}, {"name": "case_data", "value": "{'username': 'admin', 'password': 'M'}"}, {"name": "expect_data", "value": "{'state': False, 'message': '账号或密码错误'}"}, {"name": "sql_type", "value": "None"}, {"name": "sql_sentence", "value": "None"}, {"name": "update_key", "value": "None"}], "start": 1691411149263, "stop": 1691411149362, "uuid": "097050d1-1459-41c9-a2ff-dab73f41f646", "historyId": "8a7a2321e56c1fcb61f775c2f4a8fe45", "testCaseId": "0abeaba8f176b6785a0334bed7c1bdad", "fullName": "test_bpm.TestBPM#test_bpm", "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": "LAPTOP-R4HIB7H3"}, {"name": "thread", "value": "59428-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_bpm"}]}
\ No newline at end of file
{"uuid": "450d68a1-caf6-4325-a61a-eacabe632fa6", "befores": [{"name": "sql_type", "status": "passed", "start": 1691411150475, "stop": 1691411150475}], "start": 1691411150475, "stop": 1691411150661}
\ No newline at end of file
{"uuid": "ca28f248-7e4a-48d9-9c07-7d2c0f35cb8e", "befores": [{"name": "method", "status": "passed", "start": 1691411148702, "stop": 1691411148702}], "start": 1691411148702, "stop": 1691411148807}
\ No newline at end of file
{"uuid": "84e2aa0e-f34e-477b-88c6-b82fc67881ab", "befores": [{"name": "case_data", "status": "passed", "start": 1691411149688, "stop": 1691411149688}], "start": 1691411149688, "stop": 1691411149794}
\ No newline at end of file
{"uuid": "d2d49c7e-213d-4359-8423-0777114c93c9", "befores": [{"name": "mime", "status": "passed", "start": 1691411149128, "stop": 1691411149128}], "start": 1691411149128, "stop": 1691411149238}
\ No newline at end of file
{"uuid": "12997ff4-d8ff-4af6-8bee-abe6d763fecc", "befores": [{"name": "level", "status": "passed", "start": 1691411148920, "stop": 1691411148920}], "start": 1691411148920, "stop": 1691411149015}
\ No newline at end of file
{"uuid": "662a6606-6faf-43d2-8392-266829eebb40", "befores": [{"name": "sql_type", "status": "passed", "start": 1691411149128, "stop": 1691411149128}], "start": 1691411149128, "stop": 1691411149233}
\ No newline at end of file
{"uuid": "38d7e473-a075-402b-82a3-24a0379ec74d", "befores": [{"name": "module", "status": "passed", "start": 1691411148609, "stop": 1691411148609}], "start": 1691411148609, "stop": 1691411148697}
\ No newline at end of file
{"uuid": "041ad8a2-cdc6-413d-9b0a-0ce67ec82d4d", "befores": [{"name": "mime", "status": "passed", "start": 1691411148609, "stop": 1691411148609}], "start": 1691411148609, "stop": 1691411148667}
\ No newline at end of file
{"uuid": "b9d1b396-3166-4d3b-8077-7e704cf551b8", "befores": [{"name": "module", "status": "passed", "start": 1691411149127, "stop": 1691411149128}], "start": 1691411149127, "stop": 1691411149250}
\ No newline at end of file
{"uuid": "9a03d9c8-6ec9-424e-b23b-3d11337c67de", "befores": [{"name": "method", "status": "passed", "start": 1691411149260, "stop": 1691411149260}], "start": 1691411149260, "stop": 1691411149377}
\ No newline at end of file
{"uuid": "87462795-af71-4ece-8551-2fd0cd5acc9d", "befores": [{"name": "url", "status": "passed", "start": 1691411149399, "stop": 1691411149400}], "start": 1691411149399, "stop": 1691411149515}
\ No newline at end of file
DEBUG--2023-08-07 20:25:49--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:25:49--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
\ No newline at end of file
{"uuid": "71446872-f957-49ff-813b-588499fb5a18", "befores": [{"name": "interface", "status": "passed", "start": 1691411149260, "stop": 1691411149260}], "start": 1691411149260, "stop": 1691411149383}
\ No newline at end of file
{"uuid": "9ef006b7-60f8-4501-9078-5b6e6db17f5c", "befores": [{"name": "update_key", "status": "passed", "start": 1691411149800, "stop": 1691411149800}], "start": 1691411149800, "stop": 1691411150274}
\ No newline at end of file
DEBUG--2023-08-07 20:25:49--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:25:49--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
\ No newline at end of file
{"uuid": "81578553-8477-430e-aba9-7c6b08d1d7a4", "befores": [{"name": "level", "status": "passed", "start": 1691411149260, "stop": 1691411149260}], "start": 1691411149260, "stop": 1691411149379}
\ No newline at end of file
{"name": "反向用例-用户名错误", "status": "passed", "attachments": [{"name": "log", "source": "f1a62327-5603-43bf-9196-10d92a26dc1f-attachment.txt", "type": "text/plain"}, {"name": "stdout", "source": "ed68869e-6632-44a5-8f0d-b78e831e6fcf-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "module", "value": "'认证接口'"}, {"name": "interface", "value": "'登录系统'"}, {"name": "title", "value": "'反向用例-用户名错误'"}, {"name": "level", "value": "'中'"}, {"name": "method", "value": "'post'"}, {"name": "url", "value": "'http://120.46.172.186:8080/auth'"}, {"name": "mime", "value": "'json'"}, {"name": "case_data", "value": "{'username': 'gmmn', 'password': 'MTIzNDU2'}"}, {"name": "expect_data", "value": "{'state': False, 'message': '账号或密码错误'}"}, {"name": "sql_type", "value": "None"}, {"name": "sql_sentence", "value": "None"}, {"name": "update_key", "value": "None"}], "start": 1691411149021, "stop": 1691411149115, "uuid": "fa91eae5-bd28-43cc-abba-b6b97a4cc652", "historyId": "f5ef3c6f8f7ff6dc76c1e6b4c782ac60", "testCaseId": "0abeaba8f176b6785a0334bed7c1bdad", "fullName": "test_bpm.TestBPM#test_bpm", "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": "LAPTOP-R4HIB7H3"}, {"name": "thread", "value": "59428-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_bpm"}]}
\ No newline at end of file
{"uuid": "a8d37f68-9331-4969-814c-d5e6db936861", "befores": [{"name": "sql_type", "status": "passed", "start": 1691411150817, "stop": 1691411150817}], "start": 1691411150817, "stop": 1691411150913}
\ No newline at end of file
{"uuid": "0a8b0174-64b8-4fe4-96fd-bbc1a6070321", "befores": [{"name": "case_data", "status": "passed", "start": 1691411150817, "stop": 1691411150817}], "start": 1691411150817, "stop": 1691411150914}
\ No newline at end of file
{"uuid": "5a205852-1db3-4206-8729-75f2e8d20af4", "befores": [{"name": "title", "status": "passed", "start": 1691411150473, "stop": 1691411150473}], "start": 1691411150473, "stop": 1691411150664}
\ No newline at end of file
{"uuid": "87d1414f-d245-4aed-bea0-7a902dfa14d9", "befores": [{"name": "title", "status": "passed", "start": 1691411150817, "stop": 1691411150817}], "start": 1691411150817, "stop": 1691411150916}
\ No newline at end of file
{"uuid": "1955f78a-afd0-494e-aa64-fe64f539f0b5", "befores": [{"name": "sql_sentence", "status": "passed", "start": 1691411149400, "stop": 1691411149400}], "start": 1691411149400, "stop": 1691411149505}
\ No newline at end of file
{"uuid": "d8a807d2-f5b8-4fbd-b8a8-452bcd439e34", "befores": [{"name": "expect_data", "status": "passed", "start": 1691411149688, "stop": 1691411149688}], "start": 1691411149688, "stop": 1691411149793}
\ No newline at end of file
{"uuid": "0c05a128-c815-4bc3-a67f-7a1909246dcf", "befores": [{"name": "module", "status": "passed", "start": 1691411149020, "stop": 1691411149020}], "start": 1691411149020, "stop": 1691411149123}
\ No newline at end of file
DEBUG--2023-08-07 20:25:48--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:25:49--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
\ No newline at end of file
{"uuid": "a679998b-24d3-4196-87ea-2b7af661d6db", "befores": [{"name": "sql_type", "status": "passed", "start": 1691411149542, "stop": 1691411149542}], "start": 1691411149542, "stop": 1691411149665}
\ No newline at end of file
{"uuid": "2206119a-2752-4b36-802e-07b9c7132746", "befores": [{"name": "module", "status": "passed", "start": 1691411149259, "stop": 1691411149259}], "start": 1691411149259, "stop": 1691411149385}
\ No newline at end of file
{"name": "正向用例", "status": "passed", "attachments": [{"name": "log", "source": "a88813ca-0dde-4018-bade-0aca082de963-attachment.txt", "type": "text/plain"}, {"name": "stdout", "source": "24e6ffa4-2f2e-4ffe-8858-0ac99123537e-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "module", "value": "'维度管理'"}, {"name": "interface", "value": "'根据维度编码删除维度'"}, {"name": "title", "value": "'正向用例'"}, {"name": "level", "value": "'高'"}, {"name": "method", "value": "'delete'"}, {"name": "url", "value": "'http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds'"}, {"name": "mime", "value": "'query'"}, {"name": "case_data", "value": "{'ids': '不知道'}"}, {"name": "expect_data", "value": "{'state': True, 'message': '删除维度成功!'}"}, {"name": "sql_type", "value": "'select'"}, {"name": "sql_sentence", "value": "'SELECT ID_ FROM uc_demension WHERE `CODE_`=\"yyct\";'"}, {"name": "update_key", "value": "'ids'"}], "start": 1691411150818, "stop": 1691411150910, "uuid": "f6e5ffb1-3318-43be-8415-0e7e3d919b26", "historyId": "9be7bc28a3e04182e18d8d9656392ace", "testCaseId": "0abeaba8f176b6785a0334bed7c1bdad", "fullName": "test_bpm.TestBPM#test_bpm", "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": "LAPTOP-R4HIB7H3"}, {"name": "thread", "value": "59428-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_bpm"}]}
\ No newline at end of file
{"name": "正向用例", "status": "passed", "attachments": [{"name": "log", "source": "a84bbd63-a0ad-4460-bbb5-dd9124c423fb-attachment.txt", "type": "text/plain"}, {"name": "stdout", "source": "89952b49-2e8c-4726-8841-99ae89f23189-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "module", "value": "'组织管理'"}, {"name": "interface", "value": "'添加组织'"}, {"name": "title", "value": "'正向用例'"}, {"name": "level", "value": "'高'"}, {"name": "method", "value": "'post'"}, {"name": "url", "value": "'http://120.46.172.186:8080/api/org/v1/org/addOrg'"}, {"name": "mime", "value": "'json'"}, {"name": "case_data", "value": "{'code': 'ct', 'demId': '不知道', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '苍天', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}"}, {"name": "expect_data", "value": "{'state': True, 'message': '添加组织成功!'}"}, {"name": "sql_type", "value": "'delete|select'"}, {"name": "sql_sentence", "value": "{'select': 'SELECT ID_ FROM uc_demension WHERE `CODE_`=\"yyct\";', 'delete': 'DELETE FROM uc_org WHERE `CODE_`=\"ct\";'}"}, {"name": "update_key", "value": "'demId'"}], "start": 1691411150477, "stop": 1691411150657, "uuid": "9b5bf03a-62a1-4b3b-9756-181f80f2fa01", "historyId": "ba3eedd17fed29eb33bd742a7c778dab", "testCaseId": "0abeaba8f176b6785a0334bed7c1bdad", "fullName": "test_bpm.TestBPM#test_bpm", "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": "LAPTOP-R4HIB7H3"}, {"name": "thread", "value": "59428-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_bpm"}]}
\ No newline at end of file
DEBUG--2023-08-07 20:25:47--Looking for locale `en_US` in provider `faker.providers.address`.
DEBUG--2023-08-07 20:25:47--Provider `faker.providers.address` has been localized to `en_US`.
DEBUG--2023-08-07 20:25:47--Looking for locale `en_US` in provider `faker.providers.automotive`.
DEBUG--2023-08-07 20:25:47--Provider `faker.providers.automotive` has been localized to `en_US`.
DEBUG--2023-08-07 20:25:47--Looking for locale `en_US` in provider `faker.providers.bank`.
DEBUG--2023-08-07 20:25:47--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:25:47--Looking for locale `en_US` in provider `faker.providers.barcode`.
DEBUG--2023-08-07 20:25:47--Provider `faker.providers.barcode` has been localized to `en_US`.
DEBUG--2023-08-07 20:25:47--Looking for locale `en_US` in provider `faker.providers.color`.
DEBUG--2023-08-07 20:25:47--Provider `faker.providers.color` has been localized to `en_US`.
DEBUG--2023-08-07 20:25:47--Looking for locale `en_US` in provider `faker.providers.company`.
DEBUG--2023-08-07 20:25:47--Provider `faker.providers.company` has been localized to `en_US`.
DEBUG--2023-08-07 20:25:47--Looking for locale `en_US` in provider `faker.providers.credit_card`.
DEBUG--2023-08-07 20:25:47--Provider `faker.providers.credit_card` has been localized to `en_US`.
DEBUG--2023-08-07 20:25:47--Looking for locale `en_US` in provider `faker.providers.currency`.
DEBUG--2023-08-07 20:25:47--Provider `faker.providers.currency` has been localized to `en_US`.
DEBUG--2023-08-07 20:25:47--Looking for locale `en_US` in provider `faker.providers.date_time`.
DEBUG--2023-08-07 20:25:48--Provider `faker.providers.date_time` has been localized to `en_US`.
DEBUG--2023-08-07 20:25:48--Provider `faker.providers.emoji` does not feature localization. Specified locale `en_US` is not utilized for this provider.
DEBUG--2023-08-07 20:25:48--Provider `faker.providers.file` does not feature localization. Specified locale `en_US` is not utilized for this provider.
DEBUG--2023-08-07 20:25:48--Looking for locale `en_US` in provider `faker.providers.geo`.
DEBUG--2023-08-07 20:25:48--Provider `faker.providers.geo` has been localized to `en_US`.
DEBUG--2023-08-07 20:25:48--Looking for locale `en_US` in provider `faker.providers.internet`.
DEBUG--2023-08-07 20:25:48--Provider `faker.providers.internet` has been localized to `en_US`.
DEBUG--2023-08-07 20:25:48--Provider `faker.providers.isbn` does not feature localization. Specified locale `en_US` is not utilized for this provider.
DEBUG--2023-08-07 20:25:48--Looking for locale `en_US` in provider `faker.providers.job`.
DEBUG--2023-08-07 20:25:48--Provider `faker.providers.job` has been localized to `en_US`.
DEBUG--2023-08-07 20:25:48--Looking for locale `en_US` in provider `faker.providers.lorem`.
DEBUG--2023-08-07 20:25:48--Provider `faker.providers.lorem` has been localized to `en_US`.
DEBUG--2023-08-07 20:25:48--Looking for locale `en_US` in provider `faker.providers.misc`.
DEBUG--2023-08-07 20:25:48--Provider `faker.providers.misc` has been localized to `en_US`.
DEBUG--2023-08-07 20:25:48--Looking for locale `en_US` in provider `faker.providers.passport`.
DEBUG--2023-08-07 20:25:48--Provider `faker.providers.passport` has been localized to `en_US`.
DEBUG--2023-08-07 20:25:48--Looking for locale `en_US` in provider `faker.providers.person`.
DEBUG--2023-08-07 20:25:48--Provider `faker.providers.person` has been localized to `en_US`.
DEBUG--2023-08-07 20:25:48--Looking for locale `en_US` in provider `faker.providers.phone_number`.
DEBUG--2023-08-07 20:25:48--Provider `faker.providers.phone_number` has been localized to `en_US`.
DEBUG--2023-08-07 20:25:48--Provider `faker.providers.profile` does not feature localization. Specified locale `en_US` is not utilized for this provider.
DEBUG--2023-08-07 20:25:48--Provider `faker.providers.python` does not feature localization. Specified locale `en_US` is not utilized for this provider.
DEBUG--2023-08-07 20:25:48--Provider `faker.providers.sbn` does not feature localization. Specified locale `en_US` is not utilized for this provider.
DEBUG--2023-08-07 20:25:48--Looking for locale `en_US` in provider `faker.providers.ssn`.
DEBUG--2023-08-07 20:25:48--Provider `faker.providers.ssn` has been localized to `en_US`.
DEBUG--2023-08-07 20:25:48--Provider `faker.providers.user_agent` does not feature localization. Specified locale `en_US` is not utilized for this provider.
DEBUG--2023-08-07 20:25:48--Starting new HTTP connection (1): 120.46.172.186:8080
DEBUG--2023-08-07 20:25:48--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 200 None
DEBUG--2023-08-07 20:25:48--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 200 None
\ No newline at end of file
{"uuid": "0f7e5c74-81bf-47dd-96f5-699535c07d40", "befores": [{"name": "level", "status": "passed", "start": 1691411150669, "stop": 1691411150669}], "start": 1691411150669, "stop": 1691411150741}
\ No newline at end of file
{"uuid": "be1e8654-1579-4403-a536-43ad3c143cf1", "befores": [{"name": "url", "status": "passed", "start": 1691411148702, "stop": 1691411148702}], "start": 1691411148702, "stop": 1691411148806}
\ No newline at end of file
{"uuid": "58c42c98-78a7-43de-8c7b-5c7f1eb9426d", "befores": [{"name": "level", "status": "passed", "start": 1691411150745, "stop": 1691411150745}], "start": 1691411150745, "stop": 1691411150811}
\ No newline at end of file
{"uuid": "07c90cb4-8908-41e0-b71b-1db5c56bb1f4", "befores": [{"name": "case_data", "status": "passed", "start": 1691411149020, "stop": 1691411149020}], "start": 1691411149020, "stop": 1691411149120}
\ No newline at end of file
{"uuid": "a3838d58-aca1-44e5-9140-59437b66f83f", "befores": [{"name": "case_data", "status": "passed", "start": 1691411150669, "stop": 1691411150669}], "start": 1691411150669, "stop": 1691411150740}
\ No newline at end of file
{"uuid": "7bcae36b-3d6e-4e81-8b18-fcd960da4088", "befores": [{"name": "sql_type", "status": "passed", "start": 1691411149020, "stop": 1691411149020}], "start": 1691411149020, "stop": 1691411149118}
\ No newline at end of file
{"uuid": "eef4cb99-6a49-46fd-b247-8473b6fa4e8b", "befores": [{"name": "expect_data", "status": "passed", "start": 1691411149800, "stop": 1691411149800}], "start": 1691411149800, "stop": 1691411150276}
\ No newline at end of file
{"uuid": "5597c172-d5b0-42e7-8d36-5855158ef455", "befores": [{"name": "url", "status": "passed", "start": 1691411148501, "stop": 1691411148501}], "start": 1691411148501, "stop": 1691411148602}
\ No newline at end of file
{"uuid": "7e1aa400-807b-4fcf-a168-1b4b4cf992d6", "befores": [{"name": "sql_type", "status": "passed", "start": 1691411148703, "stop": 1691411148703}], "start": 1691411148703, "stop": 1691411148804}
\ No newline at end of file
{"uuid": "f89c297f-7f47-443d-9434-ba69a801fac2", "befores": [{"name": "interface", "status": "passed", "start": 1691411149539, "stop": 1691411149539}], "start": 1691411149539, "stop": 1691411149677}
\ No newline at end of file
{"uuid": "433c187f-39b8-4cb1-8b96-5c9c802280b2", "befores": [{"name": "update_key", "status": "passed", "start": 1691411148812, "stop": 1691411148812}], "start": 1691411148812, "stop": 1691411148908}
\ No newline at end of file
{"uuid": "7ed7a076-b20c-4528-9ed4-273b6d021f67", "befores": [{"name": "expect_data", "status": "passed", "start": 1691411150746, "stop": 1691411150746}], "start": 1691411150746, "stop": 1691411150807}
\ No newline at end of file
{"uuid": "9eed2170-a524-413b-9b69-9d4f96c471aa", "befores": [{"name": "update_key", "status": "passed", "start": 1691411150817, "stop": 1691411150817}], "start": 1691411150817, "stop": 1691411150911}
\ No newline at end of file
{"uuid": "2c66c241-e14a-4802-8821-a01618cce9fe", "befores": [{"name": "mime", "status": "passed", "start": 1691411148702, "stop": 1691411148702}], "start": 1691411148702, "stop": 1691411148806}
\ No newline at end of file
{"uuid": "7ed4adb9-97cf-46ae-8789-f90325768eb2", "befores": [{"name": "sql_sentence", "status": "passed", "start": 1691411150304, "stop": 1691411150304}], "start": 1691411150304, "stop": 1691411150450}
\ No newline at end of file
{"uuid": "52cb9320-d026-40ea-a2fb-e5b4d33f2044", "befores": [{"name": "url", "status": "passed", "start": 1691411149261, "stop": 1691411149261}], "start": 1691411149260, "stop": 1691411149375}
\ No newline at end of file
{"name": "正向用例", "status": "passed", "attachments": [{"name": "log", "source": "cc9de731-6287-4d7e-8c44-678f7f81121a-attachment.txt", "type": "text/plain"}, {"name": "stdout", "source": "a6ce5fef-6a41-4a5a-baa1-58cca73fd81a-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "module", "value": "'组织管理'"}, {"name": "interface", "value": "'保存组织参数'"}, {"name": "title", "value": "'正向用例'"}, {"name": "level", "value": "'高'"}, {"name": "method", "value": "'post'"}, {"name": "url", "value": "'http://120.46.172.186:8080/api/org/v1/orgParam/saveOrgParams'"}, {"name": "mime", "value": "'json|query'"}, {"name": "case_data", "value": "{'query': {'orgCode': 'ct'}, 'body': [{'alias': 'sz', 'value': 0}, {'alias': 'zy', 'value': 'math'}, {'alias': 'rq', 'value': '2023-08-04T16:00:00.000Z'}, {'alias': 'ah', 'value': 'zq'}, {'alias': 'yyyy', 'value': '越高越好'}, {'alias': 'xb', 'value': '2'}]}"}, {"name": "expect_data", "value": "{'state': True, 'message': '保存组织参数成功!'}"}, {"name": "sql_type", "value": "None"}, {"name": "sql_sentence", "value": "None"}, {"name": "update_key", "value": "None"}], "start": 1691411150670, "stop": 1691411150737, "uuid": "2b52915b-2268-4d1d-8730-64c9605d848a", "historyId": "9dfb3cf343c2c71bf175f240cd5f0a16", "testCaseId": "0abeaba8f176b6785a0334bed7c1bdad", "fullName": "test_bpm.TestBPM#test_bpm", "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": "LAPTOP-R4HIB7H3"}, {"name": "thread", "value": "59428-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_bpm"}]}
\ No newline at end of file
{"uuid": "b433b41d-48e3-4768-934e-7e2f93515c9c", "befores": [{"name": "case_data", "status": "passed", "start": 1691411149541, "stop": 1691411149541}], "start": 1691411149541, "stop": 1691411149670}
\ No newline at end of file
{"name": "反向用例-用户名为特殊字符", "status": "passed", "attachments": [{"name": "log", "source": "132bba93-c1c8-4855-abea-8725deb9f4ac-attachment.txt", "type": "text/plain"}, {"name": "stdout", "source": "a85f4824-136c-4f50-b8c8-76713444b640-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "module", "value": "'认证接口'"}, {"name": "interface", "value": "'登录系统'"}, {"name": "title", "value": "'反向用例-用户名为特殊字符'"}, {"name": "level", "value": "'中'"}, {"name": "method", "value": "'post'"}, {"name": "url", "value": "'http://120.46.172.186:8080/auth'"}, {"name": "mime", "value": "'json'"}, {"name": "case_data", "value": "{'username': '▬♦◊◦☼♠♣', 'password': 'MTIzNDU2'}"}, {"name": "expect_data", "value": "{'state': False, 'message': '账号或密码错误'}"}, {"name": "sql_type", "value": "None"}, {"name": "sql_sentence", "value": "None"}, {"name": "update_key", "value": "None"}], "start": 1691411148921, "stop": 1691411149011, "uuid": "25e96b43-d969-4f4a-9fda-90249d405284", "historyId": "46599986310d29658ff6ffd5bc8b10ad", "testCaseId": "0abeaba8f176b6785a0334bed7c1bdad", "fullName": "test_bpm.TestBPM#test_bpm", "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": "LAPTOP-R4HIB7H3"}, {"name": "thread", "value": "59428-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_bpm"}]}
\ No newline at end of file
{"uuid": "6383f6f2-865c-400a-9429-8461fd0675f5", "befores": [{"name": "title", "status": "passed", "start": 1691411149687, "stop": 1691411149687}], "start": 1691411149687, "stop": 1691411149796}
\ No newline at end of file
{"uuid": "5006edf1-5ec0-4714-8eac-3883ddc6d0cc", "befores": [{"name": "mime", "status": "passed", "start": 1691411150746, "stop": 1691411150746}], "start": 1691411150746, "stop": 1691411150809}
\ No newline at end of file
{"uuid": "4c115247-606a-48a3-9ea0-35b1c89290e4", "befores": [{"name": "sql_sentence", "status": "passed", "start": 1691411150746, "stop": 1691411150746}], "start": 1691411150746, "stop": 1691411150806}
\ No newline at end of file
{"uuid": "165c79f7-f16c-4d76-989e-5ee828056f9a", "befores": [{"name": "sql_sentence", "status": "passed", "start": 1691411150476, "stop": 1691411150476}], "start": 1691411150476, "stop": 1691411150659}
\ No newline at end of file
{"uuid": "02518c43-d46d-484e-b99e-b32b9762eeb9", "befores": [{"name": "url", "status": "passed", "start": 1691411148609, "stop": 1691411148609}], "start": 1691411148609, "stop": 1691411148692}
\ No newline at end of file
{"uuid": "8892b441-204f-4a4f-8c19-3a3cad5858ce", "befores": [{"name": "method", "status": "passed", "start": 1691411150745, "stop": 1691411150746}], "start": 1691411150745, "stop": 1691411150810}
\ No newline at end of file
{"uuid": "c0c4f003-f804-4d40-872e-324bf0b34cfe", "befores": [{"name": "title", "status": "passed", "start": 1691411149020, "stop": 1691411149020}], "start": 1691411149020, "stop": 1691411149122}
\ No newline at end of file
{"name": "正向用例", "status": "passed", "attachments": [{"name": "log", "source": "ff9b37dc-dd22-43c7-a344-c0d00a47d646-attachment.txt", "type": "text/plain"}, {"name": "stdout", "source": "08085f10-923b-419b-8259-53df5350a30a-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "module", "value": "'组织管理'"}, {"name": "interface", "value": "'删除组织'"}, {"name": "title", "value": "'正向用例'"}, {"name": "level", "value": "'高'"}, {"name": "method", "value": "'post'"}, {"name": "url", "value": "'http://120.46.172.186:8080/api/org/v1/org/deleteOrg'"}, {"name": "mime", "value": "'text/plain'"}, {"name": "case_data", "value": "'ct'"}, {"name": "expect_data", "value": "{'state': True, 'message': '删除组织成功!'}"}, {"name": "sql_type", "value": "None"}, {"name": "sql_sentence", "value": "None"}, {"name": "update_key", "value": "None"}], "start": 1691411150746, "stop": 1691411150804, "uuid": "879978db-e62d-449b-b624-83565308e484", "historyId": "0fcb133bed22d71e51c5d8de985bf503", "testCaseId": "0abeaba8f176b6785a0334bed7c1bdad", "fullName": "test_bpm.TestBPM#test_bpm", "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": "LAPTOP-R4HIB7H3"}, {"name": "thread", "value": "59428-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_bpm"}]}
\ No newline at end of file
{"uuid": "d57d3644-0932-4567-9cf6-a6862c530092", "befores": [{"name": "mime", "status": "passed", "start": 1691411149541, "stop": 1691411149541}], "start": 1691411149541, "stop": 1691411149671}
\ No newline at end of file
{"uuid": "23fb5cfa-17f1-467f-b0e1-da8ac7654849", "befores": [{"name": "mime", "status": "passed", "start": 1691411149800, "stop": 1691411149800}], "start": 1691411149800, "stop": 1691411150276}
\ No newline at end of file
{"uuid": "f6e69877-c9bb-4cf5-bd5d-ec105a93190e", "befores": [{"name": "case_data", "status": "passed", "start": 1691411148501, "stop": 1691411148501}], "start": 1691411148501, "stop": 1691411148601}
\ No newline at end of file
{"uuid": "d65a052a-e906-4f0c-a878-cda6034eda8a", "befores": [{"name": "mime", "status": "passed", "start": 1691411150817, "stop": 1691411150817}], "start": 1691411150817, "stop": 1691411150915}
\ No newline at end of file
{"uuid": "a62eb232-2d93-427a-8517-ae6d14880a3f", "befores": [{"name": "update_key", "status": "passed", "start": 1691411148610, "stop": 1691411148610}], "start": 1691411148610, "stop": 1691411148663}
\ No newline at end of file
{"uuid": "dfa2a0ea-6ff2-4c0a-9375-897ea28c5b02", "befores": [{"name": "level", "status": "passed", "start": 1691411148702, "stop": 1691411148702}], "start": 1691411148702, "stop": 1691411148807}
\ No newline at end of file
{"uuid": "da05ea95-d3e0-4aed-8353-a477f594b0e3", "befores": [{"name": "method", "status": "passed", "start": 1691411149020, "stop": 1691411149020}], "start": 1691411149020, "stop": 1691411149121}
\ No newline at end of file
{"uuid": "d2eba71d-430d-4da6-bf86-026f155c8c31", "befores": [{"name": "sql_sentence", "status": "passed", "start": 1691411148502, "stop": 1691411148502}], "start": 1691411148502, "stop": 1691411148598}
\ No newline at end of file
{"uuid": "bd17e8a3-58ce-4466-a4b3-3fd7cab0c915", "befores": [{"name": "expect_data", "status": "passed", "start": 1691411149261, "stop": 1691411149261}], "start": 1691411149261, "stop": 1691411149370}
\ No newline at end of file
{"uuid": "0b415e9d-c4c5-46cc-88b9-28e2539e0174", "befores": [{"name": "module", "status": "passed", "start": 1691411150472, "stop": 1691411150472}], "start": 1691411150472, "stop": 1691411150665}
\ No newline at end of file
{"uuid": "002f7ba0-3d7b-42b2-ba2a-65cc3c9af284", "befores": [{"name": "interface", "status": "passed", "start": 1691411148609, "stop": 1691411148609}], "start": 1691411148609, "stop": 1691411148696}
\ No newline at end of file
{"name": "反向用例-密码为特殊字符", "status": "passed", "attachments": [{"name": "log", "source": "9e7e81f0-a461-4c0a-8afe-5378349c971a-attachment.txt", "type": "text/plain"}, {"name": "stdout", "source": "f566a73c-c515-474d-b393-c7cfedda8104-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "module", "value": "'认证接口'"}, {"name": "interface", "value": "'登录系统'"}, {"name": "title", "value": "'反向用例-密码为特殊字符'"}, {"name": "level", "value": "'中'"}, {"name": "method", "value": "'post'"}, {"name": "url", "value": "'http://120.46.172.186:8080/auth'"}, {"name": "mime", "value": "'json'"}, {"name": "case_data", "value": "{'username': 'admin', 'password': '▬♦◊◦☼♠♣'}"}, {"name": "expect_data", "value": "{'state': False, 'message': '账号或密码错误'}"}, {"name": "sql_type", "value": "None"}, {"name": "sql_sentence", "value": "None"}, {"name": "update_key", "value": "None"}], "start": 1691411149544, "stop": 1691411149657, "uuid": "716de544-1e0f-4b98-84a2-c350e81e2241", "historyId": "1ba4c53edf5a7349833f4dcafa48dd0a", "testCaseId": "0abeaba8f176b6785a0334bed7c1bdad", "fullName": "test_bpm.TestBPM#test_bpm", "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": "LAPTOP-R4HIB7H3"}, {"name": "thread", "value": "59428-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_bpm"}]}
\ No newline at end of file
{"uuid": "10bcccbb-3e84-41e9-8494-7732cb8896f0", "befores": [{"name": "sql_type", "status": "passed", "start": 1691411150746, "stop": 1691411150746}], "start": 1691411150746, "stop": 1691411150807}
\ No newline at end of file
{"uuid": "c7b675c4-0f4b-4720-9b3c-e1a18282b896", "befores": [{"name": "mime", "status": "passed", "start": 1691411148812, "stop": 1691411148812}], "start": 1691411148812, "stop": 1691411148913}
\ No newline at end of file
{"uuid": "e1aec0ab-998e-4784-885d-b2e7dec920c4", "befores": [{"name": "interface", "status": "passed", "start": 1691411149399, "stop": 1691411149399}], "start": 1691411149399, "stop": 1691411149523}
\ No newline at end of file
{"uuid": "395f7f97-24bc-497c-aa50-717f3f287037", "befores": [{"name": "case_data", "status": "passed", "start": 1691411148703, "stop": 1691411148703}], "start": 1691411148702, "stop": 1691411148805}
\ No newline at end of file
{"uuid": "a1c0ea70-7cea-4034-af44-96776037cc35", "befores": [{"name": "mime", "status": "passed", "start": 1691411148501, "stop": 1691411148501}], "start": 1691411148501, "stop": 1691411148601}
\ No newline at end of file
{"uuid": "defad3a0-ee09-4c54-95c1-fe8636b7996a", "befores": [{"name": "update_key", "status": "passed", "start": 1691411149400, "stop": 1691411149400}], "start": 1691411149400, "stop": 1691411149503}
\ No newline at end of file
{"uuid": "989757ae-dd86-4884-866c-910328182548", "befores": [{"name": "interface", "status": "passed", "start": 1691411149799, "stop": 1691411149799}], "start": 1691411149799, "stop": 1691411150279}
\ No newline at end of file
{"uuid": "b19e7914-dc25-474c-a374-664d5d4f821b", "befores": [{"name": "url", "status": "passed", "start": 1691411149020, "stop": 1691411149020}], "start": 1691411149020, "stop": 1691411149121}
\ No newline at end of file
{"uuid": "dcb28b02-8bb7-45f2-b2f0-b8b07c7c44a9", "befores": [{"name": "title", "status": "passed", "start": 1691411150745, "stop": 1691411150745}], "start": 1691411150745, "stop": 1691411150812}
\ No newline at end of file
{"uuid": "09468270-b717-4a95-9c68-6459be9340b6", "befores": [{"name": "url", "status": "passed", "start": 1691411149800, "stop": 1691411149800}], "start": 1691411149800, "stop": 1691411150277}
\ No newline at end of file
{"uuid": "fd88175a-b57b-45b1-8571-7f7a32777302", "befores": [{"name": "mime", "status": "passed", "start": 1691411148920, "stop": 1691411148920}], "start": 1691411148920, "stop": 1691411149014}
\ No newline at end of file
DEBUG--2023-08-07 20:25:48--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
\ No newline at end of file
{"uuid": "130353ef-bd22-48e5-bfbf-8ecbcd73631d", "befores": [{"name": "sql_type", "status": "passed", "start": 1691411149261, "stop": 1691411149261}], "start": 1691411149261, "stop": 1691411149369}
\ No newline at end of file
{"uuid": "88039c68-d28a-4a83-9365-f004a1442517", "children": ["883a2591-866e-4beb-83a1-f458eea50714", "c11d67d5-71e6-443d-891e-60aa7386f58c", "d9b5a1c0-19de-404c-9b51-87f0565897a2", "ed57de5c-63d8-44d5-b369-bd39bcaedee5", "25e96b43-d969-4f4a-9fda-90249d405284", "fa91eae5-bd28-43cc-abba-b6b97a4cc652", "d6a9b9c3-a212-4fff-bb6b-b5300da1293e", "097050d1-1459-41c9-a2ff-dab73f41f646", "da4b992b-d9f5-4db6-8958-70452074c638", "716de544-1e0f-4b98-84a2-c350e81e2241", "1e124d4c-c005-47d5-af1f-76cc2b07f409", "a9ff8b51-69ba-4e1a-97ea-6e7c318b9975", "fd2d0975-10f6-42aa-b1a2-91d8ea3b4a38", "9b5bf03a-62a1-4b3b-9756-181f80f2fa01", "2b52915b-2268-4d1d-8730-64c9605d848a", "879978db-e62d-449b-b624-83565308e484", "f6e5ffb1-3318-43be-8415-0e7e3d919b26"], "befores": [{"name": "req_fix", "status": "passed", "start": 1691411148149, "stop": 1691411148278}], "afters": [{"name": "req_fix::0", "status": "passed", "start": 1691411150919, "stop": 1691411150919}], "start": 1691411148149, "stop": 1691411150919}
\ No newline at end of file
{"uuid": "ca1f5ef6-95ed-4835-b4bc-3bf578687813", "befores": [{"name": "method", "status": "passed", "start": 1691411149399, "stop": 1691411149399}], "start": 1691411149399, "stop": 1691411149517}
\ No newline at end of file
{"uuid": "c65083ab-c651-4ef0-9fd3-add93fd8f78b", "befores": [{"name": "expect_data", "status": "passed", "start": 1691411149400, "stop": 1691411149400}], "start": 1691411149400, "stop": 1691411149509}
\ No newline at end of file
{"uuid": "e42d301d-5a28-499a-a00b-e1cc0335144e", "befores": [{"name": "level", "status": "passed", "start": 1691411150817, "stop": 1691411150817}], "start": 1691411150817, "stop": 1691411150916}
\ No newline at end of file
{"uuid": "333b875d-6d8f-425b-8443-ee173d9caf6d", "befores": [{"name": "title", "status": "passed", "start": 1691411149260, "stop": 1691411149260}], "start": 1691411149260, "stop": 1691411149381}
\ No newline at end of file
{"uuid": "d4d73a95-d95e-4d17-8dde-cef2e2693d1c", "befores": [{"name": "case_data", "status": "passed", "start": 1691411150304, "stop": 1691411150304}], "start": 1691411150304, "stop": 1691411150453}
\ No newline at end of file
{"uuid": "80e42aa8-8439-4a4d-91a0-60145b21ea52", "befores": [{"name": "module", "status": "passed", "start": 1691411148812, "stop": 1691411148812}], "start": 1691411148812, "stop": 1691411148916}
\ No newline at end of file
{"uuid": "02aefa28-29e1-4791-b0bf-e80e69f09d45", "befores": [{"name": "expect_data", "status": "passed", "start": 1691411150475, "stop": 1691411150475}], "start": 1691411150475, "stop": 1691411150662}
\ No newline at end of file
{"uuid": "0411547d-bd88-46e5-b2bf-346652df2f92", "befores": [{"name": "update_key", "status": "passed", "start": 1691411149262, "stop": 1691411149262}], "start": 1691411149262, "stop": 1691411149365}
\ No newline at end of file
{"uuid": "17e12fd6-7802-4b2b-82dc-49424996bf3c", "befores": [{"name": "module", "status": "passed", "start": 1691411150817, "stop": 1691411150817}], "start": 1691411150817, "stop": 1691411150917}
\ No newline at end of file
{"uuid": "c23c0aff-2866-42a0-8e4b-c61d06e112b6", "befores": [{"name": "url", "status": "passed", "start": 1691411149540, "stop": 1691411149540}], "start": 1691411149540, "stop": 1691411149672}
\ No newline at end of file
{"uuid": "b906a103-049d-472e-8d21-e911af23b5eb", "befores": [{"name": "expect_data", "status": "passed", "start": 1691411149541, "stop": 1691411149541}], "start": 1691411149541, "stop": 1691411149668}
\ No newline at end of file
{"uuid": "39fd18f4-9bd5-40ad-80b5-f6608ca5de9a", "befores": [{"name": "expect_data", "status": "passed", "start": 1691411150817, "stop": 1691411150817}], "start": 1691411150817, "stop": 1691411150914}
\ No newline at end of file
{"uuid": "6d7437c7-88eb-4f21-a0a2-2090a683a8d1", "befores": [{"name": "module", "status": "passed", "start": 1691411150745, "stop": 1691411150745}], "start": 1691411150745, "stop": 1691411150813}
\ No newline at end of file
{"uuid": "8a3cf181-ffdf-465c-b2d7-8062c0b5a23d", "befores": [{"name": "sql_sentence", "status": "passed", "start": 1691411149262, "stop": 1691411149262}], "start": 1691411149261, "stop": 1691411149367}
\ No newline at end of file
{"uuid": "211f0db5-2ce7-4dca-8257-f98684b2119c", "befores": [{"name": "url", "status": "passed", "start": 1691411148812, "stop": 1691411148812}], "start": 1691411148812, "stop": 1691411148914}
\ No newline at end of file
{"uuid": "c5c1bc83-1ff1-4e00-9286-aa9af1a55e53", "befores": [{"name": "interface", "status": "passed", "start": 1691411148812, "stop": 1691411148812}], "start": 1691411148812, "stop": 1691411148915}
\ No newline at end of file
{"uuid": "5aa04373-b7a7-48df-b89a-65f4d0821f20", "befores": [{"name": "title", "status": "passed", "start": 1691411149539, "stop": 1691411149539}], "start": 1691411149539, "stop": 1691411149676}
\ No newline at end of file
{"uuid": "5d202757-9660-421c-ab17-c9702ca0cdb1", "befores": [{"name": "url", "status": "passed", "start": 1691411149128, "stop": 1691411149128}], "start": 1691411149128, "stop": 1691411149240}
\ No newline at end of file
{"uuid": "d48bf94f-c3df-46cc-9324-c15de3adcd66", "befores": [{"name": "interface", "status": "passed", "start": 1691411150668, "stop": 1691411150669}], "start": 1691411150668, "stop": 1691411150742}
\ No newline at end of file
{"uuid": "877058a0-6e82-41fe-991a-53f9c87f6bb9", "befores": [{"name": "title", "status": "passed", "start": 1691411149799, "stop": 1691411149799}], "start": 1691411149799, "stop": 1691411150278}
\ No newline at end of file
{"uuid": "4fe8b217-53d1-4261-8259-7139ea844ce3", "befores": [{"name": "title", "status": "passed", "start": 1691411150303, "stop": 1691411150303}], "start": 1691411150303, "stop": 1691411150460}
\ No newline at end of file
{"uuid": "44f5b271-4b6c-47ee-8f5b-7d2e0b33e6b9", "befores": [{"name": "sql_type", "status": "passed", "start": 1691411149800, "stop": 1691411149800}], "start": 1691411149800, "stop": 1691411150275}
\ No newline at end of file
{"uuid": "dfdf416b-27f1-4f70-8764-bd4f21773223", "befores": [{"name": "sql_type", "status": "passed", "start": 1691411150304, "stop": 1691411150304}], "start": 1691411150304, "stop": 1691411150451}
\ No newline at end of file
{"uuid": "9c756235-d6bc-4544-85f1-c0facc84a1ba", "befores": [{"name": "sql_sentence", "status": "passed", "start": 1691411148610, "stop": 1691411148610}], "start": 1691411148610, "stop": 1691411148663}
\ No newline at end of file
{"uuid": "2255d255-89f9-46f3-9a69-57d94f4fc65d", "befores": [{"name": "case_data", "status": "passed", "start": 1691411148812, "stop": 1691411148812}], "start": 1691411148812, "stop": 1691411148912}
\ No newline at end of file
{"uuid": "6dd6efb2-3ae9-4835-80d3-a3ccbd9f7c66", "befores": [{"name": "url", "status": "passed", "start": 1691411148920, "stop": 1691411148920}], "start": 1691411148920, "stop": 1691411149014}
\ No newline at end of file
{"uuid": "1bdb0f62-64af-4c50-8e88-8d169e3cdf28", "befores": [{"name": "interface", "status": "passed", "start": 1691411150303, "stop": 1691411150303}], "start": 1691411150303, "stop": 1691411150461}
\ No newline at end of file
{"uuid": "f430a522-0d5e-4e32-8042-7aa15afc1a8c", "befores": [{"name": "interface", "status": "passed", "start": 1691411148920, "stop": 1691411148920}], "start": 1691411148920, "stop": 1691411149016}
\ No newline at end of file
{"uuid": "97aef497-a634-4bf4-9fe5-087e5ea4b365", "befores": [{"name": "update_key", "status": "passed", "start": 1691411149542, "stop": 1691411149542}], "start": 1691411149542, "stop": 1691411149660}
\ No newline at end of file
{"uuid": "d34dc8ee-371e-420c-a3c1-8b3b1e39aa74", "befores": [{"name": "level", "status": "passed", "start": 1691411149799, "stop": 1691411149799}], "start": 1691411149799, "stop": 1691411150278}
\ No newline at end of file
{"uuid": "e453fb57-7dee-49c6-ad05-c98f3d741ff4", "befores": [{"name": "update_key", "status": "passed", "start": 1691411150669, "stop": 1691411150669}], "start": 1691411150669, "stop": 1691411150738}
\ No newline at end of file
{"uuid": "21e27abf-ecd5-4137-9e42-575c5e72769e", "befores": [{"name": "update_key", "status": "passed", "start": 1691411149020, "stop": 1691411149020}], "start": 1691411149020, "stop": 1691411149116}
\ No newline at end of file
{"uuid": "a192746f-1cf6-4375-acaa-e1d3db0a47b9", "befores": [{"name": "sql_sentence", "status": "passed", "start": 1691411149128, "stop": 1691411149128}], "start": 1691411149128, "stop": 1691411149231}
\ No newline at end of file
{"uuid": "74e519f7-cdb1-4886-b5ef-1448cbebd4bc", "befores": [{"name": "case_data", "status": "passed", "start": 1691411148609, "stop": 1691411148609}], "start": 1691411148609, "stop": 1691411148665}
\ No newline at end of file
{"uuid": "b9b7eba5-06cd-4f1f-afaa-dcabd2edcd9e", "befores": [{"name": "sql_sentence", "status": "passed", "start": 1691411149020, "stop": 1691411149020}], "start": 1691411149020, "stop": 1691411149117}
\ No newline at end of file
{"uuid": "258b2d36-1307-4a30-ad0b-a9f0f4c6f019", "befores": [{"name": "mime", "status": "passed", "start": 1691411149261, "stop": 1691411149261}], "start": 1691411149261, "stop": 1691411149373}
\ No newline at end of file
{"uuid": "3e641a10-7962-4220-8db9-196954bfbc3e", "befores": [{"name": "module", "status": "passed", "start": 1691411149399, "stop": 1691411149399}], "start": 1691411149399, "stop": 1691411149525}
\ No newline at end of file
{"uuid": "5252ced4-c342-421c-a32a-b73eb3395583", "befores": [{"name": "expect_data", "status": "passed", "start": 1691411148920, "stop": 1691411148920}], "start": 1691411148920, "stop": 1691411149013}
\ No newline at end of file
{"name": "正向用例", "status": "failed", "statusDetails": {"message": "AssertionError: 断言失败咯", "trace": "self = <APIAutoTest_004.test_case.test_bpm.TestBPM object at 0x000001FFE57F1850>\nreq_fix = <APIAutoTest_004.requests_method.requests_method.RequestsMethod object at 0x000001FFE58D0950>\ndb_fix = <APIAutoTest_004.common.db.DB object at 0x000001FFE58D3050>, module = '认证接口', interface = '刷新token', title = '正向用例', level = '中', method = 'get'\nurl = 'http://120.46.172.186:8080/refresh', mime = None, case_data = None, expect_data = {'message': '刷新token成功'}, sql_type = None, sql_sentence = None\nupdate_key = None\n\n @allure.epic(\"BPM\")\n @pytest.mark.parametrize(\"module, interface, title, level, method, url, mime, case_data, expect_data, sql_type,sql_sentence,update_key\", ReadExcel().get_data())\n def test_bpm(self, req_fix, db_fix, module, interface, title, level, method, url, mime, case_data, expect_data, sql_type,sql_sentence,update_key):\n allure.dynamic.feature(module)\n allure.dynamic.story(interface)\n allure.dynamic.title(title)\n allure.dynamic.severity(level)\n \n if sql_type == \"delete\":\n db_fix.delete(sql_sentence)\n \n elif sql_type == \"select\":\n sql_result = db_fix.select(sql_sentence)\n case_data[update_key] = sql_result\n \n elif sql_type == \"delete|select\" or sql_type == \"select|delete\":\n db_fix.delete(sql_sentence[\"delete\"])\n sql_sentence = db_fix.select(sql_sentence[\"select\"])\n case_data[update_key] = sql_sentence\n \n result = req_fix.request_all(method=method, url=url, mime=mime, case_data=case_data)\n try:\n for key in expect_data:\n> assert result.json().get(key) == expect_data[key]\nE AssertionError: assert None == '刷新token成功'\nE + where None = <built-in method get of dict object at 0x000001FFE5901780>('message')\nE + where <built-in method get of dict object at 0x000001FFE5901780> = {'account': '', 'loginStatus': True, 'token': 'eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE2OTE0OTc1NDksImlhdCI6MTY5MTQxMTE0OX0.9el3mL6F5fcXvSu7imfbEc4aVH7p7S39ic25zpTL11wfdYiBhtcHvO9nlhr3oIYXl78v2MqMJHLJ9Hri2Ofkpw', 'userAttrs': {}, ...}.get\nE + where {'account': '', 'loginStatus': True, 'token': 'eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE2OTE0OTc1NDksImlhdCI6MTY5MTQxMTE0OX0.9el3mL6F5fcXvSu7imfbEc4aVH7p7S39ic25zpTL11wfdYiBhtcHvO9nlhr3oIYXl78v2MqMJHLJ9Hri2Ofkpw', 'userAttrs': {}, ...} = <bound method Response.json of <Response [200]>>()\nE + where <bound method Response.json of <Response [200]>> = <Response [200]>.json\n\ntest_bpm.py:41: AssertionError\n\nDuring handling of the above exception, another exception occurred:\n\nself = <APIAutoTest_004.test_case.test_bpm.TestBPM object at 0x000001FFE57F1850>\nreq_fix = <APIAutoTest_004.requests_method.requests_method.RequestsMethod object at 0x000001FFE58D0950>\ndb_fix = <APIAutoTest_004.common.db.DB object at 0x000001FFE58D3050>, module = '认证接口', interface = '刷新token', title = '正向用例', level = '中', method = 'get'\nurl = 'http://120.46.172.186:8080/refresh', mime = None, case_data = None, expect_data = {'message': '刷新token成功'}, sql_type = None, sql_sentence = None\nupdate_key = None\n\n @allure.epic(\"BPM\")\n @pytest.mark.parametrize(\"module, interface, title, level, method, url, mime, case_data, expect_data, sql_type,sql_sentence,update_key\", ReadExcel().get_data())\n def test_bpm(self, req_fix, db_fix, module, interface, title, level, method, url, mime, case_data, expect_data, sql_type,sql_sentence,update_key):\n allure.dynamic.feature(module)\n allure.dynamic.story(interface)\n allure.dynamic.title(title)\n allure.dynamic.severity(level)\n \n if sql_type == \"delete\":\n db_fix.delete(sql_sentence)\n \n elif sql_type == \"select\":\n sql_result = db_fix.select(sql_sentence)\n case_data[update_key] = sql_result\n \n elif sql_type == \"delete|select\" or sql_type == \"select|delete\":\n db_fix.delete(sql_sentence[\"delete\"])\n sql_sentence = db_fix.select(sql_sentence[\"select\"])\n case_data[update_key] = sql_sentence\n \n result = req_fix.request_all(method=method, url=url, mime=mime, case_data=case_data)\n try:\n for key in expect_data:\n assert result.json().get(key) == expect_data[key]\n except:\n print(\"断言失败\")\n logging.error(\"断言失败,模块名称为:{},接口名称为:{},标题为:{},用例数据为:{}\".format(module, interface, title, case_data))\n> raise AssertionError(\"断言失败咯\")\nE AssertionError: 断言失败咯\n\ntest_bpm.py:45: AssertionError"}, "attachments": [{"name": "log", "source": "e4b35f92-7329-4382-b30c-ab1eacb28ee1-attachment.txt", "type": "text/plain"}, {"name": "stdout", "source": "e48bdf56-c3cd-4ca8-b5c0-ac6fd84b1f05-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "module", "value": "'认证接口'"}, {"name": "interface", "value": "'刷新token'"}, {"name": "title", "value": "'正向用例'"}, {"name": "level", "value": "'中'"}, {"name": "method", "value": "'get'"}, {"name": "url", "value": "'http://120.46.172.186:8080/refresh'"}, {"name": "mime", "value": "None"}, {"name": "case_data", "value": "None"}, {"name": "expect_data", "value": "{'message': '刷新token成功'}"}, {"name": "sql_type", "value": "None"}, {"name": "sql_sentence", "value": "None"}, {"name": "update_key", "value": "None"}], "start": 1691411149800, "stop": 1691411149897, "uuid": "a9ff8b51-69ba-4e1a-97ea-6e7c318b9975", "historyId": "f368301ce537f1bbd596e0d19f24f393", "testCaseId": "0abeaba8f176b6785a0334bed7c1bdad", "fullName": "test_bpm.TestBPM#test_bpm", "labels": [{"name": "feature", "value": "认证接口"}, {"name": "story", "value": "刷新token"}, {"name": "severity", "value": "中"}, {"name": "epic", "value": "BPM"}, {"name": "suite", "value": "test_bpm"}, {"name": "subSuite", "value": "TestBPM"}, {"name": "host", "value": "LAPTOP-R4HIB7H3"}, {"name": "thread", "value": "59428-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_bpm"}]}
\ No newline at end of file
{"uuid": "dc192bcb-be12-4c6a-99ed-953274650106", "befores": [{"name": "sql_type", "status": "passed", "start": 1691411148920, "stop": 1691411148920}], "start": 1691411148920, "stop": 1691411149013}
\ No newline at end of file
{"uuid": "848ee842-69bd-427c-8da9-b6ff136fa2ea", "befores": [{"name": "level", "status": "passed", "start": 1691411149128, "stop": 1691411149128}], "start": 1691411149128, "stop": 1691411149245}
\ No newline at end of file
{"uuid": "e7caf6af-15ef-476c-b73b-23cc9bf7e62b", "befores": [{"name": "case_data", "status": "passed", "start": 1691411149800, "stop": 1691411149800}], "start": 1691411149800, "stop": 1691411150276}
\ No newline at end of file
{"uuid": "8d2156c4-673d-4b81-bef2-4d324c10eded", "befores": [{"name": "case_data", "status": "passed", "start": 1691411150746, "stop": 1691411150746}], "start": 1691411150746, "stop": 1691411150808}
\ No newline at end of file
{"uuid": "abeb494a-4249-4610-ba7f-66bef05c39e2", "befores": [{"name": "level", "status": "passed", "start": 1691411148501, "stop": 1691411148501}], "start": 1691411148501, "stop": 1691411148603}
\ No newline at end of file
{"uuid": "8914d1f7-80e8-4eae-b747-dd725248cee0", "befores": [{"name": "title", "status": "passed", "start": 1691411148501, "stop": 1691411148501}], "start": 1691411148501, "stop": 1691411148603}
\ No newline at end of file
{"uuid": "ac68bda0-6200-432f-a7ad-cd842ba7408c", "befores": [{"name": "sql_type", "status": "passed", "start": 1691411148609, "stop": 1691411148609}], "start": 1691411148609, "stop": 1691411148664}
\ No newline at end of file
{"uuid": "db83ee42-02e4-4d05-b362-d1c984123876", "befores": [{"name": "title", "status": "passed", "start": 1691411148702, "stop": 1691411148702}], "start": 1691411148702, "stop": 1691411148807}
\ No newline at end of file
{"uuid": "f1fc36bf-0887-44f4-94c3-18516afa46ba", "befores": [{"name": "method", "status": "passed", "start": 1691411150669, "stop": 1691411150669}], "start": 1691411150669, "stop": 1691411150741}
\ No newline at end of file
{"uuid": "cfa13dcd-b4bd-41cf-b26f-99e797e89951", "befores": [{"name": "expect_data", "status": "passed", "start": 1691411149128, "stop": 1691411149128}], "start": 1691411149128, "stop": 1691411149235}
\ No newline at end of file
{"uuid": "42e4c75c-1f60-493a-8c9d-99a33e6f7e14", "befores": [{"name": "interface", "status": "passed", "start": 1691411150473, "stop": 1691411150473}], "start": 1691411150473, "stop": 1691411150665}
\ No newline at end of file
{"uuid": "252132f4-2fc6-4f0c-9dab-04131fe2c9eb", "befores": [{"name": "level", "status": "passed", "start": 1691411148609, "stop": 1691411148609}], "start": 1691411148609, "stop": 1691411148694}
\ No newline at end of file
{"uuid": "a699b905-cecb-400b-aeaf-1b6710a7b67e", "befores": [{"name": "title", "status": "passed", "start": 1691411149399, "stop": 1691411149399}], "start": 1691411149399, "stop": 1691411149521}
\ No newline at end of file
{"uuid": "88e79544-14d5-4fa3-864b-6802af940193", "befores": [{"name": "module", "status": "passed", "start": 1691411148920, "stop": 1691411148920}], "start": 1691411148920, "stop": 1691411149016}
\ No newline at end of file
{"uuid": "99059098-7889-4569-a7eb-45d45a7e45a0", "befores": [{"name": "interface", "status": "passed", "start": 1691411150745, "stop": 1691411150745}], "start": 1691411150745, "stop": 1691411150812}
\ No newline at end of file
{"uuid": "eb7faec8-c4c5-4cc2-bdf6-d96c7d7657e6", "children": ["883a2591-866e-4beb-83a1-f458eea50714", "c11d67d5-71e6-443d-891e-60aa7386f58c", "d9b5a1c0-19de-404c-9b51-87f0565897a2", "ed57de5c-63d8-44d5-b369-bd39bcaedee5", "25e96b43-d969-4f4a-9fda-90249d405284", "fa91eae5-bd28-43cc-abba-b6b97a4cc652", "d6a9b9c3-a212-4fff-bb6b-b5300da1293e", "097050d1-1459-41c9-a2ff-dab73f41f646", "da4b992b-d9f5-4db6-8958-70452074c638", "716de544-1e0f-4b98-84a2-c350e81e2241", "1e124d4c-c005-47d5-af1f-76cc2b07f409", "a9ff8b51-69ba-4e1a-97ea-6e7c318b9975", "fd2d0975-10f6-42aa-b1a2-91d8ea3b4a38", "9b5bf03a-62a1-4b3b-9756-181f80f2fa01", "2b52915b-2268-4d1d-8730-64c9605d848a", "879978db-e62d-449b-b624-83565308e484", "f6e5ffb1-3318-43be-8415-0e7e3d919b26"], "befores": [{"name": "db_fix", "status": "passed", "start": 1691411148278, "stop": 1691411148500}], "afters": [{"name": "db_fix::0", "status": "passed", "start": 1691411150918, "stop": 1691411150918}], "start": 1691411148278, "stop": 1691411150918}
\ No newline at end of file
{"uuid": "e8a03acb-46a6-41da-a82f-ce7eb18fdfab", "befores": [{"name": "sql_type", "status": "passed", "start": 1691411148812, "stop": 1691411148812}], "start": 1691411148812, "stop": 1691411148911}
\ No newline at end of file
{"uuid": "98e9d70c-0e89-45de-8a6b-c41f27eb7513", "befores": [{"name": "level", "status": "passed", "start": 1691411149399, "stop": 1691411149399}], "start": 1691411149399, "stop": 1691411149519}
\ No newline at end of file
{"uuid": "fc158a78-7eba-4d31-abab-df3603dd30a0", "befores": [{"name": "case_data", "status": "passed", "start": 1691411149400, "stop": 1691411149400}], "start": 1691411149400, "stop": 1691411149511}
\ No newline at end of file
DEBUG--2023-08-07 20:25:49--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:25:49--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
\ No newline at end of file
{"uuid": "4e930f95-b702-4e8a-a2a6-2c5a89c59948", "befores": [{"name": "url", "status": "passed", "start": 1691411150474, "stop": 1691411150474}], "start": 1691411150474, "stop": 1691411150663}
\ No newline at end of file
{"uuid": "35ac0330-8868-46fd-9d20-a28aacc9eda5", "befores": [{"name": "sql_type", "status": "passed", "start": 1691411149689, "stop": 1691411149689}], "start": 1691411149689, "stop": 1691411149793}
\ No newline at end of file
{"name": "反向用例-用户名过长", "status": "passed", "attachments": [{"name": "log", "source": "53b129d6-6e50-4650-b4d3-939c9ac4aa3e-attachment.txt", "type": "text/plain"}, {"name": "stdout", "source": "fbc4516d-9d41-4503-8566-1d66a2a79167-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "module", "value": "'认证接口'"}, {"name": "interface", "value": "'登录系统'"}, {"name": "title", "value": "'反向用例-用户名过长'"}, {"name": "level", "value": "'中'"}, {"name": "method", "value": "'post'"}, {"name": "url", "value": "'http://120.46.172.186:8080/auth'"}, {"name": "mime", "value": "'json'"}, {"name": "case_data", "value": "{'username': 'adminadminadminadminadminadmin', 'password': 'MTIzNDU2'}"}, {"name": "expect_data", "value": "{'state': False, 'message': '账号或密码错误'}"}, {"name": "sql_type", "value": "None"}, {"name": "sql_sentence", "value": "None"}, {"name": "update_key", "value": "None"}], "start": 1691411148610, "stop": 1691411148662, "uuid": "c11d67d5-71e6-443d-891e-60aa7386f58c", "historyId": "0707d7b27fc8f3e254462ce9c4c9498c", "testCaseId": "0abeaba8f176b6785a0334bed7c1bdad", "fullName": "test_bpm.TestBPM#test_bpm", "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": "LAPTOP-R4HIB7H3"}, {"name": "thread", "value": "59428-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_bpm"}]}
\ No newline at end of file
{"uuid": "4493c02e-e308-4234-8426-88ac205ebd84", "befores": [{"name": "case_data", "status": "passed", "start": 1691411148920, "stop": 1691411148920}], "start": 1691411148920, "stop": 1691411149013}
\ No newline at end of file
{"uuid": "8d29ed04-30c9-48b3-bf05-6fdaf7527ed1", "befores": [{"name": "sql_type", "status": "passed", "start": 1691411150669, "stop": 1691411150669}], "start": 1691411150669, "stop": 1691411150739}
\ No newline at end of file
{"uuid": "735b7911-fba7-4bbe-822f-e81a3f39340a", "befores": [{"name": "sql_sentence", "status": "passed", "start": 1691411149542, "stop": 1691411149542}], "start": 1691411149542, "stop": 1691411149663}
\ No newline at end of file
{"uuid": "7e2d052a-758f-4b1a-911a-272515da3e5a", "befores": [{"name": "module", "status": "passed", "start": 1691411150303, "stop": 1691411150303}], "start": 1691411150303, "stop": 1691411150463}
\ No newline at end of file
DEBUG--2023-08-07 20:25:49--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:25:49--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
\ No newline at end of file
DEBUG--2023-08-07 20:25:50--http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
\ No newline at end of file
DEBUG--2023-08-07 20:25:50--http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1688526864500408320 HTTP/1.1" 200 None
\ No newline at end of file
{"uuid": "b415adc9-0e4d-4d46-8d2e-4bce4c59d1bf", "befores": [{"name": "level", "status": "passed", "start": 1691411149020, "stop": 1691411149020}], "start": 1691411149020, "stop": 1691411149121}
\ No newline at end of file
{"uuid": "3287e5f6-d134-4039-a30c-ef04290c8a36", "befores": [{"name": "method", "status": "passed", "start": 1691411149799, "stop": 1691411149799}], "start": 1691411149799, "stop": 1691411150277}
\ No newline at end of file
{"uuid": "5f6d3ef9-d1b9-4798-a7ed-1448da83d4d7", "befores": [{"name": "mime", "status": "passed", "start": 1691411150669, "stop": 1691411150669}], "start": 1691411150669, "stop": 1691411150740}
\ No newline at end of file
{"name": "反向用例-用户名过短", "status": "passed", "attachments": [{"name": "log", "source": "e6b4e652-cb75-4519-b6ed-e67342b0507c-attachment.txt", "type": "text/plain"}, {"name": "stdout", "source": "5979f8e6-e87d-478e-aa36-1c9e7535ee5f-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "module", "value": "'认证接口'"}, {"name": "interface", "value": "'登录系统'"}, {"name": "title", "value": "'反向用例-用户名过短'"}, {"name": "level", "value": "'中'"}, {"name": "method", "value": "'post'"}, {"name": "url", "value": "'http://120.46.172.186:8080/auth'"}, {"name": "mime", "value": "'json'"}, {"name": "case_data", "value": "{'username': 'i', 'password': 'MTIzNDU2'}"}, {"name": "expect_data", "value": "{'state': False, 'message': '账号或密码错误'}"}, {"name": "sql_type", "value": "None"}, {"name": "sql_sentence", "value": "None"}, {"name": "update_key", "value": "None"}], "start": 1691411148703, "stop": 1691411148801, "uuid": "d9b5a1c0-19de-404c-9b51-87f0565897a2", "historyId": "3982b32cf4cd368b5bd94446ebb39291", "testCaseId": "0abeaba8f176b6785a0334bed7c1bdad", "fullName": "test_bpm.TestBPM#test_bpm", "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": "LAPTOP-R4HIB7H3"}, {"name": "thread", "value": "59428-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_bpm"}]}
\ No newline at end of file
{"uuid": "ee6bb1ab-d278-419d-a513-89b0dccc0721", "befores": [{"name": "module", "status": "passed", "start": 1691411149538, "stop": 1691411149538}], "start": 1691411149538, "stop": 1691411149678}
\ No newline at end of file
{"uuid": "56c5c9fb-581f-4d27-ae8f-ade58859f2ab", "befores": [{"name": "case_data", "status": "passed", "start": 1691411149128, "stop": 1691411149128}], "start": 1691411149128, "stop": 1691411149236}
\ No newline at end of file
{"uuid": "cf292a9c-e306-408e-b42a-c3d4ba8e8c6b", "befores": [{"name": "title", "status": "passed", "start": 1691411149128, "stop": 1691411149128}], "start": 1691411149128, "stop": 1691411149247}
\ No newline at end of file
{"uuid": "56d3e1d5-bb8c-4581-a748-03acdd163e00", "befores": [{"name": "expect_data", "status": "passed", "start": 1691411148609, "stop": 1691411148609}], "start": 1691411148609, "stop": 1691411148665}
\ No newline at end of file
{"uuid": "7cea6efc-1c44-45c7-95a6-1433bf5c85b3", "befores": [{"name": "method", "status": "passed", "start": 1691411148501, "stop": 1691411148501}], "start": 1691411148501, "stop": 1691411148602}
\ No newline at end of file
{"uuid": "0211d134-df77-444e-8478-123d56e896ea", "befores": [{"name": "level", "status": "passed", "start": 1691411150303, "stop": 1691411150303}], "start": 1691411150303, "stop": 1691411150459}
\ No newline at end of file
{"uuid": "82827dd4-d990-471c-985f-682c7f8b7354", "befores": [{"name": "sql_sentence", "status": "passed", "start": 1691411148703, "stop": 1691411148703}], "start": 1691411148703, "stop": 1691411148803}
\ No newline at end of file
{"uuid": "fcda1e4b-1af2-4931-a6fa-b65b220101fd", "befores": [{"name": "update_key", "status": "passed", "start": 1691411150746, "stop": 1691411150746}], "start": 1691411150746, "stop": 1691411150805}
\ No newline at end of file
{"uuid": "c65a0433-58ea-47b4-afb5-80ea3d35000a", "children": ["883a2591-866e-4beb-83a1-f458eea50714", "c11d67d5-71e6-443d-891e-60aa7386f58c", "d9b5a1c0-19de-404c-9b51-87f0565897a2", "ed57de5c-63d8-44d5-b369-bd39bcaedee5", "25e96b43-d969-4f4a-9fda-90249d405284", "fa91eae5-bd28-43cc-abba-b6b97a4cc652", "d6a9b9c3-a212-4fff-bb6b-b5300da1293e", "097050d1-1459-41c9-a2ff-dab73f41f646", "da4b992b-d9f5-4db6-8958-70452074c638", "716de544-1e0f-4b98-84a2-c350e81e2241", "1e124d4c-c005-47d5-af1f-76cc2b07f409", "a9ff8b51-69ba-4e1a-97ea-6e7c318b9975", "fd2d0975-10f6-42aa-b1a2-91d8ea3b4a38", "9b5bf03a-62a1-4b3b-9756-181f80f2fa01", "2b52915b-2268-4d1d-8730-64c9605d848a", "879978db-e62d-449b-b624-83565308e484", "f6e5ffb1-3318-43be-8415-0e7e3d919b26"], "befores": [{"name": "_session_faker", "status": "passed", "start": 1691411147814, "stop": 1691411148149}], "start": 1691411147814, "stop": 1691411150919}
\ No newline at end of file
{"uuid": "9d375047-329f-4250-aeba-f268b9e43738", "befores": [{"name": "update_key", "status": "passed", "start": 1691411149689, "stop": 1691411149689}], "start": 1691411149689, "stop": 1691411149792}
\ No newline at end of file
{"uuid": "95bc2118-7897-4a3b-a0ad-7802861f4077", "befores": [{"name": "level", "status": "passed", "start": 1691411149539, "stop": 1691411149540}], "start": 1691411149539, "stop": 1691411149675}
\ No newline at end of file
{"uuid": "a6ddddb8-1892-42a2-9279-32a596425eb8", "befores": [{"name": "interface", "status": "passed", "start": 1691411149128, "stop": 1691411149128}], "start": 1691411149128, "stop": 1691411149248}
\ No newline at end of file
DEBUG--2023-08-07 20:25:50--http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
\ No newline at end of file
{"uuid": "e03ccac2-248c-46e8-a238-d0551530cf9b", "befores": [{"name": "sql_sentence", "status": "passed", "start": 1691411150669, "stop": 1691411150669}], "start": 1691411150669, "stop": 1691411150738}
\ No newline at end of file
{"name": "正向用例", "status": "passed", "attachments": [{"name": "log", "source": "bd7217d5-c9ed-4207-8a76-162c2c43916c-attachment.txt", "type": "text/plain"}, {"name": "stdout", "source": "39c75012-0df0-4086-8317-67c11386068e-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "module", "value": "'维度管理'"}, {"name": "interface", "value": "'添加维度'"}, {"name": "title", "value": "'正向用例'"}, {"name": "level", "value": "'高'"}, {"name": "method", "value": "'post'"}, {"name": "url", "value": "'http://120.46.172.186:8080/api/demension/v1/dem/addDem'"}, {"name": "mime", "value": "'json'"}, {"name": "case_data", "value": "{'code': 'yyct', 'description': '悠悠苍天何薄与我', 'isDefault': 0, 'name': '悠悠苍天'}"}, {"name": "expect_data", "value": "{'state': True, 'message': '添加维度成功!'}"}, {"name": "sql_type", "value": "'delete'"}, {"name": "sql_sentence", "value": "'DELETE FROM uc_demension WHERE `CODE_`=\"yyct\";'"}, {"name": "update_key", "value": "None"}], "start": 1691411150304, "stop": 1691411150446, "uuid": "fd2d0975-10f6-42aa-b1a2-91d8ea3b4a38", "historyId": "b657492097ed8c431e4fbeadbd19d290", "testCaseId": "0abeaba8f176b6785a0334bed7c1bdad", "fullName": "test_bpm.TestBPM#test_bpm", "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": "LAPTOP-R4HIB7H3"}, {"name": "thread", "value": "59428-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_bpm"}]}
\ No newline at end of file
{"uuid": "924ae382-6341-4bc0-80cc-76f4a3674a53", "befores": [{"name": "module", "status": "passed", "start": 1691411148500, "stop": 1691411148501}], "start": 1691411148500, "stop": 1691411148604}
\ No newline at end of file
{"uuid": "7fd04364-59c2-4116-96f2-c85039471230", "befores": [{"name": "case_data", "status": "passed", "start": 1691411150475, "stop": 1691411150475}], "start": 1691411150475, "stop": 1691411150662}
\ No newline at end of file
{"uuid": "64d9cbd8-70b6-4da2-8358-e1b63753df11", "befores": [{"name": "interface", "status": "passed", "start": 1691411149020, "stop": 1691411149020}], "start": 1691411149020, "stop": 1691411149123}
\ No newline at end of file
{"uuid": "8d31eefc-3d48-4aba-b3d0-65e1957193ab", "befores": [{"name": "expect_data", "status": "passed", "start": 1691411150669, "stop": 1691411150669}], "start": 1691411150669, "stop": 1691411150739}
\ No newline at end of file
{"uuid": "97e67bb5-79a5-4dc0-a54b-88efc2508583", "befores": [{"name": "update_key", "status": "passed", "start": 1691411148502, "stop": 1691411148502}], "start": 1691411148502, "stop": 1691411148598}
\ No newline at end of file
{"uuid": "34effbf1-d93b-4672-87da-53d58dfb56c8", "befores": [{"name": "update_key", "status": "passed", "start": 1691411150476, "stop": 1691411150476}], "start": 1691411150476, "stop": 1691411150658}
\ No newline at end of file
{"name": "反向用例-密码错误", "status": "passed", "attachments": [{"name": "log", "source": "a783ed56-075c-40d4-b57b-ae426206fc1b-attachment.txt", "type": "text/plain"}, {"name": "stdout", "source": "0bb25655-6b37-4934-b13d-8c6c1f4b8a56-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "module", "value": "'认证接口'"}, {"name": "interface", "value": "'登录系统'"}, {"name": "title", "value": "'反向用例-密码错误'"}, {"name": "level", "value": "'中'"}, {"name": "method", "value": "'post'"}, {"name": "url", "value": "'http://120.46.172.186:8080/auth'"}, {"name": "mime", "value": "'json'"}, {"name": "case_data", "value": "{'username': 'admin', 'password': 'M534fg'}"}, {"name": "expect_data", "value": "{'state': False, 'message': '账号或密码错误'}"}, {"name": "sql_type", "value": "None"}, {"name": "sql_sentence", "value": "None"}, {"name": "update_key", "value": "None"}], "start": 1691411149690, "stop": 1691411149791, "uuid": "1e124d4c-c005-47d5-af1f-76cc2b07f409", "historyId": "c58ad48ac6f9aae2687a7e3483fe7b07", "testCaseId": "0abeaba8f176b6785a0334bed7c1bdad", "fullName": "test_bpm.TestBPM#test_bpm", "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": "LAPTOP-R4HIB7H3"}, {"name": "thread", "value": "59428-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_bpm"}]}
\ No newline at end of file
{"uuid": "ddf98574-cbc7-42b7-b08e-3cd30b5e2d08", "befores": [{"name": "method", "status": "passed", "start": 1691411149540, "stop": 1691411149540}], "start": 1691411149540, "stop": 1691411149674}
\ No newline at end of file
{"uuid": "9144f3a7-e866-4c6d-99bb-f2b6f4efd4d1", "befores": [{"name": "method", "status": "passed", "start": 1691411149688, "stop": 1691411149688}], "start": 1691411149688, "stop": 1691411149795}
\ No newline at end of file
{"uuid": "29b46f2a-9988-4d44-8743-e61fda5bdd77", "befores": [{"name": "update_key", "status": "passed", "start": 1691411149128, "stop": 1691411149128}], "start": 1691411149128, "stop": 1691411149230}
\ No newline at end of file
{"uuid": "780b012d-61ec-40bf-b3e7-fdfcbe19c5e9", "befores": [{"name": "sql_type", "status": "passed", "start": 1691411149400, "stop": 1691411149400}], "start": 1691411149400, "stop": 1691411149507}
\ No newline at end of file
{"uuid": "c4671c96-ad60-4275-a77b-86ca7edf2778", "befores": [{"name": "url", "status": "passed", "start": 1691411150746, "stop": 1691411150746}], "start": 1691411150746, "stop": 1691411150809}
\ No newline at end of file
DEBUG--2023-08-07 20:25:50--http://120.46.172.186:8080 "POST /api/org/v1/orgParam/saveOrgParams?orgCode=ct HTTP/1.1" 200 None
\ No newline at end of file
{"uuid": "e50d5564-2cd6-4884-b04c-36434b766894", "befores": [{"name": "title", "status": "passed", "start": 1691411148609, "stop": 1691411148609}], "start": 1691411148609, "stop": 1691411148695}
\ No newline at end of file
{"uuid": "71d7df80-aaa8-45b1-a9cb-1403093a416f", "befores": [{"name": "method", "status": "passed", "start": 1691411148920, "stop": 1691411148920}], "start": 1691411148920, "stop": 1691411149015}
\ No newline at end of file
{"uuid": "8c5c14a7-82b6-4a0d-b811-12dd8f45376f", "befores": [{"name": "url", "status": "passed", "start": 1691411150303, "stop": 1691411150303}], "start": 1691411150303, "stop": 1691411150456}
\ No newline at end of file
{"uuid": "04fb253d-1d22-4ab7-8ec1-fbd418410120", "befores": [{"name": "expect_data", "status": "passed", "start": 1691411148703, "stop": 1691411148703}], "start": 1691411148703, "stop": 1691411148804}
\ No newline at end of file
{"uuid": "b5d4fceb-fc8b-473d-ab1c-19b771d553d2", "befores": [{"name": "interface", "status": "passed", "start": 1691411148501, "stop": 1691411148501}], "start": 1691411148501, "stop": 1691411148604}
\ No newline at end of file
{"uuid": "441c384f-7c9d-433a-9751-ab375e1585df", "befores": [{"name": "level", "status": "passed", "start": 1691411149687, "stop": 1691411149687}], "start": 1691411149687, "stop": 1691411149795}
\ No newline at end of file
{"uuid": "e632d7bb-0354-43f7-b095-22161c95d392", "befores": [{"name": "method", "status": "passed", "start": 1691411150303, "stop": 1691411150303}], "start": 1691411150303, "stop": 1691411150457}
\ No newline at end of file
{"uuid": "86d1e9aa-7357-46f5-a95c-c57f09be0f31", "befores": [{"name": "sql_sentence", "status": "passed", "start": 1691411149800, "stop": 1691411149800}], "start": 1691411149800, "stop": 1691411150274}
\ No newline at end of file
{"uuid": "3399d0be-f08f-413f-80d1-1493681608ce", "befores": [{"name": "expect_data", "status": "passed", "start": 1691411148812, "stop": 1691411148812}], "start": 1691411148812, "stop": 1691411148912}
\ No newline at end of file
{"uuid": "c637600b-ee8c-4575-b238-cde9e98a3629", "befores": [{"name": "title", "status": "passed", "start": 1691411148920, "stop": 1691411148920}], "start": 1691411148920, "stop": 1691411149016}
\ No newline at end of file
{"uuid": "cc95bc3a-61a9-4279-828e-e8e29bf62238", "befores": [{"name": "interface", "status": "passed", "start": 1691411148702, "stop": 1691411148702}], "start": 1691411148702, "stop": 1691411148808}
\ No newline at end of file
{"uuid": "521a80a5-0562-419e-8aa4-bfd4734c0024", "befores": [{"name": "module", "status": "passed", "start": 1691411150668, "stop": 1691411150668}], "start": 1691411150668, "stop": 1691411150742}
\ No newline at end of file
{"uuid": "138537a2-ea3e-4f9a-b18a-9582f62fc945", "befores": [{"name": "mime", "status": "passed", "start": 1691411149020, "stop": 1691411149020}], "start": 1691411149020, "stop": 1691411149120}
\ No newline at end of file
{"uuid": "f27ebde5-31bf-4afc-a262-2f0f90db493b", "befores": [{"name": "expect_data", "status": "passed", "start": 1691411150304, "stop": 1691411150304}], "start": 1691411150304, "stop": 1691411150452}
\ No newline at end of file
{"uuid": "a29af3ed-3240-4092-b9fb-2196c6adbbb8", "befores": [{"name": "level", "status": "passed", "start": 1691411150473, "stop": 1691411150474}], "start": 1691411150473, "stop": 1691411150664}
\ No newline at end of file
{"uuid": "39f1685b-28d8-4dca-ba42-0855e4d1042d", "befores": [{"name": "url", "status": "passed", "start": 1691411150669, "stop": 1691411150669}], "start": 1691411150669, "stop": 1691411150740}
\ No newline at end of file
{"name": "反向用例-密码为空", "status": "passed", "attachments": [{"name": "log", "source": "00f4637c-9724-41fb-90ff-e97e078418c9-attachment.txt", "type": "text/plain"}, {"name": "stdout", "source": "8f93eebd-8ab5-407c-a1c4-c3fa7992be10-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "module", "value": "'认证接口'"}, {"name": "interface", "value": "'登录系统'"}, {"name": "title", "value": "'反向用例-密码为空'"}, {"name": "level", "value": "'中'"}, {"name": "method", "value": "'post'"}, {"name": "url", "value": "'http://120.46.172.186:8080/auth'"}, {"name": "mime", "value": "'json'"}, {"name": "case_data", "value": "{'username': 'admin', 'password': ''}"}, {"name": "expect_data", "value": "{'state': False, 'message': '账号或密码错误'}"}, {"name": "sql_type", "value": "None"}, {"name": "sql_sentence", "value": "None"}, {"name": "update_key", "value": "None"}], "start": 1691411149401, "stop": 1691411149501, "uuid": "da4b992b-d9f5-4db6-8958-70452074c638", "historyId": "3a4c2080ea427de0d86b93a96b54fbca", "testCaseId": "0abeaba8f176b6785a0334bed7c1bdad", "fullName": "test_bpm.TestBPM#test_bpm", "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": "LAPTOP-R4HIB7H3"}, {"name": "thread", "value": "59428-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_bpm"}]}
\ No newline at end of file
{"name": "正向用例", "status": "passed", "attachments": [{"name": "log", "source": "184b94e3-bb13-487a-aaa8-37ee5eaeaa88-attachment.txt", "type": "text/plain"}, {"name": "stdout", "source": "94de561f-ce6f-4144-b0a4-a9be15daf48d-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "module", "value": "'认证接口'"}, {"name": "interface", "value": "'登录系统'"}, {"name": "title", "value": "'正向用例'"}, {"name": "level", "value": "'高'"}, {"name": "method", "value": "'post'"}, {"name": "url", "value": "'http://120.46.172.186:8080/auth'"}, {"name": "mime", "value": "'json'"}, {"name": "case_data", "value": "{'username': 'admin', 'password': 'MTIzNDU2'}"}, {"name": "expect_data", "value": "{'username': '超级管理员', 'account': 'admin'}"}, {"name": "sql_type", "value": "None"}, {"name": "sql_sentence", "value": "None"}, {"name": "update_key", "value": "None"}], "start": 1691411148525, "stop": 1691411148597, "uuid": "883a2591-866e-4beb-83a1-f458eea50714", "historyId": "f28e27b9b507c91db8c1afe18569e29a", "testCaseId": "0abeaba8f176b6785a0334bed7c1bdad", "fullName": "test_bpm.TestBPM#test_bpm", "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": "LAPTOP-R4HIB7H3"}, {"name": "thread", "value": "59428-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_bpm"}]}
\ No newline at end of file
{"uuid": "416eb326-393b-43b5-a0f1-e90163a87806", "befores": [{"name": "update_key", "status": "passed", "start": 1691411148920, "stop": 1691411148921}], "start": 1691411148920, "stop": 1691411149012}
\ No newline at end of file
{"uuid": "41d503e9-d88f-4395-89c5-45e501f0ccdb", "befores": [{"name": "sql_sentence", "status": "passed", "start": 1691411148812, "stop": 1691411148812}], "start": 1691411148812, "stop": 1691411148910}
\ No newline at end of file
{"uuid": "c64c0e54-bbe3-42b9-934c-fd9aaa07bf7f", "befores": [{"name": "module", "status": "passed", "start": 1691411148702, "stop": 1691411148702}], "start": 1691411148702, "stop": 1691411148808}
\ No newline at end of file
{"uuid": "a4b90f1b-9129-4681-a6f3-77db65e49dc8", "befores": [{"name": "method", "status": "passed", "start": 1691411150817, "stop": 1691411150817}], "start": 1691411150817, "stop": 1691411150915}
\ No newline at end of file
DEBUG--2023-08-07 20:25:49--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:25:49--http://120.46.172.186:8080 "GET /refresh HTTP/1.1" 200 None
ERROR--2023-08-07 20:25:49--断言失败,模块名称为:认证接口,接口名称为:刷新token,标题为:正向用例,用例数据为:None
\ No newline at end of file
{"uuid": "8f1ac79d-3096-414f-9a9c-5c5de1c12926", "befores": [{"name": "mime", "status": "passed", "start": 1691411149688, "stop": 1691411149688}], "start": 1691411149688, "stop": 1691411149794}
\ No newline at end of file
{"uuid": "d5a6086d-017e-437b-80fc-6dd69beeed37", "befores": [{"name": "method", "status": "passed", "start": 1691411149128, "stop": 1691411149128}], "start": 1691411149128, "stop": 1691411149243}
\ No newline at end of file
DEBUG--2023-08-07 20:25:48--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:25:48--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
\ No newline at end of file
{"uuid": "2d940941-284d-4bc7-819b-6357b41d8d8b", "befores": [{"name": "method", "status": "passed", "start": 1691411150474, "stop": 1691411150474}], "start": 1691411150474, "stop": 1691411150663}
\ No newline at end of file
{"uuid": "57e0be96-3054-4873-a2c3-06dd45bb834a", "befores": [{"name": "mime", "status": "passed", "start": 1691411150475, "stop": 1691411150475}], "start": 1691411150475, "stop": 1691411150663}
\ No newline at end of file
{"uuid": "db76741b-57f1-4132-b700-80568233e4c0", "befores": [{"name": "sql_sentence", "status": "passed", "start": 1691411149689, "stop": 1691411149689}], "start": 1691411149689, "stop": 1691411149792}
\ No newline at end of file
{"uuid": "24f69f58-c194-4eca-a9a3-222970615f0c", "befores": [{"name": "mime", "status": "passed", "start": 1691411149400, "stop": 1691411149400}], "start": 1691411149400, "stop": 1691411149513}
\ No newline at end of file
{"uuid": "b8917f85-5016-472f-8dc0-445b4e10ec2e", "befores": [{"name": "case_data", "status": "passed", "start": 1691411149261, "stop": 1691411149261}], "start": 1691411149261, "stop": 1691411149372}
\ No newline at end of file
{"uuid": "f1632dee-f176-47b7-a123-8f079a860765", "befores": [{"name": "sql_sentence", "status": "passed", "start": 1691411150817, "stop": 1691411150817}], "start": 1691411150817, "stop": 1691411150912}
\ No newline at end of file
{"uuid": "62754c23-1cf1-41b2-8b1d-7d33806dbea3", "befores": [{"name": "update_key", "status": "passed", "start": 1691411150304, "stop": 1691411150304}], "start": 1691411150304, "stop": 1691411150448}
\ No newline at end of file
{"uuid": "1206da29-4734-41da-a60d-13240210faf0", "befores": [{"name": "level", "status": "passed", "start": 1691411148812, "stop": 1691411148812}], "start": 1691411148812, "stop": 1691411148914}
\ No newline at end of file
{"uuid": "7ae8b568-efeb-4498-a196-fa376dcc8ecf", "befores": [{"name": "sql_type", "status": "passed", "start": 1691411148502, "stop": 1691411148502}], "start": 1691411148502, "stop": 1691411148599}
\ No newline at end of file
{"uuid": "7629b315-5a17-492c-91ae-297457b8e078", "befores": [{"name": "mime", "status": "passed", "start": 1691411150303, "stop": 1691411150303}], "start": 1691411150303, "stop": 1691411150454}
\ No newline at end of file
{"uuid": "02783686-53c8-4b58-b3bb-29e35ae871c3", "befores": [{"name": "title", "status": "passed", "start": 1691411148812, "stop": 1691411148812}], "start": 1691411148812, "stop": 1691411148915}
\ No newline at end of file
{"uuid": "b6ef6c58-503c-46ff-965a-8a1de74010ba", "befores": [{"name": "interface", "status": "passed", "start": 1691411149687, "stop": 1691411149687}], "start": 1691411149687, "stop": 1691411149796}
\ No newline at end of file
DEBUG--2023-08-07 20:25:49--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:25:49--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
\ No newline at end of file
{"uuid": "41a5a65b-c989-4b3c-9061-01df71f8ba60", "befores": [{"name": "title", "status": "passed", "start": 1691411150669, "stop": 1691411150669}], "start": 1691411150669, "stop": 1691411150741}
\ No newline at end of file
{"uuid": "16cdb25f-512a-4248-be91-8f1b54046b1e", "befores": [{"name": "url", "status": "passed", "start": 1691411150817, "stop": 1691411150817}], "start": 1691411150817, "stop": 1691411150915}
\ No newline at end of file
{"uuid": "e073222f-db59-4c1a-8254-a2ed2c2af391", "befores": [{"name": "interface", "status": "passed", "start": 1691411150817, "stop": 1691411150817}], "start": 1691411150817, "stop": 1691411150917}
\ No newline at end of file
{"uuid": "69b56fd1-4310-40df-99b6-bb6cc658b3ef", "befores": [{"name": "expect_data", "status": "passed", "start": 1691411149020, "stop": 1691411149020}], "start": 1691411149020, "stop": 1691411149119}
\ No newline at end of file
{"uuid": "df86a5b7-fabd-498f-9800-cb8faae8f4b2", "befores": [{"name": "module", "status": "passed", "start": 1691411149799, "stop": 1691411149799}], "start": 1691411149799, "stop": 1691411150279}
\ No newline at end of file
{"uuid": "7ce808c0-ee02-49ef-ac88-c47fbfbde237", "befores": [{"name": "sql_sentence", "status": "passed", "start": 1691411148920, "stop": 1691411148920}], "start": 1691411148920, "stop": 1691411149012}
\ No newline at end of file
{"uuid": "58132240-6d71-4669-8555-70d68fa95604", "befores": [{"name": "url", "status": "passed", "start": 1691411149688, "stop": 1691411149688}], "start": 1691411149688, "stop": 1691411149794}
\ No newline at end of file
{"uuid": "e8435d2d-c0dd-4f24-8be2-678fd142dc84", "befores": [{"name": "update_key", "status": "passed", "start": 1691411148703, "stop": 1691411148703}], "start": 1691411148703, "stop": 1691411148802}
\ No newline at end of file
{"name": "反向用例-密码过长", "status": "passed", "attachments": [{"name": "log", "source": "0e918023-cae6-4929-a2d7-13fbc442b86b-attachment.txt", "type": "text/plain"}, {"name": "stdout", "source": "5f4cf197-b3af-4135-94c9-3f5bb176206d-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "module", "value": "'认证接口'"}, {"name": "interface", "value": "'登录系统'"}, {"name": "title", "value": "'反向用例-密码过长'"}, {"name": "level", "value": "'中'"}, {"name": "method", "value": "'post'"}, {"name": "url", "value": "'http://120.46.172.186:8080/auth'"}, {"name": "mime", "value": "'json'"}, {"name": "case_data", "value": "{'username': 'admin', 'password': 'MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2'}"}, {"name": "expect_data", "value": "{'state': False, 'message': '账号或密码错误'}"}, {"name": "sql_type", "value": "None"}, {"name": "sql_sentence", "value": "None"}, {"name": "update_key", "value": "None"}], "start": 1691411149129, "stop": 1691411149227, "uuid": "d6a9b9c3-a212-4fff-bb6b-b5300da1293e", "historyId": "0f65c894c6848c57734f711202a744d7", "testCaseId": "0abeaba8f176b6785a0334bed7c1bdad", "fullName": "test_bpm.TestBPM#test_bpm", "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": "LAPTOP-R4HIB7H3"}, {"name": "thread", "value": "59428-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_bpm"}]}
\ No newline at end of file
{"uuid": "7f22be81-3003-42ce-b2c3-5b13eadec73a", "befores": [{"name": "method", "status": "passed", "start": 1691411148609, "stop": 1691411148609}], "start": 1691411148609, "stop": 1691411148694}
\ No newline at end of file
DEBUG--2023-08-07 20:25:50--http://120.46.172.186:8080 "POST /api/org/v1/org/deleteOrg HTTP/1.1" 200 None
\ No newline at end of file
ERROR--2023-08-07 20:25:49--断言失败,模块名称为:认证接口,接口名称为:刷新token,标题为:正向用例,用例数据为:None
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Test Report</title>
<style>body {
font-family: Helvetica, Arial, sans-serif;
font-size: 12px;
/* do not increase min-width as some may use split screens */
min-width: 800px;
color: #999;
}
h1 {
font-size: 24px;
color: black;
}
h2 {
font-size: 16px;
color: black;
}
p {
color: black;
}
a {
color: #999;
}
table {
border-collapse: collapse;
}
/******************************
* SUMMARY INFORMATION
******************************/
#environment td {
padding: 5px;
border: 1px solid #E6E6E6;
}
#environment tr:nth-child(odd) {
background-color: #f6f6f6;
}
/******************************
* TEST RESULT COLORS
******************************/
span.passed, .passed .col-result {
color: green;
}
span.skipped, span.xfailed, span.rerun, .skipped .col-result, .xfailed .col-result, .rerun .col-result {
color: orange;
}
span.error, span.failed, span.xpassed, .error .col-result, .failed .col-result, .xpassed .col-result {
color: red;
}
/******************************
* RESULTS TABLE
*
* 1. Table Layout
* 2. Extra
* 3. Sorting items
*
******************************/
/*------------------
* 1. Table Layout
*------------------*/
#results-table {
border: 1px solid #e6e6e6;
color: #999;
font-size: 12px;
width: 100%;
}
#results-table th, #results-table td {
padding: 5px;
border: 1px solid #E6E6E6;
text-align: left;
}
#results-table th {
font-weight: bold;
}
/*------------------
* 2. Extra
*------------------*/
.log:only-child {
height: inherit;
}
.log {
background-color: #e6e6e6;
border: 1px solid #e6e6e6;
color: black;
display: block;
font-family: "Courier New", Courier, monospace;
height: 230px;
overflow-y: scroll;
padding: 5px;
white-space: pre-wrap;
}
div.image {
border: 1px solid #e6e6e6;
float: right;
height: 240px;
margin-left: 5px;
overflow: hidden;
width: 320px;
}
div.image img {
width: 320px;
}
div.video {
border: 1px solid #e6e6e6;
float: right;
height: 240px;
margin-left: 5px;
overflow: hidden;
width: 320px;
}
div.video video {
overflow: hidden;
width: 320px;
height: 240px;
}
.collapsed {
display: none;
}
.expander::after {
content: " (show details)";
color: #BBB;
font-style: italic;
cursor: pointer;
}
.collapser::after {
content: " (hide details)";
color: #BBB;
font-style: italic;
cursor: pointer;
}
/*------------------
* 3. Sorting items
*------------------*/
.sortable {
cursor: pointer;
}
.sort-icon {
font-size: 0px;
float: left;
margin-right: 5px;
margin-top: 5px;
/*triangle*/
width: 0;
height: 0;
border-left: 8px solid transparent;
border-right: 8px solid transparent;
}
.inactive .sort-icon {
/*finish triangle*/
border-top: 8px solid #E6E6E6;
}
.asc.active .sort-icon {
/*finish triangle*/
border-bottom: 8px solid #999;
}
.desc.active .sort-icon {
/*finish triangle*/
border-top: 8px solid #999;
}
</style></head>
<body onLoad="init()">
<script>/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
function toArray(iter) {
if (iter === null) {
return null;
}
return Array.prototype.slice.call(iter);
}
function find(selector, elem) { // eslint-disable-line no-redeclare
if (!elem) {
elem = document;
}
return elem.querySelector(selector);
}
function find_all(selector, elem) {
if (!elem) {
elem = document;
}
return toArray(elem.querySelectorAll(selector));
}
function sort_column(elem) {
toggle_sort_states(elem);
const colIndex = toArray(elem.parentNode.childNodes).indexOf(elem);
let key;
if (elem.classList.contains('result')) {
key = key_result;
} else if (elem.classList.contains('links')) {
key = key_link;
} else {
key = key_alpha;
}
sort_table(elem, key(colIndex));
}
function show_all_extras() { // eslint-disable-line no-unused-vars
find_all('.col-result').forEach(show_extras);
}
function hide_all_extras() { // eslint-disable-line no-unused-vars
find_all('.col-result').forEach(hide_extras);
}
function show_extras(colresult_elem) {
const extras = colresult_elem.parentNode.nextElementSibling;
const expandcollapse = colresult_elem.firstElementChild;
extras.classList.remove('collapsed');
expandcollapse.classList.remove('expander');
expandcollapse.classList.add('collapser');
}
function hide_extras(colresult_elem) {
const extras = colresult_elem.parentNode.nextElementSibling;
const expandcollapse = colresult_elem.firstElementChild;
extras.classList.add('collapsed');
expandcollapse.classList.remove('collapser');
expandcollapse.classList.add('expander');
}
function show_filters() {
const filter_items = document.getElementsByClassName('filter');
for (let i = 0; i < filter_items.length; i++)
filter_items[i].hidden = false;
}
function add_collapse() {
// Add links for show/hide all
const resulttable = find('table#results-table');
const showhideall = document.createElement('p');
showhideall.innerHTML = '<a href="javascript:show_all_extras()">Show all details</a> / ' +
'<a href="javascript:hide_all_extras()">Hide all details</a>';
resulttable.parentElement.insertBefore(showhideall, resulttable);
// Add show/hide link to each result
find_all('.col-result').forEach(function(elem) {
const collapsed = get_query_parameter('collapsed') || 'Passed';
const extras = elem.parentNode.nextElementSibling;
const expandcollapse = document.createElement('span');
if (extras.classList.contains('collapsed')) {
expandcollapse.classList.add('expander');
} else if (collapsed.includes(elem.innerHTML)) {
extras.classList.add('collapsed');
expandcollapse.classList.add('expander');
} else {
expandcollapse.classList.add('collapser');
}
elem.appendChild(expandcollapse);
elem.addEventListener('click', function(event) {
if (event.currentTarget.parentNode.nextElementSibling.classList.contains('collapsed')) {
show_extras(event.currentTarget);
} else {
hide_extras(event.currentTarget);
}
});
});
}
function get_query_parameter(name) {
const match = RegExp('[?&]' + name + '=([^&]*)').exec(window.location.search);
return match && decodeURIComponent(match[1].replace(/\+/g, ' '));
}
function init () { // eslint-disable-line no-unused-vars
reset_sort_headers();
add_collapse();
show_filters();
sort_column(find('.initial-sort'));
find_all('.sortable').forEach(function(elem) {
elem.addEventListener('click',
function() {
sort_column(elem);
}, false);
});
}
function sort_table(clicked, key_func) {
const rows = find_all('.results-table-row');
const reversed = !clicked.classList.contains('asc');
const sorted_rows = sort(rows, key_func, reversed);
/* Whole table is removed here because browsers acts much slower
* when appending existing elements.
*/
const thead = document.getElementById('results-table-head');
document.getElementById('results-table').remove();
const parent = document.createElement('table');
parent.id = 'results-table';
parent.appendChild(thead);
sorted_rows.forEach(function(elem) {
parent.appendChild(elem);
});
document.getElementsByTagName('BODY')[0].appendChild(parent);
}
function sort(items, key_func, reversed) {
const sort_array = items.map(function(item, i) {
return [key_func(item), i];
});
sort_array.sort(function(a, b) {
const key_a = a[0];
const key_b = b[0];
if (key_a == key_b) return 0;
if (reversed) {
return key_a < key_b ? 1 : -1;
} else {
return key_a > key_b ? 1 : -1;
}
});
return sort_array.map(function(item) {
const index = item[1];
return items[index];
});
}
function key_alpha(col_index) {
return function(elem) {
return elem.childNodes[1].childNodes[col_index].firstChild.data.toLowerCase();
};
}
function key_link(col_index) {
return function(elem) {
const dataCell = elem.childNodes[1].childNodes[col_index].firstChild;
return dataCell == null ? '' : dataCell.innerText.toLowerCase();
};
}
function key_result(col_index) {
return function(elem) {
const strings = ['Error', 'Failed', 'Rerun', 'XFailed', 'XPassed',
'Skipped', 'Passed'];
return strings.indexOf(elem.childNodes[1].childNodes[col_index].firstChild.data);
};
}
function reset_sort_headers() {
find_all('.sort-icon').forEach(function(elem) {
elem.parentNode.removeChild(elem);
});
find_all('.sortable').forEach(function(elem) {
const icon = document.createElement('div');
icon.className = 'sort-icon';
icon.textContent = 'vvv';
elem.insertBefore(icon, elem.firstChild);
elem.classList.remove('desc', 'active');
elem.classList.add('asc', 'inactive');
});
}
function toggle_sort_states(elem) {
//if active, toggle between asc and desc
if (elem.classList.contains('active')) {
elem.classList.toggle('asc');
elem.classList.toggle('desc');
}
//if inactive, reset all other functions and add ascending active
if (elem.classList.contains('inactive')) {
reset_sort_headers();
elem.classList.remove('inactive');
elem.classList.add('active');
}
}
function is_all_rows_hidden(value) {
return value.hidden == false;
}
function filter_table(elem) { // eslint-disable-line no-unused-vars
const outcome_att = 'data-test-result';
const outcome = elem.getAttribute(outcome_att);
const class_outcome = outcome + ' results-table-row';
const outcome_rows = document.getElementsByClassName(class_outcome);
for(let i = 0; i < outcome_rows.length; i++){
outcome_rows[i].hidden = !elem.checked;
}
const rows = find_all('.results-table-row').filter(is_all_rows_hidden);
const all_rows_hidden = rows.length == 0 ? true : false;
const not_found_message = document.getElementById('not-found-message');
not_found_message.hidden = !all_rows_hidden;
}
</script>
<h1>report.html</h1>
<p>Report generated on 07-Aug-2023 at 20:06:51 by <a href="https://pypi.python.org/pypi/pytest-html">pytest-html</a> v3.1.0</p>
<h2>Summary</h2>
<p>17 tests ran in 15.88 seconds. </p>
<p class="filter" hidden="true">(Un)check the boxes to filter the results.</p><input checked="true" class="filter" data-test-result="passed" hidden="true" name="filter_checkbox" onChange="filter_table(this)" type="checkbox"/><span class="passed">16 passed</span>, <input checked="true" class="filter" data-test-result="skipped" disabled="true" hidden="true" name="filter_checkbox" onChange="filter_table(this)" type="checkbox"/><span class="skipped">0 skipped</span>, <input checked="true" class="filter" data-test-result="failed" hidden="true" name="filter_checkbox" onChange="filter_table(this)" type="checkbox"/><span class="failed">1 failed</span>, <input checked="true" class="filter" data-test-result="error" disabled="true" hidden="true" name="filter_checkbox" onChange="filter_table(this)" type="checkbox"/><span class="error">0 errors</span>, <input checked="true" class="filter" data-test-result="xfailed" disabled="true" hidden="true" name="filter_checkbox" onChange="filter_table(this)" type="checkbox"/><span class="xfailed">0 expected failures</span>, <input checked="true" class="filter" data-test-result="xpassed" disabled="true" hidden="true" name="filter_checkbox" onChange="filter_table(this)" type="checkbox"/><span class="xpassed">0 unexpected passes</span>, <input checked="true" class="filter" data-test-result="rerun" hidden="true" name="filter_checkbox" onChange="filter_table(this)" type="checkbox"/><span class="rerun">5 rerun</span>
<h2>Results</h2>
<table id="results-table">
<thead id="results-table-head">
<tr>
<th class="sortable result initial-sort" col="result">Result</th>
<th class="sortable" col="name">Test</th>
<th class="sortable" col="duration">Duration</th>
<th class="sortable links" col="links">Links</th></tr>
<tr hidden="true" id="not-found-message">
<th colspan="4">No results found. Try to check the filters</th></tr></thead>
<tbody class="failed results-table-row">
<tr>
<td class="col-result">Failed</td>
<td class="col-name">test_bpm.py::TestBPM::test_bpm[认证接口-刷新token-正向用例-中-get-http://120.46.172.186:8080/refresh-None-None-expect_data11-None-None-None]</td>
<td class="col-duration">0.07</td>
<td class="col-links"></td></tr>
<tr>
<td class="extra" colspan="4">
<div class="log">self = &lt;APIAutoTest_004.test_case.test_bpm.TestBPM object at 0x000001E9F26A6650&gt;<br/>req_fix = &lt;APIAutoTest_004.requests_method.requests_method.RequestsMethod object at 0x000001E9F277A490&gt;<br/>db_fix = &lt;APIAutoTest_004.common.db.DB object at 0x000001E9F22137D0&gt;, module = &#x27;认证接口&#x27;, interface = &#x27;刷新token&#x27;, title = &#x27;正向用例&#x27;, level = &#x27;&#x27;, method = &#x27;get&#x27;<br/>url = &#x27;http://120.46.172.186:8080/refresh&#x27;, mime = None, case_data = None, expect_data = {&#x27;message&#x27;: &#x27;刷新token成功&#x27;}, sql_type = None, sql_sentence = None<br/>update_key = None<br/><br/> @allure.epic(&quot;BPM&quot;)<br/> @pytest.mark.parametrize(&quot;module, interface, title, level, method, url, mime, case_data, expect_data, sql_type,sql_sentence,update_key&quot;, ReadExcel().get_data())<br/> def test_bpm(self, req_fix, db_fix, module, interface, title, level, method, url, mime, case_data, expect_data, sql_type,sql_sentence,update_key):<br/> allure.dynamic.feature(module)<br/> allure.dynamic.story(interface)<br/> allure.dynamic.title(title)<br/> allure.dynamic.severity(level)<br/> <br/> if sql_type == &quot;delete&quot;:<br/> db_fix.delete(sql_sentence)<br/> <br/> elif sql_type == &quot;select&quot;:<br/> sql_result = db_fix.select(sql_sentence)<br/> case_data[update_key] = sql_result<br/> <br/> elif sql_type == &quot;delete|select&quot; or sql_type == &quot;select|delete&quot;:<br/> db_fix.delete(sql_sentence[&quot;delete&quot;])<br/> sql_sentence = db_fix.select(sql_sentence[&quot;select&quot;])<br/> case_data[update_key] = sql_sentence<br/> <br/> result = req_fix.request_all(method=method, url=url, mime=mime, case_data=case_data)<br/> try:<br/> for key in expect_data:<br/>&gt; assert result.json().get(key) == expect_data[key]<br/><span class="error">E AssertionError: assert None == &#x27;刷新token成功&#x27;</span><br/><span class="error">E + where None = &lt;built-in method get of dict object at 0x000001E9F283B100&gt;(&#x27;message&#x27;)</span><br/><span class="error">E + where &lt;built-in method get of dict object at 0x000001E9F283B100&gt; = {&#x27;account&#x27;: &#x27;&#x27;, &#x27;loginStatus&#x27;: True, &#x27;token&#x27;: &#x27;eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE2OTE0OTY0MTAsImlhdCI6MTY5MTQxMDAxMH0.AKNVVGNDb5zTK1lLwOpljVXSyjdfKmzuXNVcxtTRWPd3bq6lkuwyZxNfDsWOWN4JbaHQTajGS_DXJiVH8zl1aQ&#x27;, &#x27;userAttrs&#x27;: {}, ...}.get</span><br/><span class="error">E + where {&#x27;account&#x27;: &#x27;&#x27;, &#x27;loginStatus&#x27;: True, &#x27;token&#x27;: &#x27;eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE2OTE0OTY0MTAsImlhdCI6MTY5MTQxMDAxMH0.AKNVVGNDb5zTK1lLwOpljVXSyjdfKmzuXNVcxtTRWPd3bq6lkuwyZxNfDsWOWN4JbaHQTajGS_DXJiVH8zl1aQ&#x27;, &#x27;userAttrs&#x27;: {}, ...} = &lt;bound method Response.json of &lt;Response [200]&gt;&gt;()</span><br/><span class="error">E + where &lt;bound method Response.json of &lt;Response [200]&gt;&gt; = &lt;Response [200]&gt;.json</span><br/><br/>test_bpm.py:41: AssertionError<br/><br/>During handling of the above exception, another exception occurred:<br/><br/>self = &lt;APIAutoTest_004.test_case.test_bpm.TestBPM object at 0x000001E9F26A6650&gt;<br/>req_fix = &lt;APIAutoTest_004.requests_method.requests_method.RequestsMethod object at 0x000001E9F277A490&gt;<br/>db_fix = &lt;APIAutoTest_004.common.db.DB object at 0x000001E9F22137D0&gt;, module = &#x27;认证接口&#x27;, interface = &#x27;刷新token&#x27;, title = &#x27;正向用例&#x27;, level = &#x27;&#x27;, method = &#x27;get&#x27;<br/>url = &#x27;http://120.46.172.186:8080/refresh&#x27;, mime = None, case_data = None, expect_data = {&#x27;message&#x27;: &#x27;刷新token成功&#x27;}, sql_type = None, sql_sentence = None<br/>update_key = None<br/><br/> @allure.epic(&quot;BPM&quot;)<br/> @pytest.mark.parametrize(&quot;module, interface, title, level, method, url, mime, case_data, expect_data, sql_type,sql_sentence,update_key&quot;, ReadExcel().get_data())<br/> def test_bpm(self, req_fix, db_fix, module, interface, title, level, method, url, mime, case_data, expect_data, sql_type,sql_sentence,update_key):<br/> allure.dynamic.feature(module)<br/> allure.dynamic.story(interface)<br/> allure.dynamic.title(title)<br/> allure.dynamic.severity(level)<br/> <br/> if sql_type == &quot;delete&quot;:<br/> db_fix.delete(sql_sentence)<br/> <br/> elif sql_type == &quot;select&quot;:<br/> sql_result = db_fix.select(sql_sentence)<br/> case_data[update_key] = sql_result<br/> <br/> elif sql_type == &quot;delete|select&quot; or sql_type == &quot;select|delete&quot;:<br/> db_fix.delete(sql_sentence[&quot;delete&quot;])<br/> sql_sentence = db_fix.select(sql_sentence[&quot;select&quot;])<br/> case_data[update_key] = sql_sentence<br/> <br/> result = req_fix.request_all(method=method, url=url, mime=mime, case_data=case_data)<br/> try:<br/> for key in expect_data:<br/> assert result.json().get(key) == expect_data[key]<br/> except:<br/> print(&quot;断言失败&quot;)<br/> logging.error(&quot;断言失败,模块名称为:{},接口名称为:{},标题为:{},用例数据为:{}&quot;.format(module, interface, title, case_data))<br/>&gt; raise AssertionError(&quot;断言失败咯&quot;)<br/><span class="error">E AssertionError: 断言失败咯</span><br/><br/>test_bpm.py:45: AssertionError<br/> ------------------------------Captured stdout call------------------------------ <br/>断言失败
<br/> -------------------------------Captured log call-------------------------------- <br/>DEBUG--2023-08-07 20:06:39--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:06:39--http://120.46.172.186:8080 &quot;GET /refresh HTTP/1.1&quot; 200 None
ERROR--2023-08-07 20:06:39--断言失败,模块名称为:认证接口,接口名称为:刷新token,标题为:正向用例,用例数据为:None<br/> ------------------------------Captured stdout call------------------------------ <br/>断言失败
<br/> -------------------------------Captured log call-------------------------------- <br/>DEBUG--2023-08-07 20:06:42--http://120.46.172.186:8080 &quot;GET /refresh HTTP/1.1&quot; 200 None
ERROR--2023-08-07 20:06:42--断言失败,模块名称为:认证接口,接口名称为:刷新token,标题为:正向用例,用例数据为:None<br/> ------------------------------Captured stdout call------------------------------ <br/>断言失败
<br/> -------------------------------Captured log call-------------------------------- <br/>DEBUG--2023-08-07 20:06:44--http://120.46.172.186:8080 &quot;GET /refresh HTTP/1.1&quot; 200 None
ERROR--2023-08-07 20:06:44--断言失败,模块名称为:认证接口,接口名称为:刷新token,标题为:正向用例,用例数据为:None<br/> ------------------------------Captured stdout call------------------------------ <br/>断言失败
<br/> -------------------------------Captured log call-------------------------------- <br/>DEBUG--2023-08-07 20:06:46--http://120.46.172.186:8080 &quot;GET /refresh HTTP/1.1&quot; 200 None
ERROR--2023-08-07 20:06:46--断言失败,模块名称为:认证接口,接口名称为:刷新token,标题为:正向用例,用例数据为:None<br/> ------------------------------Captured stdout call------------------------------ <br/>断言失败
<br/> -------------------------------Captured log call-------------------------------- <br/>DEBUG--2023-08-07 20:06:48--http://120.46.172.186:8080 &quot;GET /refresh HTTP/1.1&quot; 200 None
ERROR--2023-08-07 20:06:48--断言失败,模块名称为:认证接口,接口名称为:刷新token,标题为:正向用例,用例数据为:None<br/> ------------------------------Captured stdout call------------------------------ <br/>断言失败
<br/> -------------------------------Captured log call-------------------------------- <br/>DEBUG--2023-08-07 20:06:50--http://120.46.172.186:8080 &quot;GET /refresh HTTP/1.1&quot; 200 None
ERROR--2023-08-07 20:06:50--断言失败,模块名称为:认证接口,接口名称为:刷新token,标题为:正向用例,用例数据为:None<br/></div></td></tr></tbody>
<tbody class="rerun results-table-row">
<tr>
<td class="col-result">Rerun</td>
<td class="col-name">test_bpm.py::TestBPM::test_bpm[认证接口-刷新token-正向用例-中-get-http://120.46.172.186:8080/refresh-None-None-expect_data11-None-None-None]</td>
<td class="col-duration">0.11</td>
<td class="col-links"></td></tr>
<tr>
<td class="extra" colspan="4">
<div class="log">self = &lt;APIAutoTest_004.test_case.test_bpm.TestBPM object at 0x000001E9F26A6650&gt;<br/>req_fix = &lt;APIAutoTest_004.requests_method.requests_method.RequestsMethod object at 0x000001E9F277A490&gt;<br/>db_fix = &lt;APIAutoTest_004.common.db.DB object at 0x000001E9F22137D0&gt;, module = &#x27;认证接口&#x27;, interface = &#x27;刷新token&#x27;, title = &#x27;正向用例&#x27;, level = &#x27;&#x27;, method = &#x27;get&#x27;<br/>url = &#x27;http://120.46.172.186:8080/refresh&#x27;, mime = None, case_data = None, expect_data = {&#x27;message&#x27;: &#x27;刷新token成功&#x27;}, sql_type = None, sql_sentence = None<br/>update_key = None<br/><br/> @allure.epic(&quot;BPM&quot;)<br/> @pytest.mark.parametrize(&quot;module, interface, title, level, method, url, mime, case_data, expect_data, sql_type,sql_sentence,update_key&quot;, ReadExcel().get_data())<br/> def test_bpm(self, req_fix, db_fix, module, interface, title, level, method, url, mime, case_data, expect_data, sql_type,sql_sentence,update_key):<br/> allure.dynamic.feature(module)<br/> allure.dynamic.story(interface)<br/> allure.dynamic.title(title)<br/> allure.dynamic.severity(level)<br/> <br/> if sql_type == &quot;delete&quot;:<br/> db_fix.delete(sql_sentence)<br/> <br/> elif sql_type == &quot;select&quot;:<br/> sql_result = db_fix.select(sql_sentence)<br/> case_data[update_key] = sql_result<br/> <br/> elif sql_type == &quot;delete|select&quot; or sql_type == &quot;select|delete&quot;:<br/> db_fix.delete(sql_sentence[&quot;delete&quot;])<br/> sql_sentence = db_fix.select(sql_sentence[&quot;select&quot;])<br/> case_data[update_key] = sql_sentence<br/> <br/> result = req_fix.request_all(method=method, url=url, mime=mime, case_data=case_data)<br/> try:<br/> for key in expect_data:<br/>&gt; assert result.json().get(key) == expect_data[key]<br/><span class="error">E AssertionError: assert None == &#x27;刷新token成功&#x27;</span><br/><span class="error">E + where None = &lt;built-in method get of dict object at 0x000001E9F1C4B640&gt;(&#x27;message&#x27;)</span><br/><span class="error">E + where &lt;built-in method get of dict object at 0x000001E9F1C4B640&gt; = {&#x27;account&#x27;: &#x27;&#x27;, &#x27;loginStatus&#x27;: True, &#x27;token&#x27;: &#x27;eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE2OTE0OTYzOTksImlhdCI6MTY5MTQwOTk5OX0.rlSk1gLyDFh3Iyk7JKL9cKKY7hG_MghmnGiIjzJMvS-vV5F0DuMCQyV5Gqx2BalkofiFDbMxrv8g5lZa82nJew&#x27;, &#x27;userAttrs&#x27;: {}, ...}.get</span><br/><span class="error">E + where {&#x27;account&#x27;: &#x27;&#x27;, &#x27;loginStatus&#x27;: True, &#x27;token&#x27;: &#x27;eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE2OTE0OTYzOTksImlhdCI6MTY5MTQwOTk5OX0.rlSk1gLyDFh3Iyk7JKL9cKKY7hG_MghmnGiIjzJMvS-vV5F0DuMCQyV5Gqx2BalkofiFDbMxrv8g5lZa82nJew&#x27;, &#x27;userAttrs&#x27;: {}, ...} = &lt;bound method Response.json of &lt;Response [200]&gt;&gt;()</span><br/><span class="error">E + where &lt;bound method Response.json of &lt;Response [200]&gt;&gt; = &lt;Response [200]&gt;.json</span><br/><br/>test_bpm.py:41: AssertionError<br/><br/>During handling of the above exception, another exception occurred:<br/><br/>self = &lt;APIAutoTest_004.test_case.test_bpm.TestBPM object at 0x000001E9F26A6650&gt;<br/>req_fix = &lt;APIAutoTest_004.requests_method.requests_method.RequestsMethod object at 0x000001E9F277A490&gt;<br/>db_fix = &lt;APIAutoTest_004.common.db.DB object at 0x000001E9F22137D0&gt;, module = &#x27;认证接口&#x27;, interface = &#x27;刷新token&#x27;, title = &#x27;正向用例&#x27;, level = &#x27;&#x27;, method = &#x27;get&#x27;<br/>url = &#x27;http://120.46.172.186:8080/refresh&#x27;, mime = None, case_data = None, expect_data = {&#x27;message&#x27;: &#x27;刷新token成功&#x27;}, sql_type = None, sql_sentence = None<br/>update_key = None<br/><br/> @allure.epic(&quot;BPM&quot;)<br/> @pytest.mark.parametrize(&quot;module, interface, title, level, method, url, mime, case_data, expect_data, sql_type,sql_sentence,update_key&quot;, ReadExcel().get_data())<br/> def test_bpm(self, req_fix, db_fix, module, interface, title, level, method, url, mime, case_data, expect_data, sql_type,sql_sentence,update_key):<br/> allure.dynamic.feature(module)<br/> allure.dynamic.story(interface)<br/> allure.dynamic.title(title)<br/> allure.dynamic.severity(level)<br/> <br/> if sql_type == &quot;delete&quot;:<br/> db_fix.delete(sql_sentence)<br/> <br/> elif sql_type == &quot;select&quot;:<br/> sql_result = db_fix.select(sql_sentence)<br/> case_data[update_key] = sql_result<br/> <br/> elif sql_type == &quot;delete|select&quot; or sql_type == &quot;select|delete&quot;:<br/> db_fix.delete(sql_sentence[&quot;delete&quot;])<br/> sql_sentence = db_fix.select(sql_sentence[&quot;select&quot;])<br/> case_data[update_key] = sql_sentence<br/> <br/> result = req_fix.request_all(method=method, url=url, mime=mime, case_data=case_data)<br/> try:<br/> for key in expect_data:<br/> assert result.json().get(key) == expect_data[key]<br/> except:<br/> print(&quot;断言失败&quot;)<br/> logging.error(&quot;断言失败,模块名称为:{},接口名称为:{},标题为:{},用例数据为:{}&quot;.format(module, interface, title, case_data))<br/>&gt; raise AssertionError(&quot;断言失败咯&quot;)<br/><span class="error">E AssertionError: 断言失败咯</span><br/><br/>test_bpm.py:45: AssertionError<br/> ------------------------------Captured stdout call------------------------------ <br/>断言失败
<br/> -------------------------------Captured log call-------------------------------- <br/>DEBUG--2023-08-07 20:06:39--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:06:39--http://120.46.172.186:8080 &quot;GET /refresh HTTP/1.1&quot; 200 None
ERROR--2023-08-07 20:06:39--断言失败,模块名称为:认证接口,接口名称为:刷新token,标题为:正向用例,用例数据为:None<br/></div></td></tr></tbody>
<tbody class="rerun results-table-row">
<tr>
<td class="col-result">Rerun</td>
<td class="col-name">test_bpm.py::TestBPM::test_bpm[认证接口-刷新token-正向用例-中-get-http://120.46.172.186:8080/refresh-None-None-expect_data11-None-None-None]</td>
<td class="col-duration">0.05</td>
<td class="col-links"></td></tr>
<tr>
<td class="extra" colspan="4">
<div class="log">self = &lt;APIAutoTest_004.test_case.test_bpm.TestBPM object at 0x000001E9F26A6650&gt;<br/>req_fix = &lt;APIAutoTest_004.requests_method.requests_method.RequestsMethod object at 0x000001E9F277A490&gt;<br/>db_fix = &lt;APIAutoTest_004.common.db.DB object at 0x000001E9F22137D0&gt;, module = &#x27;认证接口&#x27;, interface = &#x27;刷新token&#x27;, title = &#x27;正向用例&#x27;, level = &#x27;&#x27;, method = &#x27;get&#x27;<br/>url = &#x27;http://120.46.172.186:8080/refresh&#x27;, mime = None, case_data = None, expect_data = {&#x27;message&#x27;: &#x27;刷新token成功&#x27;}, sql_type = None, sql_sentence = None<br/>update_key = None<br/><br/> @allure.epic(&quot;BPM&quot;)<br/> @pytest.mark.parametrize(&quot;module, interface, title, level, method, url, mime, case_data, expect_data, sql_type,sql_sentence,update_key&quot;, ReadExcel().get_data())<br/> def test_bpm(self, req_fix, db_fix, module, interface, title, level, method, url, mime, case_data, expect_data, sql_type,sql_sentence,update_key):<br/> allure.dynamic.feature(module)<br/> allure.dynamic.story(interface)<br/> allure.dynamic.title(title)<br/> allure.dynamic.severity(level)<br/> <br/> if sql_type == &quot;delete&quot;:<br/> db_fix.delete(sql_sentence)<br/> <br/> elif sql_type == &quot;select&quot;:<br/> sql_result = db_fix.select(sql_sentence)<br/> case_data[update_key] = sql_result<br/> <br/> elif sql_type == &quot;delete|select&quot; or sql_type == &quot;select|delete&quot;:<br/> db_fix.delete(sql_sentence[&quot;delete&quot;])<br/> sql_sentence = db_fix.select(sql_sentence[&quot;select&quot;])<br/> case_data[update_key] = sql_sentence<br/> <br/> result = req_fix.request_all(method=method, url=url, mime=mime, case_data=case_data)<br/> try:<br/> for key in expect_data:<br/>&gt; assert result.json().get(key) == expect_data[key]<br/><span class="error">E AssertionError: assert None == &#x27;刷新token成功&#x27;</span><br/><span class="error">E + where None = &lt;built-in method get of dict object at 0x000001E9F2816CC0&gt;(&#x27;message&#x27;)</span><br/><span class="error">E + where &lt;built-in method get of dict object at 0x000001E9F2816CC0&gt; = {&#x27;account&#x27;: &#x27;&#x27;, &#x27;loginStatus&#x27;: True, &#x27;token&#x27;: &#x27;eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE2OTE0OTY0MDIsImlhdCI6MTY5MTQxMDAwMn0.rsBTvXYu1huWAXgznI6T8vlxcKDQNdOD0x6kgqwbDOfLi6q2h7-6oXqLGVXT0fnERRig1VaEHyQnG3W1GpSyEg&#x27;, &#x27;userAttrs&#x27;: {}, ...}.get</span><br/><span class="error">E + where {&#x27;account&#x27;: &#x27;&#x27;, &#x27;loginStatus&#x27;: True, &#x27;token&#x27;: &#x27;eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE2OTE0OTY0MDIsImlhdCI6MTY5MTQxMDAwMn0.rsBTvXYu1huWAXgznI6T8vlxcKDQNdOD0x6kgqwbDOfLi6q2h7-6oXqLGVXT0fnERRig1VaEHyQnG3W1GpSyEg&#x27;, &#x27;userAttrs&#x27;: {}, ...} = &lt;bound method Response.json of &lt;Response [200]&gt;&gt;()</span><br/><span class="error">E + where &lt;bound method Response.json of &lt;Response [200]&gt;&gt; = &lt;Response [200]&gt;.json</span><br/><br/>test_bpm.py:41: AssertionError<br/><br/>During handling of the above exception, another exception occurred:<br/><br/>self = &lt;APIAutoTest_004.test_case.test_bpm.TestBPM object at 0x000001E9F26A6650&gt;<br/>req_fix = &lt;APIAutoTest_004.requests_method.requests_method.RequestsMethod object at 0x000001E9F277A490&gt;<br/>db_fix = &lt;APIAutoTest_004.common.db.DB object at 0x000001E9F22137D0&gt;, module = &#x27;认证接口&#x27;, interface = &#x27;刷新token&#x27;, title = &#x27;正向用例&#x27;, level = &#x27;&#x27;, method = &#x27;get&#x27;<br/>url = &#x27;http://120.46.172.186:8080/refresh&#x27;, mime = None, case_data = None, expect_data = {&#x27;message&#x27;: &#x27;刷新token成功&#x27;}, sql_type = None, sql_sentence = None<br/>update_key = None<br/><br/> @allure.epic(&quot;BPM&quot;)<br/> @pytest.mark.parametrize(&quot;module, interface, title, level, method, url, mime, case_data, expect_data, sql_type,sql_sentence,update_key&quot;, ReadExcel().get_data())<br/> def test_bpm(self, req_fix, db_fix, module, interface, title, level, method, url, mime, case_data, expect_data, sql_type,sql_sentence,update_key):<br/> allure.dynamic.feature(module)<br/> allure.dynamic.story(interface)<br/> allure.dynamic.title(title)<br/> allure.dynamic.severity(level)<br/> <br/> if sql_type == &quot;delete&quot;:<br/> db_fix.delete(sql_sentence)<br/> <br/> elif sql_type == &quot;select&quot;:<br/> sql_result = db_fix.select(sql_sentence)<br/> case_data[update_key] = sql_result<br/> <br/> elif sql_type == &quot;delete|select&quot; or sql_type == &quot;select|delete&quot;:<br/> db_fix.delete(sql_sentence[&quot;delete&quot;])<br/> sql_sentence = db_fix.select(sql_sentence[&quot;select&quot;])<br/> case_data[update_key] = sql_sentence<br/> <br/> result = req_fix.request_all(method=method, url=url, mime=mime, case_data=case_data)<br/> try:<br/> for key in expect_data:<br/> assert result.json().get(key) == expect_data[key]<br/> except:<br/> print(&quot;断言失败&quot;)<br/> logging.error(&quot;断言失败,模块名称为:{},接口名称为:{},标题为:{},用例数据为:{}&quot;.format(module, interface, title, case_data))<br/>&gt; raise AssertionError(&quot;断言失败咯&quot;)<br/><span class="error">E AssertionError: 断言失败咯</span><br/><br/>test_bpm.py:45: AssertionError<br/> ------------------------------Captured stdout call------------------------------ <br/>断言失败
<br/> -------------------------------Captured log call-------------------------------- <br/>DEBUG--2023-08-07 20:06:39--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:06:39--http://120.46.172.186:8080 &quot;GET /refresh HTTP/1.1&quot; 200 None
ERROR--2023-08-07 20:06:39--断言失败,模块名称为:认证接口,接口名称为:刷新token,标题为:正向用例,用例数据为:None<br/> ------------------------------Captured stdout call------------------------------ <br/>断言失败
<br/> -------------------------------Captured log call-------------------------------- <br/>DEBUG--2023-08-07 20:06:42--http://120.46.172.186:8080 &quot;GET /refresh HTTP/1.1&quot; 200 None
ERROR--2023-08-07 20:06:42--断言失败,模块名称为:认证接口,接口名称为:刷新token,标题为:正向用例,用例数据为:None<br/></div></td></tr></tbody>
<tbody class="rerun results-table-row">
<tr>
<td class="col-result">Rerun</td>
<td class="col-name">test_bpm.py::TestBPM::test_bpm[认证接口-刷新token-正向用例-中-get-http://120.46.172.186:8080/refresh-None-None-expect_data11-None-None-None]</td>
<td class="col-duration">0.06</td>
<td class="col-links"></td></tr>
<tr>
<td class="extra" colspan="4">
<div class="log">self = &lt;APIAutoTest_004.test_case.test_bpm.TestBPM object at 0x000001E9F26A6650&gt;<br/>req_fix = &lt;APIAutoTest_004.requests_method.requests_method.RequestsMethod object at 0x000001E9F277A490&gt;<br/>db_fix = &lt;APIAutoTest_004.common.db.DB object at 0x000001E9F22137D0&gt;, module = &#x27;认证接口&#x27;, interface = &#x27;刷新token&#x27;, title = &#x27;正向用例&#x27;, level = &#x27;&#x27;, method = &#x27;get&#x27;<br/>url = &#x27;http://120.46.172.186:8080/refresh&#x27;, mime = None, case_data = None, expect_data = {&#x27;message&#x27;: &#x27;刷新token成功&#x27;}, sql_type = None, sql_sentence = None<br/>update_key = None<br/><br/> @allure.epic(&quot;BPM&quot;)<br/> @pytest.mark.parametrize(&quot;module, interface, title, level, method, url, mime, case_data, expect_data, sql_type,sql_sentence,update_key&quot;, ReadExcel().get_data())<br/> def test_bpm(self, req_fix, db_fix, module, interface, title, level, method, url, mime, case_data, expect_data, sql_type,sql_sentence,update_key):<br/> allure.dynamic.feature(module)<br/> allure.dynamic.story(interface)<br/> allure.dynamic.title(title)<br/> allure.dynamic.severity(level)<br/> <br/> if sql_type == &quot;delete&quot;:<br/> db_fix.delete(sql_sentence)<br/> <br/> elif sql_type == &quot;select&quot;:<br/> sql_result = db_fix.select(sql_sentence)<br/> case_data[update_key] = sql_result<br/> <br/> elif sql_type == &quot;delete|select&quot; or sql_type == &quot;select|delete&quot;:<br/> db_fix.delete(sql_sentence[&quot;delete&quot;])<br/> sql_sentence = db_fix.select(sql_sentence[&quot;select&quot;])<br/> case_data[update_key] = sql_sentence<br/> <br/> result = req_fix.request_all(method=method, url=url, mime=mime, case_data=case_data)<br/> try:<br/> for key in expect_data:<br/>&gt; assert result.json().get(key) == expect_data[key]<br/><span class="error">E AssertionError: assert None == &#x27;刷新token成功&#x27;</span><br/><span class="error">E + where None = &lt;built-in method get of dict object at 0x000001E9F2820F80&gt;(&#x27;message&#x27;)</span><br/><span class="error">E + where &lt;built-in method get of dict object at 0x000001E9F2820F80&gt; = {&#x27;account&#x27;: &#x27;&#x27;, &#x27;loginStatus&#x27;: True, &#x27;token&#x27;: &#x27;eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE2OTE0OTY0MDQsImlhdCI6MTY5MTQxMDAwNH0.5lI0qEwTkSuBgzrjst00hu0Cu8oFUuNwhaBhekRcvXvdQoOkDm-isZdCh_CQt4MZJI7MMz2gqafSxVlabqUtLg&#x27;, &#x27;userAttrs&#x27;: {}, ...}.get</span><br/><span class="error">E + where {&#x27;account&#x27;: &#x27;&#x27;, &#x27;loginStatus&#x27;: True, &#x27;token&#x27;: &#x27;eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE2OTE0OTY0MDQsImlhdCI6MTY5MTQxMDAwNH0.5lI0qEwTkSuBgzrjst00hu0Cu8oFUuNwhaBhekRcvXvdQoOkDm-isZdCh_CQt4MZJI7MMz2gqafSxVlabqUtLg&#x27;, &#x27;userAttrs&#x27;: {}, ...} = &lt;bound method Response.json of &lt;Response [200]&gt;&gt;()</span><br/><span class="error">E + where &lt;bound method Response.json of &lt;Response [200]&gt;&gt; = &lt;Response [200]&gt;.json</span><br/><br/>test_bpm.py:41: AssertionError<br/><br/>During handling of the above exception, another exception occurred:<br/><br/>self = &lt;APIAutoTest_004.test_case.test_bpm.TestBPM object at 0x000001E9F26A6650&gt;<br/>req_fix = &lt;APIAutoTest_004.requests_method.requests_method.RequestsMethod object at 0x000001E9F277A490&gt;<br/>db_fix = &lt;APIAutoTest_004.common.db.DB object at 0x000001E9F22137D0&gt;, module = &#x27;认证接口&#x27;, interface = &#x27;刷新token&#x27;, title = &#x27;正向用例&#x27;, level = &#x27;&#x27;, method = &#x27;get&#x27;<br/>url = &#x27;http://120.46.172.186:8080/refresh&#x27;, mime = None, case_data = None, expect_data = {&#x27;message&#x27;: &#x27;刷新token成功&#x27;}, sql_type = None, sql_sentence = None<br/>update_key = None<br/><br/> @allure.epic(&quot;BPM&quot;)<br/> @pytest.mark.parametrize(&quot;module, interface, title, level, method, url, mime, case_data, expect_data, sql_type,sql_sentence,update_key&quot;, ReadExcel().get_data())<br/> def test_bpm(self, req_fix, db_fix, module, interface, title, level, method, url, mime, case_data, expect_data, sql_type,sql_sentence,update_key):<br/> allure.dynamic.feature(module)<br/> allure.dynamic.story(interface)<br/> allure.dynamic.title(title)<br/> allure.dynamic.severity(level)<br/> <br/> if sql_type == &quot;delete&quot;:<br/> db_fix.delete(sql_sentence)<br/> <br/> elif sql_type == &quot;select&quot;:<br/> sql_result = db_fix.select(sql_sentence)<br/> case_data[update_key] = sql_result<br/> <br/> elif sql_type == &quot;delete|select&quot; or sql_type == &quot;select|delete&quot;:<br/> db_fix.delete(sql_sentence[&quot;delete&quot;])<br/> sql_sentence = db_fix.select(sql_sentence[&quot;select&quot;])<br/> case_data[update_key] = sql_sentence<br/> <br/> result = req_fix.request_all(method=method, url=url, mime=mime, case_data=case_data)<br/> try:<br/> for key in expect_data:<br/> assert result.json().get(key) == expect_data[key]<br/> except:<br/> print(&quot;断言失败&quot;)<br/> logging.error(&quot;断言失败,模块名称为:{},接口名称为:{},标题为:{},用例数据为:{}&quot;.format(module, interface, title, case_data))<br/>&gt; raise AssertionError(&quot;断言失败咯&quot;)<br/><span class="error">E AssertionError: 断言失败咯</span><br/><br/>test_bpm.py:45: AssertionError<br/> ------------------------------Captured stdout call------------------------------ <br/>断言失败
<br/> -------------------------------Captured log call-------------------------------- <br/>DEBUG--2023-08-07 20:06:39--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:06:39--http://120.46.172.186:8080 &quot;GET /refresh HTTP/1.1&quot; 200 None
ERROR--2023-08-07 20:06:39--断言失败,模块名称为:认证接口,接口名称为:刷新token,标题为:正向用例,用例数据为:None<br/> ------------------------------Captured stdout call------------------------------ <br/>断言失败
<br/> -------------------------------Captured log call-------------------------------- <br/>DEBUG--2023-08-07 20:06:42--http://120.46.172.186:8080 &quot;GET /refresh HTTP/1.1&quot; 200 None
ERROR--2023-08-07 20:06:42--断言失败,模块名称为:认证接口,接口名称为:刷新token,标题为:正向用例,用例数据为:None<br/> ------------------------------Captured stdout call------------------------------ <br/>断言失败
<br/> -------------------------------Captured log call-------------------------------- <br/>DEBUG--2023-08-07 20:06:44--http://120.46.172.186:8080 &quot;GET /refresh HTTP/1.1&quot; 200 None
ERROR--2023-08-07 20:06:44--断言失败,模块名称为:认证接口,接口名称为:刷新token,标题为:正向用例,用例数据为:None<br/></div></td></tr></tbody>
<tbody class="rerun results-table-row">
<tr>
<td class="col-result">Rerun</td>
<td class="col-name">test_bpm.py::TestBPM::test_bpm[认证接口-刷新token-正向用例-中-get-http://120.46.172.186:8080/refresh-None-None-expect_data11-None-None-None]</td>
<td class="col-duration">0.40</td>
<td class="col-links"></td></tr>
<tr>
<td class="extra" colspan="4">
<div class="log">self = &lt;APIAutoTest_004.test_case.test_bpm.TestBPM object at 0x000001E9F26A6650&gt;<br/>req_fix = &lt;APIAutoTest_004.requests_method.requests_method.RequestsMethod object at 0x000001E9F277A490&gt;<br/>db_fix = &lt;APIAutoTest_004.common.db.DB object at 0x000001E9F22137D0&gt;, module = &#x27;认证接口&#x27;, interface = &#x27;刷新token&#x27;, title = &#x27;正向用例&#x27;, level = &#x27;&#x27;, method = &#x27;get&#x27;<br/>url = &#x27;http://120.46.172.186:8080/refresh&#x27;, mime = None, case_data = None, expect_data = {&#x27;message&#x27;: &#x27;刷新token成功&#x27;}, sql_type = None, sql_sentence = None<br/>update_key = None<br/><br/> @allure.epic(&quot;BPM&quot;)<br/> @pytest.mark.parametrize(&quot;module, interface, title, level, method, url, mime, case_data, expect_data, sql_type,sql_sentence,update_key&quot;, ReadExcel().get_data())<br/> def test_bpm(self, req_fix, db_fix, module, interface, title, level, method, url, mime, case_data, expect_data, sql_type,sql_sentence,update_key):<br/> allure.dynamic.feature(module)<br/> allure.dynamic.story(interface)<br/> allure.dynamic.title(title)<br/> allure.dynamic.severity(level)<br/> <br/> if sql_type == &quot;delete&quot;:<br/> db_fix.delete(sql_sentence)<br/> <br/> elif sql_type == &quot;select&quot;:<br/> sql_result = db_fix.select(sql_sentence)<br/> case_data[update_key] = sql_result<br/> <br/> elif sql_type == &quot;delete|select&quot; or sql_type == &quot;select|delete&quot;:<br/> db_fix.delete(sql_sentence[&quot;delete&quot;])<br/> sql_sentence = db_fix.select(sql_sentence[&quot;select&quot;])<br/> case_data[update_key] = sql_sentence<br/> <br/> result = req_fix.request_all(method=method, url=url, mime=mime, case_data=case_data)<br/> try:<br/> for key in expect_data:<br/>&gt; assert result.json().get(key) == expect_data[key]<br/><span class="error">E AssertionError: assert None == &#x27;刷新token成功&#x27;</span><br/><span class="error">E + where None = &lt;built-in method get of dict object at 0x000001E9F2824400&gt;(&#x27;message&#x27;)</span><br/><span class="error">E + where &lt;built-in method get of dict object at 0x000001E9F2824400&gt; = {&#x27;account&#x27;: &#x27;&#x27;, &#x27;loginStatus&#x27;: True, &#x27;token&#x27;: &#x27;eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE2OTE0OTY0MDYsImlhdCI6MTY5MTQxMDAwNn0.xThC4F8g1admlpzBM_lwMVatixoCDDsWNwGGU8Ky6NBO6RVOJBHLQHku3hFATTj1Qp9GN50kA0Y5ptaOj2979A&#x27;, &#x27;userAttrs&#x27;: {}, ...}.get</span><br/><span class="error">E + where {&#x27;account&#x27;: &#x27;&#x27;, &#x27;loginStatus&#x27;: True, &#x27;token&#x27;: &#x27;eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE2OTE0OTY0MDYsImlhdCI6MTY5MTQxMDAwNn0.xThC4F8g1admlpzBM_lwMVatixoCDDsWNwGGU8Ky6NBO6RVOJBHLQHku3hFATTj1Qp9GN50kA0Y5ptaOj2979A&#x27;, &#x27;userAttrs&#x27;: {}, ...} = &lt;bound method Response.json of &lt;Response [200]&gt;&gt;()</span><br/><span class="error">E + where &lt;bound method Response.json of &lt;Response [200]&gt;&gt; = &lt;Response [200]&gt;.json</span><br/><br/>test_bpm.py:41: AssertionError<br/><br/>During handling of the above exception, another exception occurred:<br/><br/>self = &lt;APIAutoTest_004.test_case.test_bpm.TestBPM object at 0x000001E9F26A6650&gt;<br/>req_fix = &lt;APIAutoTest_004.requests_method.requests_method.RequestsMethod object at 0x000001E9F277A490&gt;<br/>db_fix = &lt;APIAutoTest_004.common.db.DB object at 0x000001E9F22137D0&gt;, module = &#x27;认证接口&#x27;, interface = &#x27;刷新token&#x27;, title = &#x27;正向用例&#x27;, level = &#x27;&#x27;, method = &#x27;get&#x27;<br/>url = &#x27;http://120.46.172.186:8080/refresh&#x27;, mime = None, case_data = None, expect_data = {&#x27;message&#x27;: &#x27;刷新token成功&#x27;}, sql_type = None, sql_sentence = None<br/>update_key = None<br/><br/> @allure.epic(&quot;BPM&quot;)<br/> @pytest.mark.parametrize(&quot;module, interface, title, level, method, url, mime, case_data, expect_data, sql_type,sql_sentence,update_key&quot;, ReadExcel().get_data())<br/> def test_bpm(self, req_fix, db_fix, module, interface, title, level, method, url, mime, case_data, expect_data, sql_type,sql_sentence,update_key):<br/> allure.dynamic.feature(module)<br/> allure.dynamic.story(interface)<br/> allure.dynamic.title(title)<br/> allure.dynamic.severity(level)<br/> <br/> if sql_type == &quot;delete&quot;:<br/> db_fix.delete(sql_sentence)<br/> <br/> elif sql_type == &quot;select&quot;:<br/> sql_result = db_fix.select(sql_sentence)<br/> case_data[update_key] = sql_result<br/> <br/> elif sql_type == &quot;delete|select&quot; or sql_type == &quot;select|delete&quot;:<br/> db_fix.delete(sql_sentence[&quot;delete&quot;])<br/> sql_sentence = db_fix.select(sql_sentence[&quot;select&quot;])<br/> case_data[update_key] = sql_sentence<br/> <br/> result = req_fix.request_all(method=method, url=url, mime=mime, case_data=case_data)<br/> try:<br/> for key in expect_data:<br/> assert result.json().get(key) == expect_data[key]<br/> except:<br/> print(&quot;断言失败&quot;)<br/> logging.error(&quot;断言失败,模块名称为:{},接口名称为:{},标题为:{},用例数据为:{}&quot;.format(module, interface, title, case_data))<br/>&gt; raise AssertionError(&quot;断言失败咯&quot;)<br/><span class="error">E AssertionError: 断言失败咯</span><br/><br/>test_bpm.py:45: AssertionError<br/> ------------------------------Captured stdout call------------------------------ <br/>断言失败
<br/> -------------------------------Captured log call-------------------------------- <br/>DEBUG--2023-08-07 20:06:39--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:06:39--http://120.46.172.186:8080 &quot;GET /refresh HTTP/1.1&quot; 200 None
ERROR--2023-08-07 20:06:39--断言失败,模块名称为:认证接口,接口名称为:刷新token,标题为:正向用例,用例数据为:None<br/> ------------------------------Captured stdout call------------------------------ <br/>断言失败
<br/> -------------------------------Captured log call-------------------------------- <br/>DEBUG--2023-08-07 20:06:42--http://120.46.172.186:8080 &quot;GET /refresh HTTP/1.1&quot; 200 None
ERROR--2023-08-07 20:06:42--断言失败,模块名称为:认证接口,接口名称为:刷新token,标题为:正向用例,用例数据为:None<br/> ------------------------------Captured stdout call------------------------------ <br/>断言失败
<br/> -------------------------------Captured log call-------------------------------- <br/>DEBUG--2023-08-07 20:06:44--http://120.46.172.186:8080 &quot;GET /refresh HTTP/1.1&quot; 200 None
ERROR--2023-08-07 20:06:44--断言失败,模块名称为:认证接口,接口名称为:刷新token,标题为:正向用例,用例数据为:None<br/> ------------------------------Captured stdout call------------------------------ <br/>断言失败
<br/> -------------------------------Captured log call-------------------------------- <br/>DEBUG--2023-08-07 20:06:46--http://120.46.172.186:8080 &quot;GET /refresh HTTP/1.1&quot; 200 None
ERROR--2023-08-07 20:06:46--断言失败,模块名称为:认证接口,接口名称为:刷新token,标题为:正向用例,用例数据为:None<br/></div></td></tr></tbody>
<tbody class="rerun results-table-row">
<tr>
<td class="col-result">Rerun</td>
<td class="col-name">test_bpm.py::TestBPM::test_bpm[认证接口-刷新token-正向用例-中-get-http://120.46.172.186:8080/refresh-None-None-expect_data11-None-None-None]</td>
<td class="col-duration">0.05</td>
<td class="col-links"></td></tr>
<tr>
<td class="extra" colspan="4">
<div class="log">self = &lt;APIAutoTest_004.test_case.test_bpm.TestBPM object at 0x000001E9F26A6650&gt;<br/>req_fix = &lt;APIAutoTest_004.requests_method.requests_method.RequestsMethod object at 0x000001E9F277A490&gt;<br/>db_fix = &lt;APIAutoTest_004.common.db.DB object at 0x000001E9F22137D0&gt;, module = &#x27;认证接口&#x27;, interface = &#x27;刷新token&#x27;, title = &#x27;正向用例&#x27;, level = &#x27;&#x27;, method = &#x27;get&#x27;<br/>url = &#x27;http://120.46.172.186:8080/refresh&#x27;, mime = None, case_data = None, expect_data = {&#x27;message&#x27;: &#x27;刷新token成功&#x27;}, sql_type = None, sql_sentence = None<br/>update_key = None<br/><br/> @allure.epic(&quot;BPM&quot;)<br/> @pytest.mark.parametrize(&quot;module, interface, title, level, method, url, mime, case_data, expect_data, sql_type,sql_sentence,update_key&quot;, ReadExcel().get_data())<br/> def test_bpm(self, req_fix, db_fix, module, interface, title, level, method, url, mime, case_data, expect_data, sql_type,sql_sentence,update_key):<br/> allure.dynamic.feature(module)<br/> allure.dynamic.story(interface)<br/> allure.dynamic.title(title)<br/> allure.dynamic.severity(level)<br/> <br/> if sql_type == &quot;delete&quot;:<br/> db_fix.delete(sql_sentence)<br/> <br/> elif sql_type == &quot;select&quot;:<br/> sql_result = db_fix.select(sql_sentence)<br/> case_data[update_key] = sql_result<br/> <br/> elif sql_type == &quot;delete|select&quot; or sql_type == &quot;select|delete&quot;:<br/> db_fix.delete(sql_sentence[&quot;delete&quot;])<br/> sql_sentence = db_fix.select(sql_sentence[&quot;select&quot;])<br/> case_data[update_key] = sql_sentence<br/> <br/> result = req_fix.request_all(method=method, url=url, mime=mime, case_data=case_data)<br/> try:<br/> for key in expect_data:<br/>&gt; assert result.json().get(key) == expect_data[key]<br/><span class="error">E AssertionError: assert None == &#x27;刷新token成功&#x27;</span><br/><span class="error">E + where None = &lt;built-in method get of dict object at 0x000001E9F2827AC0&gt;(&#x27;message&#x27;)</span><br/><span class="error">E + where &lt;built-in method get of dict object at 0x000001E9F2827AC0&gt; = {&#x27;account&#x27;: &#x27;&#x27;, &#x27;loginStatus&#x27;: True, &#x27;token&#x27;: &#x27;eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE2OTE0OTY0MDgsImlhdCI6MTY5MTQxMDAwOH0.pAcM3LHMLPMVaEUX5SEshm9IOR4Qfgo_a-4nJuZt6-Hi-Udiifi3KzkvK3R5fJxbdSTi3PjcAH3z7z2k8UBjmA&#x27;, &#x27;userAttrs&#x27;: {}, ...}.get</span><br/><span class="error">E + where {&#x27;account&#x27;: &#x27;&#x27;, &#x27;loginStatus&#x27;: True, &#x27;token&#x27;: &#x27;eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE2OTE0OTY0MDgsImlhdCI6MTY5MTQxMDAwOH0.pAcM3LHMLPMVaEUX5SEshm9IOR4Qfgo_a-4nJuZt6-Hi-Udiifi3KzkvK3R5fJxbdSTi3PjcAH3z7z2k8UBjmA&#x27;, &#x27;userAttrs&#x27;: {}, ...} = &lt;bound method Response.json of &lt;Response [200]&gt;&gt;()</span><br/><span class="error">E + where &lt;bound method Response.json of &lt;Response [200]&gt;&gt; = &lt;Response [200]&gt;.json</span><br/><br/>test_bpm.py:41: AssertionError<br/><br/>During handling of the above exception, another exception occurred:<br/><br/>self = &lt;APIAutoTest_004.test_case.test_bpm.TestBPM object at 0x000001E9F26A6650&gt;<br/>req_fix = &lt;APIAutoTest_004.requests_method.requests_method.RequestsMethod object at 0x000001E9F277A490&gt;<br/>db_fix = &lt;APIAutoTest_004.common.db.DB object at 0x000001E9F22137D0&gt;, module = &#x27;认证接口&#x27;, interface = &#x27;刷新token&#x27;, title = &#x27;正向用例&#x27;, level = &#x27;&#x27;, method = &#x27;get&#x27;<br/>url = &#x27;http://120.46.172.186:8080/refresh&#x27;, mime = None, case_data = None, expect_data = {&#x27;message&#x27;: &#x27;刷新token成功&#x27;}, sql_type = None, sql_sentence = None<br/>update_key = None<br/><br/> @allure.epic(&quot;BPM&quot;)<br/> @pytest.mark.parametrize(&quot;module, interface, title, level, method, url, mime, case_data, expect_data, sql_type,sql_sentence,update_key&quot;, ReadExcel().get_data())<br/> def test_bpm(self, req_fix, db_fix, module, interface, title, level, method, url, mime, case_data, expect_data, sql_type,sql_sentence,update_key):<br/> allure.dynamic.feature(module)<br/> allure.dynamic.story(interface)<br/> allure.dynamic.title(title)<br/> allure.dynamic.severity(level)<br/> <br/> if sql_type == &quot;delete&quot;:<br/> db_fix.delete(sql_sentence)<br/> <br/> elif sql_type == &quot;select&quot;:<br/> sql_result = db_fix.select(sql_sentence)<br/> case_data[update_key] = sql_result<br/> <br/> elif sql_type == &quot;delete|select&quot; or sql_type == &quot;select|delete&quot;:<br/> db_fix.delete(sql_sentence[&quot;delete&quot;])<br/> sql_sentence = db_fix.select(sql_sentence[&quot;select&quot;])<br/> case_data[update_key] = sql_sentence<br/> <br/> result = req_fix.request_all(method=method, url=url, mime=mime, case_data=case_data)<br/> try:<br/> for key in expect_data:<br/> assert result.json().get(key) == expect_data[key]<br/> except:<br/> print(&quot;断言失败&quot;)<br/> logging.error(&quot;断言失败,模块名称为:{},接口名称为:{},标题为:{},用例数据为:{}&quot;.format(module, interface, title, case_data))<br/>&gt; raise AssertionError(&quot;断言失败咯&quot;)<br/><span class="error">E AssertionError: 断言失败咯</span><br/><br/>test_bpm.py:45: AssertionError<br/> ------------------------------Captured stdout call------------------------------ <br/>断言失败
<br/> -------------------------------Captured log call-------------------------------- <br/>DEBUG--2023-08-07 20:06:39--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:06:39--http://120.46.172.186:8080 &quot;GET /refresh HTTP/1.1&quot; 200 None
ERROR--2023-08-07 20:06:39--断言失败,模块名称为:认证接口,接口名称为:刷新token,标题为:正向用例,用例数据为:None<br/> ------------------------------Captured stdout call------------------------------ <br/>断言失败
<br/> -------------------------------Captured log call-------------------------------- <br/>DEBUG--2023-08-07 20:06:42--http://120.46.172.186:8080 &quot;GET /refresh HTTP/1.1&quot; 200 None
ERROR--2023-08-07 20:06:42--断言失败,模块名称为:认证接口,接口名称为:刷新token,标题为:正向用例,用例数据为:None<br/> ------------------------------Captured stdout call------------------------------ <br/>断言失败
<br/> -------------------------------Captured log call-------------------------------- <br/>DEBUG--2023-08-07 20:06:44--http://120.46.172.186:8080 &quot;GET /refresh HTTP/1.1&quot; 200 None
ERROR--2023-08-07 20:06:44--断言失败,模块名称为:认证接口,接口名称为:刷新token,标题为:正向用例,用例数据为:None<br/> ------------------------------Captured stdout call------------------------------ <br/>断言失败
<br/> -------------------------------Captured log call-------------------------------- <br/>DEBUG--2023-08-07 20:06:46--http://120.46.172.186:8080 &quot;GET /refresh HTTP/1.1&quot; 200 None
ERROR--2023-08-07 20:06:46--断言失败,模块名称为:认证接口,接口名称为:刷新token,标题为:正向用例,用例数据为:None<br/> ------------------------------Captured stdout call------------------------------ <br/>断言失败
<br/> -------------------------------Captured log call-------------------------------- <br/>DEBUG--2023-08-07 20:06:48--http://120.46.172.186:8080 &quot;GET /refresh HTTP/1.1&quot; 200 None
ERROR--2023-08-07 20:06:48--断言失败,模块名称为:认证接口,接口名称为:刷新token,标题为:正向用例,用例数据为:None<br/></div></td></tr></tbody>
<tbody class="passed results-table-row">
<tr>
<td class="col-result">Passed</td>
<td class="col-name">test_bpm.py::TestBPM::test_bpm[认证接口-登录系统-正向用例-高-post-http://120.46.172.186:8080/auth-json-case_data0-expect_data0-None-None-None]</td>
<td class="col-duration">0.74</td>
<td class="col-links"></td></tr>
<tr>
<td class="extra" colspan="4">
<div class="log"> -------------------------------Captured log setup------------------------------- <br/>DEBUG--2023-08-07 20:06:37--Looking for locale `en_US` in provider `faker.providers.address`.
DEBUG--2023-08-07 20:06:37--Provider `faker.providers.address` has been localized to `en_US`.
DEBUG--2023-08-07 20:06:37--Looking for locale `en_US` in provider `faker.providers.automotive`.
DEBUG--2023-08-07 20:06:37--Provider `faker.providers.automotive` has been localized to `en_US`.
DEBUG--2023-08-07 20:06:37--Looking for locale `en_US` in provider `faker.providers.bank`.
DEBUG--2023-08-07 20:06:37--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:06:37--Looking for locale `en_US` in provider `faker.providers.barcode`.
DEBUG--2023-08-07 20:06:37--Provider `faker.providers.barcode` has been localized to `en_US`.
DEBUG--2023-08-07 20:06:37--Looking for locale `en_US` in provider `faker.providers.color`.
DEBUG--2023-08-07 20:06:37--Provider `faker.providers.color` has been localized to `en_US`.
DEBUG--2023-08-07 20:06:37--Looking for locale `en_US` in provider `faker.providers.company`.
DEBUG--2023-08-07 20:06:37--Provider `faker.providers.company` has been localized to `en_US`.
DEBUG--2023-08-07 20:06:37--Looking for locale `en_US` in provider `faker.providers.credit_card`.
DEBUG--2023-08-07 20:06:37--Provider `faker.providers.credit_card` has been localized to `en_US`.
DEBUG--2023-08-07 20:06:37--Looking for locale `en_US` in provider `faker.providers.currency`.
DEBUG--2023-08-07 20:06:37--Provider `faker.providers.currency` has been localized to `en_US`.
DEBUG--2023-08-07 20:06:37--Looking for locale `en_US` in provider `faker.providers.date_time`.
DEBUG--2023-08-07 20:06:37--Provider `faker.providers.date_time` has been localized to `en_US`.
DEBUG--2023-08-07 20:06:37--Provider `faker.providers.emoji` does not feature localization. Specified locale `en_US` is not utilized for this provider.
DEBUG--2023-08-07 20:06:37--Provider `faker.providers.file` does not feature localization. Specified locale `en_US` is not utilized for this provider.
DEBUG--2023-08-07 20:06:37--Looking for locale `en_US` in provider `faker.providers.geo`.
DEBUG--2023-08-07 20:06:37--Provider `faker.providers.geo` has been localized to `en_US`.
DEBUG--2023-08-07 20:06:37--Looking for locale `en_US` in provider `faker.providers.internet`.
DEBUG--2023-08-07 20:06:37--Provider `faker.providers.internet` has been localized to `en_US`.
DEBUG--2023-08-07 20:06:37--Provider `faker.providers.isbn` does not feature localization. Specified locale `en_US` is not utilized for this provider.
DEBUG--2023-08-07 20:06:37--Looking for locale `en_US` in provider `faker.providers.job`.
DEBUG--2023-08-07 20:06:37--Provider `faker.providers.job` has been localized to `en_US`.
DEBUG--2023-08-07 20:06:37--Looking for locale `en_US` in provider `faker.providers.lorem`.
DEBUG--2023-08-07 20:06:37--Provider `faker.providers.lorem` has been localized to `en_US`.
DEBUG--2023-08-07 20:06:37--Looking for locale `en_US` in provider `faker.providers.misc`.
DEBUG--2023-08-07 20:06:37--Provider `faker.providers.misc` has been localized to `en_US`.
DEBUG--2023-08-07 20:06:37--Looking for locale `en_US` in provider `faker.providers.passport`.
DEBUG--2023-08-07 20:06:37--Provider `faker.providers.passport` has been localized to `en_US`.
DEBUG--2023-08-07 20:06:37--Looking for locale `en_US` in provider `faker.providers.person`.
DEBUG--2023-08-07 20:06:37--Provider `faker.providers.person` has been localized to `en_US`.
DEBUG--2023-08-07 20:06:37--Looking for locale `en_US` in provider `faker.providers.phone_number`.
DEBUG--2023-08-07 20:06:37--Provider `faker.providers.phone_number` has been localized to `en_US`.
DEBUG--2023-08-07 20:06:37--Provider `faker.providers.profile` does not feature localization. Specified locale `en_US` is not utilized for this provider.
DEBUG--2023-08-07 20:06:37--Provider `faker.providers.python` does not feature localization. Specified locale `en_US` is not utilized for this provider.
DEBUG--2023-08-07 20:06:37--Provider `faker.providers.sbn` does not feature localization. Specified locale `en_US` is not utilized for this provider.
DEBUG--2023-08-07 20:06:37--Looking for locale `en_US` in provider `faker.providers.ssn`.
DEBUG--2023-08-07 20:06:37--Provider `faker.providers.ssn` has been localized to `en_US`.
DEBUG--2023-08-07 20:06:37--Provider `faker.providers.user_agent` does not feature localization. Specified locale `en_US` is not utilized for this provider.
DEBUG--2023-08-07 20:06:37--Starting new HTTP connection (1): 120.46.172.186:8080
DEBUG--2023-08-07 20:06:38--http://120.46.172.186:8080 &quot;POST /auth HTTP/1.1&quot; 200 None<br/> ------------------------------Captured stdout call------------------------------ <br/>断言成功
<br/> -------------------------------Captured log call-------------------------------- <br/>DEBUG--2023-08-07 20:06:38--http://120.46.172.186:8080 &quot;POST /auth HTTP/1.1&quot; 200 None<br/></div></td></tr></tbody>
<tbody class="passed results-table-row">
<tr>
<td class="col-result">Passed</td>
<td class="col-name">test_bpm.py::TestBPM::test_bpm[认证接口-登录系统-反向用例-用户名过长-中-post-http://120.46.172.186:8080/auth-json-case_data1-expect_data1-None-None-None]</td>
<td class="col-duration">0.06</td>
<td class="col-links"></td></tr>
<tr>
<td class="extra" colspan="4">
<div class="log"> ------------------------------Captured stdout call------------------------------ <br/>断言成功
<br/> -------------------------------Captured log call-------------------------------- <br/>DEBUG--2023-08-07 20:06:38--http://120.46.172.186:8080 &quot;POST /auth HTTP/1.1&quot; 500 None<br/></div></td></tr></tbody>
<tbody class="passed results-table-row">
<tr>
<td class="col-result">Passed</td>
<td class="col-name">test_bpm.py::TestBPM::test_bpm[认证接口-登录系统-反向用例-用户名过短-中-post-http://120.46.172.186:8080/auth-json-case_data2-expect_data2-None-None-None]</td>
<td class="col-duration">0.11</td>
<td class="col-links"></td></tr>
<tr>
<td class="extra" colspan="4">
<div class="log"> ------------------------------Captured stdout call------------------------------ <br/>断言成功
<br/> -------------------------------Captured log call-------------------------------- <br/>DEBUG--2023-08-07 20:06:38--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:06:38--http://120.46.172.186:8080 &quot;POST /auth HTTP/1.1&quot; 500 None<br/></div></td></tr></tbody>
<tbody class="passed results-table-row">
<tr>
<td class="col-result">Passed</td>
<td class="col-name">test_bpm.py::TestBPM::test_bpm[认证接口-登录系统-反向用例-用户名为空-中-post-http://120.46.172.186:8080/auth-json-case_data3-expect_data3-None-None-None]</td>
<td class="col-duration">0.10</td>
<td class="col-links"></td></tr>
<tr>
<td class="extra" colspan="4">
<div class="log"> ------------------------------Captured stdout call------------------------------ <br/>断言成功
<br/> -------------------------------Captured log call-------------------------------- <br/>DEBUG--2023-08-07 20:06:38--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:06:38--http://120.46.172.186:8080 &quot;POST /auth HTTP/1.1&quot; 500 None<br/></div></td></tr></tbody>
<tbody class="passed results-table-row">
<tr>
<td class="col-result">Passed</td>
<td class="col-name">test_bpm.py::TestBPM::test_bpm[认证接口-登录系统-反向用例-用户名为特殊字符-中-post-http://120.46.172.186:8080/auth-json-case_data4-expect_data4-None-None-None]</td>
<td class="col-duration">0.11</td>
<td class="col-links"></td></tr>
<tr>
<td class="extra" colspan="4">
<div class="log"> ------------------------------Captured stdout call------------------------------ <br/>断言成功
<br/> -------------------------------Captured log call-------------------------------- <br/>DEBUG--2023-08-07 20:06:38--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:06:38--http://120.46.172.186:8080 &quot;POST /auth HTTP/1.1&quot; 500 None<br/></div></td></tr></tbody>
<tbody class="passed results-table-row">
<tr>
<td class="col-result">Passed</td>
<td class="col-name">test_bpm.py::TestBPM::test_bpm[认证接口-登录系统-反向用例-用户名错误-中-post-http://120.46.172.186:8080/auth-json-case_data5-expect_data5-None-None-None]</td>
<td class="col-duration">0.11</td>
<td class="col-links"></td></tr>
<tr>
<td class="extra" colspan="4">
<div class="log"> ------------------------------Captured stdout call------------------------------ <br/>断言成功
<br/> -------------------------------Captured log call-------------------------------- <br/>DEBUG--2023-08-07 20:06:38--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:06:38--http://120.46.172.186:8080 &quot;POST /auth HTTP/1.1&quot; 500 None<br/></div></td></tr></tbody>
<tbody class="passed results-table-row">
<tr>
<td class="col-result">Passed</td>
<td class="col-name">test_bpm.py::TestBPM::test_bpm[认证接口-登录系统-反向用例-密码过长-中-post-http://120.46.172.186:8080/auth-json-case_data6-expect_data6-None-None-None]</td>
<td class="col-duration">0.10</td>
<td class="col-links"></td></tr>
<tr>
<td class="extra" colspan="4">
<div class="log"> ------------------------------Captured stdout call------------------------------ <br/>断言成功
<br/> -------------------------------Captured log call-------------------------------- <br/>DEBUG--2023-08-07 20:06:38--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:06:39--http://120.46.172.186:8080 &quot;POST /auth HTTP/1.1&quot; 500 None<br/></div></td></tr></tbody>
<tbody class="passed results-table-row">
<tr>
<td class="col-result">Passed</td>
<td class="col-name">test_bpm.py::TestBPM::test_bpm[认证接口-登录系统-反向用例-密码过短-中-post-http://120.46.172.186:8080/auth-json-case_data7-expect_data7-None-None-None]</td>
<td class="col-duration">0.09</td>
<td class="col-links"></td></tr>
<tr>
<td class="extra" colspan="4">
<div class="log"> ------------------------------Captured stdout call------------------------------ <br/>断言成功
<br/> -------------------------------Captured log call-------------------------------- <br/>DEBUG--2023-08-07 20:06:39--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:06:39--http://120.46.172.186:8080 &quot;POST /auth HTTP/1.1&quot; 500 None<br/></div></td></tr></tbody>
<tbody class="passed results-table-row">
<tr>
<td class="col-result">Passed</td>
<td class="col-name">test_bpm.py::TestBPM::test_bpm[认证接口-登录系统-反向用例-密码为空-中-post-http://120.46.172.186:8080/auth-json-case_data8-expect_data8-None-None-None]</td>
<td class="col-duration">0.09</td>
<td class="col-links"></td></tr>
<tr>
<td class="extra" colspan="4">
<div class="log"> ------------------------------Captured stdout call------------------------------ <br/>断言成功
<br/> -------------------------------Captured log call-------------------------------- <br/>DEBUG--2023-08-07 20:06:39--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:06:39--http://120.46.172.186:8080 &quot;POST /auth HTTP/1.1&quot; 500 None<br/></div></td></tr></tbody>
<tbody class="passed results-table-row">
<tr>
<td class="col-result">Passed</td>
<td class="col-name">test_bpm.py::TestBPM::test_bpm[认证接口-登录系统-反向用例-密码为特殊字符-中-post-http://120.46.172.186:8080/auth-json-case_data9-expect_data9-None-None-None]</td>
<td class="col-duration">0.10</td>
<td class="col-links"></td></tr>
<tr>
<td class="extra" colspan="4">
<div class="log"> ------------------------------Captured stdout call------------------------------ <br/>断言成功
<br/> -------------------------------Captured log call-------------------------------- <br/>DEBUG--2023-08-07 20:06:39--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:06:39--http://120.46.172.186:8080 &quot;POST /auth HTTP/1.1&quot; 500 None<br/></div></td></tr></tbody>
<tbody class="passed results-table-row">
<tr>
<td class="col-result">Passed</td>
<td class="col-name">test_bpm.py::TestBPM::test_bpm[认证接口-登录系统-反向用例-密码错误-中-post-http://120.46.172.186:8080/auth-json-case_data10-expect_data10-None-None-None]</td>
<td class="col-duration">0.10</td>
<td class="col-links"></td></tr>
<tr>
<td class="extra" colspan="4">
<div class="log"> ------------------------------Captured stdout call------------------------------ <br/>断言成功
<br/> -------------------------------Captured log call-------------------------------- <br/>DEBUG--2023-08-07 20:06:39--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:06:39--http://120.46.172.186:8080 &quot;POST /auth HTTP/1.1&quot; 500 None<br/></div></td></tr></tbody>
<tbody class="passed results-table-row">
<tr>
<td class="col-result">Passed</td>
<td class="col-name">test_bpm.py::TestBPM::test_bpm[维度管理-添加维度-正向用例-高-post-http://120.46.172.186:8080/api/demension/v1/dem/addDem-json-case_data12-expect_data12-delete-DELETE FROM uc_demension WHERE `CODE_`=&quot;yyct&quot;;-None]</td>
<td class="col-duration">0.14</td>
<td class="col-links"></td></tr>
<tr>
<td class="extra" colspan="4">
<div class="log"> ------------------------------Captured stdout call------------------------------ <br/>断言成功
<br/> -------------------------------Captured log call-------------------------------- <br/>DEBUG--2023-08-07 20:06:50--http://120.46.172.186:8080 &quot;POST /api/demension/v1/dem/addDem HTTP/1.1&quot; 200 None<br/></div></td></tr></tbody>
<tbody class="passed results-table-row">
<tr>
<td class="col-result">Passed</td>
<td class="col-name">test_bpm.py::TestBPM::test_bpm[组织管理-添加组织-正向用例-高-post-http://120.46.172.186:8080/api/org/v1/org/addOrg-json-case_data13-expect_data13-delete|select-sql_sentence13-demId]</td>
<td class="col-duration">0.18</td>
<td class="col-links"></td></tr>
<tr>
<td class="extra" colspan="4">
<div class="log"> ------------------------------Captured stdout call------------------------------ <br/>断言成功
<br/> -------------------------------Captured log call-------------------------------- <br/>DEBUG--2023-08-07 20:06:51--http://120.46.172.186:8080 &quot;POST /api/org/v1/org/addOrg HTTP/1.1&quot; 200 None<br/></div></td></tr></tbody>
<tbody class="passed results-table-row">
<tr>
<td class="col-result">Passed</td>
<td class="col-name">test_bpm.py::TestBPM::test_bpm[组织管理-保存组织参数-正向用例-高-post-http://120.46.172.186:8080/api/org/v1/orgParam/saveOrgParams-json|query-case_data14-expect_data14-None-None-None]</td>
<td class="col-duration">0.07</td>
<td class="col-links"></td></tr>
<tr>
<td class="extra" colspan="4">
<div class="log"> ------------------------------Captured stdout call------------------------------ <br/>断言成功
<br/> -------------------------------Captured log call-------------------------------- <br/>DEBUG--2023-08-07 20:06:51--http://120.46.172.186:8080 &quot;POST /api/org/v1/orgParam/saveOrgParams?orgCode=ct HTTP/1.1&quot; 200 None<br/></div></td></tr></tbody>
<tbody class="passed results-table-row">
<tr>
<td class="col-result">Passed</td>
<td class="col-name">test_bpm.py::TestBPM::test_bpm[组织管理-删除组织-正向用例-高-post-http://120.46.172.186:8080/api/org/v1/org/deleteOrg-text/plain-ct-expect_data15-None-None-None]</td>
<td class="col-duration">0.07</td>
<td class="col-links"></td></tr>
<tr>
<td class="extra" colspan="4">
<div class="log"> ------------------------------Captured stdout call------------------------------ <br/>断言成功
<br/> -------------------------------Captured log call-------------------------------- <br/>DEBUG--2023-08-07 20:06:51--http://120.46.172.186:8080 &quot;POST /api/org/v1/org/deleteOrg HTTP/1.1&quot; 200 None<br/></div></td></tr></tbody>
<tbody class="passed results-table-row">
<tr>
<td class="col-result">Passed</td>
<td class="col-name">test_bpm.py::TestBPM::test_bpm[维度管理-根据维度编码删除维度-正向用例-高-delete-http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds-query-case_data16-expect_data16-select-SELECT ID_ FROM uc_demension WHERE `CODE_`=&quot;yyct&quot;;-ids]</td>
<td class="col-duration">0.11</td>
<td class="col-links"></td></tr>
<tr>
<td class="extra" colspan="4">
<div class="log"> ------------------------------Captured stdout call------------------------------ <br/>断言成功
<br/> -------------------------------Captured log call-------------------------------- <br/>DEBUG--2023-08-07 20:06:51--http://120.46.172.186:8080 &quot;DELETE /api/demension/v1/dem/deleteDemByIds?ids=1688522084960976896 HTTP/1.1&quot; 200 None<br/></div></td></tr></tbody></table></body></html>
\ 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:25:49--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:25:49--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
\ No newline at end of file
DEBUG--2023-08-07 20:25:49--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:25:49--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
\ No newline at end of file
DEBUG--2023-08-07 20:25:49--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:25:49--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
\ No newline at end of file
DEBUG--2023-08-07 20:25:50--http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
\ No newline at end of file
DEBUG--2023-08-07 20:25:47--Looking for locale `en_US` in provider `faker.providers.address`.
DEBUG--2023-08-07 20:25:47--Provider `faker.providers.address` has been localized to `en_US`.
DEBUG--2023-08-07 20:25:47--Looking for locale `en_US` in provider `faker.providers.automotive`.
DEBUG--2023-08-07 20:25:47--Provider `faker.providers.automotive` has been localized to `en_US`.
DEBUG--2023-08-07 20:25:47--Looking for locale `en_US` in provider `faker.providers.bank`.
DEBUG--2023-08-07 20:25:47--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:25:47--Looking for locale `en_US` in provider `faker.providers.barcode`.
DEBUG--2023-08-07 20:25:47--Provider `faker.providers.barcode` has been localized to `en_US`.
DEBUG--2023-08-07 20:25:47--Looking for locale `en_US` in provider `faker.providers.color`.
DEBUG--2023-08-07 20:25:47--Provider `faker.providers.color` has been localized to `en_US`.
DEBUG--2023-08-07 20:25:47--Looking for locale `en_US` in provider `faker.providers.company`.
DEBUG--2023-08-07 20:25:47--Provider `faker.providers.company` has been localized to `en_US`.
DEBUG--2023-08-07 20:25:47--Looking for locale `en_US` in provider `faker.providers.credit_card`.
DEBUG--2023-08-07 20:25:47--Provider `faker.providers.credit_card` has been localized to `en_US`.
DEBUG--2023-08-07 20:25:47--Looking for locale `en_US` in provider `faker.providers.currency`.
DEBUG--2023-08-07 20:25:47--Provider `faker.providers.currency` has been localized to `en_US`.
DEBUG--2023-08-07 20:25:47--Looking for locale `en_US` in provider `faker.providers.date_time`.
DEBUG--2023-08-07 20:25:48--Provider `faker.providers.date_time` has been localized to `en_US`.
DEBUG--2023-08-07 20:25:48--Provider `faker.providers.emoji` does not feature localization. Specified locale `en_US` is not utilized for this provider.
DEBUG--2023-08-07 20:25:48--Provider `faker.providers.file` does not feature localization. Specified locale `en_US` is not utilized for this provider.
DEBUG--2023-08-07 20:25:48--Looking for locale `en_US` in provider `faker.providers.geo`.
DEBUG--2023-08-07 20:25:48--Provider `faker.providers.geo` has been localized to `en_US`.
DEBUG--2023-08-07 20:25:48--Looking for locale `en_US` in provider `faker.providers.internet`.
DEBUG--2023-08-07 20:25:48--Provider `faker.providers.internet` has been localized to `en_US`.
DEBUG--2023-08-07 20:25:48--Provider `faker.providers.isbn` does not feature localization. Specified locale `en_US` is not utilized for this provider.
DEBUG--2023-08-07 20:25:48--Looking for locale `en_US` in provider `faker.providers.job`.
DEBUG--2023-08-07 20:25:48--Provider `faker.providers.job` has been localized to `en_US`.
DEBUG--2023-08-07 20:25:48--Looking for locale `en_US` in provider `faker.providers.lorem`.
DEBUG--2023-08-07 20:25:48--Provider `faker.providers.lorem` has been localized to `en_US`.
DEBUG--2023-08-07 20:25:48--Looking for locale `en_US` in provider `faker.providers.misc`.
DEBUG--2023-08-07 20:25:48--Provider `faker.providers.misc` has been localized to `en_US`.
DEBUG--2023-08-07 20:25:48--Looking for locale `en_US` in provider `faker.providers.passport`.
DEBUG--2023-08-07 20:25:48--Provider `faker.providers.passport` has been localized to `en_US`.
DEBUG--2023-08-07 20:25:48--Looking for locale `en_US` in provider `faker.providers.person`.
DEBUG--2023-08-07 20:25:48--Provider `faker.providers.person` has been localized to `en_US`.
DEBUG--2023-08-07 20:25:48--Looking for locale `en_US` in provider `faker.providers.phone_number`.
DEBUG--2023-08-07 20:25:48--Provider `faker.providers.phone_number` has been localized to `en_US`.
DEBUG--2023-08-07 20:25:48--Provider `faker.providers.profile` does not feature localization. Specified locale `en_US` is not utilized for this provider.
DEBUG--2023-08-07 20:25:48--Provider `faker.providers.python` does not feature localization. Specified locale `en_US` is not utilized for this provider.
DEBUG--2023-08-07 20:25:48--Provider `faker.providers.sbn` does not feature localization. Specified locale `en_US` is not utilized for this provider.
DEBUG--2023-08-07 20:25:48--Looking for locale `en_US` in provider `faker.providers.ssn`.
DEBUG--2023-08-07 20:25:48--Provider `faker.providers.ssn` has been localized to `en_US`.
DEBUG--2023-08-07 20:25:48--Provider `faker.providers.user_agent` does not feature localization. Specified locale `en_US` is not utilized for this provider.
DEBUG--2023-08-07 20:25:48--Starting new HTTP connection (1): 120.46.172.186:8080
DEBUG--2023-08-07 20:25:48--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 200 None
DEBUG--2023-08-07 20:25:48--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 200 None
\ No newline at end of file
DEBUG--2023-08-07 20:25:49--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:25:49--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
\ No newline at end of file
DEBUG--2023-08-07 20:25:48--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:25:48--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
\ No newline at end of file
DEBUG--2023-08-07 20:25:48--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:25:49--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
\ No newline at end of file
DEBUG--2023-08-07 20:25:48--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:25:48--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
\ No newline at end of file
DEBUG--2023-08-07 20:25:50--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:25:49--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:25:49--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
\ No newline at end of file
DEBUG--2023-08-07 20:25:49--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:25:49--http://120.46.172.186:8080 "GET /refresh HTTP/1.1" 200 None
ERROR--2023-08-07 20:25:49--断言失败,模块名称为:认证接口,接口名称为:刷新token,标题为:正向用例,用例数据为:None
\ No newline at end of file
DEBUG--2023-08-07 20:25:50--http://120.46.172.186:8080 "POST /api/org/v1/orgParam/saveOrgParams?orgCode=ct HTTP/1.1" 200 None
\ No newline at end of file
DEBUG--2023-08-07 20:25:49--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:25:49--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
\ No newline at end of file
DEBUG--2023-08-07 20:25:50--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:25:50--http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1688526864500408320 HTTP/1.1" 200 None
\ No newline at end of file
DEBUG--2023-08-07 20:25:48--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
\ No newline at end of file
"Epic","Feature","Story","FAILED","BROKEN","PASSED","SKIPPED","UNKNOWN"
"BPM","组织管理","保存组织参数","0","0","1","0","0"
"BPM","认证接口","登录系统","0","0","11","0","0"
"BPM","组织管理","添加组织","0","0","1","0","0"
"BPM","组织管理","删除组织","0","0","1","0","0"
"BPM","认证接口","刷新token","1","0","0","0","0"
"BPM","维度管理","根据维度编码删除维度","0","0","1","0","0"
"BPM","维度管理","添加维度","0","0","1","0","0"
{
"uid" : "b1a8273437954620fa374b796ffaacdd",
"name" : "behaviors",
"children" : [ {
"name" : "BPM",
"children" : [ {
"name" : "认证接口",
"children" : [ {
"name" : "登录系统",
"children" : [ {
"name" : "正向用例",
"uid" : "a1c2bafbe88b53da",
"parentUid" : "4f9cec53adaa2099356c7afcf898fea7",
"status" : "passed",
"time" : {
"start" : 1691411148525,
"stop" : 1691411148597,
"duration" : 72
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'username': 'admin', 'password': 'MTIzNDU2'}", "{'username': '超级管理员', 'account': 'admin'}", "'登录系统'", "'高'", "'post'", "'json'", "'认证接口'", "None", "None", "'正向用例'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-用户名过长",
"uid" : "b09d9b3ada9cd583",
"parentUid" : "4f9cec53adaa2099356c7afcf898fea7",
"status" : "passed",
"time" : {
"start" : 1691411148610,
"stop" : 1691411148662,
"duration" : 52
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'username': 'adminadminadminadminadminadmin', 'password': 'MTIzNDU2'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'post'", "'json'", "'认证接口'", "None", "None", "'反向用例-用户名过长'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-用户名过短",
"uid" : "3b166d057d5cb453",
"parentUid" : "4f9cec53adaa2099356c7afcf898fea7",
"status" : "passed",
"time" : {
"start" : 1691411148703,
"stop" : 1691411148801,
"duration" : 98
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'username': 'i', 'password': 'MTIzNDU2'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'post'", "'json'", "'认证接口'", "None", "None", "'反向用例-用户名过短'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-用户名为空",
"uid" : "d3d88f0f26df43b9",
"parentUid" : "4f9cec53adaa2099356c7afcf898fea7",
"status" : "passed",
"time" : {
"start" : 1691411148813,
"stop" : 1691411148907,
"duration" : 94
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'username': '', 'password': 'MTIzNDU2'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'post'", "'json'", "'认证接口'", "None", "None", "'反向用例-用户名为空'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-用户名为特殊字符",
"uid" : "fed5ceb47c4fb2e5",
"parentUid" : "4f9cec53adaa2099356c7afcf898fea7",
"status" : "passed",
"time" : {
"start" : 1691411148921,
"stop" : 1691411149011,
"duration" : 90
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'username': '▬♦◊◦☼♠♣', 'password': 'MTIzNDU2'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'post'", "'json'", "'认证接口'", "None", "None", "'反向用例-用户名为特殊字符'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-用户名错误",
"uid" : "ad5d728dfbaf3fd2",
"parentUid" : "4f9cec53adaa2099356c7afcf898fea7",
"status" : "passed",
"time" : {
"start" : 1691411149021,
"stop" : 1691411149115,
"duration" : 94
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'username': 'gmmn', 'password': 'MTIzNDU2'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'post'", "'json'", "'认证接口'", "None", "None", "'反向用例-用户名错误'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-密码过长",
"uid" : "528e8ed769ce3f74",
"parentUid" : "4f9cec53adaa2099356c7afcf898fea7",
"status" : "passed",
"time" : {
"start" : 1691411149129,
"stop" : 1691411149227,
"duration" : 98
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'username': 'admin', 'password': 'MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'post'", "'json'", "'认证接口'", "None", "None", "'反向用例-密码过长'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-密码过短",
"uid" : "f31fbcd0eaaf6205",
"parentUid" : "4f9cec53adaa2099356c7afcf898fea7",
"status" : "passed",
"time" : {
"start" : 1691411149263,
"stop" : 1691411149362,
"duration" : 99
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'username': 'admin', 'password': 'M'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'post'", "'json'", "'认证接口'", "None", "None", "'反向用例-密码过短'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-密码为空",
"uid" : "31debdd23b02bc88",
"parentUid" : "4f9cec53adaa2099356c7afcf898fea7",
"status" : "passed",
"time" : {
"start" : 1691411149401,
"stop" : 1691411149501,
"duration" : 100
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'username': 'admin', 'password': ''}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'post'", "'json'", "'认证接口'", "None", "None", "'反向用例-密码为空'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-密码为特殊字符",
"uid" : "6c0b456ff0188f78",
"parentUid" : "4f9cec53adaa2099356c7afcf898fea7",
"status" : "passed",
"time" : {
"start" : 1691411149544,
"stop" : 1691411149657,
"duration" : 113
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'username': 'admin', 'password': '▬♦◊◦☼♠♣'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'post'", "'json'", "'认证接口'", "None", "None", "'反向用例-密码为特殊字符'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-密码错误",
"uid" : "2c08225f589831e7",
"parentUid" : "4f9cec53adaa2099356c7afcf898fea7",
"status" : "passed",
"time" : {
"start" : 1691411149690,
"stop" : 1691411149791,
"duration" : 101
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'username': 'admin', 'password': 'M534fg'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'post'", "'json'", "'认证接口'", "None", "None", "'反向用例-密码错误'", "None", "'http://120.46.172.186:8080/auth'" ]
} ],
"uid" : "4f9cec53adaa2099356c7afcf898fea7"
}, {
"name" : "刷新token",
"children" : [ {
"name" : "正向用例",
"uid" : "6bb8dcaac98e2e8f",
"parentUid" : "20629f6cf8d99b6e79c8794483c0c037",
"status" : "failed",
"time" : {
"start" : 1691411149800,
"stop" : 1691411149897,
"duration" : 97
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "None", "{'message': '刷新token成功'}", "'刷新token'", "'中'", "'get'", "None", "'认证接口'", "None", "None", "'正向用例'", "None", "'http://120.46.172.186:8080/refresh'" ]
} ],
"uid" : "20629f6cf8d99b6e79c8794483c0c037"
} ],
"uid" : "a0cb9d81ed5a4b0502c77ec9657ab63c"
}, {
"name" : "维度管理",
"children" : [ {
"name" : "添加维度",
"children" : [ {
"name" : "正向用例",
"uid" : "d5c1bbd0382bd840",
"parentUid" : "9f6c47f122682fd25bc60827d3b6f0f7",
"status" : "passed",
"time" : {
"start" : 1691411150304,
"stop" : 1691411150446,
"duration" : 142
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'code': 'yyct', 'description': '悠悠苍天何薄与我', 'isDefault': 0, 'name': '悠悠苍天'}", "{'state': True, 'message': '添加维度成功!'}", "'添加维度'", "'高'", "'post'", "'json'", "'维度管理'", "'DELETE FROM uc_demension WHERE `CODE_`=\"yyct\";'", "'delete'", "'正向用例'", "None", "'http://120.46.172.186:8080/api/demension/v1/dem/addDem'" ]
} ],
"uid" : "9f6c47f122682fd25bc60827d3b6f0f7"
}, {
"name" : "根据维度编码删除维度",
"children" : [ {
"name" : "正向用例",
"uid" : "515b76f6e81acfe0",
"parentUid" : "1a1c5b45c2ba56d8f66e240802e7a621",
"status" : "passed",
"time" : {
"start" : 1691411150818,
"stop" : 1691411150910,
"duration" : 92
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'ids': '不知道'}", "{'state': True, 'message': '删除维度成功!'}", "'根据维度编码删除维度'", "'高'", "'delete'", "'query'", "'维度管理'", "'SELECT ID_ FROM uc_demension WHERE `CODE_`=\"yyct\";'", "'select'", "'正向用例'", "'ids'", "'http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds'" ]
} ],
"uid" : "1a1c5b45c2ba56d8f66e240802e7a621"
} ],
"uid" : "664c27bab8d7f8cf8caf065a391304cd"
}, {
"name" : "组织管理",
"children" : [ {
"name" : "添加组织",
"children" : [ {
"name" : "正向用例",
"uid" : "db4633ccbed04e70",
"parentUid" : "eee956aaaafe14aac4a05128dfd47435",
"status" : "passed",
"time" : {
"start" : 1691411150477,
"stop" : 1691411150657,
"duration" : 180
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'code': 'ct', 'demId': '不知道', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '苍天', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}", "{'state': True, 'message': '添加组织成功!'}", "'添加组织'", "'高'", "'post'", "'json'", "'组织管理'", "{'select': 'SELECT ID_ FROM uc_demension WHERE `CODE_`=\"yyct\";', 'delete': 'DELETE FROM uc_org WHERE `CODE_`=\"ct\";'}", "'delete|select'", "'正向用例'", "'demId'", "'http://120.46.172.186:8080/api/org/v1/org/addOrg'" ]
} ],
"uid" : "eee956aaaafe14aac4a05128dfd47435"
}, {
"name" : "保存组织参数",
"children" : [ {
"name" : "正向用例",
"uid" : "4b2e1f358c0af17b",
"parentUid" : "b7e93eea25f7000620df947e947466e9",
"status" : "passed",
"time" : {
"start" : 1691411150670,
"stop" : 1691411150737,
"duration" : 67
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'query': {'orgCode': 'ct'}, 'body': [{'alias': 'sz', 'value': 0}, {'alias': 'zy', 'value': 'math'}, {'alias': 'rq', 'value': '2023-08-04T16:00:00.000Z'}, {'alias': 'ah', 'value': 'zq'}, {'alias': 'yyyy', 'value': '越高越好'}, {'alias': 'xb', 'value': '2'}]}", "{'state': True, 'message': '保存组织参数成功!'}", "'保存组织参数'", "'高'", "'post'", "'json|query'", "'组织管理'", "None", "None", "'正向用例'", "None", "'http://120.46.172.186:8080/api/org/v1/orgParam/saveOrgParams'" ]
} ],
"uid" : "b7e93eea25f7000620df947e947466e9"
}, {
"name" : "删除组织",
"children" : [ {
"name" : "正向用例",
"uid" : "e3fd9117920f198",
"parentUid" : "003faa2e6f7aa4c27d004979ca802e62",
"status" : "passed",
"time" : {
"start" : 1691411150746,
"stop" : 1691411150804,
"duration" : 58
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'ct'", "{'state': True, 'message': '删除组织成功!'}", "'删除组织'", "'高'", "'post'", "'text/plain'", "'组织管理'", "None", "None", "'正向用例'", "None", "'http://120.46.172.186:8080/api/org/v1/org/deleteOrg'" ]
} ],
"uid" : "003faa2e6f7aa4c27d004979ca802e62"
} ],
"uid" : "3575947d205b767889eee604593003ac"
} ],
"uid" : "9e1b01c648115bfb2ed3deda19160930"
} ]
}
\ No newline at end of file
"Category","FAILED","BROKEN","PASSED","SKIPPED","UNKNOWN"
"Product defects","1","0","0","0","0"
{
"uid" : "4b4757e66a1912dae1a509f688f20b0f",
"name" : "categories",
"children" : [ {
"name" : "Product defects",
"children" : [ {
"name" : "AssertionError: 断言失败咯",
"children" : [ {
"name" : "正向用例",
"uid" : "6bb8dcaac98e2e8f",
"parentUid" : "523516495072bd8a87c82821e21c0f7a",
"status" : "failed",
"time" : {
"start" : 1691411149800,
"stop" : 1691411149897,
"duration" : 97
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "None", "{'message': '刷新token成功'}", "'刷新token'", "'中'", "'get'", "None", "'认证接口'", "None", "None", "'正向用例'", "None", "'http://120.46.172.186:8080/refresh'" ]
} ],
"uid" : "523516495072bd8a87c82821e21c0f7a"
} ],
"uid" : "8fb3a91ba5aaf9de24cc8a92edc82b5d"
} ]
}
\ No newline at end of file
{
"uid" : "83edc06c07f9ae9e47eb6dd1b683e4e2",
"name" : "packages",
"children" : [ {
"name" : "test_bpm",
"children" : [ {
"name" : "正向用例",
"uid" : "a1c2bafbe88b53da",
"parentUid" : "4a32e30797efccc00725261109ae2af4",
"status" : "passed",
"time" : {
"start" : 1691411148525,
"stop" : 1691411148597,
"duration" : 72
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'username': 'admin', 'password': 'MTIzNDU2'}", "{'username': '超级管理员', 'account': 'admin'}", "'登录系统'", "'高'", "'post'", "'json'", "'认证接口'", "None", "None", "'正向用例'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-用户名过长",
"uid" : "b09d9b3ada9cd583",
"parentUid" : "4a32e30797efccc00725261109ae2af4",
"status" : "passed",
"time" : {
"start" : 1691411148610,
"stop" : 1691411148662,
"duration" : 52
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'username': 'adminadminadminadminadminadmin', 'password': 'MTIzNDU2'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'post'", "'json'", "'认证接口'", "None", "None", "'反向用例-用户名过长'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-用户名过短",
"uid" : "3b166d057d5cb453",
"parentUid" : "4a32e30797efccc00725261109ae2af4",
"status" : "passed",
"time" : {
"start" : 1691411148703,
"stop" : 1691411148801,
"duration" : 98
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'username': 'i', 'password': 'MTIzNDU2'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'post'", "'json'", "'认证接口'", "None", "None", "'反向用例-用户名过短'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-用户名为空",
"uid" : "d3d88f0f26df43b9",
"parentUid" : "4a32e30797efccc00725261109ae2af4",
"status" : "passed",
"time" : {
"start" : 1691411148813,
"stop" : 1691411148907,
"duration" : 94
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'username': '', 'password': 'MTIzNDU2'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'post'", "'json'", "'认证接口'", "None", "None", "'反向用例-用户名为空'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-用户名为特殊字符",
"uid" : "fed5ceb47c4fb2e5",
"parentUid" : "4a32e30797efccc00725261109ae2af4",
"status" : "passed",
"time" : {
"start" : 1691411148921,
"stop" : 1691411149011,
"duration" : 90
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'username': '▬♦◊◦☼♠♣', 'password': 'MTIzNDU2'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'post'", "'json'", "'认证接口'", "None", "None", "'反向用例-用户名为特殊字符'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-用户名错误",
"uid" : "ad5d728dfbaf3fd2",
"parentUid" : "4a32e30797efccc00725261109ae2af4",
"status" : "passed",
"time" : {
"start" : 1691411149021,
"stop" : 1691411149115,
"duration" : 94
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'username': 'gmmn', 'password': 'MTIzNDU2'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'post'", "'json'", "'认证接口'", "None", "None", "'反向用例-用户名错误'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-密码过长",
"uid" : "528e8ed769ce3f74",
"parentUid" : "4a32e30797efccc00725261109ae2af4",
"status" : "passed",
"time" : {
"start" : 1691411149129,
"stop" : 1691411149227,
"duration" : 98
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'username': 'admin', 'password': 'MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'post'", "'json'", "'认证接口'", "None", "None", "'反向用例-密码过长'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-密码过短",
"uid" : "f31fbcd0eaaf6205",
"parentUid" : "4a32e30797efccc00725261109ae2af4",
"status" : "passed",
"time" : {
"start" : 1691411149263,
"stop" : 1691411149362,
"duration" : 99
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'username': 'admin', 'password': 'M'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'post'", "'json'", "'认证接口'", "None", "None", "'反向用例-密码过短'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-密码为空",
"uid" : "31debdd23b02bc88",
"parentUid" : "4a32e30797efccc00725261109ae2af4",
"status" : "passed",
"time" : {
"start" : 1691411149401,
"stop" : 1691411149501,
"duration" : 100
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'username': 'admin', 'password': ''}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'post'", "'json'", "'认证接口'", "None", "None", "'反向用例-密码为空'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-密码为特殊字符",
"uid" : "6c0b456ff0188f78",
"parentUid" : "4a32e30797efccc00725261109ae2af4",
"status" : "passed",
"time" : {
"start" : 1691411149544,
"stop" : 1691411149657,
"duration" : 113
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'username': 'admin', 'password': '▬♦◊◦☼♠♣'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'post'", "'json'", "'认证接口'", "None", "None", "'反向用例-密码为特殊字符'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-密码错误",
"uid" : "2c08225f589831e7",
"parentUid" : "4a32e30797efccc00725261109ae2af4",
"status" : "passed",
"time" : {
"start" : 1691411149690,
"stop" : 1691411149791,
"duration" : 101
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'username': 'admin', 'password': 'M534fg'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'post'", "'json'", "'认证接口'", "None", "None", "'反向用例-密码错误'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "正向用例",
"uid" : "6bb8dcaac98e2e8f",
"parentUid" : "4a32e30797efccc00725261109ae2af4",
"status" : "failed",
"time" : {
"start" : 1691411149800,
"stop" : 1691411149897,
"duration" : 97
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "None", "{'message': '刷新token成功'}", "'刷新token'", "'中'", "'get'", "None", "'认证接口'", "None", "None", "'正向用例'", "None", "'http://120.46.172.186:8080/refresh'" ]
}, {
"name" : "正向用例",
"uid" : "d5c1bbd0382bd840",
"parentUid" : "4a32e30797efccc00725261109ae2af4",
"status" : "passed",
"time" : {
"start" : 1691411150304,
"stop" : 1691411150446,
"duration" : 142
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'code': 'yyct', 'description': '悠悠苍天何薄与我', 'isDefault': 0, 'name': '悠悠苍天'}", "{'state': True, 'message': '添加维度成功!'}", "'添加维度'", "'高'", "'post'", "'json'", "'维度管理'", "'DELETE FROM uc_demension WHERE `CODE_`=\"yyct\";'", "'delete'", "'正向用例'", "None", "'http://120.46.172.186:8080/api/demension/v1/dem/addDem'" ]
}, {
"name" : "正向用例",
"uid" : "db4633ccbed04e70",
"parentUid" : "4a32e30797efccc00725261109ae2af4",
"status" : "passed",
"time" : {
"start" : 1691411150477,
"stop" : 1691411150657,
"duration" : 180
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'code': 'ct', 'demId': '不知道', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '苍天', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}", "{'state': True, 'message': '添加组织成功!'}", "'添加组织'", "'高'", "'post'", "'json'", "'组织管理'", "{'select': 'SELECT ID_ FROM uc_demension WHERE `CODE_`=\"yyct\";', 'delete': 'DELETE FROM uc_org WHERE `CODE_`=\"ct\";'}", "'delete|select'", "'正向用例'", "'demId'", "'http://120.46.172.186:8080/api/org/v1/org/addOrg'" ]
}, {
"name" : "正向用例",
"uid" : "4b2e1f358c0af17b",
"parentUid" : "4a32e30797efccc00725261109ae2af4",
"status" : "passed",
"time" : {
"start" : 1691411150670,
"stop" : 1691411150737,
"duration" : 67
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'query': {'orgCode': 'ct'}, 'body': [{'alias': 'sz', 'value': 0}, {'alias': 'zy', 'value': 'math'}, {'alias': 'rq', 'value': '2023-08-04T16:00:00.000Z'}, {'alias': 'ah', 'value': 'zq'}, {'alias': 'yyyy', 'value': '越高越好'}, {'alias': 'xb', 'value': '2'}]}", "{'state': True, 'message': '保存组织参数成功!'}", "'保存组织参数'", "'高'", "'post'", "'json|query'", "'组织管理'", "None", "None", "'正向用例'", "None", "'http://120.46.172.186:8080/api/org/v1/orgParam/saveOrgParams'" ]
}, {
"name" : "正向用例",
"uid" : "e3fd9117920f198",
"parentUid" : "4a32e30797efccc00725261109ae2af4",
"status" : "passed",
"time" : {
"start" : 1691411150746,
"stop" : 1691411150804,
"duration" : 58
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'ct'", "{'state': True, 'message': '删除组织成功!'}", "'删除组织'", "'高'", "'post'", "'text/plain'", "'组织管理'", "None", "None", "'正向用例'", "None", "'http://120.46.172.186:8080/api/org/v1/org/deleteOrg'" ]
}, {
"name" : "正向用例",
"uid" : "515b76f6e81acfe0",
"parentUid" : "4a32e30797efccc00725261109ae2af4",
"status" : "passed",
"time" : {
"start" : 1691411150818,
"stop" : 1691411150910,
"duration" : 92
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'ids': '不知道'}", "{'state': True, 'message': '删除维度成功!'}", "'根据维度编码删除维度'", "'高'", "'delete'", "'query'", "'维度管理'", "'SELECT ID_ FROM uc_demension WHERE `CODE_`=\"yyct\";'", "'select'", "'正向用例'", "'ids'", "'http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds'" ]
} ],
"uid" : "4a32e30797efccc00725261109ae2af4"
} ]
}
\ 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:25:50 CST 2023","Mon Aug 07 20:25:50 CST 2023","67","","test_bpm","TestBPM","","","正向用例",""
"passed","Mon Aug 07 20:25:48 CST 2023","Mon Aug 07 20:25:49 CST 2023","90","","test_bpm","TestBPM","","","反向用例-用户名为特殊字符",""
"passed","Mon Aug 07 20:25:50 CST 2023","Mon Aug 07 20:25:50 CST 2023","180","","test_bpm","TestBPM","","","正向用例",""
"passed","Mon Aug 07 20:25:49 CST 2023","Mon Aug 07 20:25:49 CST 2023","99","","test_bpm","TestBPM","","","反向用例-密码过短",""
"passed","Mon Aug 07 20:25:48 CST 2023","Mon Aug 07 20:25:48 CST 2023","94","","test_bpm","TestBPM","","","反向用例-用户名为空",""
"passed","Mon Aug 07 20:25:49 CST 2023","Mon Aug 07 20:25:49 CST 2023","98","","test_bpm","TestBPM","","","反向用例-密码过长",""
"passed","Mon Aug 07 20:25:50 CST 2023","Mon Aug 07 20:25:50 CST 2023","58","","test_bpm","TestBPM","","","正向用例",""
"failed","Mon Aug 07 20:25:49 CST 2023","Mon Aug 07 20:25:49 CST 2023","97","","test_bpm","TestBPM","","","正向用例",""
"passed","Mon Aug 07 20:25:49 CST 2023","Mon Aug 07 20:25:49 CST 2023","113","","test_bpm","TestBPM","","","反向用例-密码为特殊字符",""
"passed","Mon Aug 07 20:25:48 CST 2023","Mon Aug 07 20:25:48 CST 2023","98","","test_bpm","TestBPM","","","反向用例-用户名过短",""
"passed","Mon Aug 07 20:25:50 CST 2023","Mon Aug 07 20:25:50 CST 2023","92","","test_bpm","TestBPM","","","正向用例",""
"passed","Mon Aug 07 20:25:49 CST 2023","Mon Aug 07 20:25:49 CST 2023","94","","test_bpm","TestBPM","","","反向用例-用户名错误",""
"passed","Mon Aug 07 20:25:48 CST 2023","Mon Aug 07 20:25:48 CST 2023","72","","test_bpm","TestBPM","","","正向用例",""
"passed","Mon Aug 07 20:25:48 CST 2023","Mon Aug 07 20:25:48 CST 2023","52","","test_bpm","TestBPM","","","反向用例-用户名过长",""
"passed","Mon Aug 07 20:25:49 CST 2023","Mon Aug 07 20:25:49 CST 2023","100","","test_bpm","TestBPM","","","反向用例-密码为空",""
"passed","Mon Aug 07 20:25:50 CST 2023","Mon Aug 07 20:25:50 CST 2023","142","","test_bpm","TestBPM","","","正向用例",""
"passed","Mon Aug 07 20:25:49 CST 2023","Mon Aug 07 20:25:49 CST 2023","101","","test_bpm","TestBPM","","","反向用例-密码错误",""
{
"uid" : "98d3104e051c652961429bf95fa0b5d6",
"name" : "suites",
"children" : [ {
"name" : "test_bpm",
"children" : [ {
"name" : "TestBPM",
"children" : [ {
"name" : "正向用例",
"uid" : "a1c2bafbe88b53da",
"parentUid" : "9e2149d4e33ad22996308efb2c8b042b",
"status" : "passed",
"time" : {
"start" : 1691411148525,
"stop" : 1691411148597,
"duration" : 72
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'username': 'admin', 'password': 'MTIzNDU2'}", "{'username': '超级管理员', 'account': 'admin'}", "'登录系统'", "'高'", "'post'", "'json'", "'认证接口'", "None", "None", "'正向用例'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-用户名过长",
"uid" : "b09d9b3ada9cd583",
"parentUid" : "9e2149d4e33ad22996308efb2c8b042b",
"status" : "passed",
"time" : {
"start" : 1691411148610,
"stop" : 1691411148662,
"duration" : 52
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'username': 'adminadminadminadminadminadmin', 'password': 'MTIzNDU2'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'post'", "'json'", "'认证接口'", "None", "None", "'反向用例-用户名过长'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-用户名过短",
"uid" : "3b166d057d5cb453",
"parentUid" : "9e2149d4e33ad22996308efb2c8b042b",
"status" : "passed",
"time" : {
"start" : 1691411148703,
"stop" : 1691411148801,
"duration" : 98
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'username': 'i', 'password': 'MTIzNDU2'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'post'", "'json'", "'认证接口'", "None", "None", "'反向用例-用户名过短'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-用户名为空",
"uid" : "d3d88f0f26df43b9",
"parentUid" : "9e2149d4e33ad22996308efb2c8b042b",
"status" : "passed",
"time" : {
"start" : 1691411148813,
"stop" : 1691411148907,
"duration" : 94
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'username': '', 'password': 'MTIzNDU2'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'post'", "'json'", "'认证接口'", "None", "None", "'反向用例-用户名为空'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-用户名为特殊字符",
"uid" : "fed5ceb47c4fb2e5",
"parentUid" : "9e2149d4e33ad22996308efb2c8b042b",
"status" : "passed",
"time" : {
"start" : 1691411148921,
"stop" : 1691411149011,
"duration" : 90
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'username': '▬♦◊◦☼♠♣', 'password': 'MTIzNDU2'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'post'", "'json'", "'认证接口'", "None", "None", "'反向用例-用户名为特殊字符'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-用户名错误",
"uid" : "ad5d728dfbaf3fd2",
"parentUid" : "9e2149d4e33ad22996308efb2c8b042b",
"status" : "passed",
"time" : {
"start" : 1691411149021,
"stop" : 1691411149115,
"duration" : 94
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'username': 'gmmn', 'password': 'MTIzNDU2'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'post'", "'json'", "'认证接口'", "None", "None", "'反向用例-用户名错误'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-密码过长",
"uid" : "528e8ed769ce3f74",
"parentUid" : "9e2149d4e33ad22996308efb2c8b042b",
"status" : "passed",
"time" : {
"start" : 1691411149129,
"stop" : 1691411149227,
"duration" : 98
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'username': 'admin', 'password': 'MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'post'", "'json'", "'认证接口'", "None", "None", "'反向用例-密码过长'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-密码过短",
"uid" : "f31fbcd0eaaf6205",
"parentUid" : "9e2149d4e33ad22996308efb2c8b042b",
"status" : "passed",
"time" : {
"start" : 1691411149263,
"stop" : 1691411149362,
"duration" : 99
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'username': 'admin', 'password': 'M'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'post'", "'json'", "'认证接口'", "None", "None", "'反向用例-密码过短'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-密码为空",
"uid" : "31debdd23b02bc88",
"parentUid" : "9e2149d4e33ad22996308efb2c8b042b",
"status" : "passed",
"time" : {
"start" : 1691411149401,
"stop" : 1691411149501,
"duration" : 100
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'username': 'admin', 'password': ''}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'post'", "'json'", "'认证接口'", "None", "None", "'反向用例-密码为空'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-密码为特殊字符",
"uid" : "6c0b456ff0188f78",
"parentUid" : "9e2149d4e33ad22996308efb2c8b042b",
"status" : "passed",
"time" : {
"start" : 1691411149544,
"stop" : 1691411149657,
"duration" : 113
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'username': 'admin', 'password': '▬♦◊◦☼♠♣'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'post'", "'json'", "'认证接口'", "None", "None", "'反向用例-密码为特殊字符'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-密码错误",
"uid" : "2c08225f589831e7",
"parentUid" : "9e2149d4e33ad22996308efb2c8b042b",
"status" : "passed",
"time" : {
"start" : 1691411149690,
"stop" : 1691411149791,
"duration" : 101
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'username': 'admin', 'password': 'M534fg'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'post'", "'json'", "'认证接口'", "None", "None", "'反向用例-密码错误'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "正向用例",
"uid" : "6bb8dcaac98e2e8f",
"parentUid" : "9e2149d4e33ad22996308efb2c8b042b",
"status" : "failed",
"time" : {
"start" : 1691411149800,
"stop" : 1691411149897,
"duration" : 97
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "None", "{'message': '刷新token成功'}", "'刷新token'", "'中'", "'get'", "None", "'认证接口'", "None", "None", "'正向用例'", "None", "'http://120.46.172.186:8080/refresh'" ]
}, {
"name" : "正向用例",
"uid" : "d5c1bbd0382bd840",
"parentUid" : "9e2149d4e33ad22996308efb2c8b042b",
"status" : "passed",
"time" : {
"start" : 1691411150304,
"stop" : 1691411150446,
"duration" : 142
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'code': 'yyct', 'description': '悠悠苍天何薄与我', 'isDefault': 0, 'name': '悠悠苍天'}", "{'state': True, 'message': '添加维度成功!'}", "'添加维度'", "'高'", "'post'", "'json'", "'维度管理'", "'DELETE FROM uc_demension WHERE `CODE_`=\"yyct\";'", "'delete'", "'正向用例'", "None", "'http://120.46.172.186:8080/api/demension/v1/dem/addDem'" ]
}, {
"name" : "正向用例",
"uid" : "db4633ccbed04e70",
"parentUid" : "9e2149d4e33ad22996308efb2c8b042b",
"status" : "passed",
"time" : {
"start" : 1691411150477,
"stop" : 1691411150657,
"duration" : 180
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'code': 'ct', 'demId': '不知道', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '苍天', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}", "{'state': True, 'message': '添加组织成功!'}", "'添加组织'", "'高'", "'post'", "'json'", "'组织管理'", "{'select': 'SELECT ID_ FROM uc_demension WHERE `CODE_`=\"yyct\";', 'delete': 'DELETE FROM uc_org WHERE `CODE_`=\"ct\";'}", "'delete|select'", "'正向用例'", "'demId'", "'http://120.46.172.186:8080/api/org/v1/org/addOrg'" ]
}, {
"name" : "正向用例",
"uid" : "4b2e1f358c0af17b",
"parentUid" : "9e2149d4e33ad22996308efb2c8b042b",
"status" : "passed",
"time" : {
"start" : 1691411150670,
"stop" : 1691411150737,
"duration" : 67
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'query': {'orgCode': 'ct'}, 'body': [{'alias': 'sz', 'value': 0}, {'alias': 'zy', 'value': 'math'}, {'alias': 'rq', 'value': '2023-08-04T16:00:00.000Z'}, {'alias': 'ah', 'value': 'zq'}, {'alias': 'yyyy', 'value': '越高越好'}, {'alias': 'xb', 'value': '2'}]}", "{'state': True, 'message': '保存组织参数成功!'}", "'保存组织参数'", "'高'", "'post'", "'json|query'", "'组织管理'", "None", "None", "'正向用例'", "None", "'http://120.46.172.186:8080/api/org/v1/orgParam/saveOrgParams'" ]
}, {
"name" : "正向用例",
"uid" : "e3fd9117920f198",
"parentUid" : "9e2149d4e33ad22996308efb2c8b042b",
"status" : "passed",
"time" : {
"start" : 1691411150746,
"stop" : 1691411150804,
"duration" : 58
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'ct'", "{'state': True, 'message': '删除组织成功!'}", "'删除组织'", "'高'", "'post'", "'text/plain'", "'组织管理'", "None", "None", "'正向用例'", "None", "'http://120.46.172.186:8080/api/org/v1/org/deleteOrg'" ]
}, {
"name" : "正向用例",
"uid" : "515b76f6e81acfe0",
"parentUid" : "9e2149d4e33ad22996308efb2c8b042b",
"status" : "passed",
"time" : {
"start" : 1691411150818,
"stop" : 1691411150910,
"duration" : 92
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'ids': '不知道'}", "{'state': True, 'message': '删除维度成功!'}", "'根据维度编码删除维度'", "'高'", "'delete'", "'query'", "'维度管理'", "'SELECT ID_ FROM uc_demension WHERE `CODE_`=\"yyct\";'", "'select'", "'正向用例'", "'ids'", "'http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds'" ]
} ],
"uid" : "9e2149d4e33ad22996308efb2c8b042b"
} ],
"uid" : "10f50a925462c4c85491656d24b32ac1"
} ]
}
\ No newline at end of file
{
"uid" : "2c08225f589831e7",
"name" : "反向用例-密码错误",
"fullName" : "test_bpm.TestBPM#test_bpm",
"historyId" : "c58ad48ac6f9aae2687a7e3483fe7b07",
"time" : {
"start" : 1691411149690,
"stop" : 1691411149791,
"duration" : 101
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "req_fix",
"time" : {
"start" : 1691411148149,
"stop" : 1691411148278,
"duration" : 129
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "db_fix",
"time" : {
"start" : 1691411148278,
"stop" : 1691411148500,
"duration" : 222
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "_session_faker",
"time" : {
"start" : 1691411147814,
"stop" : 1691411148149,
"duration" : 335
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "b607f8846036d4fe",
"name" : "log",
"source" : "b607f8846036d4fe.txt",
"type" : "text/plain",
"size" : 176
}, {
"uid" : "128747935aaa3872",
"name" : "stdout",
"source" : "128747935aaa3872.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"attachmentsCount" : 2,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : true
},
"afterStages" : [ {
"name" : "req_fix::0",
"time" : {
"start" : 1691411150919,
"stop" : 1691411150919,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "db_fix::0",
"time" : {
"start" : 1691411150918,
"stop" : 1691411150918,
"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"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "LAPTOP-R4HIB7H3"
}, {
"name" : "thread",
"value" : "59428-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "case_data",
"value" : "{'username': 'admin', 'password': 'M534fg'}"
}, {
"name" : "expect_data",
"value" : "{'state': False, 'message': '账号或密码错误'}"
}, {
"name" : "interface",
"value" : "'登录系统'"
}, {
"name" : "level",
"value" : "'中'"
}, {
"name" : "method",
"value" : "'post'"
}, {
"name" : "mime",
"value" : "'json'"
}, {
"name" : "module",
"value" : "'认证接口'"
}, {
"name" : "sql_sentence",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "title",
"value" : "'反向用例-密码错误'"
}, {
"name" : "update_key",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://120.46.172.186:8080/auth'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "2c08225f589831e7.json",
"parameterValues" : [ "{'username': 'admin', 'password': 'M534fg'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'post'", "'json'", "'认证接口'", "None", "None", "'反向用例-密码错误'", "None", "'http://120.46.172.186:8080/auth'" ]
}
\ No newline at end of file
{
"uid" : "31debdd23b02bc88",
"name" : "反向用例-密码为空",
"fullName" : "test_bpm.TestBPM#test_bpm",
"historyId" : "3a4c2080ea427de0d86b93a96b54fbca",
"time" : {
"start" : 1691411149401,
"stop" : 1691411149501,
"duration" : 100
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "req_fix",
"time" : {
"start" : 1691411148149,
"stop" : 1691411148278,
"duration" : 129
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "db_fix",
"time" : {
"start" : 1691411148278,
"stop" : 1691411148500,
"duration" : 222
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "_session_faker",
"time" : {
"start" : 1691411147814,
"stop" : 1691411148149,
"duration" : 335
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "99dd6b8f0765c13",
"name" : "log",
"source" : "99dd6b8f0765c13.txt",
"type" : "text/plain",
"size" : 176
}, {
"uid" : "8de11028ec148424",
"name" : "stdout",
"source" : "8de11028ec148424.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"attachmentsCount" : 2,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : true
},
"afterStages" : [ {
"name" : "req_fix::0",
"time" : {
"start" : 1691411150919,
"stop" : 1691411150919,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "db_fix::0",
"time" : {
"start" : 1691411150918,
"stop" : 1691411150918,
"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"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "LAPTOP-R4HIB7H3"
}, {
"name" : "thread",
"value" : "59428-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "case_data",
"value" : "{'username': 'admin', 'password': ''}"
}, {
"name" : "expect_data",
"value" : "{'state': False, 'message': '账号或密码错误'}"
}, {
"name" : "interface",
"value" : "'登录系统'"
}, {
"name" : "level",
"value" : "'中'"
}, {
"name" : "method",
"value" : "'post'"
}, {
"name" : "mime",
"value" : "'json'"
}, {
"name" : "module",
"value" : "'认证接口'"
}, {
"name" : "sql_sentence",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "title",
"value" : "'反向用例-密码为空'"
}, {
"name" : "update_key",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://120.46.172.186:8080/auth'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "31debdd23b02bc88.json",
"parameterValues" : [ "{'username': 'admin', 'password': ''}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'post'", "'json'", "'认证接口'", "None", "None", "'反向用例-密码为空'", "None", "'http://120.46.172.186:8080/auth'" ]
}
\ No newline at end of file
{
"uid" : "3b166d057d5cb453",
"name" : "反向用例-用户名过短",
"fullName" : "test_bpm.TestBPM#test_bpm",
"historyId" : "3982b32cf4cd368b5bd94446ebb39291",
"time" : {
"start" : 1691411148703,
"stop" : 1691411148801,
"duration" : 98
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "req_fix",
"time" : {
"start" : 1691411148149,
"stop" : 1691411148278,
"duration" : 129
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "db_fix",
"time" : {
"start" : 1691411148278,
"stop" : 1691411148500,
"duration" : 222
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "_session_faker",
"time" : {
"start" : 1691411147814,
"stop" : 1691411148149,
"duration" : 335
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "546206a02bc51a6c",
"name" : "log",
"source" : "546206a02bc51a6c.txt",
"type" : "text/plain",
"size" : 176
}, {
"uid" : "8a6290721affd0dd",
"name" : "stdout",
"source" : "8a6290721affd0dd.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"attachmentsCount" : 2,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : true
},
"afterStages" : [ {
"name" : "req_fix::0",
"time" : {
"start" : 1691411150919,
"stop" : 1691411150919,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "db_fix::0",
"time" : {
"start" : 1691411150918,
"stop" : 1691411150918,
"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"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "LAPTOP-R4HIB7H3"
}, {
"name" : "thread",
"value" : "59428-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "case_data",
"value" : "{'username': 'i', 'password': 'MTIzNDU2'}"
}, {
"name" : "expect_data",
"value" : "{'state': False, 'message': '账号或密码错误'}"
}, {
"name" : "interface",
"value" : "'登录系统'"
}, {
"name" : "level",
"value" : "'中'"
}, {
"name" : "method",
"value" : "'post'"
}, {
"name" : "mime",
"value" : "'json'"
}, {
"name" : "module",
"value" : "'认证接口'"
}, {
"name" : "sql_sentence",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "title",
"value" : "'反向用例-用户名过短'"
}, {
"name" : "update_key",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://120.46.172.186:8080/auth'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "3b166d057d5cb453.json",
"parameterValues" : [ "{'username': 'i', 'password': 'MTIzNDU2'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'post'", "'json'", "'认证接口'", "None", "None", "'反向用例-用户名过短'", "None", "'http://120.46.172.186:8080/auth'" ]
}
\ No newline at end of file
{
"uid" : "4b2e1f358c0af17b",
"name" : "正向用例",
"fullName" : "test_bpm.TestBPM#test_bpm",
"historyId" : "9dfb3cf343c2c71bf175f240cd5f0a16",
"time" : {
"start" : 1691411150670,
"stop" : 1691411150737,
"duration" : 67
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "req_fix",
"time" : {
"start" : 1691411148149,
"stop" : 1691411148278,
"duration" : 129
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "db_fix",
"time" : {
"start" : 1691411148278,
"stop" : 1691411148500,
"duration" : 222
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "_session_faker",
"time" : {
"start" : 1691411147814,
"stop" : 1691411148149,
"duration" : 335
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "b491255f251f6337",
"name" : "log",
"source" : "b491255f251f6337.txt",
"type" : "text/plain",
"size" : 134
}, {
"uid" : "7d851b9821fd54f9",
"name" : "stdout",
"source" : "7d851b9821fd54f9.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"attachmentsCount" : 2,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : true
},
"afterStages" : [ {
"name" : "req_fix::0",
"time" : {
"start" : 1691411150919,
"stop" : 1691411150919,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "db_fix::0",
"time" : {
"start" : 1691411150918,
"stop" : 1691411150918,
"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"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "LAPTOP-R4HIB7H3"
}, {
"name" : "thread",
"value" : "59428-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "case_data",
"value" : "{'query': {'orgCode': 'ct'}, 'body': [{'alias': 'sz', 'value': 0}, {'alias': 'zy', 'value': 'math'}, {'alias': 'rq', 'value': '2023-08-04T16:00:00.000Z'}, {'alias': 'ah', 'value': 'zq'}, {'alias': 'yyyy', 'value': '越高越好'}, {'alias': 'xb', 'value': '2'}]}"
}, {
"name" : "expect_data",
"value" : "{'state': True, 'message': '保存组织参数成功!'}"
}, {
"name" : "interface",
"value" : "'保存组织参数'"
}, {
"name" : "level",
"value" : "'高'"
}, {
"name" : "method",
"value" : "'post'"
}, {
"name" : "mime",
"value" : "'json|query'"
}, {
"name" : "module",
"value" : "'组织管理'"
}, {
"name" : "sql_sentence",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "title",
"value" : "'正向用例'"
}, {
"name" : "update_key",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://120.46.172.186:8080/api/org/v1/orgParam/saveOrgParams'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "4b2e1f358c0af17b.json",
"parameterValues" : [ "{'query': {'orgCode': 'ct'}, 'body': [{'alias': 'sz', 'value': 0}, {'alias': 'zy', 'value': 'math'}, {'alias': 'rq', 'value': '2023-08-04T16:00:00.000Z'}, {'alias': 'ah', 'value': 'zq'}, {'alias': 'yyyy', 'value': '越高越好'}, {'alias': 'xb', 'value': '2'}]}", "{'state': True, 'message': '保存组织参数成功!'}", "'保存组织参数'", "'高'", "'post'", "'json|query'", "'组织管理'", "None", "None", "'正向用例'", "None", "'http://120.46.172.186:8080/api/org/v1/orgParam/saveOrgParams'" ]
}
\ No newline at end of file
{
"uid" : "515b76f6e81acfe0",
"name" : "正向用例",
"fullName" : "test_bpm.TestBPM#test_bpm",
"historyId" : "9be7bc28a3e04182e18d8d9656392ace",
"time" : {
"start" : 1691411150818,
"stop" : 1691411150910,
"duration" : 92
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "req_fix",
"time" : {
"start" : 1691411148149,
"stop" : 1691411148278,
"duration" : 129
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "db_fix",
"time" : {
"start" : 1691411148278,
"stop" : 1691411148500,
"duration" : 222
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "_session_faker",
"time" : {
"start" : 1691411147814,
"stop" : 1691411148149,
"duration" : 335
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "bcae8114c8ca1dce",
"name" : "log",
"source" : "bcae8114c8ca1dce.txt",
"type" : "text/plain",
"size" : 151
}, {
"uid" : "9a2e0aa7eb2b3509",
"name" : "stdout",
"source" : "9a2e0aa7eb2b3509.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"attachmentsCount" : 2,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : true
},
"afterStages" : [ {
"name" : "req_fix::0",
"time" : {
"start" : 1691411150919,
"stop" : 1691411150919,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "db_fix::0",
"time" : {
"start" : 1691411150918,
"stop" : 1691411150918,
"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"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "LAPTOP-R4HIB7H3"
}, {
"name" : "thread",
"value" : "59428-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "case_data",
"value" : "{'ids': '不知道'}"
}, {
"name" : "expect_data",
"value" : "{'state': True, 'message': '删除维度成功!'}"
}, {
"name" : "interface",
"value" : "'根据维度编码删除维度'"
}, {
"name" : "level",
"value" : "'高'"
}, {
"name" : "method",
"value" : "'delete'"
}, {
"name" : "mime",
"value" : "'query'"
}, {
"name" : "module",
"value" : "'维度管理'"
}, {
"name" : "sql_sentence",
"value" : "'SELECT ID_ FROM uc_demension WHERE `CODE_`=\"yyct\";'"
}, {
"name" : "sql_type",
"value" : "'select'"
}, {
"name" : "title",
"value" : "'正向用例'"
}, {
"name" : "update_key",
"value" : "'ids'"
}, {
"name" : "url",
"value" : "'http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "515b76f6e81acfe0.json",
"parameterValues" : [ "{'ids': '不知道'}", "{'state': True, 'message': '删除维度成功!'}", "'根据维度编码删除维度'", "'高'", "'delete'", "'query'", "'维度管理'", "'SELECT ID_ FROM uc_demension WHERE `CODE_`=\"yyct\";'", "'select'", "'正向用例'", "'ids'", "'http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds'" ]
}
\ No newline at end of file
{
"uid" : "528e8ed769ce3f74",
"name" : "反向用例-密码过长",
"fullName" : "test_bpm.TestBPM#test_bpm",
"historyId" : "0f65c894c6848c57734f711202a744d7",
"time" : {
"start" : 1691411149129,
"stop" : 1691411149227,
"duration" : 98
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "req_fix",
"time" : {
"start" : 1691411148149,
"stop" : 1691411148278,
"duration" : 129
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "db_fix",
"time" : {
"start" : 1691411148278,
"stop" : 1691411148500,
"duration" : 222
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "_session_faker",
"time" : {
"start" : 1691411147814,
"stop" : 1691411148149,
"duration" : 335
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "173f5df98c6babbe",
"name" : "log",
"source" : "173f5df98c6babbe.txt",
"type" : "text/plain",
"size" : 176
}, {
"uid" : "8b25dfec76cbb7ec",
"name" : "stdout",
"source" : "8b25dfec76cbb7ec.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"attachmentsCount" : 2,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : true
},
"afterStages" : [ {
"name" : "req_fix::0",
"time" : {
"start" : 1691411150919,
"stop" : 1691411150919,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "db_fix::0",
"time" : {
"start" : 1691411150918,
"stop" : 1691411150918,
"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"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "LAPTOP-R4HIB7H3"
}, {
"name" : "thread",
"value" : "59428-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "case_data",
"value" : "{'username': 'admin', 'password': 'MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2'}"
}, {
"name" : "expect_data",
"value" : "{'state': False, 'message': '账号或密码错误'}"
}, {
"name" : "interface",
"value" : "'登录系统'"
}, {
"name" : "level",
"value" : "'中'"
}, {
"name" : "method",
"value" : "'post'"
}, {
"name" : "mime",
"value" : "'json'"
}, {
"name" : "module",
"value" : "'认证接口'"
}, {
"name" : "sql_sentence",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "title",
"value" : "'反向用例-密码过长'"
}, {
"name" : "update_key",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://120.46.172.186:8080/auth'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "528e8ed769ce3f74.json",
"parameterValues" : [ "{'username': 'admin', 'password': 'MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'post'", "'json'", "'认证接口'", "None", "None", "'反向用例-密码过长'", "None", "'http://120.46.172.186:8080/auth'" ]
}
\ No newline at end of file
{
"uid" : "6bb8dcaac98e2e8f",
"name" : "正向用例",
"fullName" : "test_bpm.TestBPM#test_bpm",
"historyId" : "f368301ce537f1bbd596e0d19f24f393",
"time" : {
"start" : 1691411149800,
"stop" : 1691411149897,
"duration" : 97
},
"status" : "failed",
"statusMessage" : "AssertionError: 断言失败咯",
"statusTrace" : "self = <APIAutoTest_004.test_case.test_bpm.TestBPM object at 0x000001FFE57F1850>\nreq_fix = <APIAutoTest_004.requests_method.requests_method.RequestsMethod object at 0x000001FFE58D0950>\ndb_fix = <APIAutoTest_004.common.db.DB object at 0x000001FFE58D3050>, module = '认证接口', interface = '刷新token', title = '正向用例', level = '中', method = 'get'\nurl = 'http://120.46.172.186:8080/refresh', mime = None, case_data = None, expect_data = {'message': '刷新token成功'}, sql_type = None, sql_sentence = None\nupdate_key = None\n\n @allure.epic(\"BPM\")\n @pytest.mark.parametrize(\"module, interface, title, level, method, url, mime, case_data, expect_data, sql_type,sql_sentence,update_key\", ReadExcel().get_data())\n def test_bpm(self, req_fix, db_fix, module, interface, title, level, method, url, mime, case_data, expect_data, sql_type,sql_sentence,update_key):\n allure.dynamic.feature(module)\n allure.dynamic.story(interface)\n allure.dynamic.title(title)\n allure.dynamic.severity(level)\n \n if sql_type == \"delete\":\n db_fix.delete(sql_sentence)\n \n elif sql_type == \"select\":\n sql_result = db_fix.select(sql_sentence)\n case_data[update_key] = sql_result\n \n elif sql_type == \"delete|select\" or sql_type == \"select|delete\":\n db_fix.delete(sql_sentence[\"delete\"])\n sql_sentence = db_fix.select(sql_sentence[\"select\"])\n case_data[update_key] = sql_sentence\n \n result = req_fix.request_all(method=method, url=url, mime=mime, case_data=case_data)\n try:\n for key in expect_data:\n> assert result.json().get(key) == expect_data[key]\nE AssertionError: assert None == '刷新token成功'\nE + where None = <built-in method get of dict object at 0x000001FFE5901780>('message')\nE + where <built-in method get of dict object at 0x000001FFE5901780> = {'account': '', 'loginStatus': True, 'token': 'eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE2OTE0OTc1NDksImlhdCI6MTY5MTQxMTE0OX0.9el3mL6F5fcXvSu7imfbEc4aVH7p7S39ic25zpTL11wfdYiBhtcHvO9nlhr3oIYXl78v2MqMJHLJ9Hri2Ofkpw', 'userAttrs': {}, ...}.get\nE + where {'account': '', 'loginStatus': True, 'token': 'eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE2OTE0OTc1NDksImlhdCI6MTY5MTQxMTE0OX0.9el3mL6F5fcXvSu7imfbEc4aVH7p7S39ic25zpTL11wfdYiBhtcHvO9nlhr3oIYXl78v2MqMJHLJ9Hri2Ofkpw', 'userAttrs': {}, ...} = <bound method Response.json of <Response [200]>>()\nE + where <bound method Response.json of <Response [200]>> = <Response [200]>.json\n\ntest_bpm.py:41: AssertionError\n\nDuring handling of the above exception, another exception occurred:\n\nself = <APIAutoTest_004.test_case.test_bpm.TestBPM object at 0x000001FFE57F1850>\nreq_fix = <APIAutoTest_004.requests_method.requests_method.RequestsMethod object at 0x000001FFE58D0950>\ndb_fix = <APIAutoTest_004.common.db.DB object at 0x000001FFE58D3050>, module = '认证接口', interface = '刷新token', title = '正向用例', level = '中', method = 'get'\nurl = 'http://120.46.172.186:8080/refresh', mime = None, case_data = None, expect_data = {'message': '刷新token成功'}, sql_type = None, sql_sentence = None\nupdate_key = None\n\n @allure.epic(\"BPM\")\n @pytest.mark.parametrize(\"module, interface, title, level, method, url, mime, case_data, expect_data, sql_type,sql_sentence,update_key\", ReadExcel().get_data())\n def test_bpm(self, req_fix, db_fix, module, interface, title, level, method, url, mime, case_data, expect_data, sql_type,sql_sentence,update_key):\n allure.dynamic.feature(module)\n allure.dynamic.story(interface)\n allure.dynamic.title(title)\n allure.dynamic.severity(level)\n \n if sql_type == \"delete\":\n db_fix.delete(sql_sentence)\n \n elif sql_type == \"select\":\n sql_result = db_fix.select(sql_sentence)\n case_data[update_key] = sql_result\n \n elif sql_type == \"delete|select\" or sql_type == \"select|delete\":\n db_fix.delete(sql_sentence[\"delete\"])\n sql_sentence = db_fix.select(sql_sentence[\"select\"])\n case_data[update_key] = sql_sentence\n \n result = req_fix.request_all(method=method, url=url, mime=mime, case_data=case_data)\n try:\n for key in expect_data:\n assert result.json().get(key) == expect_data[key]\n except:\n print(\"断言失败\")\n logging.error(\"断言失败,模块名称为:{},接口名称为:{},标题为:{},用例数据为:{}\".format(module, interface, title, case_data))\n> raise AssertionError(\"断言失败咯\")\nE AssertionError: 断言失败咯\n\ntest_bpm.py:45: AssertionError",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "req_fix",
"time" : {
"start" : 1691411148149,
"stop" : 1691411148278,
"duration" : 129
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "db_fix",
"time" : {
"start" : 1691411148278,
"stop" : 1691411148500,
"duration" : 222
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "_session_faker",
"time" : {
"start" : 1691411147814,
"stop" : 1691411148149,
"duration" : 335
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
} ],
"testStage" : {
"status" : "failed",
"statusMessage" : "AssertionError: 断言失败咯",
"statusTrace" : "self = <APIAutoTest_004.test_case.test_bpm.TestBPM object at 0x000001FFE57F1850>\nreq_fix = <APIAutoTest_004.requests_method.requests_method.RequestsMethod object at 0x000001FFE58D0950>\ndb_fix = <APIAutoTest_004.common.db.DB object at 0x000001FFE58D3050>, module = '认证接口', interface = '刷新token', title = '正向用例', level = '中', method = 'get'\nurl = 'http://120.46.172.186:8080/refresh', mime = None, case_data = None, expect_data = {'message': '刷新token成功'}, sql_type = None, sql_sentence = None\nupdate_key = None\n\n @allure.epic(\"BPM\")\n @pytest.mark.parametrize(\"module, interface, title, level, method, url, mime, case_data, expect_data, sql_type,sql_sentence,update_key\", ReadExcel().get_data())\n def test_bpm(self, req_fix, db_fix, module, interface, title, level, method, url, mime, case_data, expect_data, sql_type,sql_sentence,update_key):\n allure.dynamic.feature(module)\n allure.dynamic.story(interface)\n allure.dynamic.title(title)\n allure.dynamic.severity(level)\n \n if sql_type == \"delete\":\n db_fix.delete(sql_sentence)\n \n elif sql_type == \"select\":\n sql_result = db_fix.select(sql_sentence)\n case_data[update_key] = sql_result\n \n elif sql_type == \"delete|select\" or sql_type == \"select|delete\":\n db_fix.delete(sql_sentence[\"delete\"])\n sql_sentence = db_fix.select(sql_sentence[\"select\"])\n case_data[update_key] = sql_sentence\n \n result = req_fix.request_all(method=method, url=url, mime=mime, case_data=case_data)\n try:\n for key in expect_data:\n> assert result.json().get(key) == expect_data[key]\nE AssertionError: assert None == '刷新token成功'\nE + where None = <built-in method get of dict object at 0x000001FFE5901780>('message')\nE + where <built-in method get of dict object at 0x000001FFE5901780> = {'account': '', 'loginStatus': True, 'token': 'eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE2OTE0OTc1NDksImlhdCI6MTY5MTQxMTE0OX0.9el3mL6F5fcXvSu7imfbEc4aVH7p7S39ic25zpTL11wfdYiBhtcHvO9nlhr3oIYXl78v2MqMJHLJ9Hri2Ofkpw', 'userAttrs': {}, ...}.get\nE + where {'account': '', 'loginStatus': True, 'token': 'eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE2OTE0OTc1NDksImlhdCI6MTY5MTQxMTE0OX0.9el3mL6F5fcXvSu7imfbEc4aVH7p7S39ic25zpTL11wfdYiBhtcHvO9nlhr3oIYXl78v2MqMJHLJ9Hri2Ofkpw', 'userAttrs': {}, ...} = <bound method Response.json of <Response [200]>>()\nE + where <bound method Response.json of <Response [200]>> = <Response [200]>.json\n\ntest_bpm.py:41: AssertionError\n\nDuring handling of the above exception, another exception occurred:\n\nself = <APIAutoTest_004.test_case.test_bpm.TestBPM object at 0x000001FFE57F1850>\nreq_fix = <APIAutoTest_004.requests_method.requests_method.RequestsMethod object at 0x000001FFE58D0950>\ndb_fix = <APIAutoTest_004.common.db.DB object at 0x000001FFE58D3050>, module = '认证接口', interface = '刷新token', title = '正向用例', level = '中', method = 'get'\nurl = 'http://120.46.172.186:8080/refresh', mime = None, case_data = None, expect_data = {'message': '刷新token成功'}, sql_type = None, sql_sentence = None\nupdate_key = None\n\n @allure.epic(\"BPM\")\n @pytest.mark.parametrize(\"module, interface, title, level, method, url, mime, case_data, expect_data, sql_type,sql_sentence,update_key\", ReadExcel().get_data())\n def test_bpm(self, req_fix, db_fix, module, interface, title, level, method, url, mime, case_data, expect_data, sql_type,sql_sentence,update_key):\n allure.dynamic.feature(module)\n allure.dynamic.story(interface)\n allure.dynamic.title(title)\n allure.dynamic.severity(level)\n \n if sql_type == \"delete\":\n db_fix.delete(sql_sentence)\n \n elif sql_type == \"select\":\n sql_result = db_fix.select(sql_sentence)\n case_data[update_key] = sql_result\n \n elif sql_type == \"delete|select\" or sql_type == \"select|delete\":\n db_fix.delete(sql_sentence[\"delete\"])\n sql_sentence = db_fix.select(sql_sentence[\"select\"])\n case_data[update_key] = sql_sentence\n \n result = req_fix.request_all(method=method, url=url, mime=mime, case_data=case_data)\n try:\n for key in expect_data:\n assert result.json().get(key) == expect_data[key]\n except:\n print(\"断言失败\")\n logging.error(\"断言失败,模块名称为:{},接口名称为:{},标题为:{},用例数据为:{}\".format(module, interface, title, case_data))\n> raise AssertionError(\"断言失败咯\")\nE AssertionError: 断言失败咯\n\ntest_bpm.py:45: AssertionError",
"steps" : [ ],
"attachments" : [ {
"uid" : "9eb9800b26f6da6d",
"name" : "log",
"source" : "9eb9800b26f6da6d.txt",
"type" : "text/plain",
"size" : 349
}, {
"uid" : "5c3e8e7921d76a77",
"name" : "stdout",
"source" : "5c3e8e7921d76a77.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"attachmentsCount" : 2,
"shouldDisplayMessage" : true,
"stepsCount" : 0,
"hasContent" : true
},
"afterStages" : [ {
"name" : "req_fix::0",
"time" : {
"start" : 1691411150919,
"stop" : 1691411150919,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "db_fix::0",
"time" : {
"start" : 1691411150918,
"stop" : 1691411150918,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
} ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "刷新token"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "BPM"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "LAPTOP-R4HIB7H3"
}, {
"name" : "thread",
"value" : "59428-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "case_data",
"value" : "None"
}, {
"name" : "expect_data",
"value" : "{'message': '刷新token成功'}"
}, {
"name" : "interface",
"value" : "'刷新token'"
}, {
"name" : "level",
"value" : "'中'"
}, {
"name" : "method",
"value" : "'get'"
}, {
"name" : "mime",
"value" : "None"
}, {
"name" : "module",
"value" : "'认证接口'"
}, {
"name" : "sql_sentence",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "title",
"value" : "'正向用例'"
}, {
"name" : "update_key",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://120.46.172.186:8080/refresh'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ {
"name" : "Product defects",
"matchedStatuses" : [ ],
"flaky" : false
} ],
"tags" : [ ]
},
"source" : "6bb8dcaac98e2e8f.json",
"parameterValues" : [ "None", "{'message': '刷新token成功'}", "'刷新token'", "'中'", "'get'", "None", "'认证接口'", "None", "None", "'正向用例'", "None", "'http://120.46.172.186:8080/refresh'" ]
}
\ No newline at end of file
{
"uid" : "6c0b456ff0188f78",
"name" : "反向用例-密码为特殊字符",
"fullName" : "test_bpm.TestBPM#test_bpm",
"historyId" : "1ba4c53edf5a7349833f4dcafa48dd0a",
"time" : {
"start" : 1691411149544,
"stop" : 1691411149657,
"duration" : 113
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "req_fix",
"time" : {
"start" : 1691411148149,
"stop" : 1691411148278,
"duration" : 129
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "db_fix",
"time" : {
"start" : 1691411148278,
"stop" : 1691411148500,
"duration" : 222
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "_session_faker",
"time" : {
"start" : 1691411147814,
"stop" : 1691411148149,
"duration" : 335
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "2052da7fa1c9fc5f",
"name" : "log",
"source" : "2052da7fa1c9fc5f.txt",
"type" : "text/plain",
"size" : 176
}, {
"uid" : "86766aacd85b8cf1",
"name" : "stdout",
"source" : "86766aacd85b8cf1.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"attachmentsCount" : 2,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : true
},
"afterStages" : [ {
"name" : "req_fix::0",
"time" : {
"start" : 1691411150919,
"stop" : 1691411150919,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "db_fix::0",
"time" : {
"start" : 1691411150918,
"stop" : 1691411150918,
"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"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "LAPTOP-R4HIB7H3"
}, {
"name" : "thread",
"value" : "59428-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "case_data",
"value" : "{'username': 'admin', 'password': '▬♦◊◦☼♠♣'}"
}, {
"name" : "expect_data",
"value" : "{'state': False, 'message': '账号或密码错误'}"
}, {
"name" : "interface",
"value" : "'登录系统'"
}, {
"name" : "level",
"value" : "'中'"
}, {
"name" : "method",
"value" : "'post'"
}, {
"name" : "mime",
"value" : "'json'"
}, {
"name" : "module",
"value" : "'认证接口'"
}, {
"name" : "sql_sentence",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "title",
"value" : "'反向用例-密码为特殊字符'"
}, {
"name" : "update_key",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://120.46.172.186:8080/auth'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "6c0b456ff0188f78.json",
"parameterValues" : [ "{'username': 'admin', 'password': '▬♦◊◦☼♠♣'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'post'", "'json'", "'认证接口'", "None", "None", "'反向用例-密码为特殊字符'", "None", "'http://120.46.172.186:8080/auth'" ]
}
\ No newline at end of file
{
"uid" : "a1c2bafbe88b53da",
"name" : "正向用例",
"fullName" : "test_bpm.TestBPM#test_bpm",
"historyId" : "f28e27b9b507c91db8c1afe18569e29a",
"time" : {
"start" : 1691411148525,
"stop" : 1691411148597,
"duration" : 72
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "req_fix",
"time" : {
"start" : 1691411148149,
"stop" : 1691411148278,
"duration" : 129
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "db_fix",
"time" : {
"start" : 1691411148278,
"stop" : 1691411148500,
"duration" : 222
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "_session_faker",
"time" : {
"start" : 1691411147814,
"stop" : 1691411148149,
"duration" : 335
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "3a6f9c7a41d02213",
"name" : "log",
"source" : "3a6f9c7a41d02213.txt",
"type" : "text/plain",
"size" : 5166
}, {
"uid" : "2ae74e7875fd0d04",
"name" : "stdout",
"source" : "2ae74e7875fd0d04.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"attachmentsCount" : 2,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : true
},
"afterStages" : [ {
"name" : "req_fix::0",
"time" : {
"start" : 1691411150919,
"stop" : 1691411150919,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "db_fix::0",
"time" : {
"start" : 1691411150918,
"stop" : 1691411150918,
"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"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "LAPTOP-R4HIB7H3"
}, {
"name" : "thread",
"value" : "59428-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "case_data",
"value" : "{'username': 'admin', 'password': 'MTIzNDU2'}"
}, {
"name" : "expect_data",
"value" : "{'username': '超级管理员', 'account': 'admin'}"
}, {
"name" : "interface",
"value" : "'登录系统'"
}, {
"name" : "level",
"value" : "'高'"
}, {
"name" : "method",
"value" : "'post'"
}, {
"name" : "mime",
"value" : "'json'"
}, {
"name" : "module",
"value" : "'认证接口'"
}, {
"name" : "sql_sentence",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "title",
"value" : "'正向用例'"
}, {
"name" : "update_key",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://120.46.172.186:8080/auth'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "a1c2bafbe88b53da.json",
"parameterValues" : [ "{'username': 'admin', 'password': 'MTIzNDU2'}", "{'username': '超级管理员', 'account': 'admin'}", "'登录系统'", "'高'", "'post'", "'json'", "'认证接口'", "None", "None", "'正向用例'", "None", "'http://120.46.172.186:8080/auth'" ]
}
\ No newline at end of file
{
"uid" : "ad5d728dfbaf3fd2",
"name" : "反向用例-用户名错误",
"fullName" : "test_bpm.TestBPM#test_bpm",
"historyId" : "f5ef3c6f8f7ff6dc76c1e6b4c782ac60",
"time" : {
"start" : 1691411149021,
"stop" : 1691411149115,
"duration" : 94
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "req_fix",
"time" : {
"start" : 1691411148149,
"stop" : 1691411148278,
"duration" : 129
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "db_fix",
"time" : {
"start" : 1691411148278,
"stop" : 1691411148500,
"duration" : 222
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "_session_faker",
"time" : {
"start" : 1691411147814,
"stop" : 1691411148149,
"duration" : 335
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "3d4ab8263cd6129c",
"name" : "log",
"source" : "3d4ab8263cd6129c.txt",
"type" : "text/plain",
"size" : 176
}, {
"uid" : "86c328bf3821e6e2",
"name" : "stdout",
"source" : "86c328bf3821e6e2.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"attachmentsCount" : 2,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : true
},
"afterStages" : [ {
"name" : "req_fix::0",
"time" : {
"start" : 1691411150919,
"stop" : 1691411150919,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "db_fix::0",
"time" : {
"start" : 1691411150918,
"stop" : 1691411150918,
"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"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "LAPTOP-R4HIB7H3"
}, {
"name" : "thread",
"value" : "59428-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "case_data",
"value" : "{'username': 'gmmn', 'password': 'MTIzNDU2'}"
}, {
"name" : "expect_data",
"value" : "{'state': False, 'message': '账号或密码错误'}"
}, {
"name" : "interface",
"value" : "'登录系统'"
}, {
"name" : "level",
"value" : "'中'"
}, {
"name" : "method",
"value" : "'post'"
}, {
"name" : "mime",
"value" : "'json'"
}, {
"name" : "module",
"value" : "'认证接口'"
}, {
"name" : "sql_sentence",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "title",
"value" : "'反向用例-用户名错误'"
}, {
"name" : "update_key",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://120.46.172.186:8080/auth'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "ad5d728dfbaf3fd2.json",
"parameterValues" : [ "{'username': 'gmmn', 'password': 'MTIzNDU2'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'post'", "'json'", "'认证接口'", "None", "None", "'反向用例-用户名错误'", "None", "'http://120.46.172.186:8080/auth'" ]
}
\ No newline at end of file
{
"uid" : "b09d9b3ada9cd583",
"name" : "反向用例-用户名过长",
"fullName" : "test_bpm.TestBPM#test_bpm",
"historyId" : "0707d7b27fc8f3e254462ce9c4c9498c",
"time" : {
"start" : 1691411148610,
"stop" : 1691411148662,
"duration" : 52
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "req_fix",
"time" : {
"start" : 1691411148149,
"stop" : 1691411148278,
"duration" : 129
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "db_fix",
"time" : {
"start" : 1691411148278,
"stop" : 1691411148500,
"duration" : 222
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "_session_faker",
"time" : {
"start" : 1691411147814,
"stop" : 1691411148149,
"duration" : 335
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "fd2f7cdb457eb45d",
"name" : "log",
"source" : "fd2f7cdb457eb45d.txt",
"type" : "text/plain",
"size" : 94
}, {
"uid" : "f657feb761c9f515",
"name" : "stdout",
"source" : "f657feb761c9f515.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"attachmentsCount" : 2,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : true
},
"afterStages" : [ {
"name" : "req_fix::0",
"time" : {
"start" : 1691411150919,
"stop" : 1691411150919,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "db_fix::0",
"time" : {
"start" : 1691411150918,
"stop" : 1691411150918,
"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"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "LAPTOP-R4HIB7H3"
}, {
"name" : "thread",
"value" : "59428-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "case_data",
"value" : "{'username': 'adminadminadminadminadminadmin', 'password': 'MTIzNDU2'}"
}, {
"name" : "expect_data",
"value" : "{'state': False, 'message': '账号或密码错误'}"
}, {
"name" : "interface",
"value" : "'登录系统'"
}, {
"name" : "level",
"value" : "'中'"
}, {
"name" : "method",
"value" : "'post'"
}, {
"name" : "mime",
"value" : "'json'"
}, {
"name" : "module",
"value" : "'认证接口'"
}, {
"name" : "sql_sentence",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "title",
"value" : "'反向用例-用户名过长'"
}, {
"name" : "update_key",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://120.46.172.186:8080/auth'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "b09d9b3ada9cd583.json",
"parameterValues" : [ "{'username': 'adminadminadminadminadminadmin', 'password': 'MTIzNDU2'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'post'", "'json'", "'认证接口'", "None", "None", "'反向用例-用户名过长'", "None", "'http://120.46.172.186:8080/auth'" ]
}
\ No newline at end of file
{
"uid" : "d3d88f0f26df43b9",
"name" : "反向用例-用户名为空",
"fullName" : "test_bpm.TestBPM#test_bpm",
"historyId" : "f35630a0c36bb5785be0848b09fcea36",
"time" : {
"start" : 1691411148813,
"stop" : 1691411148907,
"duration" : 94
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "req_fix",
"time" : {
"start" : 1691411148149,
"stop" : 1691411148278,
"duration" : 129
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "db_fix",
"time" : {
"start" : 1691411148278,
"stop" : 1691411148500,
"duration" : 222
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "_session_faker",
"time" : {
"start" : 1691411147814,
"stop" : 1691411148149,
"duration" : 335
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "7164800eb4980fa1",
"name" : "log",
"source" : "7164800eb4980fa1.txt",
"type" : "text/plain",
"size" : 176
}, {
"uid" : "8a028184bdbbf31c",
"name" : "stdout",
"source" : "8a028184bdbbf31c.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"attachmentsCount" : 2,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : true
},
"afterStages" : [ {
"name" : "req_fix::0",
"time" : {
"start" : 1691411150919,
"stop" : 1691411150919,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "db_fix::0",
"time" : {
"start" : 1691411150918,
"stop" : 1691411150918,
"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"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "LAPTOP-R4HIB7H3"
}, {
"name" : "thread",
"value" : "59428-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "case_data",
"value" : "{'username': '', 'password': 'MTIzNDU2'}"
}, {
"name" : "expect_data",
"value" : "{'state': False, 'message': '账号或密码错误'}"
}, {
"name" : "interface",
"value" : "'登录系统'"
}, {
"name" : "level",
"value" : "'中'"
}, {
"name" : "method",
"value" : "'post'"
}, {
"name" : "mime",
"value" : "'json'"
}, {
"name" : "module",
"value" : "'认证接口'"
}, {
"name" : "sql_sentence",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "title",
"value" : "'反向用例-用户名为空'"
}, {
"name" : "update_key",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://120.46.172.186:8080/auth'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "d3d88f0f26df43b9.json",
"parameterValues" : [ "{'username': '', 'password': 'MTIzNDU2'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'post'", "'json'", "'认证接口'", "None", "None", "'反向用例-用户名为空'", "None", "'http://120.46.172.186:8080/auth'" ]
}
\ No newline at end of file
{
"uid" : "d5c1bbd0382bd840",
"name" : "正向用例",
"fullName" : "test_bpm.TestBPM#test_bpm",
"historyId" : "b657492097ed8c431e4fbeadbd19d290",
"time" : {
"start" : 1691411150304,
"stop" : 1691411150446,
"duration" : 142
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "req_fix",
"time" : {
"start" : 1691411148149,
"stop" : 1691411148278,
"duration" : 129
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "db_fix",
"time" : {
"start" : 1691411148278,
"stop" : 1691411148500,
"duration" : 222
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "_session_faker",
"time" : {
"start" : 1691411147814,
"stop" : 1691411148149,
"duration" : 335
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "b66a1bd4a44c484f",
"name" : "log",
"source" : "b66a1bd4a44c484f.txt",
"type" : "text/plain",
"size" : 117
}, {
"uid" : "a6166a66a0df0b61",
"name" : "stdout",
"source" : "a6166a66a0df0b61.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"attachmentsCount" : 2,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : true
},
"afterStages" : [ {
"name" : "req_fix::0",
"time" : {
"start" : 1691411150919,
"stop" : 1691411150919,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "db_fix::0",
"time" : {
"start" : 1691411150918,
"stop" : 1691411150918,
"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"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "LAPTOP-R4HIB7H3"
}, {
"name" : "thread",
"value" : "59428-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "case_data",
"value" : "{'code': 'yyct', 'description': '悠悠苍天何薄与我', 'isDefault': 0, 'name': '悠悠苍天'}"
}, {
"name" : "expect_data",
"value" : "{'state': True, 'message': '添加维度成功!'}"
}, {
"name" : "interface",
"value" : "'添加维度'"
}, {
"name" : "level",
"value" : "'高'"
}, {
"name" : "method",
"value" : "'post'"
}, {
"name" : "mime",
"value" : "'json'"
}, {
"name" : "module",
"value" : "'维度管理'"
}, {
"name" : "sql_sentence",
"value" : "'DELETE FROM uc_demension WHERE `CODE_`=\"yyct\";'"
}, {
"name" : "sql_type",
"value" : "'delete'"
}, {
"name" : "title",
"value" : "'正向用例'"
}, {
"name" : "update_key",
"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" : "d5c1bbd0382bd840.json",
"parameterValues" : [ "{'code': 'yyct', 'description': '悠悠苍天何薄与我', 'isDefault': 0, 'name': '悠悠苍天'}", "{'state': True, 'message': '添加维度成功!'}", "'添加维度'", "'高'", "'post'", "'json'", "'维度管理'", "'DELETE FROM uc_demension WHERE `CODE_`=\"yyct\";'", "'delete'", "'正向用例'", "None", "'http://120.46.172.186:8080/api/demension/v1/dem/addDem'" ]
}
\ No newline at end of file
{
"uid" : "db4633ccbed04e70",
"name" : "正向用例",
"fullName" : "test_bpm.TestBPM#test_bpm",
"historyId" : "ba3eedd17fed29eb33bd742a7c778dab",
"time" : {
"start" : 1691411150477,
"stop" : 1691411150657,
"duration" : 180
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "req_fix",
"time" : {
"start" : 1691411148149,
"stop" : 1691411148278,
"duration" : 129
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "db_fix",
"time" : {
"start" : 1691411148278,
"stop" : 1691411148500,
"duration" : 222
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "_session_faker",
"time" : {
"start" : 1691411147814,
"stop" : 1691411148149,
"duration" : 335
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "2fe21eefb6553d78",
"name" : "log",
"source" : "2fe21eefb6553d78.txt",
"type" : "text/plain",
"size" : 111
}, {
"uid" : "64898d7a43f8c56e",
"name" : "stdout",
"source" : "64898d7a43f8c56e.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"attachmentsCount" : 2,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : true
},
"afterStages" : [ {
"name" : "req_fix::0",
"time" : {
"start" : 1691411150919,
"stop" : 1691411150919,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "db_fix::0",
"time" : {
"start" : 1691411150918,
"stop" : 1691411150918,
"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"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "LAPTOP-R4HIB7H3"
}, {
"name" : "thread",
"value" : "59428-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "case_data",
"value" : "{'code': 'ct', 'demId': '不知道', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '苍天', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}"
}, {
"name" : "expect_data",
"value" : "{'state': True, 'message': '添加组织成功!'}"
}, {
"name" : "interface",
"value" : "'添加组织'"
}, {
"name" : "level",
"value" : "'高'"
}, {
"name" : "method",
"value" : "'post'"
}, {
"name" : "mime",
"value" : "'json'"
}, {
"name" : "module",
"value" : "'组织管理'"
}, {
"name" : "sql_sentence",
"value" : "{'select': 'SELECT ID_ FROM uc_demension WHERE `CODE_`=\"yyct\";', 'delete': 'DELETE FROM uc_org WHERE `CODE_`=\"ct\";'}"
}, {
"name" : "sql_type",
"value" : "'delete|select'"
}, {
"name" : "title",
"value" : "'正向用例'"
}, {
"name" : "update_key",
"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" : "db4633ccbed04e70.json",
"parameterValues" : [ "{'code': 'ct', 'demId': '不知道', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '苍天', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}", "{'state': True, 'message': '添加组织成功!'}", "'添加组织'", "'高'", "'post'", "'json'", "'组织管理'", "{'select': 'SELECT ID_ FROM uc_demension WHERE `CODE_`=\"yyct\";', 'delete': 'DELETE FROM uc_org WHERE `CODE_`=\"ct\";'}", "'delete|select'", "'正向用例'", "'demId'", "'http://120.46.172.186:8080/api/org/v1/org/addOrg'" ]
}
\ No newline at end of file
{
"uid" : "e3fd9117920f198",
"name" : "正向用例",
"fullName" : "test_bpm.TestBPM#test_bpm",
"historyId" : "0fcb133bed22d71e51c5d8de985bf503",
"time" : {
"start" : 1691411150746,
"stop" : 1691411150804,
"duration" : 58
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "req_fix",
"time" : {
"start" : 1691411148149,
"stop" : 1691411148278,
"duration" : 129
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "db_fix",
"time" : {
"start" : 1691411148278,
"stop" : 1691411148500,
"duration" : 222
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "_session_faker",
"time" : {
"start" : 1691411147814,
"stop" : 1691411148149,
"duration" : 335
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "80a94f15454dc8db",
"name" : "log",
"source" : "80a94f15454dc8db.txt",
"type" : "text/plain",
"size" : 114
}, {
"uid" : "59feabb369d6f0c2",
"name" : "stdout",
"source" : "59feabb369d6f0c2.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"attachmentsCount" : 2,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : true
},
"afterStages" : [ {
"name" : "req_fix::0",
"time" : {
"start" : 1691411150919,
"stop" : 1691411150919,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "db_fix::0",
"time" : {
"start" : 1691411150918,
"stop" : 1691411150918,
"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"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "LAPTOP-R4HIB7H3"
}, {
"name" : "thread",
"value" : "59428-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "case_data",
"value" : "'ct'"
}, {
"name" : "expect_data",
"value" : "{'state': True, 'message': '删除组织成功!'}"
}, {
"name" : "interface",
"value" : "'删除组织'"
}, {
"name" : "level",
"value" : "'高'"
}, {
"name" : "method",
"value" : "'post'"
}, {
"name" : "mime",
"value" : "'text/plain'"
}, {
"name" : "module",
"value" : "'组织管理'"
}, {
"name" : "sql_sentence",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "title",
"value" : "'正向用例'"
}, {
"name" : "update_key",
"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" : "e3fd9117920f198.json",
"parameterValues" : [ "'ct'", "{'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" : "f31fbcd0eaaf6205",
"name" : "反向用例-密码过短",
"fullName" : "test_bpm.TestBPM#test_bpm",
"historyId" : "8a7a2321e56c1fcb61f775c2f4a8fe45",
"time" : {
"start" : 1691411149263,
"stop" : 1691411149362,
"duration" : 99
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "req_fix",
"time" : {
"start" : 1691411148149,
"stop" : 1691411148278,
"duration" : 129
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "db_fix",
"time" : {
"start" : 1691411148278,
"stop" : 1691411148500,
"duration" : 222
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "_session_faker",
"time" : {
"start" : 1691411147814,
"stop" : 1691411148149,
"duration" : 335
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "10ef51b88dd42cde",
"name" : "log",
"source" : "10ef51b88dd42cde.txt",
"type" : "text/plain",
"size" : 176
}, {
"uid" : "c36040ceabb90caf",
"name" : "stdout",
"source" : "c36040ceabb90caf.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"attachmentsCount" : 2,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : true
},
"afterStages" : [ {
"name" : "req_fix::0",
"time" : {
"start" : 1691411150919,
"stop" : 1691411150919,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "db_fix::0",
"time" : {
"start" : 1691411150918,
"stop" : 1691411150918,
"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"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "LAPTOP-R4HIB7H3"
}, {
"name" : "thread",
"value" : "59428-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "case_data",
"value" : "{'username': 'admin', 'password': 'M'}"
}, {
"name" : "expect_data",
"value" : "{'state': False, 'message': '账号或密码错误'}"
}, {
"name" : "interface",
"value" : "'登录系统'"
}, {
"name" : "level",
"value" : "'中'"
}, {
"name" : "method",
"value" : "'post'"
}, {
"name" : "mime",
"value" : "'json'"
}, {
"name" : "module",
"value" : "'认证接口'"
}, {
"name" : "sql_sentence",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "title",
"value" : "'反向用例-密码过短'"
}, {
"name" : "update_key",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://120.46.172.186:8080/auth'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "f31fbcd0eaaf6205.json",
"parameterValues" : [ "{'username': 'admin', 'password': 'M'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'post'", "'json'", "'认证接口'", "None", "None", "'反向用例-密码过短'", "None", "'http://120.46.172.186:8080/auth'" ]
}
\ No newline at end of file
{
"uid" : "fed5ceb47c4fb2e5",
"name" : "反向用例-用户名为特殊字符",
"fullName" : "test_bpm.TestBPM#test_bpm",
"historyId" : "46599986310d29658ff6ffd5bc8b10ad",
"time" : {
"start" : 1691411148921,
"stop" : 1691411149011,
"duration" : 90
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "req_fix",
"time" : {
"start" : 1691411148149,
"stop" : 1691411148278,
"duration" : 129
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "db_fix",
"time" : {
"start" : 1691411148278,
"stop" : 1691411148500,
"duration" : 222
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "_session_faker",
"time" : {
"start" : 1691411147814,
"stop" : 1691411148149,
"duration" : 335
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "567d670bf15b8e9",
"name" : "log",
"source" : "567d670bf15b8e9.txt",
"type" : "text/plain",
"size" : 176
}, {
"uid" : "2739dab53e5c340b",
"name" : "stdout",
"source" : "2739dab53e5c340b.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"attachmentsCount" : 2,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : true
},
"afterStages" : [ {
"name" : "req_fix::0",
"time" : {
"start" : 1691411150919,
"stop" : 1691411150919,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"hasContent" : false
}, {
"name" : "db_fix::0",
"time" : {
"start" : 1691411150918,
"stop" : 1691411150918,
"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"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "LAPTOP-R4HIB7H3"
}, {
"name" : "thread",
"value" : "59428-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "case_data",
"value" : "{'username': '▬♦◊◦☼♠♣', 'password': 'MTIzNDU2'}"
}, {
"name" : "expect_data",
"value" : "{'state': False, 'message': '账号或密码错误'}"
}, {
"name" : "interface",
"value" : "'登录系统'"
}, {
"name" : "level",
"value" : "'中'"
}, {
"name" : "method",
"value" : "'post'"
}, {
"name" : "mime",
"value" : "'json'"
}, {
"name" : "module",
"value" : "'认证接口'"
}, {
"name" : "sql_sentence",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "title",
"value" : "'反向用例-用户名为特殊字符'"
}, {
"name" : "update_key",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://120.46.172.186:8080/auth'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "fed5ceb47c4fb2e5.json",
"parameterValues" : [ "{'username': '▬♦◊◦☼♠♣', 'password': 'MTIzNDU2'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'post'", "'json'", "'认证接口'", "None", "None", "'反向用例-用户名为特殊字符'", "None", "'http://120.46.172.186:8080/auth'" ]
}
\ No newline at end of file
{
"uid" : "ab17fc5a4eb3bca4b216b548c7f9fcbc",
"name" : "timeline",
"children" : [ {
"name" : "LAPTOP-R4HIB7H3",
"children" : [ {
"name" : "59428-MainThread",
"children" : [ {
"name" : "正向用例",
"uid" : "e3fd9117920f198",
"parentUid" : "337dc1c67a4fa62c99beff497f76b875",
"status" : "passed",
"time" : {
"start" : 1691411150746,
"stop" : 1691411150804,
"duration" : 58
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'ct'", "{'state': True, 'message': '删除组织成功!'}", "'删除组织'", "'高'", "'post'", "'text/plain'", "'组织管理'", "None", "None", "'正向用例'", "None", "'http://120.46.172.186:8080/api/org/v1/org/deleteOrg'" ]
}, {
"name" : "正向用例",
"uid" : "4b2e1f358c0af17b",
"parentUid" : "337dc1c67a4fa62c99beff497f76b875",
"status" : "passed",
"time" : {
"start" : 1691411150670,
"stop" : 1691411150737,
"duration" : 67
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'query': {'orgCode': 'ct'}, 'body': [{'alias': 'sz', 'value': 0}, {'alias': 'zy', 'value': 'math'}, {'alias': 'rq', 'value': '2023-08-04T16:00:00.000Z'}, {'alias': 'ah', 'value': 'zq'}, {'alias': 'yyyy', 'value': '越高越好'}, {'alias': 'xb', 'value': '2'}]}", "{'state': True, 'message': '保存组织参数成功!'}", "'保存组织参数'", "'高'", "'post'", "'json|query'", "'组织管理'", "None", "None", "'正向用例'", "None", "'http://120.46.172.186:8080/api/org/v1/orgParam/saveOrgParams'" ]
}, {
"name" : "反向用例-用户名为空",
"uid" : "d3d88f0f26df43b9",
"parentUid" : "337dc1c67a4fa62c99beff497f76b875",
"status" : "passed",
"time" : {
"start" : 1691411148813,
"stop" : 1691411148907,
"duration" : 94
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'username': '', 'password': 'MTIzNDU2'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'post'", "'json'", "'认证接口'", "None", "None", "'反向用例-用户名为空'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-密码过长",
"uid" : "528e8ed769ce3f74",
"parentUid" : "337dc1c67a4fa62c99beff497f76b875",
"status" : "passed",
"time" : {
"start" : 1691411149129,
"stop" : 1691411149227,
"duration" : 98
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'username': 'admin', 'password': 'MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'post'", "'json'", "'认证接口'", "None", "None", "'反向用例-密码过长'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "正向用例",
"uid" : "db4633ccbed04e70",
"parentUid" : "337dc1c67a4fa62c99beff497f76b875",
"status" : "passed",
"time" : {
"start" : 1691411150477,
"stop" : 1691411150657,
"duration" : 180
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'code': 'ct', 'demId': '不知道', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '苍天', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}", "{'state': True, 'message': '添加组织成功!'}", "'添加组织'", "'高'", "'post'", "'json'", "'组织管理'", "{'select': 'SELECT ID_ FROM uc_demension WHERE `CODE_`=\"yyct\";', 'delete': 'DELETE FROM uc_org WHERE `CODE_`=\"ct\";'}", "'delete|select'", "'正向用例'", "'demId'", "'http://120.46.172.186:8080/api/org/v1/org/addOrg'" ]
}, {
"name" : "正向用例",
"uid" : "6bb8dcaac98e2e8f",
"parentUid" : "337dc1c67a4fa62c99beff497f76b875",
"status" : "failed",
"time" : {
"start" : 1691411149800,
"stop" : 1691411149897,
"duration" : 97
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "None", "{'message': '刷新token成功'}", "'刷新token'", "'中'", "'get'", "None", "'认证接口'", "None", "None", "'正向用例'", "None", "'http://120.46.172.186:8080/refresh'" ]
}, {
"name" : "反向用例-用户名过短",
"uid" : "3b166d057d5cb453",
"parentUid" : "337dc1c67a4fa62c99beff497f76b875",
"status" : "passed",
"time" : {
"start" : 1691411148703,
"stop" : 1691411148801,
"duration" : 98
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'username': 'i', 'password': 'MTIzNDU2'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'post'", "'json'", "'认证接口'", "None", "None", "'反向用例-用户名过短'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "正向用例",
"uid" : "a1c2bafbe88b53da",
"parentUid" : "337dc1c67a4fa62c99beff497f76b875",
"status" : "passed",
"time" : {
"start" : 1691411148525,
"stop" : 1691411148597,
"duration" : 72
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'username': 'admin', 'password': 'MTIzNDU2'}", "{'username': '超级管理员', 'account': 'admin'}", "'登录系统'", "'高'", "'post'", "'json'", "'认证接口'", "None", "None", "'正向用例'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "正向用例",
"uid" : "d5c1bbd0382bd840",
"parentUid" : "337dc1c67a4fa62c99beff497f76b875",
"status" : "passed",
"time" : {
"start" : 1691411150304,
"stop" : 1691411150446,
"duration" : 142
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'code': 'yyct', 'description': '悠悠苍天何薄与我', 'isDefault': 0, 'name': '悠悠苍天'}", "{'state': True, 'message': '添加维度成功!'}", "'添加维度'", "'高'", "'post'", "'json'", "'维度管理'", "'DELETE FROM uc_demension WHERE `CODE_`=\"yyct\";'", "'delete'", "'正向用例'", "None", "'http://120.46.172.186:8080/api/demension/v1/dem/addDem'" ]
}, {
"name" : "反向用例-密码过短",
"uid" : "f31fbcd0eaaf6205",
"parentUid" : "337dc1c67a4fa62c99beff497f76b875",
"status" : "passed",
"time" : {
"start" : 1691411149263,
"stop" : 1691411149362,
"duration" : 99
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'username': 'admin', 'password': 'M'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'post'", "'json'", "'认证接口'", "None", "None", "'反向用例-密码过短'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-密码为空",
"uid" : "31debdd23b02bc88",
"parentUid" : "337dc1c67a4fa62c99beff497f76b875",
"status" : "passed",
"time" : {
"start" : 1691411149401,
"stop" : 1691411149501,
"duration" : 100
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'username': 'admin', 'password': ''}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'post'", "'json'", "'认证接口'", "None", "None", "'反向用例-密码为空'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-密码为特殊字符",
"uid" : "6c0b456ff0188f78",
"parentUid" : "337dc1c67a4fa62c99beff497f76b875",
"status" : "passed",
"time" : {
"start" : 1691411149544,
"stop" : 1691411149657,
"duration" : 113
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'username': 'admin', 'password': '▬♦◊◦☼♠♣'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'post'", "'json'", "'认证接口'", "None", "None", "'反向用例-密码为特殊字符'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-用户名过长",
"uid" : "b09d9b3ada9cd583",
"parentUid" : "337dc1c67a4fa62c99beff497f76b875",
"status" : "passed",
"time" : {
"start" : 1691411148610,
"stop" : 1691411148662,
"duration" : 52
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'username': 'adminadminadminadminadminadmin', 'password': 'MTIzNDU2'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'post'", "'json'", "'认证接口'", "None", "None", "'反向用例-用户名过长'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "正向用例",
"uid" : "515b76f6e81acfe0",
"parentUid" : "337dc1c67a4fa62c99beff497f76b875",
"status" : "passed",
"time" : {
"start" : 1691411150818,
"stop" : 1691411150910,
"duration" : 92
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'ids': '不知道'}", "{'state': True, 'message': '删除维度成功!'}", "'根据维度编码删除维度'", "'高'", "'delete'", "'query'", "'维度管理'", "'SELECT ID_ FROM uc_demension WHERE `CODE_`=\"yyct\";'", "'select'", "'正向用例'", "'ids'", "'http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds'" ]
}, {
"name" : "反向用例-密码错误",
"uid" : "2c08225f589831e7",
"parentUid" : "337dc1c67a4fa62c99beff497f76b875",
"status" : "passed",
"time" : {
"start" : 1691411149690,
"stop" : 1691411149791,
"duration" : 101
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'username': 'admin', 'password': 'M534fg'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'post'", "'json'", "'认证接口'", "None", "None", "'反向用例-密码错误'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-用户名错误",
"uid" : "ad5d728dfbaf3fd2",
"parentUid" : "337dc1c67a4fa62c99beff497f76b875",
"status" : "passed",
"time" : {
"start" : 1691411149021,
"stop" : 1691411149115,
"duration" : 94
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'username': 'gmmn', 'password': 'MTIzNDU2'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'post'", "'json'", "'认证接口'", "None", "None", "'反向用例-用户名错误'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-用户名为特殊字符",
"uid" : "fed5ceb47c4fb2e5",
"parentUid" : "337dc1c67a4fa62c99beff497f76b875",
"status" : "passed",
"time" : {
"start" : 1691411148921,
"stop" : 1691411149011,
"duration" : 90
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'username': '▬♦◊◦☼♠♣', 'password': 'MTIzNDU2'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'post'", "'json'", "'认证接口'", "None", "None", "'反向用例-用户名为特殊字符'", "None", "'http://120.46.172.186:8080/auth'" ]
} ],
"uid" : "337dc1c67a4fa62c99beff497f76b875"
} ],
"uid" : "fab3918774ec6451751ec5edd431862a"
} ]
}
\ No newline at end of file
launch_status failed=1 1691411204000000000
launch_status broken=0 1691411204000000000
launch_status passed=16 1691411204000000000
launch_status skipped=0 1691411204000000000
launch_status unknown=0 1691411204000000000
launch_time duration=2385 1691411204000000000
launch_time min_duration=52 1691411204000000000
launch_time max_duration=180 1691411204000000000
launch_time sum_duration=1647 1691411204000000000
launch_problems product_defects=1 1691411204000000000
launch_retries retries=0 1691411204000000000
launch_retries run=17 1691411204000000000
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Allure Report summary mail</title>
</head>
<body>
Mail body
</body>
</html>
launch_status_failed 1
launch_status_broken 0
launch_status_passed 16
launch_status_skipped 0
launch_status_unknown 0
launch_time_duration 2385
launch_time_min_duration 52
launch_time_max_duration 180
launch_time_sum_duration 1647
launch_problems_product_defects 1
launch_retries_retries 0
launch_retries_run 17
module.exports = __webpack_public_path__ + "favicon.ico";
\ No newline at end of file
[ {
"data" : {
"Product defects" : 1
}
} ]
\ No newline at end of file
[ {
"data" : {
"duration" : 2385
}
} ]
\ No newline at end of file
[ {
"data" : {
"failed" : 1,
"broken" : 0,
"skipped" : 0,
"passed" : 16,
"unknown" : 0,
"total" : 17
}
} ]
\ No newline at end of file
{
"0707d7b27fc8f3e254462ce9c4c9498c" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "b09d9b3ada9cd583",
"status" : "passed",
"time" : {
"start" : 1691411148610,
"stop" : 1691411148662,
"duration" : 52
}
} ]
},
"9dfb3cf343c2c71bf175f240cd5f0a16" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "4b2e1f358c0af17b",
"status" : "passed",
"time" : {
"start" : 1691411150670,
"stop" : 1691411150737,
"duration" : 67
}
} ]
},
"9be7bc28a3e04182e18d8d9656392ace" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "515b76f6e81acfe0",
"status" : "passed",
"time" : {
"start" : 1691411150818,
"stop" : 1691411150910,
"duration" : 92
}
} ]
},
"f35630a0c36bb5785be0848b09fcea36" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "d3d88f0f26df43b9",
"status" : "passed",
"time" : {
"start" : 1691411148813,
"stop" : 1691411148907,
"duration" : 94
}
} ]
},
"3982b32cf4cd368b5bd94446ebb39291" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "3b166d057d5cb453",
"status" : "passed",
"time" : {
"start" : 1691411148703,
"stop" : 1691411148801,
"duration" : 98
}
} ]
},
"46599986310d29658ff6ffd5bc8b10ad" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "fed5ceb47c4fb2e5",
"status" : "passed",
"time" : {
"start" : 1691411148921,
"stop" : 1691411149011,
"duration" : 90
}
} ]
},
"ba3eedd17fed29eb33bd742a7c778dab" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "db4633ccbed04e70",
"status" : "passed",
"time" : {
"start" : 1691411150477,
"stop" : 1691411150657,
"duration" : 180
}
} ]
},
"8a7a2321e56c1fcb61f775c2f4a8fe45" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "f31fbcd0eaaf6205",
"status" : "passed",
"time" : {
"start" : 1691411149263,
"stop" : 1691411149362,
"duration" : 99
}
} ]
},
"3a4c2080ea427de0d86b93a96b54fbca" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "31debdd23b02bc88",
"status" : "passed",
"time" : {
"start" : 1691411149401,
"stop" : 1691411149501,
"duration" : 100
}
} ]
},
"f28e27b9b507c91db8c1afe18569e29a" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "a1c2bafbe88b53da",
"status" : "passed",
"time" : {
"start" : 1691411148525,
"stop" : 1691411148597,
"duration" : 72
}
} ]
},
"f5ef3c6f8f7ff6dc76c1e6b4c782ac60" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "ad5d728dfbaf3fd2",
"status" : "passed",
"time" : {
"start" : 1691411149021,
"stop" : 1691411149115,
"duration" : 94
}
} ]
},
"f368301ce537f1bbd596e0d19f24f393" : {
"statistic" : {
"failed" : 1,
"broken" : 0,
"skipped" : 0,
"passed" : 0,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "6bb8dcaac98e2e8f",
"status" : "failed",
"statusDetails" : "AssertionError: 断言失败咯",
"time" : {
"start" : 1691411149800,
"stop" : 1691411149897,
"duration" : 97
}
} ]
},
"b657492097ed8c431e4fbeadbd19d290" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "d5c1bbd0382bd840",
"status" : "passed",
"time" : {
"start" : 1691411150304,
"stop" : 1691411150446,
"duration" : 142
}
} ]
},
"0fcb133bed22d71e51c5d8de985bf503" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "e3fd9117920f198",
"status" : "passed",
"time" : {
"start" : 1691411150746,
"stop" : 1691411150804,
"duration" : 58
}
} ]
},
"c58ad48ac6f9aae2687a7e3483fe7b07" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "2c08225f589831e7",
"status" : "passed",
"time" : {
"start" : 1691411149690,
"stop" : 1691411149791,
"duration" : 101
}
} ]
},
"0f65c894c6848c57734f711202a744d7" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "528e8ed769ce3f74",
"status" : "passed",
"time" : {
"start" : 1691411149129,
"stop" : 1691411149227,
"duration" : 98
}
} ]
},
"1ba4c53edf5a7349833f4dcafa48dd0a" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "6c0b456ff0188f78",
"status" : "passed",
"time" : {
"start" : 1691411149544,
"stop" : 1691411149657,
"duration" : 113
}
} ]
}
}
\ No newline at end of file
[ {
"data" : {
"run" : 17,
"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" : "9e1b01c648115bfb2ed3deda19160930",
"name" : "BPM",
"statistic" : {
"failed" : 1,
"broken" : 0,
"skipped" : 0,
"passed" : 2,
"unknown" : 0,
"total" : 3
}
} ]
}
\ No newline at end of file
[ {
"data" : {
"Product defects" : 1
}
} ]
\ No newline at end of file
{
"total" : 1,
"items" : [ {
"uid" : "8fb3a91ba5aaf9de24cc8a92edc82b5d",
"name" : "Product defects",
"statistic" : {
"failed" : 1,
"broken" : 0,
"skipped" : 0,
"passed" : 0,
"unknown" : 0,
"total" : 1
}
} ]
}
\ No newline at end of file
[ {
"data" : {
"duration" : 2385
}
} ]
\ No newline at end of file
[ {
"uid" : "4b2e1f358c0af17b",
"name" : "正向用例",
"time" : {
"start" : 1691411150670,
"stop" : 1691411150737,
"duration" : 67
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "fed5ceb47c4fb2e5",
"name" : "反向用例-用户名为特殊字符",
"time" : {
"start" : 1691411148921,
"stop" : 1691411149011,
"duration" : 90
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "db4633ccbed04e70",
"name" : "正向用例",
"time" : {
"start" : 1691411150477,
"stop" : 1691411150657,
"duration" : 180
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "f31fbcd0eaaf6205",
"name" : "反向用例-密码过短",
"time" : {
"start" : 1691411149263,
"stop" : 1691411149362,
"duration" : 99
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "d3d88f0f26df43b9",
"name" : "反向用例-用户名为空",
"time" : {
"start" : 1691411148813,
"stop" : 1691411148907,
"duration" : 94
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "528e8ed769ce3f74",
"name" : "反向用例-密码过长",
"time" : {
"start" : 1691411149129,
"stop" : 1691411149227,
"duration" : 98
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "e3fd9117920f198",
"name" : "正向用例",
"time" : {
"start" : 1691411150746,
"stop" : 1691411150804,
"duration" : 58
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "6bb8dcaac98e2e8f",
"name" : "正向用例",
"time" : {
"start" : 1691411149800,
"stop" : 1691411149897,
"duration" : 97
},
"status" : "failed",
"severity" : "normal"
}, {
"uid" : "6c0b456ff0188f78",
"name" : "反向用例-密码为特殊字符",
"time" : {
"start" : 1691411149544,
"stop" : 1691411149657,
"duration" : 113
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "3b166d057d5cb453",
"name" : "反向用例-用户名过短",
"time" : {
"start" : 1691411148703,
"stop" : 1691411148801,
"duration" : 98
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "515b76f6e81acfe0",
"name" : "正向用例",
"time" : {
"start" : 1691411150818,
"stop" : 1691411150910,
"duration" : 92
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "ad5d728dfbaf3fd2",
"name" : "反向用例-用户名错误",
"time" : {
"start" : 1691411149021,
"stop" : 1691411149115,
"duration" : 94
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "a1c2bafbe88b53da",
"name" : "正向用例",
"time" : {
"start" : 1691411148525,
"stop" : 1691411148597,
"duration" : 72
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "b09d9b3ada9cd583",
"name" : "反向用例-用户名过长",
"time" : {
"start" : 1691411148610,
"stop" : 1691411148662,
"duration" : 52
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "31debdd23b02bc88",
"name" : "反向用例-密码为空",
"time" : {
"start" : 1691411149401,
"stop" : 1691411149501,
"duration" : 100
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "d5c1bbd0382bd840",
"name" : "正向用例",
"time" : {
"start" : 1691411150304,
"stop" : 1691411150446,
"duration" : 142
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "2c08225f589831e7",
"name" : "反向用例-密码错误",
"time" : {
"start" : 1691411149690,
"stop" : 1691411149791,
"duration" : 101
},
"status" : "passed",
"severity" : "normal"
} ]
\ No newline at end of file
[ {
"data" : {
"failed" : 1,
"broken" : 0,
"skipped" : 0,
"passed" : 16,
"unknown" : 0,
"total" : 17
}
} ]
\ No newline at end of file
[ {
"data" : {
"run" : 17,
"retry" : 0
}
} ]
\ No newline at end of file
[ {
"uid" : "d5c1bbd0382bd840",
"name" : "正向用例",
"time" : {
"start" : 1691411150304,
"stop" : 1691411150446,
"duration" : 142
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "6bb8dcaac98e2e8f",
"name" : "正向用例",
"time" : {
"start" : 1691411149800,
"stop" : 1691411149897,
"duration" : 97
},
"status" : "failed",
"severity" : "normal"
}, {
"uid" : "db4633ccbed04e70",
"name" : "正向用例",
"time" : {
"start" : 1691411150477,
"stop" : 1691411150657,
"duration" : 180
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "6c0b456ff0188f78",
"name" : "反向用例-密码为特殊字符",
"time" : {
"start" : 1691411149544,
"stop" : 1691411149657,
"duration" : 113
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "4b2e1f358c0af17b",
"name" : "正向用例",
"time" : {
"start" : 1691411150670,
"stop" : 1691411150737,
"duration" : 67
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "f31fbcd0eaaf6205",
"name" : "反向用例-密码过短",
"time" : {
"start" : 1691411149263,
"stop" : 1691411149362,
"duration" : 99
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "3b166d057d5cb453",
"name" : "反向用例-用户名过短",
"time" : {
"start" : 1691411148703,
"stop" : 1691411148801,
"duration" : 98
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "d3d88f0f26df43b9",
"name" : "反向用例-用户名为空",
"time" : {
"start" : 1691411148813,
"stop" : 1691411148907,
"duration" : 94
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "528e8ed769ce3f74",
"name" : "反向用例-密码过长",
"time" : {
"start" : 1691411149129,
"stop" : 1691411149227,
"duration" : 98
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "ad5d728dfbaf3fd2",
"name" : "反向用例-用户名错误",
"time" : {
"start" : 1691411149021,
"stop" : 1691411149115,
"duration" : 94
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "515b76f6e81acfe0",
"name" : "正向用例",
"time" : {
"start" : 1691411150818,
"stop" : 1691411150910,
"duration" : 92
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "2c08225f589831e7",
"name" : "反向用例-密码错误",
"time" : {
"start" : 1691411149690,
"stop" : 1691411149791,
"duration" : 101
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "e3fd9117920f198",
"name" : "正向用例",
"time" : {
"start" : 1691411150746,
"stop" : 1691411150804,
"duration" : 58
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "fed5ceb47c4fb2e5",
"name" : "反向用例-用户名为特殊字符",
"time" : {
"start" : 1691411148921,
"stop" : 1691411149011,
"duration" : 90
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "31debdd23b02bc88",
"name" : "反向用例-密码为空",
"time" : {
"start" : 1691411149401,
"stop" : 1691411149501,
"duration" : 100
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "b09d9b3ada9cd583",
"name" : "反向用例-用户名过长",
"time" : {
"start" : 1691411148610,
"stop" : 1691411148662,
"duration" : 52
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "a1c2bafbe88b53da",
"name" : "正向用例",
"time" : {
"start" : 1691411148525,
"stop" : 1691411148597,
"duration" : 72
},
"status" : "passed",
"severity" : "normal"
} ]
\ No newline at end of file
[ {
"uid" : "4b2e1f358c0af17b",
"name" : "正向用例",
"time" : {
"start" : 1691411150670,
"stop" : 1691411150737,
"duration" : 67
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "fed5ceb47c4fb2e5",
"name" : "反向用例-用户名为特殊字符",
"time" : {
"start" : 1691411148921,
"stop" : 1691411149011,
"duration" : 90
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "db4633ccbed04e70",
"name" : "正向用例",
"time" : {
"start" : 1691411150477,
"stop" : 1691411150657,
"duration" : 180
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "f31fbcd0eaaf6205",
"name" : "反向用例-密码过短",
"time" : {
"start" : 1691411149263,
"stop" : 1691411149362,
"duration" : 99
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "d3d88f0f26df43b9",
"name" : "反向用例-用户名为空",
"time" : {
"start" : 1691411148813,
"stop" : 1691411148907,
"duration" : 94
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "528e8ed769ce3f74",
"name" : "反向用例-密码过长",
"time" : {
"start" : 1691411149129,
"stop" : 1691411149227,
"duration" : 98
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "e3fd9117920f198",
"name" : "正向用例",
"time" : {
"start" : 1691411150746,
"stop" : 1691411150804,
"duration" : 58
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "6bb8dcaac98e2e8f",
"name" : "正向用例",
"time" : {
"start" : 1691411149800,
"stop" : 1691411149897,
"duration" : 97
},
"status" : "failed",
"severity" : "normal"
}, {
"uid" : "6c0b456ff0188f78",
"name" : "反向用例-密码为特殊字符",
"time" : {
"start" : 1691411149544,
"stop" : 1691411149657,
"duration" : 113
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "3b166d057d5cb453",
"name" : "反向用例-用户名过短",
"time" : {
"start" : 1691411148703,
"stop" : 1691411148801,
"duration" : 98
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "515b76f6e81acfe0",
"name" : "正向用例",
"time" : {
"start" : 1691411150818,
"stop" : 1691411150910,
"duration" : 92
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "ad5d728dfbaf3fd2",
"name" : "反向用例-用户名错误",
"time" : {
"start" : 1691411149021,
"stop" : 1691411149115,
"duration" : 94
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "a1c2bafbe88b53da",
"name" : "正向用例",
"time" : {
"start" : 1691411148525,
"stop" : 1691411148597,
"duration" : 72
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "b09d9b3ada9cd583",
"name" : "反向用例-用户名过长",
"time" : {
"start" : 1691411148610,
"stop" : 1691411148662,
"duration" : 52
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "31debdd23b02bc88",
"name" : "反向用例-密码为空",
"time" : {
"start" : 1691411149401,
"stop" : 1691411149501,
"duration" : 100
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "d5c1bbd0382bd840",
"name" : "正向用例",
"time" : {
"start" : 1691411150304,
"stop" : 1691411150446,
"duration" : 142
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "2c08225f589831e7",
"name" : "反向用例-密码错误",
"time" : {
"start" : 1691411149690,
"stop" : 1691411149791,
"duration" : 101
},
"status" : "passed",
"severity" : "normal"
} ]
\ No newline at end of file
{
"total" : 1,
"items" : [ {
"uid" : "10f50a925462c4c85491656d24b32ac1",
"name" : "test_bpm",
"statistic" : {
"failed" : 1,
"broken" : 0,
"skipped" : 0,
"passed" : 16,
"unknown" : 0,
"total" : 17
}
} ]
}
\ No newline at end of file
{
"reportName" : "Allure Report",
"testRuns" : [ ],
"statistic" : {
"failed" : 1,
"broken" : 0,
"skipped" : 0,
"passed" : 16,
"unknown" : 0,
"total" : 17
},
"time" : {
"start" : 1691411148525,
"stop" : 1691411150910,
"duration" : 2385,
"minDuration" : 52,
"maxDuration" : 180,
"sumDuration" : 1647
}
}
\ No newline at end of file
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: pythonProject
# FileName: __init__.py
# Author: xxxxxxx
# Datetime: 2023/8/7 20:02
# Description:
#
# ---------------------------------------------------------------------------
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: pythonProject
# FileName: requests_method.py
# Author: xxxxxxx
# Datetime: 2023/8/7 19:12
# Description:
#
# ---------------------------------------------------------------------------
import base64
import requests
from APIAutoTest_004.common.read_ini import ReadIni
class RequestsMethod:
def __init__(self):
url = ReadIni().get_host("bpm_url") + "/auth"
data = {"username": "admin", "password": base64.b64encode("123456".encode("utf-8")).decode("utf-8")}
self.bpm_session = requests.sessions.Session()
token = self.bpm_session.request(method="post", url=url, json=data).json().get("token")
self.bpm_session.headers["Authorization"] = "Bearer " + token
def request_all(self, method, url, mime, case_data):
if mime == "application/x-www-form-urlencoded" or mime == "x-www-form-urlencoded":
return self.bpm_session.request(method=method, url=url, data=case_data)
elif mime == "application/json" or mime == "json":
return self.bpm_session.request(method=method, url=url, json=case_data)
elif mime == "multipart/form-data" or mime == "form-data":
return self.bpm_session.request(method=method, url=url, files=case_data)
elif mime == "query" or mime == "params":
return self.bpm_session.request(method=method, url=url, params=case_data)
elif mime == "query|json" or mime == "json|query":
return self.bpm_session.request(method=method, url=url, params=case_data["query"], json=case_data["body"])
elif mime == "text/plain":
return self.bpm_session.request(method=method, url=url, data=case_data)
elif mime is None:
return self.bpm_session.request(method=method, url=url)
else:
raise NameError("传参错误!!!")
if __name__ == '__main__':
req = RequestsMethod()
\ No newline at end of file
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: pythonProject
# FileName: __init__.py
# Author: xxxxxxx
# Datetime: 2023/8/7 20:02
# Description:
#
# ---------------------------------------------------------------------------
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: pythonProject
# FileName: conftest.py
# Author: xxxxxxx
# Datetime: 2023/8/7 19:39
# Description:
#
# ---------------------------------------------------------------------------
import pytest
from APIAutoTest_004.common.db import DB
from APIAutoTest_004.requests_method.requests_method import RequestsMethod
@pytest.fixture(scope="session")
def req_fix():
req = RequestsMethod()
yield req
@pytest.fixture(scope="session")
def db_fix():
db = DB()
yield db
db.close()
def pytest_collection_modifyitems(items):
# item表示每个测试用例,解决用例名称中文显示问题
for item in items:
item.name = item.name.encode("utf-8").decode("unicode-escape")
item._nodeid = item._nodeid.encode("utf-8").decode("unicode-escape")
\ No newline at end of file
[pytest]
;开启日志
log_cli=true
;设置日志的级别,如果不设置级别的话,可以设置为NOTSET,如果要设置级别,级别可以有debug,info,warning,error,致命
log_level=NOTSET
;设置日志显示的信息格式
log_format=%(levelname)s--%(asctime)s--%(message)s
;设置日志中时间显示的格式
log_date_format=%Y-%m-%d %H:%M:%S
;每个py文件运行的时候追加的命令
;addopts=-vs
;设置日志保存的文件
log_file=../report/log/bpm_test.log
;设置日志保存在文件中的级别
log_file_level=error
;设置日志在文件中的信息格式
log_file_format=%(levelname)s--%(asctime)s--%(message)s
;设置文件日志中时间显示的格式
log_file_date_format=%Y-%m-%d %H:%M:%S
\ No newline at end of file
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: pythonProject
# FileName: test_bpm.py
# Author: xxxxxxx
# Datetime: 2023/8/7 19:35
# Description:
#
# ---------------------------------------------------------------------------
import logging
import allure
import pytest
from APIAutoTest_004.common.read_excel import ReadExcel
class TestBPM:
@allure.epic("BPM")
@pytest.mark.parametrize("module, interface, title, level, method, url, mime, case_data, expect_data, sql_type,sql_sentence,update_key", ReadExcel().get_data())
def test_bpm(self, req_fix, db_fix, module, interface, title, level, method, url, mime, case_data, expect_data, sql_type,sql_sentence,update_key):
allure.dynamic.feature(module)
allure.dynamic.story(interface)
allure.dynamic.title(title)
allure.dynamic.severity(level)
if sql_type == "delete":
db_fix.delete(sql_sentence)
elif sql_type == "select":
sql_result = db_fix.select(sql_sentence)
case_data[update_key] = sql_result
elif sql_type == "delete|select" or sql_type == "select|delete":
db_fix.delete(sql_sentence["delete"])
sql_sentence = db_fix.select(sql_sentence["select"])
case_data[update_key] = sql_sentence
result = req_fix.request_all(method=method, url=url, mime=mime, case_data=case_data)
try:
for key in expect_data:
assert result.json().get(key) == expect_data[key]
except:
print("断言失败")
logging.error("断言失败,模块名称为:{},接口名称为:{},标题为:{},用例数据为:{}".format(module, interface, title, case_data))
raise AssertionError("断言失败咯")
else:
print("断言成功")
if __name__ == '__main__':
pytest.main()
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