Commit b199bfdd by root

api的描述信息

parents
# Default ignored files
/shelf/
/workspace.xml
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml
# Editor-based HTTP Client requests
/httpRequests/
<?xml version="1.0" encoding="UTF-8"?>
<module type="PYTHON_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
<component name="TestRunnerService">
<option name="PROJECT_TEST_RUNNER" value="pytest" />
</component>
</module>
\ No newline at end of file
<component name="InspectionProjectProfileManager">
<profile version="1.0">
<option name="myName" value="Project Default" />
<inspection_tool class="PyUnresolvedReferencesInspection" enabled="true" level="WARNING" enabled_by_default="true">
<option name="ignoredIdentifiers">
<list>
<option value="study_selenium2.common.read_excel.ReadIni" />
<option value="study_selenium2.case.example.DB" />
</list>
</option>
</inspection_tool>
</profile>
</component>
\ No newline at end of file
<component name="InspectionProjectProfileManager">
<settings>
<option name="USE_PROJECT_PROFILE" value="false" />
<version value="1.0" />
</settings>
</component>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="JavaScriptSettings">
<option name="languageLevel" value="ES6" />
</component>
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.1" project-jdk-type="Python SDK" />
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/API_third.iml" filepath="$PROJECT_DIR$/.idea/API_third.iml" />
</modules>
</component>
</project>
\ No newline at end of file
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: API_third
# FileName: __init__.py
# Author: xxxxxxx
# Datetime: 2023/8/8 20:22
# Description:
#
# ---------------------------------------------------------------------------
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: test_56
# FileName: __init__.py
# Author: xxxxxxx
# Datetime: 2023/8/7 15:20
# Description:
#
# ---------------------------------------------------------------------------
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: python_stduy
# FileName: db.py
# Author: xxxxxxx
# Datetime: 2023/8/7 19:30
# Description:
#
# ---------------------------------------------------------------------------
import pymysql
from common.readini import ReadIni
from data_config.settings import *
class DB:
def __init__(self):
readini = ReadIni()
self.conn = pymysql.connect(
host=readini.get_sql(HOST1),
port=int(readini.get_sql(PORT)),
user=readini.get_sql(USER),
passwd=readini.get_sql(PWD),
database=readini.get_sql(DATABASE),
charset="utf8"
)
self.cursor = self.conn.cursor()
def close(self):
self.cursor.close()
self.conn.close()
def delete(self, sqlsentence):
self.cursor.execute(sqlsentence)
self.conn.commit()
def select(self, sqlsentence):
self.cursor.execute(sqlsentence)
result = self.cursor.fetchall()
if result:
return result[0][0]
\ No newline at end of file
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: python_stduy
# FileName: readexcel.py
# Author: xxxxxxx
# Datetime: 2023/8/7 18:46
# Description:
#
# ---------------------------------------------------------------------------
import openpyxl
from API_third.common.readini import ReadIni
from API_third.common.readjson import readjson
from API_third.data_config.settings import *
class ReadExcel:
def __init__(self):
self.readini = ReadIni()
case_data_path = self.readini.get_file_path(CASE)
expect_data_path = self.readini.get_file_path(EXPECT)
sql_data_path = self.readini.get_file_path(SQL)
self.case_data_dict = readjson(case_data_path)
self.expect_data_dict = readjson(expect_data_path)
self.sql_data_dict = readjson(sql_data_path)
excelpath = self.readini.get_file_path(EXCEL)
wb = openpyxl.load_workbook(excelpath)
table = self.readini.get_table_name(TABLE)
self.ws = wb[table]
def __get_excel_values(self,column,row):
value = self.ws[str(column)+str(row)].value
if value is None:
return None
elif value.strip():
return value.strip()
def get_modulename(self,row):
return self.__get_excel_values(MODULE,row)
def get_interfacename(self,row):
return self.__get_excel_values(API,row)
def get_casetitle(self,row):
return self.__get_excel_values(TITLE,row)
def get_caselevel(self,row):
return self.__get_excel_values(LEVEL,row)
def get_method(self,row):
return self.__get_excel_values(METHOD,row)
def get_url(self,row):
return self.readini.get_host(HOST)+self.__get_excel_values(PATH,row)
def case_mime(self,row):
value = self.__get_excel_values(MIME,row)
if value:
return value.lower()
def get_casedata(self,row):
casedata_key = self.__get_excel_values(CASEDATA,row)
if casedata_key:
modulename = self.get_modulename(row)
interfacename = self.get_interfacename(row)
return self.case_data_dict[modulename][interfacename][casedata_key]
def get_expectdata(self,row):
expect_key = self.__get_excel_values(EXPECTDATA, row)
if expect_key:
modulename = self.get_modulename(row)
interfacename = self.get_interfacename(row)
return self.expect_data_dict[modulename][interfacename][expect_key]
def get_sqltype(self,row):
value = self.__get_excel_values(SQLTYPE,row)
if value:
return value.lower()
def get_sqlsentence(self,row):
sql_key = self.__get_excel_values(SQLSENTENCE,row)
if sql_key:
modulename = self.get_modulename(row)
interfacename = self.get_interfacename(row)
return self.sql_data_dict[modulename][interfacename][sql_key]
def get_updatakey(self,row):
return self.__get_excel_values(UPDATEKEY,row)
def get_data(self):
lists = []
for row in range(2,self.ws.max_row+1):
module = self.get_modulename(row)
interface = self.get_interfacename(row)
title = self.get_casetitle(row)
level = self.get_caselevel(row)
method = self.get_method(row)
url = self.get_url(row)
mime = self.case_mime(row)
data = self.get_casedata(row)
expect = self.get_expectdata(row)
sqltype = self.get_sqltype(row)
sqlsentence = self.get_sqlsentence(row)
updatakey = self.get_updatakey(row)
lists.append([module, interface, title, level, method, url, mime, data, expect, sqltype, sqlsentence, updatakey])
return lists
if __name__ == '__main__':
readexcel = ReadExcel()
print(readexcel.get_data())
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: python_stduy
# FileName: readini.py
# Author: xxxxxxx
# Datetime: 2023/8/7 18:28
# Description:
#
# ---------------------------------------------------------------------------
import os
import configparser
class ReadIni:
def __init__(self):
self.data_config_path = os.path.join(os.path.dirname(os.path.dirname(__file__)),"data_config")
inipath = os.path.join(self.data_config_path,"config.ini")
self.conf = configparser.ConfigParser()
self.conf.read(inipath,encoding="utf-8")
def get_file_path(self,key):
file = self.conf.get("file",key)
return os.path.join(self.data_config_path,file)
def get_table_name(self,key):
return self.conf.get("table_name",key)
def get_host(self,key):
return self.conf.get("host",key)
def get_sql(self,key):
return self.conf.get("sql",key)
if __name__ == '__main__':
readini=ReadIni()
print(readini.get_host('test_bpm'))
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: python_stduy
# FileName: readjson.py
# Author: xxxxxxx
# Datetime: 2023/8/7 18:43
# Description:
#
# ---------------------------------------------------------------------------
import json
def readjson(fileneme):
with open(fileneme, mode="r",encoding="utf-8") as fp:
return json.loads(fp.read())
{
"认证接口":{
"登录系统":{
"LoginSuccess": {"password": "MTIzNDU2","username": "admin"},
"LoginFailUsernameIsNone":{"password": "MTIzNDU2","username": ""},
"LoginFailUsernameIsLong":{"password": "MTIzNDU2","username": "adminadminadminadminadminadminadminadminadmin"},
"LoginFailUsernameIsShort":{"password": "MTIzNDU2","username": "a"},
"LoginFailUsernameIsSpecialChar":{"password": "MTIzNDU2","username": "▬♦◊◦☼♠♣"},
"LoginFailUsernameIsError":{"password": "MTIzNDU2","username": "tomcat"},
"LoginFailPWDIsNone":{"password": "","username": "admin"},
"LoginFailPWDIsLong":{"password": "MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2","username": "admin"},
"LoginFailPWDIsShort":{"password": "1","username": "admin"},
"LoginFailPWDIsSpecial":{"password": "▬♦◊◦☼♠♣","username": "admin"}
}
},
"维度管理": {
"添加维度": {
"AddDemSuccess": {
"code": "test56_dem",
"description": "测试56期的维度",
"isDefault": 0,
"name": "测试56期的维度"
}
},
"根据维度编码删除维度": {
"DeleteDemSuccess": {"ids": "不知道"}
}
},
"组织管理": {
"添加组织": {
"AddOrgSuccess": {
"code": "test56_org",
"demId": "不知道",
"exceedLimitNum": 0,
"grade": "",
"limitNum": 0,
"name": "测试的组织",
"nowNum": 0,
"orderNo": 0,
"parentId": "0"
}
},
"删除组织": {
"DeleteOrgSuccess": "test56_org"
},
"保存组织参数": {
"SaveOrgParamSuccess": {
"query": {"orgCode": "test56_org"},
"body": [
{"alias":"sz","value":0},
{"alias":"zy","value":"math"},
{"alias":"rq","value":"2023-08-04T16:00:00.000Z"},
{"alias":"ah","value":"lq"},
{"alias":"yyyy","value":"越高越好"},
{"alias":"xb","value":"2"}]
}
}
}
}
\ No newline at end of file
[file]
excel=APIAutoTest.xlsx
excel1=APIAutoTest.xlsx
case=case_data.json
expect=expect_data.json
sql=sql.json
[host]
test_bpm=http://120.46.172.186:8080
[table_name]
table=BPM接口
[sql]
host=120.46.172.186
port=3306
user=root
pwd=root@2023
database=eipsaas
\ No newline at end of file
{
"认证接口":{
"登录系统":{
"LoginSuccess": {"username": "超级管理员","account": "admin"},
"LoginFailUsernameIsNone":{"state": false,"message": "账号或密码错误"},
"LoginFailUsernameIsLong":{"state": false,"message": "账号或密码错误"},
"LoginFailUsernameIsShort":{"state": false,"message": "账号或密码错误"},
"LoginFailUsernameIsSpecialChar":{"state": false,"message": "账号或密码错误"},
"LoginFailUsernameIsError":{"state": false,"message": "账号或密码错误"},
"LoginFailPWDIsNone":{"state": false,"message": "账号或密码错误"},
"LoginFailPWDIsLong":{"state": false,"message": "账号或密码错误"},
"LoginFailPWDIsShort":{"state": false,"message": "账号或密码错误"},
"LoginFailPWDIsSpecial":{"state": false,"message": "账号或密码错误"}
},
"刷新token": {
"RefreshSuccess": {"message": "刷新token成功"}
}
},
"维度管理": {
"添加维度": {
"AddDemSuccess": {"state": true, "message": "添加维度成功!"}
},
"根据维度编码删除维度": {
"DeleteDemSuccess": {"state": true, "message": "删除维度成功"}
}
},
"组织管理": {
"添加组织": {
"AddOrgSuccess": {"state": true, "message": "添加组织成功!"}
},
"删除组织": {
"DeleteOrgSuccess": {"state": true, "message": "删除组织成功!"}
},
"保存组织参数": {
"SaveOrgParamSuccess": {"state": true, "message": "保存组织参数成功!"}
}
}
}
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: test_56_env
# FileName: column.py
# Author: xxxxxxx
# Datetime: 2023/8/7 17:27
# Description:
#
# ---------------------------------------------------------------------------
"""excel列号的配置文件"""
MODULE = "b"
API = "C"
TITLE = "D"
LEVEL = "E"
PATH = "F"
METHOD = "G"
MIME = "H"
CASEDATA = "I"
EXPECTDATA = "J"
SQLTYPE = "K"
SQLSENTENCE = "L"
UPDATEKEY = "M"
"""配ini文件中file节点下的key"""
EXCEL = "excel1"
CASE = "case"
EXPECT = "expect"
SQL = "sql"
"""配置table_name节点下的key"""
TABLE = "table"
"""配置host节点下的key"""
HOST = "test_bpm"
"""配置sql节点下的key"""
HOST1 = "host"
PORT = "port"
USER = "user"
PWD = "pwd"
DATABASE = "database"
\ No newline at end of file
{
"维度管理": {
"添加维度": {
"AddDemSuccess": "DELETE FROM uc_demension WHERE `CODE_`=\"test56_dem\";"
},
"根据维度编码删除维度": {
"DeleteDemSuccess": "SELECT ID_ FROM uc_demension WHERE `CODE_`=\"test56_dem\";"
}
},
"组织管理": {
"添加组织": {
"AddOrgSuccess": {
"select": "SELECT ID_ FROM uc_demension WHERE `CODE_`=\"test56_dem\";",
"delete": "DELETE FROM uc_org WHERE `CODE_`=\"test56_org\";"
}
}
}
}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
DEBUG--2023-08-07 20:56:07--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:56:07--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
\ No newline at end of file
eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE2OTE0OTkzNjcsImlhdCI6MTY5MTQxMjk2N30.d4AYmgdA6QuRK26-zhH2ofqXlk-TRblTHqrpLQVE-Q9P-FwOxW-110cFyZKwJglF7xRmzSt0e42BkyEAcAlEVg
断言成功
DEBUG--2023-08-07 20:56:07--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:56:08--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
\ No newline at end of file
DEBUG--2023-08-07 20:56:08--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:56:08--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
\ No newline at end of file
DEBUG--2023-08-07 20:56:06--Looking for locale `en_US` in provider `faker.providers.address`.
DEBUG--2023-08-07 20:56:06--Provider `faker.providers.address` has been localized to `en_US`.
DEBUG--2023-08-07 20:56:06--Looking for locale `en_US` in provider `faker.providers.automotive`.
DEBUG--2023-08-07 20:56:06--Provider `faker.providers.automotive` has been localized to `en_US`.
DEBUG--2023-08-07 20:56:06--Looking for locale `en_US` in provider `faker.providers.bank`.
DEBUG--2023-08-07 20:56:06--Specified locale `en_US` is not available for provider `faker.providers.bank`. Locale reset to `en_GB` for this provider.
DEBUG--2023-08-07 20:56:06--Looking for locale `en_US` in provider `faker.providers.barcode`.
DEBUG--2023-08-07 20:56:06--Provider `faker.providers.barcode` has been localized to `en_US`.
DEBUG--2023-08-07 20:56:06--Looking for locale `en_US` in provider `faker.providers.color`.
DEBUG--2023-08-07 20:56:06--Provider `faker.providers.color` has been localized to `en_US`.
DEBUG--2023-08-07 20:56:06--Looking for locale `en_US` in provider `faker.providers.company`.
DEBUG--2023-08-07 20:56:06--Provider `faker.providers.company` has been localized to `en_US`.
DEBUG--2023-08-07 20:56:06--Looking for locale `en_US` in provider `faker.providers.credit_card`.
DEBUG--2023-08-07 20:56:06--Provider `faker.providers.credit_card` has been localized to `en_US`.
DEBUG--2023-08-07 20:56:06--Looking for locale `en_US` in provider `faker.providers.currency`.
DEBUG--2023-08-07 20:56:06--Provider `faker.providers.currency` has been localized to `en_US`.
DEBUG--2023-08-07 20:56:06--Looking for locale `en_US` in provider `faker.providers.date_time`.
DEBUG--2023-08-07 20:56:06--Provider `faker.providers.date_time` has been localized to `en_US`.
DEBUG--2023-08-07 20:56:06--Provider `faker.providers.emoji` does not feature localization. Specified locale `en_US` is not utilized for this provider.
DEBUG--2023-08-07 20:56:06--Provider `faker.providers.file` does not feature localization. Specified locale `en_US` is not utilized for this provider.
DEBUG--2023-08-07 20:56:06--Looking for locale `en_US` in provider `faker.providers.geo`.
DEBUG--2023-08-07 20:56:06--Provider `faker.providers.geo` has been localized to `en_US`.
DEBUG--2023-08-07 20:56:06--Looking for locale `en_US` in provider `faker.providers.internet`.
DEBUG--2023-08-07 20:56:06--Provider `faker.providers.internet` has been localized to `en_US`.
DEBUG--2023-08-07 20:56:06--Provider `faker.providers.isbn` does not feature localization. Specified locale `en_US` is not utilized for this provider.
DEBUG--2023-08-07 20:56:06--Looking for locale `en_US` in provider `faker.providers.job`.
DEBUG--2023-08-07 20:56:07--Provider `faker.providers.job` has been localized to `en_US`.
DEBUG--2023-08-07 20:56:07--Looking for locale `en_US` in provider `faker.providers.lorem`.
DEBUG--2023-08-07 20:56:07--Provider `faker.providers.lorem` has been localized to `en_US`.
DEBUG--2023-08-07 20:56:07--Looking for locale `en_US` in provider `faker.providers.misc`.
DEBUG--2023-08-07 20:56:07--Provider `faker.providers.misc` has been localized to `en_US`.
DEBUG--2023-08-07 20:56:07--Looking for locale `en_US` in provider `faker.providers.passport`.
DEBUG--2023-08-07 20:56:07--Provider `faker.providers.passport` has been localized to `en_US`.
DEBUG--2023-08-07 20:56:07--Looking for locale `en_US` in provider `faker.providers.person`.
DEBUG--2023-08-07 20:56:07--Provider `faker.providers.person` has been localized to `en_US`.
DEBUG--2023-08-07 20:56:07--Looking for locale `en_US` in provider `faker.providers.phone_number`.
DEBUG--2023-08-07 20:56:07--Provider `faker.providers.phone_number` has been localized to `en_US`.
DEBUG--2023-08-07 20:56:07--Provider `faker.providers.profile` does not feature localization. Specified locale `en_US` is not utilized for this provider.
DEBUG--2023-08-07 20:56:07--Provider `faker.providers.python` does not feature localization. Specified locale `en_US` is not utilized for this provider.
DEBUG--2023-08-07 20:56:07--Provider `faker.providers.sbn` does not feature localization. Specified locale `en_US` is not utilized for this provider.
DEBUG--2023-08-07 20:56:07--Looking for locale `en_US` in provider `faker.providers.ssn`.
DEBUG--2023-08-07 20:56:07--Provider `faker.providers.ssn` has been localized to `en_US`.
DEBUG--2023-08-07 20:56:07--Provider `faker.providers.user_agent` does not feature localization. Specified locale `en_US` is not utilized for this provider.
DEBUG--2023-08-07 20:56:07--Starting new HTTP connection (1): 120.46.172.186:8080
DEBUG--2023-08-07 20:56:07--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 200 None
DEBUG--2023-08-07 20:56:07--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 200 None
\ No newline at end of file
DEBUG--2023-08-07 20:56:07--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:56:07--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
\ No newline at end of file
DEBUG--2023-08-07 20:56:07--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
\ No newline at end of file
DEBUG--2023-08-07 20:56:08--http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
\ No newline at end of file
DEBUG--2023-08-07 20:56:08--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:56:08--http://120.46.172.186:8080 "GET /refresh HTTP/1.1" 200 None
ERROR--2023-08-07 20:56:08--断言失败, 模块名称为:认证接口,接口名称为:刷新token,用例标题:正向用例,用例为:None,期望结果为:{'message': '刷新token成功'},服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE2OTE0OTkzNjgsImlhdCI6MTY5MTQxMjk2OH0.IcXFXaZoEXPvHQIVbPmFLTkLDuCQcf5VpBGop1HeXWqL_5AsnlZWAS6xIHCKrKXpiDkaEsZ4WvT661jUusnY9A","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
\ No newline at end of file
DEBUG--2023-08-07 20:56:08--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:56:08--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
\ No newline at end of file
DEBUG--2023-08-07 20:56:09--http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1688534492479766528 HTTP/1.1" 200 None
ERROR--2023-08-07 20:56:09--断言失败, 模块名称为:维度管理,接口名称为:根据维度编码删除维度,用例标题:正向用例,用例为:{'ids': '1688534492479766528'},期望结果为:{'state': True, 'message': '删除维度成功'},服务器返回数据为:{"state":true,"message":"删除维度成功!","value":""}
\ No newline at end of file
DEBUG--2023-08-07 20:56:09--http://120.46.172.186:8080 "POST /api/org/v1/orgParam/saveOrgParams?orgCode=test56_org HTTP/1.1" 200 None
\ No newline at end of file
DEBUG--2023-08-07 20:56:08--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:56:08--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
\ No newline at end of file
DEBUG--2023-08-07 20:56:07--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:56:07--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
\ No newline at end of file
DEBUG--2023-08-07 20:56:08--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:56:08--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
\ No newline at end of file
DEBUG--2023-08-07 20:56:09--http://120.46.172.186:8080 "POST /api/org/v1/org/deleteOrg HTTP/1.1" 200 None
\ No newline at end of file
DEBUG--2023-08-07 20:56:09--http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
\ No newline at end of file
"Epic","Feature","Story","FAILED","BROKEN","PASSED","SKIPPED","UNKNOWN"
"BPM系统","认证接口","登录系统","0","0","10","0","0"
"BPM系统","维度管理","添加维度","0","0","1","0","0"
"BPM系统","维度管理","根据维度编码删除维度","1","0","0","0","0"
"BPM系统","组织管理","保存组织参数","0","0","1","0","0"
"BPM系统","组织管理","删除组织","0","0","1","0","0"
"BPM系统","组织管理","添加组织","0","0","1","0","0"
"BPM系统","认证接口","刷新token","1","0","0","0","0"
{
"uid" : "b1a8273437954620fa374b796ffaacdd",
"name" : "behaviors",
"children" : [ {
"name" : "BPM系统",
"children" : [ {
"name" : "认证接口",
"children" : [ {
"name" : "登录系统",
"children" : [ {
"name" : "正向用例",
"uid" : "80cc3d9125342c84",
"parentUid" : "9eb19157a3426d8d3ab7067a14e9167f",
"status" : "passed",
"time" : {
"start" : 1691412967381,
"stop" : 1691412967441,
"duration" : 60
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'password': 'MTIzNDU2', 'username': 'admin'}", "{'username': '超级管理员', 'account': 'admin'}", "'登录系统'", "'高'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'正向用例'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-用户名为空",
"uid" : "c1137b52bc158c3b",
"parentUid" : "9eb19157a3426d8d3ab7067a14e9167f",
"status" : "passed",
"time" : {
"start" : 1691412967458,
"stop" : 1691412967514,
"duration" : 56
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'password': 'MTIzNDU2', 'username': ''}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-用户名为空'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-用户名过长",
"uid" : "878fd6d9be167c95",
"parentUid" : "9eb19157a3426d8d3ab7067a14e9167f",
"status" : "passed",
"time" : {
"start" : 1691412967526,
"stop" : 1691412967630,
"duration" : 104
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'password': 'MTIzNDU2', 'username': 'adminadminadminadminadminadminadminadminadmin'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-用户名过长'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-用户名过短",
"uid" : "487b5b1e29b765f4",
"parentUid" : "9eb19157a3426d8d3ab7067a14e9167f",
"status" : "passed",
"time" : {
"start" : 1691412967668,
"stop" : 1691412967768,
"duration" : 100
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'password': 'MTIzNDU2', 'username': 'a'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-用户名过短'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-用户名特殊字符",
"uid" : "593a30ea50e4e65e",
"parentUid" : "9eb19157a3426d8d3ab7067a14e9167f",
"status" : "passed",
"time" : {
"start" : 1691412967807,
"stop" : 1691412967904,
"duration" : 97
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'password': 'MTIzNDU2', 'username': '▬♦◊◦☼♠♣'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-用户名特殊字符'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-用户名错误",
"uid" : "2cad346442b8353d",
"parentUid" : "9eb19157a3426d8d3ab7067a14e9167f",
"status" : "passed",
"time" : {
"start" : 1691412967917,
"stop" : 1691412968013,
"duration" : 96
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'password': 'MTIzNDU2', 'username': 'tomcat'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'POST'", "'json'", "'认证接口'", "None", "None", "'反向用例-用户名错误'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-密码为空",
"uid" : "97ed2c7bf2a5ae29",
"parentUid" : "9eb19157a3426d8d3ab7067a14e9167f",
"status" : "passed",
"time" : {
"start" : 1691412968026,
"stop" : 1691412968127,
"duration" : 101
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'password': '', 'username': 'admin'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-密码为空'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-密码为长",
"uid" : "2181236f7df59f69",
"parentUid" : "9eb19157a3426d8d3ab7067a14e9167f",
"status" : "passed",
"time" : {
"start" : 1691412968164,
"stop" : 1691412968270,
"duration" : 106
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'password': 'MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2', 'username': 'admin'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-密码为长'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-密码为过短",
"uid" : "d721c898d353a4f1",
"parentUid" : "9eb19157a3426d8d3ab7067a14e9167f",
"status" : "passed",
"time" : {
"start" : 1691412968295,
"stop" : 1691412968398,
"duration" : 103
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'password': '1', 'username': 'admin'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'PoST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-密码为过短'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-密码为特殊字符",
"uid" : "dd6d3e153caa3b07",
"parentUid" : "9eb19157a3426d8d3ab7067a14e9167f",
"status" : "passed",
"time" : {
"start" : 1691412968411,
"stop" : 1691412968515,
"duration" : 104
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'password': '▬♦◊◦☼♠♣', 'username': 'admin'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-密码为特殊字符'", "None", "'http://120.46.172.186:8080/auth'" ]
} ],
"uid" : "9eb19157a3426d8d3ab7067a14e9167f"
}, {
"name" : "刷新token",
"children" : [ {
"name" : "正向用例",
"uid" : "c38dfbbf61a8e3a1",
"parentUid" : "a409e3a0b6634abcef404e6df31976c5",
"status" : "failed",
"time" : {
"start" : 1691412968538,
"stop" : 1691412968643,
"duration" : 105
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "None", "{'message': '刷新token成功'}", "'刷新token'", "'中'", "'get'", "None", "'认证接口'", "None", "None", "'正向用例'", "None", "'http://120.46.172.186:8080/refresh'" ]
} ],
"uid" : "a409e3a0b6634abcef404e6df31976c5"
} ],
"uid" : "daf4a81c8500143ac26c740652b2737a"
}, {
"name" : "维度管理",
"children" : [ {
"name" : "添加维度",
"children" : [ {
"name" : "正向用例",
"uid" : "e21a773239c439d2",
"parentUid" : "3b95457e3dff05384511589b8078699c",
"status" : "passed",
"time" : {
"start" : 1691412968837,
"stop" : 1691412968977,
"duration" : 140
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'code': 'test56_dem', 'description': '测试56期的维度', 'isDefault': 0, 'name': '测试56期的维度'}", "{'state': True, 'message': '添加维度成功!'}", "'添加维度'", "'高'", "'post'", "'application/json'", "'维度管理'", "'DELETE FROM uc_demension WHERE `CODE_`=\"test56_dem\";'", "'delete'", "'正向用例'", "None", "'http://120.46.172.186:8080/api/demension/v1/dem/addDem'" ]
} ],
"uid" : "3b95457e3dff05384511589b8078699c"
}, {
"name" : "根据维度编码删除维度",
"children" : [ {
"name" : "正向用例",
"uid" : "1a844f8c800e3521",
"parentUid" : "44927dd409a65c91904e4c3a6b3c1d86",
"status" : "failed",
"time" : {
"start" : 1691412969366,
"stop" : 1691412969476,
"duration" : 110
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'ids': '不知道'}", "{'state': True, 'message': '删除维度成功'}", "'根据维度编码删除维度'", "'高'", "'DELETE'", "'query'", "'维度管理'", "'SELECT ID_ FROM uc_demension WHERE `CODE_`=\"test56_dem\";'", "'select'", "'正向用例'", "'ids'", "'http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds'" ]
} ],
"uid" : "44927dd409a65c91904e4c3a6b3c1d86"
} ],
"uid" : "f491e726ab090b27f6eb774a22fe1587"
}, {
"name" : "组织管理",
"children" : [ {
"name" : "添加组织",
"children" : [ {
"name" : "正向用例",
"uid" : "ad15ad4694a1718c",
"parentUid" : "3d6644ef5d3e8c0186c93f4d11d89bd9",
"status" : "passed",
"time" : {
"start" : 1691412968988,
"stop" : 1691412969173,
"duration" : 185
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'code': 'test56_org', 'demId': '不知道', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}", "{'state': True, 'message': '添加组织成功!'}", "'添加组织'", "'高'", "'post'", "'application/json'", "'组织管理'", "{'select': 'SELECT ID_ FROM uc_demension WHERE `CODE_`=\"test56_dem\";', 'delete': 'DELETE FROM uc_org WHERE `CODE_`=\"test56_org\";'}", "'delete|select'", "'正向用例'", "'demId'", "'http://120.46.172.186:8080/api/org/v1/org/addOrg'" ]
} ],
"uid" : "3d6644ef5d3e8c0186c93f4d11d89bd9"
}, {
"name" : "保存组织参数",
"children" : [ {
"name" : "正向用例",
"uid" : "9af0f3a6371960e0",
"parentUid" : "778600cb26b8f8f7203250b2d93427cd",
"status" : "passed",
"time" : {
"start" : 1691412969191,
"stop" : 1691412969265,
"duration" : 74
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'query': {'orgCode': 'test56_org'}, 'body': [{'alias': 'sz', 'value': 0}, {'alias': 'zy', 'value': 'math'}, {'alias': 'rq', 'value': '2023-08-04T16:00:00.000Z'}, {'alias': 'ah', 'value': 'lq'}, {'alias': 'yyyy', 'value': '越高越好'}, {'alias': 'xb', 'value': '2'}]}", "{'state': True, 'message': '保存组织参数成功!'}", "'保存组织参数'", "'高'", "'post'", "'application/json|query'", "'组织管理'", "None", "None", "'正向用例'", "None", "'http://120.46.172.186:8080/api/org/v1/orgParam/saveOrgParams'" ]
} ],
"uid" : "778600cb26b8f8f7203250b2d93427cd"
}, {
"name" : "删除组织",
"children" : [ {
"name" : "正向用例",
"uid" : "988589cd93aad179",
"parentUid" : "90ce342b686b1926c1d90c881fb5b7b0",
"status" : "passed",
"time" : {
"start" : 1691412969283,
"stop" : 1691412969349,
"duration" : 66
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'test56_org'", "{'state': True, 'message': '删除组织成功!'}", "'删除组织'", "'高'", "'post'", "'text/plain'", "'组织管理'", "None", "None", "'正向用例'", "None", "'http://120.46.172.186:8080/api/org/v1/org/deleteOrg'" ]
} ],
"uid" : "90ce342b686b1926c1d90c881fb5b7b0"
} ],
"uid" : "ef3f7033cd07ff8e9e952819ec88f312"
} ],
"uid" : "f2ae4690c9b2f3df492f4f543cc9c7a2"
} ]
}
\ No newline at end of file
"Category","FAILED","BROKEN","PASSED","SKIPPED","UNKNOWN"
"Product defects","2","0","0","0","0"
{
"uid" : "4b4757e66a1912dae1a509f688f20b0f",
"name" : "categories",
"children" : [ {
"name" : "Product defects",
"children" : [ {
"name" : "AssertionError: 断言失败",
"children" : [ {
"name" : "正向用例",
"uid" : "c38dfbbf61a8e3a1",
"parentUid" : "19135fd4a1c65086de1dc2a02ed9d4e0",
"status" : "failed",
"time" : {
"start" : 1691412968538,
"stop" : 1691412968643,
"duration" : 105
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "None", "{'message': '刷新token成功'}", "'刷新token'", "'中'", "'get'", "None", "'认证接口'", "None", "None", "'正向用例'", "None", "'http://120.46.172.186:8080/refresh'" ]
}, {
"name" : "正向用例",
"uid" : "1a844f8c800e3521",
"parentUid" : "19135fd4a1c65086de1dc2a02ed9d4e0",
"status" : "failed",
"time" : {
"start" : 1691412969366,
"stop" : 1691412969476,
"duration" : 110
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'ids': '不知道'}", "{'state': True, 'message': '删除维度成功'}", "'根据维度编码删除维度'", "'高'", "'DELETE'", "'query'", "'维度管理'", "'SELECT ID_ FROM uc_demension WHERE `CODE_`=\"test56_dem\";'", "'select'", "'正向用例'", "'ids'", "'http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds'" ]
} ],
"uid" : "19135fd4a1c65086de1dc2a02ed9d4e0"
} ],
"uid" : "8fb3a91ba5aaf9de24cc8a92edc82b5d"
} ]
}
\ No newline at end of file
{
"uid" : "83edc06c07f9ae9e47eb6dd1b683e4e2",
"name" : "packages",
"children" : [ {
"name" : "test_bpm",
"children" : [ {
"name" : "正向用例",
"uid" : "80cc3d9125342c84",
"parentUid" : "4a32e30797efccc00725261109ae2af4",
"status" : "passed",
"time" : {
"start" : 1691412967381,
"stop" : 1691412967441,
"duration" : 60
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'password': 'MTIzNDU2', 'username': 'admin'}", "{'username': '超级管理员', 'account': 'admin'}", "'登录系统'", "'高'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'正向用例'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-用户名为空",
"uid" : "c1137b52bc158c3b",
"parentUid" : "4a32e30797efccc00725261109ae2af4",
"status" : "passed",
"time" : {
"start" : 1691412967458,
"stop" : 1691412967514,
"duration" : 56
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'password': 'MTIzNDU2', 'username': ''}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-用户名为空'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-用户名过长",
"uid" : "878fd6d9be167c95",
"parentUid" : "4a32e30797efccc00725261109ae2af4",
"status" : "passed",
"time" : {
"start" : 1691412967526,
"stop" : 1691412967630,
"duration" : 104
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'password': 'MTIzNDU2', 'username': 'adminadminadminadminadminadminadminadminadmin'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-用户名过长'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-用户名过短",
"uid" : "487b5b1e29b765f4",
"parentUid" : "4a32e30797efccc00725261109ae2af4",
"status" : "passed",
"time" : {
"start" : 1691412967668,
"stop" : 1691412967768,
"duration" : 100
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'password': 'MTIzNDU2', 'username': 'a'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-用户名过短'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-用户名特殊字符",
"uid" : "593a30ea50e4e65e",
"parentUid" : "4a32e30797efccc00725261109ae2af4",
"status" : "passed",
"time" : {
"start" : 1691412967807,
"stop" : 1691412967904,
"duration" : 97
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'password': 'MTIzNDU2', 'username': '▬♦◊◦☼♠♣'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-用户名特殊字符'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-用户名错误",
"uid" : "2cad346442b8353d",
"parentUid" : "4a32e30797efccc00725261109ae2af4",
"status" : "passed",
"time" : {
"start" : 1691412967917,
"stop" : 1691412968013,
"duration" : 96
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'password': 'MTIzNDU2', 'username': 'tomcat'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'POST'", "'json'", "'认证接口'", "None", "None", "'反向用例-用户名错误'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-密码为空",
"uid" : "97ed2c7bf2a5ae29",
"parentUid" : "4a32e30797efccc00725261109ae2af4",
"status" : "passed",
"time" : {
"start" : 1691412968026,
"stop" : 1691412968127,
"duration" : 101
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'password': '', 'username': 'admin'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-密码为空'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-密码为长",
"uid" : "2181236f7df59f69",
"parentUid" : "4a32e30797efccc00725261109ae2af4",
"status" : "passed",
"time" : {
"start" : 1691412968164,
"stop" : 1691412968270,
"duration" : 106
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'password': 'MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2', 'username': 'admin'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-密码为长'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-密码为过短",
"uid" : "d721c898d353a4f1",
"parentUid" : "4a32e30797efccc00725261109ae2af4",
"status" : "passed",
"time" : {
"start" : 1691412968295,
"stop" : 1691412968398,
"duration" : 103
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'password': '1', 'username': 'admin'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'PoST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-密码为过短'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-密码为特殊字符",
"uid" : "dd6d3e153caa3b07",
"parentUid" : "4a32e30797efccc00725261109ae2af4",
"status" : "passed",
"time" : {
"start" : 1691412968411,
"stop" : 1691412968515,
"duration" : 104
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'password': '▬♦◊◦☼♠♣', 'username': 'admin'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-密码为特殊字符'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "正向用例",
"uid" : "c38dfbbf61a8e3a1",
"parentUid" : "4a32e30797efccc00725261109ae2af4",
"status" : "failed",
"time" : {
"start" : 1691412968538,
"stop" : 1691412968643,
"duration" : 105
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "None", "{'message': '刷新token成功'}", "'刷新token'", "'中'", "'get'", "None", "'认证接口'", "None", "None", "'正向用例'", "None", "'http://120.46.172.186:8080/refresh'" ]
}, {
"name" : "正向用例",
"uid" : "e21a773239c439d2",
"parentUid" : "4a32e30797efccc00725261109ae2af4",
"status" : "passed",
"time" : {
"start" : 1691412968837,
"stop" : 1691412968977,
"duration" : 140
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'code': 'test56_dem', 'description': '测试56期的维度', 'isDefault': 0, 'name': '测试56期的维度'}", "{'state': True, 'message': '添加维度成功!'}", "'添加维度'", "'高'", "'post'", "'application/json'", "'维度管理'", "'DELETE FROM uc_demension WHERE `CODE_`=\"test56_dem\";'", "'delete'", "'正向用例'", "None", "'http://120.46.172.186:8080/api/demension/v1/dem/addDem'" ]
}, {
"name" : "正向用例",
"uid" : "ad15ad4694a1718c",
"parentUid" : "4a32e30797efccc00725261109ae2af4",
"status" : "passed",
"time" : {
"start" : 1691412968988,
"stop" : 1691412969173,
"duration" : 185
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'code': 'test56_org', 'demId': '不知道', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}", "{'state': True, 'message': '添加组织成功!'}", "'添加组织'", "'高'", "'post'", "'application/json'", "'组织管理'", "{'select': 'SELECT ID_ FROM uc_demension WHERE `CODE_`=\"test56_dem\";', 'delete': 'DELETE FROM uc_org WHERE `CODE_`=\"test56_org\";'}", "'delete|select'", "'正向用例'", "'demId'", "'http://120.46.172.186:8080/api/org/v1/org/addOrg'" ]
}, {
"name" : "正向用例",
"uid" : "9af0f3a6371960e0",
"parentUid" : "4a32e30797efccc00725261109ae2af4",
"status" : "passed",
"time" : {
"start" : 1691412969191,
"stop" : 1691412969265,
"duration" : 74
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'query': {'orgCode': 'test56_org'}, 'body': [{'alias': 'sz', 'value': 0}, {'alias': 'zy', 'value': 'math'}, {'alias': 'rq', 'value': '2023-08-04T16:00:00.000Z'}, {'alias': 'ah', 'value': 'lq'}, {'alias': 'yyyy', 'value': '越高越好'}, {'alias': 'xb', 'value': '2'}]}", "{'state': True, 'message': '保存组织参数成功!'}", "'保存组织参数'", "'高'", "'post'", "'application/json|query'", "'组织管理'", "None", "None", "'正向用例'", "None", "'http://120.46.172.186:8080/api/org/v1/orgParam/saveOrgParams'" ]
}, {
"name" : "正向用例",
"uid" : "988589cd93aad179",
"parentUid" : "4a32e30797efccc00725261109ae2af4",
"status" : "passed",
"time" : {
"start" : 1691412969283,
"stop" : 1691412969349,
"duration" : 66
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'test56_org'", "{'state': True, 'message': '删除组织成功!'}", "'删除组织'", "'高'", "'post'", "'text/plain'", "'组织管理'", "None", "None", "'正向用例'", "None", "'http://120.46.172.186:8080/api/org/v1/org/deleteOrg'" ]
}, {
"name" : "正向用例",
"uid" : "1a844f8c800e3521",
"parentUid" : "4a32e30797efccc00725261109ae2af4",
"status" : "failed",
"time" : {
"start" : 1691412969366,
"stop" : 1691412969476,
"duration" : 110
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'ids': '不知道'}", "{'state': True, 'message': '删除维度成功'}", "'根据维度编码删除维度'", "'高'", "'DELETE'", "'query'", "'维度管理'", "'SELECT ID_ FROM uc_demension WHERE `CODE_`=\"test56_dem\";'", "'select'", "'正向用例'", "'ids'", "'http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds'" ]
} ],
"uid" : "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:56:07 CST 2023","Mon Aug 07 20:56:07 CST 2023","56","","test_bpm","TestBPM","","","反向用例-用户名为空",""
"passed","Mon Aug 07 20:56:07 CST 2023","Mon Aug 07 20:56:08 CST 2023","96","","test_bpm","TestBPM","","","反向用例-用户名错误",""
"passed","Mon Aug 07 20:56:08 CST 2023","Mon Aug 07 20:56:08 CST 2023","140","","test_bpm","TestBPM","","","正向用例",""
"passed","Mon Aug 07 20:56:07 CST 2023","Mon Aug 07 20:56:07 CST 2023","97","","test_bpm","TestBPM","","","反向用例-用户名特殊字符",""
"failed","Mon Aug 07 20:56:09 CST 2023","Mon Aug 07 20:56:09 CST 2023","110","","test_bpm","TestBPM","","","正向用例",""
"passed","Mon Aug 07 20:56:08 CST 2023","Mon Aug 07 20:56:08 CST 2023","101","","test_bpm","TestBPM","","","反向用例-密码为空",""
"passed","Mon Aug 07 20:56:07 CST 2023","Mon Aug 07 20:56:07 CST 2023","104","","test_bpm","TestBPM","","","反向用例-用户名过长",""
"passed","Mon Aug 07 20:56:09 CST 2023","Mon Aug 07 20:56:09 CST 2023","74","","test_bpm","TestBPM","","","正向用例",""
"passed","Mon Aug 07 20:56:09 CST 2023","Mon Aug 07 20:56:09 CST 2023","66","","test_bpm","TestBPM","","","正向用例",""
"passed","Mon Aug 07 20:56:08 CST 2023","Mon Aug 07 20:56:09 CST 2023","185","","test_bpm","TestBPM","","","正向用例",""
"passed","Mon Aug 07 20:56:08 CST 2023","Mon Aug 07 20:56:08 CST 2023","103","","test_bpm","TestBPM","","","反向用例-密码为过短",""
"passed","Mon Aug 07 20:56:08 CST 2023","Mon Aug 07 20:56:08 CST 2023","104","","test_bpm","TestBPM","","","反向用例-密码为特殊字符",""
"passed","Mon Aug 07 20:56:07 CST 2023","Mon Aug 07 20:56:07 CST 2023","60","","test_bpm","TestBPM","","","正向用例",""
"passed","Mon Aug 07 20:56:07 CST 2023","Mon Aug 07 20:56:07 CST 2023","100","","test_bpm","TestBPM","","","反向用例-用户名过短",""
"passed","Mon Aug 07 20:56:08 CST 2023","Mon Aug 07 20:56:08 CST 2023","106","","test_bpm","TestBPM","","","反向用例-密码为长",""
"failed","Mon Aug 07 20:56:08 CST 2023","Mon Aug 07 20:56:08 CST 2023","105","","test_bpm","TestBPM","","","正向用例",""
{
"uid" : "98d3104e051c652961429bf95fa0b5d6",
"name" : "suites",
"children" : [ {
"name" : "test_bpm",
"children" : [ {
"name" : "TestBPM",
"children" : [ {
"name" : "正向用例",
"uid" : "80cc3d9125342c84",
"parentUid" : "9e2149d4e33ad22996308efb2c8b042b",
"status" : "passed",
"time" : {
"start" : 1691412967381,
"stop" : 1691412967441,
"duration" : 60
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'password': 'MTIzNDU2', 'username': 'admin'}", "{'username': '超级管理员', 'account': 'admin'}", "'登录系统'", "'高'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'正向用例'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-用户名为空",
"uid" : "c1137b52bc158c3b",
"parentUid" : "9e2149d4e33ad22996308efb2c8b042b",
"status" : "passed",
"time" : {
"start" : 1691412967458,
"stop" : 1691412967514,
"duration" : 56
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'password': 'MTIzNDU2', 'username': ''}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-用户名为空'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-用户名过长",
"uid" : "878fd6d9be167c95",
"parentUid" : "9e2149d4e33ad22996308efb2c8b042b",
"status" : "passed",
"time" : {
"start" : 1691412967526,
"stop" : 1691412967630,
"duration" : 104
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'password': 'MTIzNDU2', 'username': 'adminadminadminadminadminadminadminadminadmin'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-用户名过长'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-用户名过短",
"uid" : "487b5b1e29b765f4",
"parentUid" : "9e2149d4e33ad22996308efb2c8b042b",
"status" : "passed",
"time" : {
"start" : 1691412967668,
"stop" : 1691412967768,
"duration" : 100
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'password': 'MTIzNDU2', 'username': 'a'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-用户名过短'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-用户名特殊字符",
"uid" : "593a30ea50e4e65e",
"parentUid" : "9e2149d4e33ad22996308efb2c8b042b",
"status" : "passed",
"time" : {
"start" : 1691412967807,
"stop" : 1691412967904,
"duration" : 97
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'password': 'MTIzNDU2', 'username': '▬♦◊◦☼♠♣'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-用户名特殊字符'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-用户名错误",
"uid" : "2cad346442b8353d",
"parentUid" : "9e2149d4e33ad22996308efb2c8b042b",
"status" : "passed",
"time" : {
"start" : 1691412967917,
"stop" : 1691412968013,
"duration" : 96
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'password': 'MTIzNDU2', 'username': 'tomcat'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'POST'", "'json'", "'认证接口'", "None", "None", "'反向用例-用户名错误'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-密码为空",
"uid" : "97ed2c7bf2a5ae29",
"parentUid" : "9e2149d4e33ad22996308efb2c8b042b",
"status" : "passed",
"time" : {
"start" : 1691412968026,
"stop" : 1691412968127,
"duration" : 101
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'password': '', 'username': 'admin'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-密码为空'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-密码为长",
"uid" : "2181236f7df59f69",
"parentUid" : "9e2149d4e33ad22996308efb2c8b042b",
"status" : "passed",
"time" : {
"start" : 1691412968164,
"stop" : 1691412968270,
"duration" : 106
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'password': 'MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2', 'username': 'admin'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-密码为长'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-密码为过短",
"uid" : "d721c898d353a4f1",
"parentUid" : "9e2149d4e33ad22996308efb2c8b042b",
"status" : "passed",
"time" : {
"start" : 1691412968295,
"stop" : 1691412968398,
"duration" : 103
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'password': '1', 'username': 'admin'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'PoST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-密码为过短'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-密码为特殊字符",
"uid" : "dd6d3e153caa3b07",
"parentUid" : "9e2149d4e33ad22996308efb2c8b042b",
"status" : "passed",
"time" : {
"start" : 1691412968411,
"stop" : 1691412968515,
"duration" : 104
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'password': '▬♦◊◦☼♠♣', 'username': 'admin'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-密码为特殊字符'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "正向用例",
"uid" : "c38dfbbf61a8e3a1",
"parentUid" : "9e2149d4e33ad22996308efb2c8b042b",
"status" : "failed",
"time" : {
"start" : 1691412968538,
"stop" : 1691412968643,
"duration" : 105
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "None", "{'message': '刷新token成功'}", "'刷新token'", "'中'", "'get'", "None", "'认证接口'", "None", "None", "'正向用例'", "None", "'http://120.46.172.186:8080/refresh'" ]
}, {
"name" : "正向用例",
"uid" : "e21a773239c439d2",
"parentUid" : "9e2149d4e33ad22996308efb2c8b042b",
"status" : "passed",
"time" : {
"start" : 1691412968837,
"stop" : 1691412968977,
"duration" : 140
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'code': 'test56_dem', 'description': '测试56期的维度', 'isDefault': 0, 'name': '测试56期的维度'}", "{'state': True, 'message': '添加维度成功!'}", "'添加维度'", "'高'", "'post'", "'application/json'", "'维度管理'", "'DELETE FROM uc_demension WHERE `CODE_`=\"test56_dem\";'", "'delete'", "'正向用例'", "None", "'http://120.46.172.186:8080/api/demension/v1/dem/addDem'" ]
}, {
"name" : "正向用例",
"uid" : "ad15ad4694a1718c",
"parentUid" : "9e2149d4e33ad22996308efb2c8b042b",
"status" : "passed",
"time" : {
"start" : 1691412968988,
"stop" : 1691412969173,
"duration" : 185
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'code': 'test56_org', 'demId': '不知道', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}", "{'state': True, 'message': '添加组织成功!'}", "'添加组织'", "'高'", "'post'", "'application/json'", "'组织管理'", "{'select': 'SELECT ID_ FROM uc_demension WHERE `CODE_`=\"test56_dem\";', 'delete': 'DELETE FROM uc_org WHERE `CODE_`=\"test56_org\";'}", "'delete|select'", "'正向用例'", "'demId'", "'http://120.46.172.186:8080/api/org/v1/org/addOrg'" ]
}, {
"name" : "正向用例",
"uid" : "9af0f3a6371960e0",
"parentUid" : "9e2149d4e33ad22996308efb2c8b042b",
"status" : "passed",
"time" : {
"start" : 1691412969191,
"stop" : 1691412969265,
"duration" : 74
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'query': {'orgCode': 'test56_org'}, 'body': [{'alias': 'sz', 'value': 0}, {'alias': 'zy', 'value': 'math'}, {'alias': 'rq', 'value': '2023-08-04T16:00:00.000Z'}, {'alias': 'ah', 'value': 'lq'}, {'alias': 'yyyy', 'value': '越高越好'}, {'alias': 'xb', 'value': '2'}]}", "{'state': True, 'message': '保存组织参数成功!'}", "'保存组织参数'", "'高'", "'post'", "'application/json|query'", "'组织管理'", "None", "None", "'正向用例'", "None", "'http://120.46.172.186:8080/api/org/v1/orgParam/saveOrgParams'" ]
}, {
"name" : "正向用例",
"uid" : "988589cd93aad179",
"parentUid" : "9e2149d4e33ad22996308efb2c8b042b",
"status" : "passed",
"time" : {
"start" : 1691412969283,
"stop" : 1691412969349,
"duration" : 66
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'test56_org'", "{'state': True, 'message': '删除组织成功!'}", "'删除组织'", "'高'", "'post'", "'text/plain'", "'组织管理'", "None", "None", "'正向用例'", "None", "'http://120.46.172.186:8080/api/org/v1/org/deleteOrg'" ]
}, {
"name" : "正向用例",
"uid" : "1a844f8c800e3521",
"parentUid" : "9e2149d4e33ad22996308efb2c8b042b",
"status" : "failed",
"time" : {
"start" : 1691412969366,
"stop" : 1691412969476,
"duration" : 110
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'ids': '不知道'}", "{'state': True, 'message': '删除维度成功'}", "'根据维度编码删除维度'", "'高'", "'DELETE'", "'query'", "'维度管理'", "'SELECT ID_ FROM uc_demension WHERE `CODE_`=\"test56_dem\";'", "'select'", "'正向用例'", "'ids'", "'http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds'" ]
} ],
"uid" : "9e2149d4e33ad22996308efb2c8b042b"
} ],
"uid" : "10f50a925462c4c85491656d24b32ac1"
} ]
}
\ No newline at end of file
{
"uid" : "1a844f8c800e3521",
"name" : "正向用例",
"fullName" : "test_bpm.TestBPM#test_bpm",
"historyId" : "4611226fe8e8ea7f2f751c759c190024",
"time" : {
"start" : 1691412969366,
"stop" : 1691412969476,
"duration" : 110
},
"status" : "failed",
"statusMessage" : "AssertionError: 断言失败",
"statusTrace" : "self = <API_third.test_case.test_bpm.TestBPM object at 0x0000025D5C91BE10>, req_fix = <API_third.request_method.request_method.RequestsMethod object at 0x0000025D5C977050>\ndb_fix = <API_third.common.db.DB object at 0x0000025D5C9DFC10>, module = '维度管理', interface = '根据维度编码删除维度', title = '正向用例', level = '高', method = 'DELETE'\nurl = 'http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds', mime = 'query', data = {'ids': '1688534492479766528'}, expect = {'message': '删除维度成功', 'state': True}\nsqltype = 'select', sqlsentence = 'SELECT ID_ FROM uc_demension WHERE `CODE_`=\"test56_dem\";', updatakey = 'ids'\n\n @allure.epic(\"BPM系统\")\n @pytest.mark.parametrize(\"module, interface, title, level, method, url, mime, data, expect, sqltype, sqlsentence, updatakey\",ReadExcel().get_data())\n def test_bpm(self,req_fix, db_fix, module, interface, title, level, method, url, mime, data, expect, sqltype, sqlsentence, updatakey):\n allure.dynamic.feature(module)\n allure.dynamic.story(interface)\n allure.dynamic.title(title)\n allure.dynamic.severity(level)\n \n if sqltype == \"delete\":\n db_fix.delete(sqlsentence)\n \n elif sqltype == \"select\":\n result2 = db_fix.select(sqlsentence)\n data[updatakey] = result2\n \n elif sqltype == \"delete|select\" or sqltype == \"select|delete\":\n db_fix.delete(sqlsentence[\"delete\"])\n result3 = db_fix.select(sqlsentence[\"select\"])\n data[updatakey] = result3\n \n \n \n results = req_fix.requests_all(req_method=method, req_url=url, req_mime=mime, case_data=data)\n \n \n try:\n for key in expect:\n> assert expect[key] == results.json().get(key)\nE AssertionError: assert '删除维度成功' == '删除维度成功!'\nE - 删除维度成功!\nE ? -\nE + 删除维度成功\n\ntest_bpm.py:46: AssertionError\n\nDuring handling of the above exception, another exception occurred:\n\nself = <API_third.test_case.test_bpm.TestBPM object at 0x0000025D5C91BE10>, req_fix = <API_third.request_method.request_method.RequestsMethod object at 0x0000025D5C977050>\ndb_fix = <API_third.common.db.DB object at 0x0000025D5C9DFC10>, module = '维度管理', interface = '根据维度编码删除维度', title = '正向用例', level = '高', method = 'DELETE'\nurl = 'http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds', mime = 'query', data = {'ids': '1688534492479766528'}, expect = {'message': '删除维度成功', 'state': True}\nsqltype = 'select', sqlsentence = 'SELECT ID_ FROM uc_demension WHERE `CODE_`=\"test56_dem\";', updatakey = 'ids'\n\n @allure.epic(\"BPM系统\")\n @pytest.mark.parametrize(\"module, interface, title, level, method, url, mime, data, expect, sqltype, sqlsentence, updatakey\",ReadExcel().get_data())\n def test_bpm(self,req_fix, db_fix, module, interface, title, level, method, url, mime, data, expect, sqltype, sqlsentence, updatakey):\n allure.dynamic.feature(module)\n allure.dynamic.story(interface)\n allure.dynamic.title(title)\n allure.dynamic.severity(level)\n \n if sqltype == \"delete\":\n db_fix.delete(sqlsentence)\n \n elif sqltype == \"select\":\n result2 = db_fix.select(sqlsentence)\n data[updatakey] = result2\n \n elif sqltype == \"delete|select\" or sqltype == \"select|delete\":\n db_fix.delete(sqlsentence[\"delete\"])\n result3 = db_fix.select(sqlsentence[\"select\"])\n data[updatakey] = result3\n \n \n \n results = req_fix.requests_all(req_method=method, req_url=url, req_mime=mime, case_data=data)\n \n \n try:\n for key in expect:\n assert expect[key] == results.json().get(key)\n except:\n print(\"断言失败\")\n logging.error(\"断言失败, 模块名称为:{},接口名称为:{},用例标题:{},用例为:{},期望结果为:{},服务器返回数据为:{}\".format(module, interface, title, str(data), str(expect), results.text))\n> raise AssertionError(\"断言失败\")\nE AssertionError: 断言失败\n\ntest_bpm.py:50: AssertionError",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1691412966920,
"stop" : 1691412967056,
"duration" : 136
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "req_fix",
"time" : {
"start" : 1691412967057,
"stop" : 1691412967162,
"duration" : 105
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "db_fix",
"time" : {
"start" : 1691412967162,
"stop" : 1691412967373,
"duration" : 211
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"testStage" : {
"status" : "failed",
"statusMessage" : "AssertionError: 断言失败",
"statusTrace" : "self = <API_third.test_case.test_bpm.TestBPM object at 0x0000025D5C91BE10>, req_fix = <API_third.request_method.request_method.RequestsMethod object at 0x0000025D5C977050>\ndb_fix = <API_third.common.db.DB object at 0x0000025D5C9DFC10>, module = '维度管理', interface = '根据维度编码删除维度', title = '正向用例', level = '高', method = 'DELETE'\nurl = 'http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds', mime = 'query', data = {'ids': '1688534492479766528'}, expect = {'message': '删除维度成功', 'state': True}\nsqltype = 'select', sqlsentence = 'SELECT ID_ FROM uc_demension WHERE `CODE_`=\"test56_dem\";', updatakey = 'ids'\n\n @allure.epic(\"BPM系统\")\n @pytest.mark.parametrize(\"module, interface, title, level, method, url, mime, data, expect, sqltype, sqlsentence, updatakey\",ReadExcel().get_data())\n def test_bpm(self,req_fix, db_fix, module, interface, title, level, method, url, mime, data, expect, sqltype, sqlsentence, updatakey):\n allure.dynamic.feature(module)\n allure.dynamic.story(interface)\n allure.dynamic.title(title)\n allure.dynamic.severity(level)\n \n if sqltype == \"delete\":\n db_fix.delete(sqlsentence)\n \n elif sqltype == \"select\":\n result2 = db_fix.select(sqlsentence)\n data[updatakey] = result2\n \n elif sqltype == \"delete|select\" or sqltype == \"select|delete\":\n db_fix.delete(sqlsentence[\"delete\"])\n result3 = db_fix.select(sqlsentence[\"select\"])\n data[updatakey] = result3\n \n \n \n results = req_fix.requests_all(req_method=method, req_url=url, req_mime=mime, case_data=data)\n \n \n try:\n for key in expect:\n> assert expect[key] == results.json().get(key)\nE AssertionError: assert '删除维度成功' == '删除维度成功!'\nE - 删除维度成功!\nE ? -\nE + 删除维度成功\n\ntest_bpm.py:46: AssertionError\n\nDuring handling of the above exception, another exception occurred:\n\nself = <API_third.test_case.test_bpm.TestBPM object at 0x0000025D5C91BE10>, req_fix = <API_third.request_method.request_method.RequestsMethod object at 0x0000025D5C977050>\ndb_fix = <API_third.common.db.DB object at 0x0000025D5C9DFC10>, module = '维度管理', interface = '根据维度编码删除维度', title = '正向用例', level = '高', method = 'DELETE'\nurl = 'http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds', mime = 'query', data = {'ids': '1688534492479766528'}, expect = {'message': '删除维度成功', 'state': True}\nsqltype = 'select', sqlsentence = 'SELECT ID_ FROM uc_demension WHERE `CODE_`=\"test56_dem\";', updatakey = 'ids'\n\n @allure.epic(\"BPM系统\")\n @pytest.mark.parametrize(\"module, interface, title, level, method, url, mime, data, expect, sqltype, sqlsentence, updatakey\",ReadExcel().get_data())\n def test_bpm(self,req_fix, db_fix, module, interface, title, level, method, url, mime, data, expect, sqltype, sqlsentence, updatakey):\n allure.dynamic.feature(module)\n allure.dynamic.story(interface)\n allure.dynamic.title(title)\n allure.dynamic.severity(level)\n \n if sqltype == \"delete\":\n db_fix.delete(sqlsentence)\n \n elif sqltype == \"select\":\n result2 = db_fix.select(sqlsentence)\n data[updatakey] = result2\n \n elif sqltype == \"delete|select\" or sqltype == \"select|delete\":\n db_fix.delete(sqlsentence[\"delete\"])\n result3 = db_fix.select(sqlsentence[\"select\"])\n data[updatakey] = result3\n \n \n \n results = req_fix.requests_all(req_method=method, req_url=url, req_mime=mime, case_data=data)\n \n \n try:\n for key in expect:\n assert expect[key] == results.json().get(key)\n except:\n print(\"断言失败\")\n logging.error(\"断言失败, 模块名称为:{},接口名称为:{},用例标题:{},用例为:{},期望结果为:{},服务器返回数据为:{}\".format(module, interface, title, str(data), str(expect), results.text))\n> raise AssertionError(\"断言失败\")\nE AssertionError: 断言失败\n\ntest_bpm.py:50: AssertionError",
"steps" : [ ],
"attachments" : [ {
"uid" : "c6c7fdaa48ee048c",
"name" : "log",
"source" : "c6c7fdaa48ee048c.txt",
"type" : "text/plain",
"size" : 521
}, {
"uid" : "34de96cbe7aeeffb",
"name" : "stdout",
"source" : "34de96cbe7aeeffb.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"attachmentsCount" : 2,
"shouldDisplayMessage" : true,
"hasContent" : true,
"stepsCount" : 0
},
"afterStages" : [ {
"name" : "db_fix::0",
"time" : {
"start" : 1691412969503,
"stop" : 1691412969503,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"labels" : [ {
"name" : "feature",
"value" : "维度管理"
}, {
"name" : "story",
"value" : "根据维度编码删除维度"
}, {
"name" : "severity",
"value" : "高"
}, {
"name" : "epic",
"value" : "BPM系统"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "DESKTOP-IFEUSC7"
}, {
"name" : "thread",
"value" : "9248-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "data",
"value" : "{'ids': '不知道'}"
}, {
"name" : "expect",
"value" : "{'state': True, 'message': '删除维度成功'}"
}, {
"name" : "interface",
"value" : "'根据维度编码删除维度'"
}, {
"name" : "level",
"value" : "'高'"
}, {
"name" : "method",
"value" : "'DELETE'"
}, {
"name" : "mime",
"value" : "'query'"
}, {
"name" : "module",
"value" : "'维度管理'"
}, {
"name" : "sqlsentence",
"value" : "'SELECT ID_ FROM uc_demension WHERE `CODE_`=\"test56_dem\";'"
}, {
"name" : "sqltype",
"value" : "'select'"
}, {
"name" : "title",
"value" : "'正向用例'"
}, {
"name" : "updatakey",
"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" : [ {
"name" : "Product defects",
"matchedStatuses" : [ ],
"flaky" : false
} ],
"tags" : [ ]
},
"source" : "1a844f8c800e3521.json",
"parameterValues" : [ "{'ids': '不知道'}", "{'state': True, 'message': '删除维度成功'}", "'根据维度编码删除维度'", "'高'", "'DELETE'", "'query'", "'维度管理'", "'SELECT ID_ FROM uc_demension WHERE `CODE_`=\"test56_dem\";'", "'select'", "'正向用例'", "'ids'", "'http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds'" ]
}
\ No newline at end of file
{
"uid" : "2181236f7df59f69",
"name" : "反向用例-密码为长",
"fullName" : "test_bpm.TestBPM#test_bpm",
"historyId" : "1583d8257c325d21eabb5675af66c678",
"time" : {
"start" : 1691412968164,
"stop" : 1691412968270,
"duration" : 106
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1691412966920,
"stop" : 1691412967056,
"duration" : 136
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "req_fix",
"time" : {
"start" : 1691412967057,
"stop" : 1691412967162,
"duration" : 105
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "db_fix",
"time" : {
"start" : 1691412967162,
"stop" : 1691412967373,
"duration" : 211
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "d16216d3c9695184",
"name" : "log",
"source" : "d16216d3c9695184.txt",
"type" : "text/plain",
"size" : 176
}, {
"uid" : "192f61ff6e12e724",
"name" : "stdout",
"source" : "192f61ff6e12e724.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"attachmentsCount" : 2,
"shouldDisplayMessage" : false,
"hasContent" : true,
"stepsCount" : 0
},
"afterStages" : [ {
"name" : "db_fix::0",
"time" : {
"start" : 1691412969503,
"stop" : 1691412969503,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登录系统"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "BPM系统"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "DESKTOP-IFEUSC7"
}, {
"name" : "thread",
"value" : "9248-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "data",
"value" : "{'password': 'MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2', 'username': 'admin'}"
}, {
"name" : "expect",
"value" : "{'state': False, 'message': '账号或密码错误'}"
}, {
"name" : "interface",
"value" : "'登录系统'"
}, {
"name" : "level",
"value" : "'中'"
}, {
"name" : "method",
"value" : "'POST'"
}, {
"name" : "mime",
"value" : "'application/json'"
}, {
"name" : "module",
"value" : "'认证接口'"
}, {
"name" : "sqlsentence",
"value" : "None"
}, {
"name" : "sqltype",
"value" : "None"
}, {
"name" : "title",
"value" : "'反向用例-密码为长'"
}, {
"name" : "updatakey",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://120.46.172.186:8080/auth'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "2181236f7df59f69.json",
"parameterValues" : [ "{'password': 'MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2', 'username': 'admin'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-密码为长'", "None", "'http://120.46.172.186:8080/auth'" ]
}
\ No newline at end of file
{
"uid" : "2cad346442b8353d",
"name" : "反向用例-用户名错误",
"fullName" : "test_bpm.TestBPM#test_bpm",
"historyId" : "0bc244764898381335e19a8275f4cc75",
"time" : {
"start" : 1691412967917,
"stop" : 1691412968013,
"duration" : 96
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1691412966920,
"stop" : 1691412967056,
"duration" : 136
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "req_fix",
"time" : {
"start" : 1691412967057,
"stop" : 1691412967162,
"duration" : 105
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "db_fix",
"time" : {
"start" : 1691412967162,
"stop" : 1691412967373,
"duration" : 211
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "38f5caffc2c4e489",
"name" : "log",
"source" : "38f5caffc2c4e489.txt",
"type" : "text/plain",
"size" : 176
}, {
"uid" : "eef90565980ee0cf",
"name" : "stdout",
"source" : "eef90565980ee0cf.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"attachmentsCount" : 2,
"shouldDisplayMessage" : false,
"hasContent" : true,
"stepsCount" : 0
},
"afterStages" : [ {
"name" : "db_fix::0",
"time" : {
"start" : 1691412969503,
"stop" : 1691412969503,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登录系统"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "BPM系统"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "DESKTOP-IFEUSC7"
}, {
"name" : "thread",
"value" : "9248-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "data",
"value" : "{'password': 'MTIzNDU2', 'username': 'tomcat'}"
}, {
"name" : "expect",
"value" : "{'state': False, 'message': '账号或密码错误'}"
}, {
"name" : "interface",
"value" : "'登录系统'"
}, {
"name" : "level",
"value" : "'中'"
}, {
"name" : "method",
"value" : "'POST'"
}, {
"name" : "mime",
"value" : "'json'"
}, {
"name" : "module",
"value" : "'认证接口'"
}, {
"name" : "sqlsentence",
"value" : "None"
}, {
"name" : "sqltype",
"value" : "None"
}, {
"name" : "title",
"value" : "'反向用例-用户名错误'"
}, {
"name" : "updatakey",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://120.46.172.186:8080/auth'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "2cad346442b8353d.json",
"parameterValues" : [ "{'password': 'MTIzNDU2', 'username': 'tomcat'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'POST'", "'json'", "'认证接口'", "None", "None", "'反向用例-用户名错误'", "None", "'http://120.46.172.186:8080/auth'" ]
}
\ No newline at end of file
{
"uid" : "487b5b1e29b765f4",
"name" : "反向用例-用户名过短",
"fullName" : "test_bpm.TestBPM#test_bpm",
"historyId" : "a630861595e4d5075fdcba67048830da",
"time" : {
"start" : 1691412967668,
"stop" : 1691412967768,
"duration" : 100
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1691412966920,
"stop" : 1691412967056,
"duration" : 136
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "req_fix",
"time" : {
"start" : 1691412967057,
"stop" : 1691412967162,
"duration" : 105
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "db_fix",
"time" : {
"start" : 1691412967162,
"stop" : 1691412967373,
"duration" : 211
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "28fa4cd6aedc1c7f",
"name" : "log",
"source" : "28fa4cd6aedc1c7f.txt",
"type" : "text/plain",
"size" : 176
}, {
"uid" : "f4563960b7281e2e",
"name" : "stdout",
"source" : "f4563960b7281e2e.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"attachmentsCount" : 2,
"shouldDisplayMessage" : false,
"hasContent" : true,
"stepsCount" : 0
},
"afterStages" : [ {
"name" : "db_fix::0",
"time" : {
"start" : 1691412969503,
"stop" : 1691412969503,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登录系统"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "BPM系统"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "DESKTOP-IFEUSC7"
}, {
"name" : "thread",
"value" : "9248-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "data",
"value" : "{'password': 'MTIzNDU2', 'username': 'a'}"
}, {
"name" : "expect",
"value" : "{'state': False, 'message': '账号或密码错误'}"
}, {
"name" : "interface",
"value" : "'登录系统'"
}, {
"name" : "level",
"value" : "'中'"
}, {
"name" : "method",
"value" : "'POST'"
}, {
"name" : "mime",
"value" : "'application/json'"
}, {
"name" : "module",
"value" : "'认证接口'"
}, {
"name" : "sqlsentence",
"value" : "None"
}, {
"name" : "sqltype",
"value" : "None"
}, {
"name" : "title",
"value" : "'反向用例-用户名过短'"
}, {
"name" : "updatakey",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://120.46.172.186:8080/auth'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "487b5b1e29b765f4.json",
"parameterValues" : [ "{'password': 'MTIzNDU2', 'username': 'a'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-用户名过短'", "None", "'http://120.46.172.186:8080/auth'" ]
}
\ No newline at end of file
{
"uid" : "593a30ea50e4e65e",
"name" : "反向用例-用户名特殊字符",
"fullName" : "test_bpm.TestBPM#test_bpm",
"historyId" : "a0502452da70d924dbdea3f536ad8015",
"time" : {
"start" : 1691412967807,
"stop" : 1691412967904,
"duration" : 97
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1691412966920,
"stop" : 1691412967056,
"duration" : 136
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "req_fix",
"time" : {
"start" : 1691412967057,
"stop" : 1691412967162,
"duration" : 105
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "db_fix",
"time" : {
"start" : 1691412967162,
"stop" : 1691412967373,
"duration" : 211
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "df120568b73c96fa",
"name" : "log",
"source" : "df120568b73c96fa.txt",
"type" : "text/plain",
"size" : 176
}, {
"uid" : "31966f68be616dd9",
"name" : "stdout",
"source" : "31966f68be616dd9.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"attachmentsCount" : 2,
"shouldDisplayMessage" : false,
"hasContent" : true,
"stepsCount" : 0
},
"afterStages" : [ {
"name" : "db_fix::0",
"time" : {
"start" : 1691412969503,
"stop" : 1691412969503,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登录系统"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "BPM系统"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "DESKTOP-IFEUSC7"
}, {
"name" : "thread",
"value" : "9248-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "data",
"value" : "{'password': 'MTIzNDU2', 'username': '▬♦◊◦☼♠♣'}"
}, {
"name" : "expect",
"value" : "{'state': False, 'message': '账号或密码错误'}"
}, {
"name" : "interface",
"value" : "'登录系统'"
}, {
"name" : "level",
"value" : "'中'"
}, {
"name" : "method",
"value" : "'POST'"
}, {
"name" : "mime",
"value" : "'application/json'"
}, {
"name" : "module",
"value" : "'认证接口'"
}, {
"name" : "sqlsentence",
"value" : "None"
}, {
"name" : "sqltype",
"value" : "None"
}, {
"name" : "title",
"value" : "'反向用例-用户名特殊字符'"
}, {
"name" : "updatakey",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://120.46.172.186:8080/auth'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "593a30ea50e4e65e.json",
"parameterValues" : [ "{'password': 'MTIzNDU2', 'username': '▬♦◊◦☼♠♣'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-用户名特殊字符'", "None", "'http://120.46.172.186:8080/auth'" ]
}
\ No newline at end of file
{
"uid" : "80cc3d9125342c84",
"name" : "正向用例",
"fullName" : "test_bpm.TestBPM#test_bpm",
"historyId" : "98357aace79429a96dcb36c173fbfa06",
"time" : {
"start" : 1691412967381,
"stop" : 1691412967441,
"duration" : 60
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1691412966920,
"stop" : 1691412967056,
"duration" : 136
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "req_fix",
"time" : {
"start" : 1691412967057,
"stop" : 1691412967162,
"duration" : 105
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "db_fix",
"time" : {
"start" : 1691412967162,
"stop" : 1691412967373,
"duration" : 211
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "85cf5f85520d0d05",
"name" : "log",
"source" : "85cf5f85520d0d05.txt",
"type" : "text/plain",
"size" : 5166
}, {
"uid" : "3797722a1ea2dfdd",
"name" : "stdout",
"source" : "3797722a1ea2dfdd.txt",
"type" : "text/plain",
"size" : 209
} ],
"parameters" : [ ],
"attachmentsCount" : 2,
"shouldDisplayMessage" : false,
"hasContent" : true,
"stepsCount" : 0
},
"afterStages" : [ {
"name" : "db_fix::0",
"time" : {
"start" : 1691412969503,
"stop" : 1691412969503,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登录系统"
}, {
"name" : "severity",
"value" : "高"
}, {
"name" : "epic",
"value" : "BPM系统"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "DESKTOP-IFEUSC7"
}, {
"name" : "thread",
"value" : "9248-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "data",
"value" : "{'password': 'MTIzNDU2', 'username': 'admin'}"
}, {
"name" : "expect",
"value" : "{'username': '超级管理员', 'account': 'admin'}"
}, {
"name" : "interface",
"value" : "'登录系统'"
}, {
"name" : "level",
"value" : "'高'"
}, {
"name" : "method",
"value" : "'POST'"
}, {
"name" : "mime",
"value" : "'application/json'"
}, {
"name" : "module",
"value" : "'认证接口'"
}, {
"name" : "sqlsentence",
"value" : "None"
}, {
"name" : "sqltype",
"value" : "None"
}, {
"name" : "title",
"value" : "'正向用例'"
}, {
"name" : "updatakey",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://120.46.172.186:8080/auth'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "80cc3d9125342c84.json",
"parameterValues" : [ "{'password': 'MTIzNDU2', 'username': 'admin'}", "{'username': '超级管理员', 'account': 'admin'}", "'登录系统'", "'高'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'正向用例'", "None", "'http://120.46.172.186:8080/auth'" ]
}
\ No newline at end of file
{
"uid" : "878fd6d9be167c95",
"name" : "反向用例-用户名过长",
"fullName" : "test_bpm.TestBPM#test_bpm",
"historyId" : "db7f8347492d126be5aa0bc4cf128a49",
"time" : {
"start" : 1691412967526,
"stop" : 1691412967630,
"duration" : 104
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1691412966920,
"stop" : 1691412967056,
"duration" : 136
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "req_fix",
"time" : {
"start" : 1691412967057,
"stop" : 1691412967162,
"duration" : 105
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "db_fix",
"time" : {
"start" : 1691412967162,
"stop" : 1691412967373,
"duration" : 211
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "99ee87da98f590e3",
"name" : "log",
"source" : "99ee87da98f590e3.txt",
"type" : "text/plain",
"size" : 176
}, {
"uid" : "560a524f5e49d1c3",
"name" : "stdout",
"source" : "560a524f5e49d1c3.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"attachmentsCount" : 2,
"shouldDisplayMessage" : false,
"hasContent" : true,
"stepsCount" : 0
},
"afterStages" : [ {
"name" : "db_fix::0",
"time" : {
"start" : 1691412969503,
"stop" : 1691412969503,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登录系统"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "BPM系统"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "DESKTOP-IFEUSC7"
}, {
"name" : "thread",
"value" : "9248-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "data",
"value" : "{'password': 'MTIzNDU2', 'username': 'adminadminadminadminadminadminadminadminadmin'}"
}, {
"name" : "expect",
"value" : "{'state': False, 'message': '账号或密码错误'}"
}, {
"name" : "interface",
"value" : "'登录系统'"
}, {
"name" : "level",
"value" : "'中'"
}, {
"name" : "method",
"value" : "'POST'"
}, {
"name" : "mime",
"value" : "'application/json'"
}, {
"name" : "module",
"value" : "'认证接口'"
}, {
"name" : "sqlsentence",
"value" : "None"
}, {
"name" : "sqltype",
"value" : "None"
}, {
"name" : "title",
"value" : "'反向用例-用户名过长'"
}, {
"name" : "updatakey",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://120.46.172.186:8080/auth'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "878fd6d9be167c95.json",
"parameterValues" : [ "{'password': 'MTIzNDU2', 'username': 'adminadminadminadminadminadminadminadminadmin'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-用户名过长'", "None", "'http://120.46.172.186:8080/auth'" ]
}
\ No newline at end of file
{
"uid" : "97ed2c7bf2a5ae29",
"name" : "反向用例-密码为空",
"fullName" : "test_bpm.TestBPM#test_bpm",
"historyId" : "89cd3935e143f1777c5d98d06870bd50",
"time" : {
"start" : 1691412968026,
"stop" : 1691412968127,
"duration" : 101
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1691412966920,
"stop" : 1691412967056,
"duration" : 136
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "req_fix",
"time" : {
"start" : 1691412967057,
"stop" : 1691412967162,
"duration" : 105
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "db_fix",
"time" : {
"start" : 1691412967162,
"stop" : 1691412967373,
"duration" : 211
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "c0c96b0507bf7621",
"name" : "log",
"source" : "c0c96b0507bf7621.txt",
"type" : "text/plain",
"size" : 176
}, {
"uid" : "b925fc6f6ca3deb6",
"name" : "stdout",
"source" : "b925fc6f6ca3deb6.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"attachmentsCount" : 2,
"shouldDisplayMessage" : false,
"hasContent" : true,
"stepsCount" : 0
},
"afterStages" : [ {
"name" : "db_fix::0",
"time" : {
"start" : 1691412969503,
"stop" : 1691412969503,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登录系统"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "BPM系统"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "DESKTOP-IFEUSC7"
}, {
"name" : "thread",
"value" : "9248-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "data",
"value" : "{'password': '', 'username': 'admin'}"
}, {
"name" : "expect",
"value" : "{'state': False, 'message': '账号或密码错误'}"
}, {
"name" : "interface",
"value" : "'登录系统'"
}, {
"name" : "level",
"value" : "'中'"
}, {
"name" : "method",
"value" : "'POST'"
}, {
"name" : "mime",
"value" : "'application/json'"
}, {
"name" : "module",
"value" : "'认证接口'"
}, {
"name" : "sqlsentence",
"value" : "None"
}, {
"name" : "sqltype",
"value" : "None"
}, {
"name" : "title",
"value" : "'反向用例-密码为空'"
}, {
"name" : "updatakey",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://120.46.172.186:8080/auth'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "97ed2c7bf2a5ae29.json",
"parameterValues" : [ "{'password': '', 'username': 'admin'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-密码为空'", "None", "'http://120.46.172.186:8080/auth'" ]
}
\ No newline at end of file
{
"uid" : "988589cd93aad179",
"name" : "正向用例",
"fullName" : "test_bpm.TestBPM#test_bpm",
"historyId" : "036385e6c5707e95e98d58f17aa52abc",
"time" : {
"start" : 1691412969283,
"stop" : 1691412969349,
"duration" : 66
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1691412966920,
"stop" : 1691412967056,
"duration" : 136
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "req_fix",
"time" : {
"start" : 1691412967057,
"stop" : 1691412967162,
"duration" : 105
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "db_fix",
"time" : {
"start" : 1691412967162,
"stop" : 1691412967373,
"duration" : 211
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "f4e8fbe70a607b04",
"name" : "log",
"source" : "f4e8fbe70a607b04.txt",
"type" : "text/plain",
"size" : 114
}, {
"uid" : "afb16376cc503822",
"name" : "stdout",
"source" : "afb16376cc503822.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"attachmentsCount" : 2,
"shouldDisplayMessage" : false,
"hasContent" : true,
"stepsCount" : 0
},
"afterStages" : [ {
"name" : "db_fix::0",
"time" : {
"start" : 1691412969503,
"stop" : 1691412969503,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"labels" : [ {
"name" : "feature",
"value" : "组织管理"
}, {
"name" : "story",
"value" : "删除组织"
}, {
"name" : "severity",
"value" : "高"
}, {
"name" : "epic",
"value" : "BPM系统"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "DESKTOP-IFEUSC7"
}, {
"name" : "thread",
"value" : "9248-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "data",
"value" : "'test56_org'"
}, {
"name" : "expect",
"value" : "{'state': True, 'message': '删除组织成功!'}"
}, {
"name" : "interface",
"value" : "'删除组织'"
}, {
"name" : "level",
"value" : "'高'"
}, {
"name" : "method",
"value" : "'post'"
}, {
"name" : "mime",
"value" : "'text/plain'"
}, {
"name" : "module",
"value" : "'组织管理'"
}, {
"name" : "sqlsentence",
"value" : "None"
}, {
"name" : "sqltype",
"value" : "None"
}, {
"name" : "title",
"value" : "'正向用例'"
}, {
"name" : "updatakey",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://120.46.172.186:8080/api/org/v1/org/deleteOrg'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "988589cd93aad179.json",
"parameterValues" : [ "'test56_org'", "{'state': True, 'message': '删除组织成功!'}", "'删除组织'", "'高'", "'post'", "'text/plain'", "'组织管理'", "None", "None", "'正向用例'", "None", "'http://120.46.172.186:8080/api/org/v1/org/deleteOrg'" ]
}
\ No newline at end of file
{
"uid" : "9af0f3a6371960e0",
"name" : "正向用例",
"fullName" : "test_bpm.TestBPM#test_bpm",
"historyId" : "74e8920fe95c2c7a6d36157ccbacbeb9",
"time" : {
"start" : 1691412969191,
"stop" : 1691412969265,
"duration" : 74
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1691412966920,
"stop" : 1691412967056,
"duration" : 136
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "req_fix",
"time" : {
"start" : 1691412967057,
"stop" : 1691412967162,
"duration" : 105
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "db_fix",
"time" : {
"start" : 1691412967162,
"stop" : 1691412967373,
"duration" : 211
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "cfd7d9aa6c2431a4",
"name" : "log",
"source" : "cfd7d9aa6c2431a4.txt",
"type" : "text/plain",
"size" : 142
}, {
"uid" : "7a335eff6307d15a",
"name" : "stdout",
"source" : "7a335eff6307d15a.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"attachmentsCount" : 2,
"shouldDisplayMessage" : false,
"hasContent" : true,
"stepsCount" : 0
},
"afterStages" : [ {
"name" : "db_fix::0",
"time" : {
"start" : 1691412969503,
"stop" : 1691412969503,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"labels" : [ {
"name" : "feature",
"value" : "组织管理"
}, {
"name" : "story",
"value" : "保存组织参数"
}, {
"name" : "severity",
"value" : "高"
}, {
"name" : "epic",
"value" : "BPM系统"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "DESKTOP-IFEUSC7"
}, {
"name" : "thread",
"value" : "9248-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "data",
"value" : "{'query': {'orgCode': 'test56_org'}, 'body': [{'alias': 'sz', 'value': 0}, {'alias': 'zy', 'value': 'math'}, {'alias': 'rq', 'value': '2023-08-04T16:00:00.000Z'}, {'alias': 'ah', 'value': 'lq'}, {'alias': 'yyyy', 'value': '越高越好'}, {'alias': 'xb', 'value': '2'}]}"
}, {
"name" : "expect",
"value" : "{'state': True, 'message': '保存组织参数成功!'}"
}, {
"name" : "interface",
"value" : "'保存组织参数'"
}, {
"name" : "level",
"value" : "'高'"
}, {
"name" : "method",
"value" : "'post'"
}, {
"name" : "mime",
"value" : "'application/json|query'"
}, {
"name" : "module",
"value" : "'组织管理'"
}, {
"name" : "sqlsentence",
"value" : "None"
}, {
"name" : "sqltype",
"value" : "None"
}, {
"name" : "title",
"value" : "'正向用例'"
}, {
"name" : "updatakey",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://120.46.172.186:8080/api/org/v1/orgParam/saveOrgParams'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "9af0f3a6371960e0.json",
"parameterValues" : [ "{'query': {'orgCode': 'test56_org'}, 'body': [{'alias': 'sz', 'value': 0}, {'alias': 'zy', 'value': 'math'}, {'alias': 'rq', 'value': '2023-08-04T16:00:00.000Z'}, {'alias': 'ah', 'value': 'lq'}, {'alias': 'yyyy', 'value': '越高越好'}, {'alias': 'xb', 'value': '2'}]}", "{'state': True, 'message': '保存组织参数成功!'}", "'保存组织参数'", "'高'", "'post'", "'application/json|query'", "'组织管理'", "None", "None", "'正向用例'", "None", "'http://120.46.172.186:8080/api/org/v1/orgParam/saveOrgParams'" ]
}
\ No newline at end of file
{
"uid" : "ad15ad4694a1718c",
"name" : "正向用例",
"fullName" : "test_bpm.TestBPM#test_bpm",
"historyId" : "dda835db0410530904c0a8d301c29cbb",
"time" : {
"start" : 1691412968988,
"stop" : 1691412969173,
"duration" : 185
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1691412966920,
"stop" : 1691412967056,
"duration" : 136
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "req_fix",
"time" : {
"start" : 1691412967057,
"stop" : 1691412967162,
"duration" : 105
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "db_fix",
"time" : {
"start" : 1691412967162,
"stop" : 1691412967373,
"duration" : 211
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "f68f02d9359c4494",
"name" : "log",
"source" : "f68f02d9359c4494.txt",
"type" : "text/plain",
"size" : 111
}, {
"uid" : "457b1afef420def3",
"name" : "stdout",
"source" : "457b1afef420def3.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"attachmentsCount" : 2,
"shouldDisplayMessage" : false,
"hasContent" : true,
"stepsCount" : 0
},
"afterStages" : [ {
"name" : "db_fix::0",
"time" : {
"start" : 1691412969503,
"stop" : 1691412969503,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"labels" : [ {
"name" : "feature",
"value" : "组织管理"
}, {
"name" : "story",
"value" : "添加组织"
}, {
"name" : "severity",
"value" : "高"
}, {
"name" : "epic",
"value" : "BPM系统"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "DESKTOP-IFEUSC7"
}, {
"name" : "thread",
"value" : "9248-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "data",
"value" : "{'code': 'test56_org', 'demId': '不知道', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}"
}, {
"name" : "expect",
"value" : "{'state': True, 'message': '添加组织成功!'}"
}, {
"name" : "interface",
"value" : "'添加组织'"
}, {
"name" : "level",
"value" : "'高'"
}, {
"name" : "method",
"value" : "'post'"
}, {
"name" : "mime",
"value" : "'application/json'"
}, {
"name" : "module",
"value" : "'组织管理'"
}, {
"name" : "sqlsentence",
"value" : "{'select': 'SELECT ID_ FROM uc_demension WHERE `CODE_`=\"test56_dem\";', 'delete': 'DELETE FROM uc_org WHERE `CODE_`=\"test56_org\";'}"
}, {
"name" : "sqltype",
"value" : "'delete|select'"
}, {
"name" : "title",
"value" : "'正向用例'"
}, {
"name" : "updatakey",
"value" : "'demId'"
}, {
"name" : "url",
"value" : "'http://120.46.172.186:8080/api/org/v1/org/addOrg'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "ad15ad4694a1718c.json",
"parameterValues" : [ "{'code': 'test56_org', 'demId': '不知道', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}", "{'state': True, 'message': '添加组织成功!'}", "'添加组织'", "'高'", "'post'", "'application/json'", "'组织管理'", "{'select': 'SELECT ID_ FROM uc_demension WHERE `CODE_`=\"test56_dem\";', 'delete': 'DELETE FROM uc_org WHERE `CODE_`=\"test56_org\";'}", "'delete|select'", "'正向用例'", "'demId'", "'http://120.46.172.186:8080/api/org/v1/org/addOrg'" ]
}
\ No newline at end of file
{
"uid" : "c1137b52bc158c3b",
"name" : "反向用例-用户名为空",
"fullName" : "test_bpm.TestBPM#test_bpm",
"historyId" : "cb6bc4824561a6cdbaeea7fbbc0b0fca",
"time" : {
"start" : 1691412967458,
"stop" : 1691412967514,
"duration" : 56
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1691412966920,
"stop" : 1691412967056,
"duration" : 136
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "req_fix",
"time" : {
"start" : 1691412967057,
"stop" : 1691412967162,
"duration" : 105
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "db_fix",
"time" : {
"start" : 1691412967162,
"stop" : 1691412967373,
"duration" : 211
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "a7625d235959c324",
"name" : "log",
"source" : "a7625d235959c324.txt",
"type" : "text/plain",
"size" : 94
}, {
"uid" : "841c62202970077a",
"name" : "stdout",
"source" : "841c62202970077a.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"attachmentsCount" : 2,
"shouldDisplayMessage" : false,
"hasContent" : true,
"stepsCount" : 0
},
"afterStages" : [ {
"name" : "db_fix::0",
"time" : {
"start" : 1691412969503,
"stop" : 1691412969503,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登录系统"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "BPM系统"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "DESKTOP-IFEUSC7"
}, {
"name" : "thread",
"value" : "9248-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "data",
"value" : "{'password': 'MTIzNDU2', 'username': ''}"
}, {
"name" : "expect",
"value" : "{'state': False, 'message': '账号或密码错误'}"
}, {
"name" : "interface",
"value" : "'登录系统'"
}, {
"name" : "level",
"value" : "'中'"
}, {
"name" : "method",
"value" : "'POST'"
}, {
"name" : "mime",
"value" : "'application/json'"
}, {
"name" : "module",
"value" : "'认证接口'"
}, {
"name" : "sqlsentence",
"value" : "None"
}, {
"name" : "sqltype",
"value" : "None"
}, {
"name" : "title",
"value" : "'反向用例-用户名为空'"
}, {
"name" : "updatakey",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://120.46.172.186:8080/auth'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "c1137b52bc158c3b.json",
"parameterValues" : [ "{'password': 'MTIzNDU2', 'username': ''}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-用户名为空'", "None", "'http://120.46.172.186:8080/auth'" ]
}
\ No newline at end of file
{
"uid" : "c38dfbbf61a8e3a1",
"name" : "正向用例",
"fullName" : "test_bpm.TestBPM#test_bpm",
"historyId" : "f368301ce537f1bbd596e0d19f24f393",
"time" : {
"start" : 1691412968538,
"stop" : 1691412968643,
"duration" : 105
},
"status" : "failed",
"statusMessage" : "AssertionError: 断言失败",
"statusTrace" : "self = <API_third.test_case.test_bpm.TestBPM object at 0x0000025D5C91CBD0>, req_fix = <API_third.request_method.request_method.RequestsMethod object at 0x0000025D5C977050>\ndb_fix = <API_third.common.db.DB object at 0x0000025D5C9DFC10>, module = '认证接口', interface = '刷新token', title = '正向用例', level = '中', method = 'get'\nurl = 'http://120.46.172.186:8080/refresh', mime = None, data = None, expect = {'message': '刷新token成功'}, sqltype = None, sqlsentence = None, updatakey = None\n\n @allure.epic(\"BPM系统\")\n @pytest.mark.parametrize(\"module, interface, title, level, method, url, mime, data, expect, sqltype, sqlsentence, updatakey\",ReadExcel().get_data())\n def test_bpm(self,req_fix, db_fix, module, interface, title, level, method, url, mime, data, expect, sqltype, sqlsentence, updatakey):\n allure.dynamic.feature(module)\n allure.dynamic.story(interface)\n allure.dynamic.title(title)\n allure.dynamic.severity(level)\n \n if sqltype == \"delete\":\n db_fix.delete(sqlsentence)\n \n elif sqltype == \"select\":\n result2 = db_fix.select(sqlsentence)\n data[updatakey] = result2\n \n elif sqltype == \"delete|select\" or sqltype == \"select|delete\":\n db_fix.delete(sqlsentence[\"delete\"])\n result3 = db_fix.select(sqlsentence[\"select\"])\n data[updatakey] = result3\n \n \n \n results = req_fix.requests_all(req_method=method, req_url=url, req_mime=mime, case_data=data)\n \n \n try:\n for key in expect:\n> assert expect[key] == results.json().get(key)\nE AssertionError: assert '刷新token成功' == None\nE + where None = <built-in method get of dict object at 0x0000025D5C9E2780>('message')\nE + where <built-in method get of dict object at 0x0000025D5C9E2780> = {'account': '', 'loginStatus': True, 'token': 'eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE2OTE0OTkzNjgsImlhdCI6MTY5MTQxMjk2OH0.IcXFXaZoEXPvHQIVbPmFLTkLDuCQcf5VpBGop1HeXWqL_5AsnlZWAS6xIHCKrKXpiDkaEsZ4WvT661jUusnY9A', 'userAttrs': {}, ...}.get\nE + where {'account': '', 'loginStatus': True, 'token': 'eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE2OTE0OTkzNjgsImlhdCI6MTY5MTQxMjk2OH0.IcXFXaZoEXPvHQIVbPmFLTkLDuCQcf5VpBGop1HeXWqL_5AsnlZWAS6xIHCKrKXpiDkaEsZ4WvT661jUusnY9A', 'userAttrs': {}, ...} = <bound method Response.json of <Response [200]>>()\nE + where <bound method Response.json of <Response [200]>> = <Response [200]>.json\n\ntest_bpm.py:46: AssertionError\n\nDuring handling of the above exception, another exception occurred:\n\nself = <API_third.test_case.test_bpm.TestBPM object at 0x0000025D5C91CBD0>, req_fix = <API_third.request_method.request_method.RequestsMethod object at 0x0000025D5C977050>\ndb_fix = <API_third.common.db.DB object at 0x0000025D5C9DFC10>, module = '认证接口', interface = '刷新token', title = '正向用例', level = '中', method = 'get'\nurl = 'http://120.46.172.186:8080/refresh', mime = None, data = None, expect = {'message': '刷新token成功'}, sqltype = None, sqlsentence = None, updatakey = None\n\n @allure.epic(\"BPM系统\")\n @pytest.mark.parametrize(\"module, interface, title, level, method, url, mime, data, expect, sqltype, sqlsentence, updatakey\",ReadExcel().get_data())\n def test_bpm(self,req_fix, db_fix, module, interface, title, level, method, url, mime, data, expect, sqltype, sqlsentence, updatakey):\n allure.dynamic.feature(module)\n allure.dynamic.story(interface)\n allure.dynamic.title(title)\n allure.dynamic.severity(level)\n \n if sqltype == \"delete\":\n db_fix.delete(sqlsentence)\n \n elif sqltype == \"select\":\n result2 = db_fix.select(sqlsentence)\n data[updatakey] = result2\n \n elif sqltype == \"delete|select\" or sqltype == \"select|delete\":\n db_fix.delete(sqlsentence[\"delete\"])\n result3 = db_fix.select(sqlsentence[\"select\"])\n data[updatakey] = result3\n \n \n \n results = req_fix.requests_all(req_method=method, req_url=url, req_mime=mime, case_data=data)\n \n \n try:\n for key in expect:\n assert expect[key] == results.json().get(key)\n except:\n print(\"断言失败\")\n logging.error(\"断言失败, 模块名称为:{},接口名称为:{},用例标题:{},用例为:{},期望结果为:{},服务器返回数据为:{}\".format(module, interface, title, str(data), str(expect), results.text))\n> raise AssertionError(\"断言失败\")\nE AssertionError: 断言失败\n\ntest_bpm.py:50: AssertionError",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1691412966920,
"stop" : 1691412967056,
"duration" : 136
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "req_fix",
"time" : {
"start" : 1691412967057,
"stop" : 1691412967162,
"duration" : 105
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "db_fix",
"time" : {
"start" : 1691412967162,
"stop" : 1691412967373,
"duration" : 211
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"testStage" : {
"status" : "failed",
"statusMessage" : "AssertionError: 断言失败",
"statusTrace" : "self = <API_third.test_case.test_bpm.TestBPM object at 0x0000025D5C91CBD0>, req_fix = <API_third.request_method.request_method.RequestsMethod object at 0x0000025D5C977050>\ndb_fix = <API_third.common.db.DB object at 0x0000025D5C9DFC10>, module = '认证接口', interface = '刷新token', title = '正向用例', level = '中', method = 'get'\nurl = 'http://120.46.172.186:8080/refresh', mime = None, data = None, expect = {'message': '刷新token成功'}, sqltype = None, sqlsentence = None, updatakey = None\n\n @allure.epic(\"BPM系统\")\n @pytest.mark.parametrize(\"module, interface, title, level, method, url, mime, data, expect, sqltype, sqlsentence, updatakey\",ReadExcel().get_data())\n def test_bpm(self,req_fix, db_fix, module, interface, title, level, method, url, mime, data, expect, sqltype, sqlsentence, updatakey):\n allure.dynamic.feature(module)\n allure.dynamic.story(interface)\n allure.dynamic.title(title)\n allure.dynamic.severity(level)\n \n if sqltype == \"delete\":\n db_fix.delete(sqlsentence)\n \n elif sqltype == \"select\":\n result2 = db_fix.select(sqlsentence)\n data[updatakey] = result2\n \n elif sqltype == \"delete|select\" or sqltype == \"select|delete\":\n db_fix.delete(sqlsentence[\"delete\"])\n result3 = db_fix.select(sqlsentence[\"select\"])\n data[updatakey] = result3\n \n \n \n results = req_fix.requests_all(req_method=method, req_url=url, req_mime=mime, case_data=data)\n \n \n try:\n for key in expect:\n> assert expect[key] == results.json().get(key)\nE AssertionError: assert '刷新token成功' == None\nE + where None = <built-in method get of dict object at 0x0000025D5C9E2780>('message')\nE + where <built-in method get of dict object at 0x0000025D5C9E2780> = {'account': '', 'loginStatus': True, 'token': 'eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE2OTE0OTkzNjgsImlhdCI6MTY5MTQxMjk2OH0.IcXFXaZoEXPvHQIVbPmFLTkLDuCQcf5VpBGop1HeXWqL_5AsnlZWAS6xIHCKrKXpiDkaEsZ4WvT661jUusnY9A', 'userAttrs': {}, ...}.get\nE + where {'account': '', 'loginStatus': True, 'token': 'eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE2OTE0OTkzNjgsImlhdCI6MTY5MTQxMjk2OH0.IcXFXaZoEXPvHQIVbPmFLTkLDuCQcf5VpBGop1HeXWqL_5AsnlZWAS6xIHCKrKXpiDkaEsZ4WvT661jUusnY9A', 'userAttrs': {}, ...} = <bound method Response.json of <Response [200]>>()\nE + where <bound method Response.json of <Response [200]>> = <Response [200]>.json\n\ntest_bpm.py:46: AssertionError\n\nDuring handling of the above exception, another exception occurred:\n\nself = <API_third.test_case.test_bpm.TestBPM object at 0x0000025D5C91CBD0>, req_fix = <API_third.request_method.request_method.RequestsMethod object at 0x0000025D5C977050>\ndb_fix = <API_third.common.db.DB object at 0x0000025D5C9DFC10>, module = '认证接口', interface = '刷新token', title = '正向用例', level = '中', method = 'get'\nurl = 'http://120.46.172.186:8080/refresh', mime = None, data = None, expect = {'message': '刷新token成功'}, sqltype = None, sqlsentence = None, updatakey = None\n\n @allure.epic(\"BPM系统\")\n @pytest.mark.parametrize(\"module, interface, title, level, method, url, mime, data, expect, sqltype, sqlsentence, updatakey\",ReadExcel().get_data())\n def test_bpm(self,req_fix, db_fix, module, interface, title, level, method, url, mime, data, expect, sqltype, sqlsentence, updatakey):\n allure.dynamic.feature(module)\n allure.dynamic.story(interface)\n allure.dynamic.title(title)\n allure.dynamic.severity(level)\n \n if sqltype == \"delete\":\n db_fix.delete(sqlsentence)\n \n elif sqltype == \"select\":\n result2 = db_fix.select(sqlsentence)\n data[updatakey] = result2\n \n elif sqltype == \"delete|select\" or sqltype == \"select|delete\":\n db_fix.delete(sqlsentence[\"delete\"])\n result3 = db_fix.select(sqlsentence[\"select\"])\n data[updatakey] = result3\n \n \n \n results = req_fix.requests_all(req_method=method, req_url=url, req_mime=mime, case_data=data)\n \n \n try:\n for key in expect:\n assert expect[key] == results.json().get(key)\n except:\n print(\"断言失败\")\n logging.error(\"断言失败, 模块名称为:{},接口名称为:{},用例标题:{},用例为:{},期望结果为:{},服务器返回数据为:{}\".format(module, interface, title, str(data), str(expect), results.text))\n> raise AssertionError(\"断言失败\")\nE AssertionError: 断言失败\n\ntest_bpm.py:50: AssertionError",
"steps" : [ ],
"attachments" : [ {
"uid" : "c082850a9c4c65d1",
"name" : "log",
"source" : "c082850a9c4c65d1.txt",
"type" : "text/plain",
"size" : 708
}, {
"uid" : "68ba2a5f23dca143",
"name" : "stdout",
"source" : "68ba2a5f23dca143.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"attachmentsCount" : 2,
"shouldDisplayMessage" : true,
"hasContent" : true,
"stepsCount" : 0
},
"afterStages" : [ {
"name" : "db_fix::0",
"time" : {
"start" : 1691412969503,
"stop" : 1691412969503,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "刷新token"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "BPM系统"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "DESKTOP-IFEUSC7"
}, {
"name" : "thread",
"value" : "9248-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "data",
"value" : "None"
}, {
"name" : "expect",
"value" : "{'message': '刷新token成功'}"
}, {
"name" : "interface",
"value" : "'刷新token'"
}, {
"name" : "level",
"value" : "'中'"
}, {
"name" : "method",
"value" : "'get'"
}, {
"name" : "mime",
"value" : "None"
}, {
"name" : "module",
"value" : "'认证接口'"
}, {
"name" : "sqlsentence",
"value" : "None"
}, {
"name" : "sqltype",
"value" : "None"
}, {
"name" : "title",
"value" : "'正向用例'"
}, {
"name" : "updatakey",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://120.46.172.186:8080/refresh'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ {
"name" : "Product defects",
"matchedStatuses" : [ ],
"flaky" : false
} ],
"tags" : [ ]
},
"source" : "c38dfbbf61a8e3a1.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" : "d721c898d353a4f1",
"name" : "反向用例-密码为过短",
"fullName" : "test_bpm.TestBPM#test_bpm",
"historyId" : "1e00bd2cd85b6a0d93eb901ec3e350a3",
"time" : {
"start" : 1691412968295,
"stop" : 1691412968398,
"duration" : 103
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1691412966920,
"stop" : 1691412967056,
"duration" : 136
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "req_fix",
"time" : {
"start" : 1691412967057,
"stop" : 1691412967162,
"duration" : 105
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "db_fix",
"time" : {
"start" : 1691412967162,
"stop" : 1691412967373,
"duration" : 211
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "4d3a7bd16f3befde",
"name" : "log",
"source" : "4d3a7bd16f3befde.txt",
"type" : "text/plain",
"size" : 176
}, {
"uid" : "3a84b71bb83b430f",
"name" : "stdout",
"source" : "3a84b71bb83b430f.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"attachmentsCount" : 2,
"shouldDisplayMessage" : false,
"hasContent" : true,
"stepsCount" : 0
},
"afterStages" : [ {
"name" : "db_fix::0",
"time" : {
"start" : 1691412969503,
"stop" : 1691412969503,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登录系统"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "BPM系统"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "DESKTOP-IFEUSC7"
}, {
"name" : "thread",
"value" : "9248-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "data",
"value" : "{'password': '1', 'username': 'admin'}"
}, {
"name" : "expect",
"value" : "{'state': False, 'message': '账号或密码错误'}"
}, {
"name" : "interface",
"value" : "'登录系统'"
}, {
"name" : "level",
"value" : "'中'"
}, {
"name" : "method",
"value" : "'PoST'"
}, {
"name" : "mime",
"value" : "'application/json'"
}, {
"name" : "module",
"value" : "'认证接口'"
}, {
"name" : "sqlsentence",
"value" : "None"
}, {
"name" : "sqltype",
"value" : "None"
}, {
"name" : "title",
"value" : "'反向用例-密码为过短'"
}, {
"name" : "updatakey",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://120.46.172.186:8080/auth'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "d721c898d353a4f1.json",
"parameterValues" : [ "{'password': '1', 'username': 'admin'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'PoST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-密码为过短'", "None", "'http://120.46.172.186:8080/auth'" ]
}
\ No newline at end of file
{
"uid" : "dd6d3e153caa3b07",
"name" : "反向用例-密码为特殊字符",
"fullName" : "test_bpm.TestBPM#test_bpm",
"historyId" : "d47f225f414cd52cd2c4be15166397b9",
"time" : {
"start" : 1691412968411,
"stop" : 1691412968515,
"duration" : 104
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1691412966920,
"stop" : 1691412967056,
"duration" : 136
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "req_fix",
"time" : {
"start" : 1691412967057,
"stop" : 1691412967162,
"duration" : 105
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "db_fix",
"time" : {
"start" : 1691412967162,
"stop" : 1691412967373,
"duration" : 211
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "dffa90a829b86738",
"name" : "log",
"source" : "dffa90a829b86738.txt",
"type" : "text/plain",
"size" : 176
}, {
"uid" : "41799ebde59c7e14",
"name" : "stdout",
"source" : "41799ebde59c7e14.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"attachmentsCount" : 2,
"shouldDisplayMessage" : false,
"hasContent" : true,
"stepsCount" : 0
},
"afterStages" : [ {
"name" : "db_fix::0",
"time" : {
"start" : 1691412969503,
"stop" : 1691412969503,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登录系统"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "BPM系统"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "DESKTOP-IFEUSC7"
}, {
"name" : "thread",
"value" : "9248-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "data",
"value" : "{'password': '▬♦◊◦☼♠♣', 'username': 'admin'}"
}, {
"name" : "expect",
"value" : "{'state': False, 'message': '账号或密码错误'}"
}, {
"name" : "interface",
"value" : "'登录系统'"
}, {
"name" : "level",
"value" : "'中'"
}, {
"name" : "method",
"value" : "'POST'"
}, {
"name" : "mime",
"value" : "'application/json'"
}, {
"name" : "module",
"value" : "'认证接口'"
}, {
"name" : "sqlsentence",
"value" : "None"
}, {
"name" : "sqltype",
"value" : "None"
}, {
"name" : "title",
"value" : "'反向用例-密码为特殊字符'"
}, {
"name" : "updatakey",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://120.46.172.186:8080/auth'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "dd6d3e153caa3b07.json",
"parameterValues" : [ "{'password': '▬♦◊◦☼♠♣', 'username': 'admin'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-密码为特殊字符'", "None", "'http://120.46.172.186:8080/auth'" ]
}
\ No newline at end of file
{
"uid" : "e21a773239c439d2",
"name" : "正向用例",
"fullName" : "test_bpm.TestBPM#test_bpm",
"historyId" : "4db60c6a5deceb5e4bfbe2c9fd4ed59b",
"time" : {
"start" : 1691412968837,
"stop" : 1691412968977,
"duration" : 140
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "_session_faker",
"time" : {
"start" : 1691412966920,
"stop" : 1691412967056,
"duration" : 136
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "req_fix",
"time" : {
"start" : 1691412967057,
"stop" : 1691412967162,
"duration" : 105
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
}, {
"name" : "db_fix",
"time" : {
"start" : 1691412967162,
"stop" : 1691412967373,
"duration" : 211
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "afecc1fa6c1fd7d",
"name" : "log",
"source" : "afecc1fa6c1fd7d.txt",
"type" : "text/plain",
"size" : 117
}, {
"uid" : "53587c82b9cbbb8f",
"name" : "stdout",
"source" : "53587c82b9cbbb8f.txt",
"type" : "text/plain",
"size" : 13
} ],
"parameters" : [ ],
"attachmentsCount" : 2,
"shouldDisplayMessage" : false,
"hasContent" : true,
"stepsCount" : 0
},
"afterStages" : [ {
"name" : "db_fix::0",
"time" : {
"start" : 1691412969503,
"stop" : 1691412969503,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"attachmentsCount" : 0,
"shouldDisplayMessage" : false,
"hasContent" : false,
"stepsCount" : 0
} ],
"labels" : [ {
"name" : "feature",
"value" : "维度管理"
}, {
"name" : "story",
"value" : "添加维度"
}, {
"name" : "severity",
"value" : "高"
}, {
"name" : "epic",
"value" : "BPM系统"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBPM"
}, {
"name" : "host",
"value" : "DESKTOP-IFEUSC7"
}, {
"name" : "thread",
"value" : "9248-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "data",
"value" : "{'code': 'test56_dem', 'description': '测试56期的维度', 'isDefault': 0, 'name': '测试56期的维度'}"
}, {
"name" : "expect",
"value" : "{'state': True, 'message': '添加维度成功!'}"
}, {
"name" : "interface",
"value" : "'添加维度'"
}, {
"name" : "level",
"value" : "'高'"
}, {
"name" : "method",
"value" : "'post'"
}, {
"name" : "mime",
"value" : "'application/json'"
}, {
"name" : "module",
"value" : "'维度管理'"
}, {
"name" : "sqlsentence",
"value" : "'DELETE FROM uc_demension WHERE `CODE_`=\"test56_dem\";'"
}, {
"name" : "sqltype",
"value" : "'delete'"
}, {
"name" : "title",
"value" : "'正向用例'"
}, {
"name" : "updatakey",
"value" : "None"
}, {
"name" : "url",
"value" : "'http://120.46.172.186:8080/api/demension/v1/dem/addDem'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "e21a773239c439d2.json",
"parameterValues" : [ "{'code': 'test56_dem', 'description': '测试56期的维度', 'isDefault': 0, 'name': '测试56期的维度'}", "{'state': True, 'message': '添加维度成功!'}", "'添加维度'", "'高'", "'post'", "'application/json'", "'维度管理'", "'DELETE FROM uc_demension WHERE `CODE_`=\"test56_dem\";'", "'delete'", "'正向用例'", "None", "'http://120.46.172.186:8080/api/demension/v1/dem/addDem'" ]
}
\ No newline at end of file
{
"uid" : "ab17fc5a4eb3bca4b216b548c7f9fcbc",
"name" : "timeline",
"children" : [ {
"name" : "DESKTOP-IFEUSC7",
"children" : [ {
"name" : "9248-MainThread",
"children" : [ {
"name" : "反向用例-用户名特殊字符",
"uid" : "593a30ea50e4e65e",
"parentUid" : "ad0acc02dca673861bd21cca46ccff96",
"status" : "passed",
"time" : {
"start" : 1691412967807,
"stop" : 1691412967904,
"duration" : 97
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'password': 'MTIzNDU2', 'username': '▬♦◊◦☼♠♣'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-用户名特殊字符'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-密码为长",
"uid" : "2181236f7df59f69",
"parentUid" : "ad0acc02dca673861bd21cca46ccff96",
"status" : "passed",
"time" : {
"start" : 1691412968164,
"stop" : 1691412968270,
"duration" : 106
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'password': 'MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2', 'username': 'admin'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-密码为长'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "正向用例",
"uid" : "1a844f8c800e3521",
"parentUid" : "ad0acc02dca673861bd21cca46ccff96",
"status" : "failed",
"time" : {
"start" : 1691412969366,
"stop" : 1691412969476,
"duration" : 110
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'ids': '不知道'}", "{'state': True, 'message': '删除维度成功'}", "'根据维度编码删除维度'", "'高'", "'DELETE'", "'query'", "'维度管理'", "'SELECT ID_ FROM uc_demension WHERE `CODE_`=\"test56_dem\";'", "'select'", "'正向用例'", "'ids'", "'http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds'" ]
}, {
"name" : "正向用例",
"uid" : "e21a773239c439d2",
"parentUid" : "ad0acc02dca673861bd21cca46ccff96",
"status" : "passed",
"time" : {
"start" : 1691412968837,
"stop" : 1691412968977,
"duration" : 140
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'code': 'test56_dem', 'description': '测试56期的维度', 'isDefault': 0, 'name': '测试56期的维度'}", "{'state': True, 'message': '添加维度成功!'}", "'添加维度'", "'高'", "'post'", "'application/json'", "'维度管理'", "'DELETE FROM uc_demension WHERE `CODE_`=\"test56_dem\";'", "'delete'", "'正向用例'", "None", "'http://120.46.172.186:8080/api/demension/v1/dem/addDem'" ]
}, {
"name" : "反向用例-用户名错误",
"uid" : "2cad346442b8353d",
"parentUid" : "ad0acc02dca673861bd21cca46ccff96",
"status" : "passed",
"time" : {
"start" : 1691412967917,
"stop" : 1691412968013,
"duration" : 96
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'password': 'MTIzNDU2', 'username': 'tomcat'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'POST'", "'json'", "'认证接口'", "None", "None", "'反向用例-用户名错误'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-用户名过长",
"uid" : "878fd6d9be167c95",
"parentUid" : "ad0acc02dca673861bd21cca46ccff96",
"status" : "passed",
"time" : {
"start" : 1691412967526,
"stop" : 1691412967630,
"duration" : 104
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'password': 'MTIzNDU2', 'username': 'adminadminadminadminadminadminadminadminadmin'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-用户名过长'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "正向用例",
"uid" : "ad15ad4694a1718c",
"parentUid" : "ad0acc02dca673861bd21cca46ccff96",
"status" : "passed",
"time" : {
"start" : 1691412968988,
"stop" : 1691412969173,
"duration" : 185
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'code': 'test56_org', 'demId': '不知道', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}", "{'state': True, 'message': '添加组织成功!'}", "'添加组织'", "'高'", "'post'", "'application/json'", "'组织管理'", "{'select': 'SELECT ID_ FROM uc_demension WHERE `CODE_`=\"test56_dem\";', 'delete': 'DELETE FROM uc_org WHERE `CODE_`=\"test56_org\";'}", "'delete|select'", "'正向用例'", "'demId'", "'http://120.46.172.186:8080/api/org/v1/org/addOrg'" ]
}, {
"name" : "反向用例-密码为空",
"uid" : "97ed2c7bf2a5ae29",
"parentUid" : "ad0acc02dca673861bd21cca46ccff96",
"status" : "passed",
"time" : {
"start" : 1691412968026,
"stop" : 1691412968127,
"duration" : 101
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'password': '', 'username': 'admin'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-密码为空'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-用户名过短",
"uid" : "487b5b1e29b765f4",
"parentUid" : "ad0acc02dca673861bd21cca46ccff96",
"status" : "passed",
"time" : {
"start" : 1691412967668,
"stop" : 1691412967768,
"duration" : 100
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'password': 'MTIzNDU2', 'username': 'a'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-用户名过短'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "正向用例",
"uid" : "9af0f3a6371960e0",
"parentUid" : "ad0acc02dca673861bd21cca46ccff96",
"status" : "passed",
"time" : {
"start" : 1691412969191,
"stop" : 1691412969265,
"duration" : 74
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'query': {'orgCode': 'test56_org'}, 'body': [{'alias': 'sz', 'value': 0}, {'alias': 'zy', 'value': 'math'}, {'alias': 'rq', 'value': '2023-08-04T16:00:00.000Z'}, {'alias': 'ah', 'value': 'lq'}, {'alias': 'yyyy', 'value': '越高越好'}, {'alias': 'xb', 'value': '2'}]}", "{'state': True, 'message': '保存组织参数成功!'}", "'保存组织参数'", "'高'", "'post'", "'application/json|query'", "'组织管理'", "None", "None", "'正向用例'", "None", "'http://120.46.172.186:8080/api/org/v1/orgParam/saveOrgParams'" ]
}, {
"name" : "正向用例",
"uid" : "c38dfbbf61a8e3a1",
"parentUid" : "ad0acc02dca673861bd21cca46ccff96",
"status" : "failed",
"time" : {
"start" : 1691412968538,
"stop" : 1691412968643,
"duration" : 105
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "None", "{'message': '刷新token成功'}", "'刷新token'", "'中'", "'get'", "None", "'认证接口'", "None", "None", "'正向用例'", "None", "'http://120.46.172.186:8080/refresh'" ]
}, {
"name" : "反向用例-密码为特殊字符",
"uid" : "dd6d3e153caa3b07",
"parentUid" : "ad0acc02dca673861bd21cca46ccff96",
"status" : "passed",
"time" : {
"start" : 1691412968411,
"stop" : 1691412968515,
"duration" : 104
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'password': '▬♦◊◦☼♠♣', 'username': 'admin'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-密码为特殊字符'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "正向用例",
"uid" : "988589cd93aad179",
"parentUid" : "ad0acc02dca673861bd21cca46ccff96",
"status" : "passed",
"time" : {
"start" : 1691412969283,
"stop" : 1691412969349,
"duration" : 66
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'test56_org'", "{'state': True, 'message': '删除组织成功!'}", "'删除组织'", "'高'", "'post'", "'text/plain'", "'组织管理'", "None", "None", "'正向用例'", "None", "'http://120.46.172.186:8080/api/org/v1/org/deleteOrg'" ]
}, {
"name" : "反向用例-密码为过短",
"uid" : "d721c898d353a4f1",
"parentUid" : "ad0acc02dca673861bd21cca46ccff96",
"status" : "passed",
"time" : {
"start" : 1691412968295,
"stop" : 1691412968398,
"duration" : 103
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'password': '1', 'username': 'admin'}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'PoST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-密码为过短'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "反向用例-用户名为空",
"uid" : "c1137b52bc158c3b",
"parentUid" : "ad0acc02dca673861bd21cca46ccff96",
"status" : "passed",
"time" : {
"start" : 1691412967458,
"stop" : 1691412967514,
"duration" : 56
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'password': 'MTIzNDU2', 'username': ''}", "{'state': False, 'message': '账号或密码错误'}", "'登录系统'", "'中'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'反向用例-用户名为空'", "None", "'http://120.46.172.186:8080/auth'" ]
}, {
"name" : "正向用例",
"uid" : "80cc3d9125342c84",
"parentUid" : "ad0acc02dca673861bd21cca46ccff96",
"status" : "passed",
"time" : {
"start" : 1691412967381,
"stop" : 1691412967441,
"duration" : 60
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "{'password': 'MTIzNDU2', 'username': 'admin'}", "{'username': '超级管理员', 'account': 'admin'}", "'登录系统'", "'高'", "'POST'", "'application/json'", "'认证接口'", "None", "None", "'正向用例'", "None", "'http://120.46.172.186:8080/auth'" ]
} ],
"uid" : "ad0acc02dca673861bd21cca46ccff96"
} ],
"uid" : "a01ad5d0a344f471799b2385440d6d3c"
} ]
}
\ No newline at end of file
launch_status failed=2 1691413116000000000
launch_status broken=0 1691413116000000000
launch_status passed=14 1691413116000000000
launch_status skipped=0 1691413116000000000
launch_status unknown=0 1691413116000000000
launch_time duration=2095 1691413116000000000
launch_time min_duration=56 1691413116000000000
launch_time max_duration=185 1691413116000000000
launch_time sum_duration=1607 1691413116000000000
launch_problems product_defects=2 1691413116000000000
launch_retries retries=0 1691413116000000000
launch_retries run=16 1691413116000000000
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Allure Report summary mail</title>
</head>
<body>
Mail body
</body>
</html>
launch_status_failed 2
launch_status_broken 0
launch_status_passed 14
launch_status_skipped 0
launch_status_unknown 0
launch_time_duration 2095
launch_time_min_duration 56
launch_time_max_duration 185
launch_time_sum_duration 1607
launch_problems_product_defects 2
launch_retries_retries 0
launch_retries_run 16
module.exports = __webpack_public_path__ + "favicon.ico";
\ No newline at end of file
[ {
"data" : {
"Product defects" : 2
}
} ]
\ No newline at end of file
[ {
"data" : {
"duration" : 2095
}
} ]
\ No newline at end of file
[ {
"data" : {
"failed" : 2,
"broken" : 0,
"skipped" : 0,
"passed" : 14,
"unknown" : 0,
"total" : 16
}
} ]
\ No newline at end of file
{
"4db60c6a5deceb5e4bfbe2c9fd4ed59b" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "e21a773239c439d2",
"status" : "passed",
"time" : {
"start" : 1691412968837,
"stop" : 1691412968977,
"duration" : 140
}
} ]
},
"a0502452da70d924dbdea3f536ad8015" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "593a30ea50e4e65e",
"status" : "passed",
"time" : {
"start" : 1691412967807,
"stop" : 1691412967904,
"duration" : 97
}
} ]
},
"4611226fe8e8ea7f2f751c759c190024" : {
"statistic" : {
"failed" : 1,
"broken" : 0,
"skipped" : 0,
"passed" : 0,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "1a844f8c800e3521",
"status" : "failed",
"statusDetails" : "AssertionError: 断言失败",
"time" : {
"start" : 1691412969366,
"stop" : 1691412969476,
"duration" : 110
}
} ]
},
"89cd3935e143f1777c5d98d06870bd50" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "97ed2c7bf2a5ae29",
"status" : "passed",
"time" : {
"start" : 1691412968026,
"stop" : 1691412968127,
"duration" : 101
}
} ]
},
"74e8920fe95c2c7a6d36157ccbacbeb9" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "9af0f3a6371960e0",
"status" : "passed",
"time" : {
"start" : 1691412969191,
"stop" : 1691412969265,
"duration" : 74
}
} ]
},
"dda835db0410530904c0a8d301c29cbb" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "ad15ad4694a1718c",
"status" : "passed",
"time" : {
"start" : 1691412968988,
"stop" : 1691412969173,
"duration" : 185
}
} ]
},
"d47f225f414cd52cd2c4be15166397b9" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "dd6d3e153caa3b07",
"status" : "passed",
"time" : {
"start" : 1691412968411,
"stop" : 1691412968515,
"duration" : 104
}
} ]
},
"036385e6c5707e95e98d58f17aa52abc" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "988589cd93aad179",
"status" : "passed",
"time" : {
"start" : 1691412969283,
"stop" : 1691412969349,
"duration" : 66
}
} ]
},
"1e00bd2cd85b6a0d93eb901ec3e350a3" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "d721c898d353a4f1",
"status" : "passed",
"time" : {
"start" : 1691412968295,
"stop" : 1691412968398,
"duration" : 103
}
} ]
},
"0bc244764898381335e19a8275f4cc75" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "2cad346442b8353d",
"status" : "passed",
"time" : {
"start" : 1691412967917,
"stop" : 1691412968013,
"duration" : 96
}
} ]
},
"f368301ce537f1bbd596e0d19f24f393" : {
"statistic" : {
"failed" : 1,
"broken" : 0,
"skipped" : 0,
"passed" : 0,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "c38dfbbf61a8e3a1",
"status" : "failed",
"statusDetails" : "AssertionError: 断言失败",
"time" : {
"start" : 1691412968538,
"stop" : 1691412968643,
"duration" : 105
}
} ]
},
"a630861595e4d5075fdcba67048830da" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "487b5b1e29b765f4",
"status" : "passed",
"time" : {
"start" : 1691412967668,
"stop" : 1691412967768,
"duration" : 100
}
} ]
},
"cb6bc4824561a6cdbaeea7fbbc0b0fca" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "c1137b52bc158c3b",
"status" : "passed",
"time" : {
"start" : 1691412967458,
"stop" : 1691412967514,
"duration" : 56
}
} ]
},
"98357aace79429a96dcb36c173fbfa06" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "80cc3d9125342c84",
"status" : "passed",
"time" : {
"start" : 1691412967381,
"stop" : 1691412967441,
"duration" : 60
}
} ]
},
"1583d8257c325d21eabb5675af66c678" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "2181236f7df59f69",
"status" : "passed",
"time" : {
"start" : 1691412968164,
"stop" : 1691412968270,
"duration" : 106
}
} ]
},
"db7f8347492d126be5aa0bc4cf128a49" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "878fd6d9be167c95",
"status" : "passed",
"time" : {
"start" : 1691412967526,
"stop" : 1691412967630,
"duration" : 104
}
} ]
}
}
\ No newline at end of file
[ {
"data" : {
"run" : 16,
"retry" : 0
}
} ]
\ No newline at end of file
<!DOCTYPE html>
<html dir="ltr">
<head>
<meta charset="utf-8">
<title>Allure Report</title>
<link rel="favicon" href="favicon.ico?v=2">
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" href="plugins/screen-diff/styles.css">
</head>
<body>
<div id="alert"></div>
<div id="content">
<span class="spinner">
<span class="spinner__circle"></span>
</span>
</div>
<div id="popup"></div>
<script src="app.js"></script>
<script src="plugins/behaviors/index.js"></script>
<script src="plugins/packages/index.js"></script>
<script src="plugins/screen-diff/index.js"></script>
</body>
</html>
'use strict';
allure.api.addTranslation('en', {
tab: {
behaviors: {
name: 'Behaviors'
}
},
widget: {
behaviors: {
name: 'Features by stories',
showAll: 'show all'
}
}
});
allure.api.addTranslation('ru', {
tab: {
behaviors: {
name: 'Функциональность'
}
},
widget: {
behaviors: {
name: 'Функциональность',
showAll: 'показать все'
}
}
});
allure.api.addTranslation('zh', {
tab: {
behaviors: {
name: '功能'
}
},
widget: {
behaviors: {
name: '特性场景',
showAll: '显示所有'
}
}
});
allure.api.addTranslation('de', {
tab: {
behaviors: {
name: 'Verhalten'
}
},
widget: {
behaviors: {
name: 'Features nach Stories',
showAll: 'Zeige alle'
}
}
});
allure.api.addTranslation('nl', {
tab: {
behaviors: {
name: 'Functionaliteit'
}
},
widget: {
behaviors: {
name: 'Features en story’s',
showAll: 'Toon alle'
}
}
});
allure.api.addTranslation('he', {
tab: {
behaviors: {
name: 'התנהגויות'
}
},
widget: {
behaviors: {
name: 'תכונות לפי סיפורי משתמש',
showAll: 'הצג הכול'
}
}
});
allure.api.addTranslation('br', {
tab: {
behaviors: {
name: 'Comportamentos'
}
},
widget: {
behaviors: {
name: 'Funcionalidades por história',
showAll: 'Mostrar tudo'
}
}
});
allure.api.addTranslation('ja', {
tab: {
behaviors: {
name: '振る舞い'
}
},
widget: {
behaviors: {
name: 'ストーリー別の機能',
showAll: '全て表示'
}
}
});
allure.api.addTranslation('es', {
tab: {
behaviors: {
name: 'Funcionalidades'
}
},
widget: {
behaviors: {
name: 'Funcionalidades por Historias de Usuario',
showAll: 'mostrar todo'
}
}
});
allure.api.addTranslation('kr', {
tab: {
behaviors: {
name: '동작'
}
},
widget: {
behaviors: {
name: '스토리별 기능',
showAll: '전체 보기'
}
}
});
allure.api.addTranslation('fr', {
tab: {
behaviors: {
name: 'Comportements'
}
},
widget: {
behaviors: {
name: 'Thèmes par histoires',
showAll: 'Montrer tout'
}
}
});
allure.api.addTab('behaviors', {
title: 'tab.behaviors.name', icon: 'fa fa-list',
route: 'behaviors(/)(:testGroup)(/)(:testResult)(/)(:testResultTab)(/)',
onEnter: (function (testGroup, testResult, testResultTab) {
return new allure.components.TreeLayout({
testGroup: testGroup,
testResult: testResult,
testResultTab: testResultTab,
tabName: 'tab.behaviors.name',
baseUrl: 'behaviors',
url: 'data/behaviors.json',
csvUrl: 'data/behaviors.csv'
});
})
});
allure.api.addWidget('widgets', 'behaviors', allure.components.WidgetStatusView.extend({
rowTag: 'a',
title: 'widget.behaviors.name',
baseUrl: 'behaviors',
showLinks: true
}));
'use strict';
allure.api.addTranslation('en', {
tab: {
packages: {
name: 'Packages'
}
}
});
allure.api.addTranslation('ru', {
tab: {
packages: {
name: 'Пакеты'
}
}
});
allure.api.addTranslation('zh', {
tab: {
packages: {
name: '包'
}
}
});
allure.api.addTranslation('de', {
tab: {
packages: {
name: 'Pakete'
}
}
});
allure.api.addTranslation('nl', {
tab: {
packages: {
name: 'Packages'
}
}
});
allure.api.addTranslation('he', {
tab: {
packages: {
name: 'חבילות'
}
}
});
allure.api.addTranslation('br', {
tab: {
packages: {
name: 'Pacotes'
}
}
});
allure.api.addTranslation('ja', {
tab: {
packages: {
name: 'パッケージ'
}
}
});
allure.api.addTranslation('es', {
tab: {
packages: {
name: 'Paquetes'
}
}
});
allure.api.addTranslation('kr', {
tab: {
packages: {
name: '패키지'
}
}
});
allure.api.addTranslation('fr', {
tab: {
packages: {
name: 'Paquets'
}
}
});
allure.api.addTab('packages', {
title: 'tab.packages.name', icon: 'fa fa-align-left',
route: 'packages(/)(:testGroup)(/)(:testResult)(/)(:testResultTab)(/)',
onEnter: (function (testGroup, testResult, testResultTab) {
return new allure.components.TreeLayout({
testGroup: testGroup,
testResult: testResult,
testResultTab: testResultTab,
tabName: 'tab.packages.name',
baseUrl: 'packages',
url: 'data/packages.json'
});
})
});
(function () {
var settings = allure.getPluginSettings('screen-diff', { diffType: 'diff' });
function renderImage(src) {
return (
'<div class="screen-diff__container">' +
'<img class="screen-diff__image" src="' +
src +
'">' +
'</div>'
);
}
function findImage(data, name) {
if (data.testStage && data.testStage.attachments) {
var matchedImage = data.testStage.attachments.filter(function (attachment) {
return attachment.name === name;
})[0];
if (matchedImage) {
return 'data/attachments/' + matchedImage.source;
}
}
return null;
}
function renderDiffContent(type, diffImage, actualImage, expectedImage) {
if (type === 'diff') {
if (diffImage) {
return renderImage(diffImage);
}
}
if (type === 'overlay' && expectedImage) {
return (
'<div class="screen-diff__overlay screen-diff__container">' +
'<img class="screen-diff__image" src="' +
expectedImage +
'">' +
'<div class="screen-diff__image-over">' +
'<img class="screen-diff__image" src="' +
actualImage +
'">' +
'</div>' +
'</div>'
);
}
if (actualImage) {
return renderImage(actualImage);
}
return 'No diff data provided';
}
var TestResultView = Backbone.Marionette.View.extend({
regions: {
subView: '.screen-diff-view',
},
template: function () {
return '<div class="screen-diff-view"></div>';
},
onRender: function () {
var data = this.model.toJSON();
var testType = data.labels.filter(function (label) {
return label.name === 'testType';
})[0];
var diffImage = findImage(data, 'diff');
var actualImage = findImage(data, 'actual');
var expectedImage = findImage(data, 'expected');
if (!testType || testType.value !== 'screenshotDiff') {
return;
}
this.showChildView(
'subView',
new ScreenDiffView({
diffImage: diffImage,
actualImage: actualImage,
expectedImage: expectedImage,
}),
);
},
});
var ErrorView = Backbone.Marionette.View.extend({
templateContext: function () {
return this.options;
},
template: function (data) {
return '<pre class="screen-diff-error">' + data.error + '</pre>';
},
});
var AttachmentView = Backbone.Marionette.View.extend({
regions: {
subView: '.screen-diff-view',
},
template: function () {
return '<div class="screen-diff-view"></div>';
},
onRender: function () {
jQuery
.getJSON(this.options.sourceUrl)
.then(this.renderScreenDiffView.bind(this), this.renderErrorView.bind(this));
},
renderErrorView: function (error) {
console.log(error);
this.showChildView(
'subView',
new ErrorView({
error: error.statusText,
}),
);
},
renderScreenDiffView: function (data) {
this.showChildView(
'subView',
new ScreenDiffView({
diffImage: data.diff,
actualImage: data.actual,
expectedImage: data.expected,
}),
);
},
});
var ScreenDiffView = Backbone.Marionette.View.extend({
className: 'pane__section',
events: function () {
return {
['click [name="screen-diff-type-' + this.cid + '"]']: 'onDiffTypeChange',
'mousemove .screen-diff__overlay': 'onOverlayMove',
};
},
initialize: function (options) {
this.diffImage = options.diffImage;
this.actualImage = options.actualImage;
this.expectedImage = options.expectedImage;
this.radioName = 'screen-diff-type-' + this.cid;
},
templateContext: function () {
return {
diffType: settings.get('diffType'),
diffImage: this.diffImage,
actualImage: this.actualImage,
expectedImage: this.expectedImage,
radioName: this.radioName,
};
},
template: function (data) {
if (!data.diffImage && !data.actualImage && !data.expectedImage) {
return '';
}
return (
'<h3 class="pane__section-title">Screen Diff</h3>' +
'<div class="screen-diff__content">' +
'<div class="screen-diff__switchers">' +
'<label><input type="radio" name="' +
data.radioName +
'" value="diff"> Show diff</label>' +
'<label><input type="radio" name="' +
data.radioName +
'" value="overlay"> Show overlay</label>' +
'</div>' +
renderDiffContent(
data.diffType,
data.diffImage,
data.actualImage,
data.expectedImage,
) +
'</div>'
);
},
adjustImageSize: function (event) {
var overImage = this.$(event.target);
overImage.width(overImage.width());
},
onRender: function () {
const diffType = settings.get('diffType');
this.$('[name="' + this.radioName + '"][value="' + diffType + '"]').prop(
'checked',
true,
);
if (diffType === 'overlay') {
this.$('.screen-diff__image-over img').on('load', this.adjustImageSize.bind(this));
}
},
onOverlayMove: function (event) {
var pageX = event.pageX;
var containerScroll = this.$('.screen-diff__container').scrollLeft();
var elementX = event.currentTarget.getBoundingClientRect().left;
var delta = pageX - elementX + containerScroll;
this.$('.screen-diff__image-over').width(delta);
},
onDiffTypeChange: function (event) {
settings.save('diffType', event.target.value);
this.render();
},
});
allure.api.addTestResultBlock(TestResultView, { position: 'before' });
allure.api.addAttachmentViewer('application/vnd.allure.image.diff', {
View: AttachmentView,
icon: 'fa fa-exchange',
});
})();
.screen-diff__switchers {
margin-bottom: 1em;
}
.screen-diff__switchers label + label {
margin-left: 1em;
}
.screen-diff__overlay {
position: relative;
cursor: col-resize;
}
.screen-diff__container {
overflow-x: auto;
}
.screen-diff__image-over {
top: 0;
left: 0;
bottom: 0;
background: #fff;
position: absolute;
overflow: hidden;
box-shadow: 2px 0 1px -1px #aaa;
}
.screen-diff-error {
color: #fd5a3e;
}
This source diff could not be displayed because it is too large. You can view the blob instead.
{
"total" : 1,
"items" : [ {
"uid" : "f2ae4690c9b2f3df492f4f543cc9c7a2",
"name" : "BPM系统",
"statistic" : {
"failed" : 2,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 3
}
} ]
}
\ No newline at end of file
[ {
"data" : {
"Product defects" : 2
}
} ]
\ No newline at end of file
{
"total" : 1,
"items" : [ {
"uid" : "8fb3a91ba5aaf9de24cc8a92edc82b5d",
"name" : "Product defects",
"statistic" : {
"failed" : 2,
"broken" : 0,
"skipped" : 0,
"passed" : 0,
"unknown" : 0,
"total" : 2
}
} ]
}
\ No newline at end of file
[ {
"data" : {
"duration" : 2095
}
} ]
\ No newline at end of file
[ {
"uid" : "c1137b52bc158c3b",
"name" : "反向用例-用户名为空",
"time" : {
"start" : 1691412967458,
"stop" : 1691412967514,
"duration" : 56
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "2cad346442b8353d",
"name" : "反向用例-用户名错误",
"time" : {
"start" : 1691412967917,
"stop" : 1691412968013,
"duration" : 96
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "e21a773239c439d2",
"name" : "正向用例",
"time" : {
"start" : 1691412968837,
"stop" : 1691412968977,
"duration" : 140
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "593a30ea50e4e65e",
"name" : "反向用例-用户名特殊字符",
"time" : {
"start" : 1691412967807,
"stop" : 1691412967904,
"duration" : 97
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "1a844f8c800e3521",
"name" : "正向用例",
"time" : {
"start" : 1691412969366,
"stop" : 1691412969476,
"duration" : 110
},
"status" : "failed",
"severity" : "normal"
}, {
"uid" : "97ed2c7bf2a5ae29",
"name" : "反向用例-密码为空",
"time" : {
"start" : 1691412968026,
"stop" : 1691412968127,
"duration" : 101
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "878fd6d9be167c95",
"name" : "反向用例-用户名过长",
"time" : {
"start" : 1691412967526,
"stop" : 1691412967630,
"duration" : 104
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "9af0f3a6371960e0",
"name" : "正向用例",
"time" : {
"start" : 1691412969191,
"stop" : 1691412969265,
"duration" : 74
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "988589cd93aad179",
"name" : "正向用例",
"time" : {
"start" : 1691412969283,
"stop" : 1691412969349,
"duration" : 66
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "ad15ad4694a1718c",
"name" : "正向用例",
"time" : {
"start" : 1691412968988,
"stop" : 1691412969173,
"duration" : 185
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "d721c898d353a4f1",
"name" : "反向用例-密码为过短",
"time" : {
"start" : 1691412968295,
"stop" : 1691412968398,
"duration" : 103
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "dd6d3e153caa3b07",
"name" : "反向用例-密码为特殊字符",
"time" : {
"start" : 1691412968411,
"stop" : 1691412968515,
"duration" : 104
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "80cc3d9125342c84",
"name" : "正向用例",
"time" : {
"start" : 1691412967381,
"stop" : 1691412967441,
"duration" : 60
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "487b5b1e29b765f4",
"name" : "反向用例-用户名过短",
"time" : {
"start" : 1691412967668,
"stop" : 1691412967768,
"duration" : 100
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "2181236f7df59f69",
"name" : "反向用例-密码为长",
"time" : {
"start" : 1691412968164,
"stop" : 1691412968270,
"duration" : 106
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "c38dfbbf61a8e3a1",
"name" : "正向用例",
"time" : {
"start" : 1691412968538,
"stop" : 1691412968643,
"duration" : 105
},
"status" : "failed",
"severity" : "normal"
} ]
\ No newline at end of file
[ {
"data" : {
"failed" : 2,
"broken" : 0,
"skipped" : 0,
"passed" : 14,
"unknown" : 0,
"total" : 16
}
} ]
\ No newline at end of file
[ {
"data" : {
"run" : 16,
"retry" : 0
}
} ]
\ No newline at end of file
[ {
"uid" : "878fd6d9be167c95",
"name" : "反向用例-用户名过长",
"time" : {
"start" : 1691412967526,
"stop" : 1691412967630,
"duration" : 104
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "593a30ea50e4e65e",
"name" : "反向用例-用户名特殊字符",
"time" : {
"start" : 1691412967807,
"stop" : 1691412967904,
"duration" : 97
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "80cc3d9125342c84",
"name" : "正向用例",
"time" : {
"start" : 1691412967381,
"stop" : 1691412967441,
"duration" : 60
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "1a844f8c800e3521",
"name" : "正向用例",
"time" : {
"start" : 1691412969366,
"stop" : 1691412969476,
"duration" : 110
},
"status" : "failed",
"severity" : "normal"
}, {
"uid" : "d721c898d353a4f1",
"name" : "反向用例-密码为过短",
"time" : {
"start" : 1691412968295,
"stop" : 1691412968398,
"duration" : 103
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "9af0f3a6371960e0",
"name" : "正向用例",
"time" : {
"start" : 1691412969191,
"stop" : 1691412969265,
"duration" : 74
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "2181236f7df59f69",
"name" : "反向用例-密码为长",
"time" : {
"start" : 1691412968164,
"stop" : 1691412968270,
"duration" : 106
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "dd6d3e153caa3b07",
"name" : "反向用例-密码为特殊字符",
"time" : {
"start" : 1691412968411,
"stop" : 1691412968515,
"duration" : 104
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "c1137b52bc158c3b",
"name" : "反向用例-用户名为空",
"time" : {
"start" : 1691412967458,
"stop" : 1691412967514,
"duration" : 56
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "ad15ad4694a1718c",
"name" : "正向用例",
"time" : {
"start" : 1691412968988,
"stop" : 1691412969173,
"duration" : 185
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "97ed2c7bf2a5ae29",
"name" : "反向用例-密码为空",
"time" : {
"start" : 1691412968026,
"stop" : 1691412968127,
"duration" : 101
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "988589cd93aad179",
"name" : "正向用例",
"time" : {
"start" : 1691412969283,
"stop" : 1691412969349,
"duration" : 66
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "c38dfbbf61a8e3a1",
"name" : "正向用例",
"time" : {
"start" : 1691412968538,
"stop" : 1691412968643,
"duration" : 105
},
"status" : "failed",
"severity" : "normal"
}, {
"uid" : "2cad346442b8353d",
"name" : "反向用例-用户名错误",
"time" : {
"start" : 1691412967917,
"stop" : 1691412968013,
"duration" : 96
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "e21a773239c439d2",
"name" : "正向用例",
"time" : {
"start" : 1691412968837,
"stop" : 1691412968977,
"duration" : 140
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "487b5b1e29b765f4",
"name" : "反向用例-用户名过短",
"time" : {
"start" : 1691412967668,
"stop" : 1691412967768,
"duration" : 100
},
"status" : "passed",
"severity" : "normal"
} ]
\ No newline at end of file
[ {
"uid" : "c1137b52bc158c3b",
"name" : "反向用例-用户名为空",
"time" : {
"start" : 1691412967458,
"stop" : 1691412967514,
"duration" : 56
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "2cad346442b8353d",
"name" : "反向用例-用户名错误",
"time" : {
"start" : 1691412967917,
"stop" : 1691412968013,
"duration" : 96
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "e21a773239c439d2",
"name" : "正向用例",
"time" : {
"start" : 1691412968837,
"stop" : 1691412968977,
"duration" : 140
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "593a30ea50e4e65e",
"name" : "反向用例-用户名特殊字符",
"time" : {
"start" : 1691412967807,
"stop" : 1691412967904,
"duration" : 97
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "1a844f8c800e3521",
"name" : "正向用例",
"time" : {
"start" : 1691412969366,
"stop" : 1691412969476,
"duration" : 110
},
"status" : "failed",
"severity" : "normal"
}, {
"uid" : "97ed2c7bf2a5ae29",
"name" : "反向用例-密码为空",
"time" : {
"start" : 1691412968026,
"stop" : 1691412968127,
"duration" : 101
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "878fd6d9be167c95",
"name" : "反向用例-用户名过长",
"time" : {
"start" : 1691412967526,
"stop" : 1691412967630,
"duration" : 104
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "9af0f3a6371960e0",
"name" : "正向用例",
"time" : {
"start" : 1691412969191,
"stop" : 1691412969265,
"duration" : 74
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "988589cd93aad179",
"name" : "正向用例",
"time" : {
"start" : 1691412969283,
"stop" : 1691412969349,
"duration" : 66
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "ad15ad4694a1718c",
"name" : "正向用例",
"time" : {
"start" : 1691412968988,
"stop" : 1691412969173,
"duration" : 185
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "d721c898d353a4f1",
"name" : "反向用例-密码为过短",
"time" : {
"start" : 1691412968295,
"stop" : 1691412968398,
"duration" : 103
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "dd6d3e153caa3b07",
"name" : "反向用例-密码为特殊字符",
"time" : {
"start" : 1691412968411,
"stop" : 1691412968515,
"duration" : 104
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "80cc3d9125342c84",
"name" : "正向用例",
"time" : {
"start" : 1691412967381,
"stop" : 1691412967441,
"duration" : 60
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "487b5b1e29b765f4",
"name" : "反向用例-用户名过短",
"time" : {
"start" : 1691412967668,
"stop" : 1691412967768,
"duration" : 100
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "2181236f7df59f69",
"name" : "反向用例-密码为长",
"time" : {
"start" : 1691412968164,
"stop" : 1691412968270,
"duration" : 106
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "c38dfbbf61a8e3a1",
"name" : "正向用例",
"time" : {
"start" : 1691412968538,
"stop" : 1691412968643,
"duration" : 105
},
"status" : "failed",
"severity" : "normal"
} ]
\ No newline at end of file
{
"total" : 1,
"items" : [ {
"uid" : "10f50a925462c4c85491656d24b32ac1",
"name" : "test_bpm",
"statistic" : {
"failed" : 2,
"broken" : 0,
"skipped" : 0,
"passed" : 14,
"unknown" : 0,
"total" : 16
}
} ]
}
\ No newline at end of file
{
"reportName" : "Allure Report",
"testRuns" : [ ],
"statistic" : {
"failed" : 2,
"broken" : 0,
"skipped" : 0,
"passed" : 14,
"unknown" : 0,
"total" : 16
},
"time" : {
"start" : 1691412967381,
"stop" : 1691412969476,
"duration" : 2095,
"minDuration" : 56,
"maxDuration" : 185,
"sumDuration" : 1607
}
}
\ No newline at end of file
{"uuid": "e5b01997-d363-4877-a9fd-c9e8aa44d6da", "befores": [{"name": "updatakey", "status": "passed", "start": 1691412967667, "stop": 1691412967667}], "start": 1691412967667, "stop": 1691412967769}
\ No newline at end of file
{"name": "正向用例", "status": "passed", "attachments": [{"name": "log", "source": "bc8d4b56-2b30-4088-b457-512cc7723c6a-attachment.txt", "type": "text/plain"}, {"name": "stdout", "source": "8737baa3-ffa1-4038-ac7a-71284d7fc7f8-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": "data", "value": "'test56_org'"}, {"name": "expect", "value": "{'state': True, 'message': '删除组织成功!'}"}, {"name": "sqltype", "value": "None"}, {"name": "sqlsentence", "value": "None"}, {"name": "updatakey", "value": "None"}], "start": 1691412969283, "stop": 1691412969349, "uuid": "65a2c5de-d296-4b11-89c5-94bbaeeb437e", "historyId": "036385e6c5707e95e98d58f17aa52abc", "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": "DESKTOP-IFEUSC7"}, {"name": "thread", "value": "9248-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_bpm"}]}
\ No newline at end of file
{"uuid": "dfbc9194-322c-4131-8316-0d8c64ff4d2c", "befores": [{"name": "mime", "status": "passed", "start": 1691412969190, "stop": 1691412969190}], "start": 1691412969190, "stop": 1691412969270}
\ No newline at end of file
{"uuid": "629df6c8-17de-4423-bd18-a6dc7be334a8", "befores": [{"name": "level", "status": "passed", "start": 1691412967806, "stop": 1691412967806}], "start": 1691412967806, "stop": 1691412967910}
\ No newline at end of file
{"uuid": "1b18629f-1443-4e5d-8633-f778db6c67f8", "befores": [{"name": "level", "status": "passed", "start": 1691412967915, "stop": 1691412967915}], "start": 1691412967915, "stop": 1691412968020}
\ No newline at end of file
{"name": "正向用例", "status": "failed", "statusDetails": {"message": "AssertionError: 断言失败", "trace": "self = <API_third.test_case.test_bpm.TestBPM object at 0x0000025D5C91BE10>, req_fix = <API_third.request_method.request_method.RequestsMethod object at 0x0000025D5C977050>\ndb_fix = <API_third.common.db.DB object at 0x0000025D5C9DFC10>, module = '维度管理', interface = '根据维度编码删除维度', title = '正向用例', level = '高', method = 'DELETE'\nurl = 'http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds', mime = 'query', data = {'ids': '1688534492479766528'}, expect = {'message': '删除维度成功', 'state': True}\nsqltype = 'select', sqlsentence = 'SELECT ID_ FROM uc_demension WHERE `CODE_`=\"test56_dem\";', updatakey = 'ids'\n\n @allure.epic(\"BPM系统\")\n @pytest.mark.parametrize(\"module, interface, title, level, method, url, mime, data, expect, sqltype, sqlsentence, updatakey\",ReadExcel().get_data())\n def test_bpm(self,req_fix, db_fix, module, interface, title, level, method, url, mime, data, expect, sqltype, sqlsentence, updatakey):\n allure.dynamic.feature(module)\n allure.dynamic.story(interface)\n allure.dynamic.title(title)\n allure.dynamic.severity(level)\n \n if sqltype == \"delete\":\n db_fix.delete(sqlsentence)\n \n elif sqltype == \"select\":\n result2 = db_fix.select(sqlsentence)\n data[updatakey] = result2\n \n elif sqltype == \"delete|select\" or sqltype == \"select|delete\":\n db_fix.delete(sqlsentence[\"delete\"])\n result3 = db_fix.select(sqlsentence[\"select\"])\n data[updatakey] = result3\n \n \n \n results = req_fix.requests_all(req_method=method, req_url=url, req_mime=mime, case_data=data)\n \n \n try:\n for key in expect:\n> assert expect[key] == results.json().get(key)\nE AssertionError: assert '删除维度成功' == '删除维度成功!'\nE - 删除维度成功!\nE ? -\nE + 删除维度成功\n\ntest_bpm.py:46: AssertionError\n\nDuring handling of the above exception, another exception occurred:\n\nself = <API_third.test_case.test_bpm.TestBPM object at 0x0000025D5C91BE10>, req_fix = <API_third.request_method.request_method.RequestsMethod object at 0x0000025D5C977050>\ndb_fix = <API_third.common.db.DB object at 0x0000025D5C9DFC10>, module = '维度管理', interface = '根据维度编码删除维度', title = '正向用例', level = '高', method = 'DELETE'\nurl = 'http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds', mime = 'query', data = {'ids': '1688534492479766528'}, expect = {'message': '删除维度成功', 'state': True}\nsqltype = 'select', sqlsentence = 'SELECT ID_ FROM uc_demension WHERE `CODE_`=\"test56_dem\";', updatakey = 'ids'\n\n @allure.epic(\"BPM系统\")\n @pytest.mark.parametrize(\"module, interface, title, level, method, url, mime, data, expect, sqltype, sqlsentence, updatakey\",ReadExcel().get_data())\n def test_bpm(self,req_fix, db_fix, module, interface, title, level, method, url, mime, data, expect, sqltype, sqlsentence, updatakey):\n allure.dynamic.feature(module)\n allure.dynamic.story(interface)\n allure.dynamic.title(title)\n allure.dynamic.severity(level)\n \n if sqltype == \"delete\":\n db_fix.delete(sqlsentence)\n \n elif sqltype == \"select\":\n result2 = db_fix.select(sqlsentence)\n data[updatakey] = result2\n \n elif sqltype == \"delete|select\" or sqltype == \"select|delete\":\n db_fix.delete(sqlsentence[\"delete\"])\n result3 = db_fix.select(sqlsentence[\"select\"])\n data[updatakey] = result3\n \n \n \n results = req_fix.requests_all(req_method=method, req_url=url, req_mime=mime, case_data=data)\n \n \n try:\n for key in expect:\n assert expect[key] == results.json().get(key)\n except:\n print(\"断言失败\")\n logging.error(\"断言失败, 模块名称为:{},接口名称为:{},用例标题:{},用例为:{},期望结果为:{},服务器返回数据为:{}\".format(module, interface, title, str(data), str(expect), results.text))\n> raise AssertionError(\"断言失败\")\nE AssertionError: 断言失败\n\ntest_bpm.py:50: AssertionError"}, "attachments": [{"name": "log", "source": "503ccd44-34c0-4b39-9188-e90c7eabb29f-attachment.txt", "type": "text/plain"}, {"name": "stdout", "source": "efdf8383-0f77-48ab-8f84-15136569e395-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": "data", "value": "{'ids': '不知道'}"}, {"name": "expect", "value": "{'state': True, 'message': '删除维度成功'}"}, {"name": "sqltype", "value": "'select'"}, {"name": "sqlsentence", "value": "'SELECT ID_ FROM uc_demension WHERE `CODE_`=\"test56_dem\";'"}, {"name": "updatakey", "value": "'ids'"}], "start": 1691412969366, "stop": 1691412969476, "uuid": "30925a4a-6a34-407f-94e6-e3238039181b", "historyId": "4611226fe8e8ea7f2f751c759c190024", "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": "DESKTOP-IFEUSC7"}, {"name": "thread", "value": "9248-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_bpm"}]}
\ No newline at end of file
{"uuid": "3822337c-8192-475d-91e5-747c72f19242", "befores": [{"name": "expect", "status": "passed", "start": 1691412969365, "stop": 1691412969365}], "start": 1691412969365, "stop": 1691412969490}
\ No newline at end of file
{"uuid": "e035d74a-1874-4ee0-9a9a-d16a4abe07f1", "befores": [{"name": "expect", "status": "passed", "start": 1691412969282, "stop": 1691412969282}], "start": 1691412969282, "stop": 1691412969352}
\ No newline at end of file
{"uuid": "5687c2bf-e843-4907-a850-01bf80621b83", "befores": [{"name": "module", "status": "passed", "start": 1691412967665, "stop": 1691412967665}], "start": 1691412967665, "stop": 1691412967800}
\ No newline at end of file
{"uuid": "33ef3d17-2cd9-47de-8e6f-20b9f9c0dc52", "befores": [{"name": "data", "status": "passed", "start": 1691412968837, "stop": 1691412968837}], "start": 1691412968837, "stop": 1691412968980}
\ No newline at end of file
{"uuid": "689c9d84-0a6d-482b-97df-16dffb956f58", "children": ["afea7228-2c23-4aba-b2a1-7a83481bd0a3", "06ee874d-bcb8-4d3b-a1b4-6238f2a01aa1", "3026d598-4ede-42a4-a4d7-2815950fc2d0", "b9a67423-893f-4758-8aed-4fc8e24b1f04", "5b793410-625a-4c3b-86c9-d6357b60ca53", "9a8b849f-2a37-4ac7-8a22-0ed90ce98a28", "2f2705e3-233c-4c6d-aeef-1163f5d53a53", "41e323b3-e4ce-412b-8df7-daa52d3cd818", "d5535459-28b1-4977-8256-fd2b6829e54f", "4bf3d71b-f37f-4a8f-b650-ae969d827bd8", "bdffe597-b7a8-46a2-b5df-6e961da1a2aa", "1b17a069-23d2-48b6-9a78-afb4db71375b", "787f1802-deb5-4c9b-abe5-51c094839384", "0dc0b2d1-8e5e-408a-9c39-3a98f32ab8fb", "65a2c5de-d296-4b11-89c5-94bbaeeb437e", "30925a4a-6a34-407f-94e6-e3238039181b"], "befores": [{"name": "_session_faker", "status": "passed", "start": 1691412966920, "stop": 1691412967056}], "start": 1691412966920, "stop": 1691412969506}
\ No newline at end of file
{"name": "反向用例-密码为特殊字符", "status": "passed", "attachments": [{"name": "log", "source": "d01675cd-86d7-4fad-bdcb-79e0b6f4f9c0-attachment.txt", "type": "text/plain"}, {"name": "stdout", "source": "1df37c93-8be6-43bf-bf02-2f0f870ea6cd-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": "'application/json'"}, {"name": "data", "value": "{'password': '▬♦◊◦☼♠♣', 'username': 'admin'}"}, {"name": "expect", "value": "{'state': False, 'message': '账号或密码错误'}"}, {"name": "sqltype", "value": "None"}, {"name": "sqlsentence", "value": "None"}, {"name": "updatakey", "value": "None"}], "start": 1691412968411, "stop": 1691412968515, "uuid": "4bf3d71b-f37f-4a8f-b650-ae969d827bd8", "historyId": "d47f225f414cd52cd2c4be15166397b9", "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": "DESKTOP-IFEUSC7"}, {"name": "thread", "value": "9248-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_bpm"}]}
\ No newline at end of file
{"uuid": "58f49a69-cc3a-429c-a746-15a6ce67c54c", "befores": [{"name": "interface", "status": "passed", "start": 1691412967915, "stop": 1691412967915}], "start": 1691412967915, "stop": 1691412968021}
\ No newline at end of file
{"uuid": "cb0d7384-7119-48e7-83b1-2b49f62206d8", "befores": [{"name": "sqlsentence", "status": "passed", "start": 1691412968410, "stop": 1691412968411}], "start": 1691412968410, "stop": 1691412968517}
\ No newline at end of file
{"uuid": "fac4ac75-f4df-4f4a-9f06-176076783e06", "befores": [{"name": "sqltype", "status": "passed", "start": 1691412969282, "stop": 1691412969282}], "start": 1691412969282, "stop": 1691412969350}
\ No newline at end of file
{"uuid": "3bd026a2-930f-431e-98ab-527147d88055", "befores": [{"name": "expect", "status": "passed", "start": 1691412968025, "stop": 1691412968025}], "start": 1691412968025, "stop": 1691412968130}
\ No newline at end of file
{"uuid": "6f505f77-c656-4968-9998-c51897b667bb", "befores": [{"name": "module", "status": "passed", "start": 1691412968410, "stop": 1691412968410}], "start": 1691412968410, "stop": 1691412968524}
\ No newline at end of file
{"uuid": "fd35c9ec-92c9-4dcb-8877-14615180294e", "befores": [{"name": "data", "status": "passed", "start": 1691412967457, "stop": 1691412967457}], "start": 1691412967457, "stop": 1691412967517}
\ No newline at end of file
{"name": "正向用例", "status": "passed", "attachments": [{"name": "log", "source": "fe46a814-1520-4186-9477-403ca8321cdc-attachment.txt", "type": "text/plain"}, {"name": "stdout", "source": "135b5045-fac8-4921-a90d-ecb6f373dcef-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": "'application/json'"}, {"name": "data", "value": "{'password': 'MTIzNDU2', 'username': 'admin'}"}, {"name": "expect", "value": "{'username': '超级管理员', 'account': 'admin'}"}, {"name": "sqltype", "value": "None"}, {"name": "sqlsentence", "value": "None"}, {"name": "updatakey", "value": "None"}], "start": 1691412967381, "stop": 1691412967441, "uuid": "afea7228-2c23-4aba-b2a1-7a83481bd0a3", "historyId": "98357aace79429a96dcb36c173fbfa06", "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": "DESKTOP-IFEUSC7"}, {"name": "thread", "value": "9248-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_bpm"}]}
\ No newline at end of file
eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE2OTE0OTkzNjcsImlhdCI6MTY5MTQxMjk2N30.d4AYmgdA6QuRK26-zhH2ofqXlk-TRblTHqrpLQVE-Q9P-FwOxW-110cFyZKwJglF7xRmzSt0e42BkyEAcAlEVg
断言成功
{"uuid": "c5a40b75-06f2-4cd2-a84e-bf5edb378338", "befores": [{"name": "mime", "status": "passed", "start": 1691412967374, "stop": 1691412967374}], "start": 1691412967374, "stop": 1691412967448}
\ No newline at end of file
{"uuid": "1af9bdce-8c9f-411c-8f7b-c71e27630a10", "befores": [{"name": "expect", "status": "passed", "start": 1691412968537, "stop": 1691412968537}], "start": 1691412968537, "stop": 1691412968828}
\ No newline at end of file
{"uuid": "03a1051b-c021-41a1-86ec-ad53faab3516", "befores": [{"name": "updatakey", "status": "passed", "start": 1691412968538, "stop": 1691412968538}], "start": 1691412968538, "stop": 1691412968816}
\ No newline at end of file
{"uuid": "f91727bd-2e21-49ec-bdb7-8b3428d93cf3", "befores": [{"name": "title", "status": "passed", "start": 1691412968292, "stop": 1691412968292}], "start": 1691412968292, "stop": 1691412968404}
\ No newline at end of file
{"uuid": "123cf618-e258-42e4-abc6-9bab68123099", "befores": [{"name": "sqltype", "status": "passed", "start": 1691412967525, "stop": 1691412967525}], "start": 1691412967525, "stop": 1691412967638}
\ No newline at end of file
{"uuid": "bdf465e3-01d5-4c05-90b8-f423cb87f136", "befores": [{"name": "mime", "status": "passed", "start": 1691412968988, "stop": 1691412968988}], "start": 1691412968988, "stop": 1691412969178}
\ No newline at end of file
{"uuid": "96087596-b3fe-4b20-9018-773a39207be5", "befores": [{"name": "interface", "status": "passed", "start": 1691412969281, "stop": 1691412969281}], "start": 1691412969281, "stop": 1691412969357}
\ No newline at end of file
{"uuid": "4d3fc4b8-5acf-4f8b-8569-e96ea758e52a", "befores": [{"name": "expect", "status": "passed", "start": 1691412967457, "stop": 1691412967457}], "start": 1691412967457, "stop": 1691412967516}
\ No newline at end of file
{"uuid": "9cea4969-c19d-414a-97e8-09928f4abc34", "befores": [{"name": "mime", "status": "passed", "start": 1691412967806, "stop": 1691412967806}], "start": 1691412967806, "stop": 1691412967908}
\ No newline at end of file
{"uuid": "df9c0540-db03-4c93-8502-9aa30310dbff", "befores": [{"name": "interface", "status": "passed", "start": 1691412968987, "stop": 1691412968987}], "start": 1691412968987, "stop": 1691412969184}
\ No newline at end of file
{"uuid": "e01071a6-4135-445a-b07c-06888e447583", "befores": [{"name": "mime", "status": "passed", "start": 1691412969365, "stop": 1691412969365}], "start": 1691412969365, "stop": 1691412969493}
\ No newline at end of file
{"uuid": "3c6302ab-6c2a-4417-aa35-55c9dac5e707", "befores": [{"name": "expect", "status": "passed", "start": 1691412969190, "stop": 1691412969190}], "start": 1691412969190, "stop": 1691412969269}
\ No newline at end of file
{"uuid": "ce849217-1005-4c83-be5b-5ecae3c2794b", "befores": [{"name": "expect", "status": "passed", "start": 1691412967916, "stop": 1691412967916}], "start": 1691412967916, "stop": 1691412968016}
\ No newline at end of file
{"uuid": "d8d0f097-250f-4c6e-82f8-23c970d2d01e", "befores": [{"name": "module", "status": "passed", "start": 1691412968163, "stop": 1691412968163}], "start": 1691412968163, "stop": 1691412968287}
\ No newline at end of file
{"uuid": "abf5b679-f382-4740-ac79-e7b81380d833", "befores": [{"name": "mime", "status": "passed", "start": 1691412967457, "stop": 1691412967457}], "start": 1691412967457, "stop": 1691412967517}
\ No newline at end of file
{"uuid": "0e1fb3ad-11c0-42a1-97aa-813062c74b1e", "befores": [{"name": "url", "status": "passed", "start": 1691412967915, "stop": 1691412967916}], "start": 1691412967915, "stop": 1691412968019}
\ No newline at end of file
{"name": "反向用例-用户名特殊字符", "status": "passed", "attachments": [{"name": "log", "source": "c4c200a1-8893-4d4b-8698-30d5c1750b53-attachment.txt", "type": "text/plain"}, {"name": "stdout", "source": "d2a9e7a1-053e-44a5-8133-f24554a8c42c-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": "'application/json'"}, {"name": "data", "value": "{'password': 'MTIzNDU2', 'username': '▬♦◊◦☼♠♣'}"}, {"name": "expect", "value": "{'state': False, 'message': '账号或密码错误'}"}, {"name": "sqltype", "value": "None"}, {"name": "sqlsentence", "value": "None"}, {"name": "updatakey", "value": "None"}], "start": 1691412967807, "stop": 1691412967904, "uuid": "5b793410-625a-4c3b-86c9-d6357b60ca53", "historyId": "a0502452da70d924dbdea3f536ad8015", "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": "DESKTOP-IFEUSC7"}, {"name": "thread", "value": "9248-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": "82d1ba3e-86da-4f04-9aa8-65c321f534ef-attachment.txt", "type": "text/plain"}, {"name": "stdout", "source": "4747ad83-dd7c-4165-a9be-3d421d9af551-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": "'application/json'"}, {"name": "data", "value": "{'password': 'MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2', 'username': 'admin'}"}, {"name": "expect", "value": "{'state': False, 'message': '账号或密码错误'}"}, {"name": "sqltype", "value": "None"}, {"name": "sqlsentence", "value": "None"}, {"name": "updatakey", "value": "None"}], "start": 1691412968164, "stop": 1691412968270, "uuid": "41e323b3-e4ce-412b-8df7-daa52d3cd818", "historyId": "1583d8257c325d21eabb5675af66c678", "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": "DESKTOP-IFEUSC7"}, {"name": "thread", "value": "9248-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:56:09--http://120.46.172.186:8080 "POST /api/org/v1/orgParam/saveOrgParams?orgCode=test56_org HTTP/1.1" 200 None
\ No newline at end of file
DEBUG--2023-08-07 20:56:08--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:56:08--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
\ No newline at end of file
{"uuid": "9f27e304-3a31-443c-9e5b-e2766e388a72", "befores": [{"name": "title", "status": "passed", "start": 1691412968987, "stop": 1691412968987}], "start": 1691412968987, "stop": 1691412969183}
\ No newline at end of file
{"uuid": "c79561a8-c074-41a5-8b96-d7b7717a6973", "befores": [{"name": "sqlsentence", "status": "passed", "start": 1691412969365, "stop": 1691412969365}], "start": 1691412969365, "stop": 1691412969487}
\ No newline at end of file
{"uuid": "94e5085f-85f4-4e0c-9892-537112a5e65e", "befores": [{"name": "sqlsentence", "status": "passed", "start": 1691412968538, "stop": 1691412968538}], "start": 1691412968538, "stop": 1691412968825}
\ No newline at end of file
{"uuid": "b8663666-9e92-4689-ae18-174fe22a9951", "befores": [{"name": "data", "status": "passed", "start": 1691412969190, "stop": 1691412969190}], "start": 1691412969190, "stop": 1691412969269}
\ No newline at end of file
{"uuid": "721b7a11-9e31-4733-a592-d3014dc4a08f", "befores": [{"name": "url", "status": "passed", "start": 1691412968537, "stop": 1691412968537}], "start": 1691412968537, "stop": 1691412968829}
\ No newline at end of file
{"uuid": "fad112dd-093a-49a8-8809-8fe6c4139c05", "befores": [{"name": "level", "status": "passed", "start": 1691412968163, "stop": 1691412968163}], "start": 1691412968163, "stop": 1691412968284}
\ No newline at end of file
{"uuid": "6f8eddad-0ab7-4f0c-b6b3-eed2870614f6", "befores": [{"name": "module", "status": "passed", "start": 1691412968537, "stop": 1691412968537}], "start": 1691412968537, "stop": 1691412968832}
\ No newline at end of file
{"uuid": "3094e4ff-efc3-4ab2-a527-92ee103057af", "befores": [{"name": "title", "status": "passed", "start": 1691412967915, "stop": 1691412967915}], "start": 1691412967915, "stop": 1691412968020}
\ No newline at end of file
{"uuid": "6dea8640-23fe-4bb9-8ebe-fe28fe68a654", "befores": [{"name": "method", "status": "passed", "start": 1691412968987, "stop": 1691412968987}], "start": 1691412968987, "stop": 1691412969181}
\ No newline at end of file
{"uuid": "5e1aba11-4965-44f7-beeb-4a0adf349284", "befores": [{"name": "updatakey", "status": "passed", "start": 1691412968164, "stop": 1691412968164}], "start": 1691412968164, "stop": 1691412968272}
\ No newline at end of file
{"uuid": "4685f4c8-1910-44ee-855e-11026fc27fc7", "befores": [{"name": "title", "status": "passed", "start": 1691412968537, "stop": 1691412968537}], "start": 1691412968537, "stop": 1691412968831}
\ No newline at end of file
{"uuid": "4388560e-ecaa-4573-a5a1-8136ca478490", "befores": [{"name": "url", "status": "passed", "start": 1691412969190, "stop": 1691412969190}], "start": 1691412969190, "stop": 1691412969272}
\ No newline at end of file
{"uuid": "a91125d3-ea97-4a7e-94ea-8b1bc8310a25", "befores": [{"name": "url", "status": "passed", "start": 1691412967374, "stop": 1691412967374}], "start": 1691412967374, "stop": 1691412967448}
\ No newline at end of file
{"uuid": "64829a67-2b0a-4dde-8165-0320729b8bf9", "befores": [{"name": "mime", "status": "passed", "start": 1691412968410, "stop": 1691412968410}], "start": 1691412968410, "stop": 1691412968521}
\ No newline at end of file
{"uuid": "df93841c-1ce1-45c4-a0c5-f9c6bbd4abfc", "befores": [{"name": "level", "status": "passed", "start": 1691412968410, "stop": 1691412968410}], "start": 1691412968410, "stop": 1691412968523}
\ No newline at end of file
{"uuid": "7114722e-9c0e-4b7c-be37-c8e7cdf9d758", "befores": [{"name": "sqltype", "status": "passed", "start": 1691412969365, "stop": 1691412969365}], "start": 1691412969365, "stop": 1691412969488}
\ No newline at end of file
{"uuid": "b60e054c-7fa5-405e-abd0-cbfd075691ca", "befores": [{"name": "interface", "status": "passed", "start": 1691412967665, "stop": 1691412967665}], "start": 1691412967665, "stop": 1691412967800}
\ No newline at end of file
{"uuid": "9607b7f2-66c9-4647-83be-526d2cd105fa", "befores": [{"name": "method", "status": "passed", "start": 1691412969281, "stop": 1691412969282}], "start": 1691412969281, "stop": 1691412969356}
\ No newline at end of file
{"uuid": "56aea3c1-552d-4642-a86f-7c589c910d3b", "befores": [{"name": "interface", "status": "passed", "start": 1691412968025, "stop": 1691412968025}], "start": 1691412968025, "stop": 1691412968159}
\ No newline at end of file
{"uuid": "5d28ec40-6008-409f-999d-7f5f0d5e7be5", "befores": [{"name": "sqlsentence", "status": "passed", "start": 1691412967374, "stop": 1691412967374}], "start": 1691412967374, "stop": 1691412967442}
\ No newline at end of file
{"uuid": "3aaf6bd2-cb96-49b0-923a-d270acb7c7c0", "befores": [{"name": "expect", "status": "passed", "start": 1691412968293, "stop": 1691412968293}], "start": 1691412968293, "stop": 1691412968400}
\ No newline at end of file
{"uuid": "4f9d69e0-4783-4856-b3b5-5438324625ee", "befores": [{"name": "level", "status": "passed", "start": 1691412968537, "stop": 1691412968537}], "start": 1691412968537, "stop": 1691412968830}
\ No newline at end of file
{"uuid": "4c63fe7b-cf31-484d-bf34-557fc437825f", "befores": [{"name": "sqlsentence", "status": "passed", "start": 1691412968164, "stop": 1691412968164}], "start": 1691412968164, "stop": 1691412968274}
\ No newline at end of file
{"uuid": "4ef0b4b7-6c15-4ba2-bedf-07e2047c6c61", "befores": [{"name": "method", "status": "passed", "start": 1691412967806, "stop": 1691412967806}], "start": 1691412967806, "stop": 1691412967909}
\ No newline at end of file
{"uuid": "9fd5972c-5e11-4231-ae0b-35f2a8840059", "befores": [{"name": "module", "status": "passed", "start": 1691412967456, "stop": 1691412967457}], "start": 1691412967456, "stop": 1691412967521}
\ No newline at end of file
{"uuid": "e10a6e8d-31b6-4ce8-8415-402755112d59", "befores": [{"name": "updatakey", "status": "passed", "start": 1691412969365, "stop": 1691412969365}], "start": 1691412969365, "stop": 1691412969486}
\ No newline at end of file
{"uuid": "a6274d9f-d69f-4116-97e1-0939b8ee3899", "befores": [{"name": "level", "status": "passed", "start": 1691412968293, "stop": 1691412968293}], "start": 1691412968293, "stop": 1691412968403}
\ No newline at end of file
{"uuid": "d4a153df-4d03-4f41-afee-3f4887eabea8", "befores": [{"name": "url", "status": "passed", "start": 1691412968163, "stop": 1691412968163}], "start": 1691412968163, "stop": 1691412968282}
\ No newline at end of file
{"uuid": "c08c1246-45b1-4ae2-8259-f1f69a6ce96b", "befores": [{"name": "title", "status": "passed", "start": 1691412967806, "stop": 1691412967806}], "start": 1691412967806, "stop": 1691412967910}
\ No newline at end of file
{"uuid": "a85d908f-eb1b-4ed9-94f1-ebfb9d9a8352", "befores": [{"name": "expect", "status": "passed", "start": 1691412967806, "stop": 1691412967806}], "start": 1691412967806, "stop": 1691412967907}
\ No newline at end of file
{"uuid": "e3682157-bba7-41bb-b515-933589270f8e", "befores": [{"name": "data", "status": "passed", "start": 1691412967666, "stop": 1691412967667}], "start": 1691412967666, "stop": 1691412967771}
\ No newline at end of file
DEBUG--2023-08-07 20:56:09--http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1688534492479766528 HTTP/1.1" 200 None
ERROR--2023-08-07 20:56:09--断言失败, 模块名称为:维度管理,接口名称为:根据维度编码删除维度,用例标题:正向用例,用例为:{'ids': '1688534492479766528'},期望结果为:{'state': True, 'message': '删除维度成功'},服务器返回数据为:{"state":true,"message":"删除维度成功!","value":""}
\ No newline at end of file
{"uuid": "b3d5bf6c-6265-4bf6-a0be-14dba569312f", "befores": [{"name": "updatakey", "status": "passed", "start": 1691412968988, "stop": 1691412968988}], "start": 1691412968988, "stop": 1691412969173}
\ No newline at end of file
{"uuid": "321b112a-5859-4963-ad98-22b34a0f330d", "befores": [{"name": "sqltype", "status": "passed", "start": 1691412968988, "stop": 1691412968988}], "start": 1691412968988, "stop": 1691412969174}
\ No newline at end of file
{"uuid": "45aa1050-99bf-4388-bd5d-c6474aec3e52", "befores": [{"name": "url", "status": "passed", "start": 1691412967666, "stop": 1691412967666}], "start": 1691412967666, "stop": 1691412967772}
\ No newline at end of file
{"uuid": "3266f931-2157-4a47-b7e3-cc876e66a1c5", "befores": [{"name": "data", "status": "passed", "start": 1691412969282, "stop": 1691412969282}], "start": 1691412969282, "stop": 1691412969353}
\ No newline at end of file
{"uuid": "bef81014-b56b-42f7-a896-8e019fdab39c", "befores": [{"name": "sqlsentence", "status": "passed", "start": 1691412968026, "stop": 1691412968026}], "start": 1691412968026, "stop": 1691412968129}
\ No newline at end of file
{"uuid": "c21bd478-5305-4a01-9627-90bda6f33b82", "befores": [{"name": "title", "status": "passed", "start": 1691412967374, "stop": 1691412967374}], "start": 1691412967374, "stop": 1691412967451}
\ No newline at end of file
{"uuid": "142bcc7b-41b8-47ed-824f-f25565b12003", "befores": [{"name": "sqltype", "status": "passed", "start": 1691412968293, "stop": 1691412968293}], "start": 1691412968293, "stop": 1691412968400}
\ No newline at end of file
{"uuid": "b428c7d8-69a7-4553-9e57-dd76420e0977", "befores": [{"name": "title", "status": "passed", "start": 1691412967666, "stop": 1691412967666}], "start": 1691412967666, "stop": 1691412967773}
\ No newline at end of file
{"uuid": "525c5255-90f2-49ba-9139-f98172a94237", "befores": [{"name": "title", "status": "passed", "start": 1691412968410, "stop": 1691412968410}], "start": 1691412968410, "stop": 1691412968524}
\ No newline at end of file
{"uuid": "f4375365-deaf-4105-93f2-61743c6078af", "befores": [{"name": "updatakey", "status": "passed", "start": 1691412968026, "stop": 1691412968026}], "start": 1691412968026, "stop": 1691412968128}
\ No newline at end of file
{"uuid": "0d365c08-de4c-4efe-b7a7-07d8d2a22ead", "befores": [{"name": "expect", "status": "passed", "start": 1691412967525, "stop": 1691412967525}], "start": 1691412967525, "stop": 1691412967640}
\ No newline at end of file
{"uuid": "9afc06f9-82a8-416e-8bf7-57a71116f947", "befores": [{"name": "module", "status": "passed", "start": 1691412967805, "stop": 1691412967805}], "start": 1691412967805, "stop": 1691412967911}
\ No newline at end of file
{"uuid": "f4b6c923-3b01-4bd3-9e45-38a9d3c42dc2", "befores": [{"name": "title", "status": "passed", "start": 1691412968163, "stop": 1691412968163}], "start": 1691412968163, "stop": 1691412968285}
\ No newline at end of file
{"uuid": "a8652bef-53df-4339-b86a-75e2e923b7cc", "befores": [{"name": "module", "status": "passed", "start": 1691412967915, "stop": 1691412967915}], "start": 1691412967915, "stop": 1691412968021}
\ No newline at end of file
{"uuid": "c5082afb-3bae-4c37-8a27-7e2f63e8a69b", "befores": [{"name": "mime", "status": "passed", "start": 1691412969282, "stop": 1691412969282}], "start": 1691412969282, "stop": 1691412969353}
\ No newline at end of file
{"uuid": "a2c86f0e-5ffc-46b6-b8e4-69e75304c186", "befores": [{"name": "module", "status": "passed", "start": 1691412968987, "stop": 1691412968987}], "start": 1691412968987, "stop": 1691412969184}
\ No newline at end of file
{"uuid": "47c31d5f-8a84-4e9f-aa1d-cac6c700d309", "befores": [{"name": "url", "status": "passed", "start": 1691412968836, "stop": 1691412968836}], "start": 1691412968836, "stop": 1691412968981}
\ No newline at end of file
{"uuid": "67ae5174-f0e2-4d16-9fe8-1bef1829ba79", "befores": [{"name": "sqlsentence", "status": "passed", "start": 1691412969190, "stop": 1691412969190}], "start": 1691412969190, "stop": 1691412969266}
\ No newline at end of file
{"uuid": "1f962634-03ca-4a47-8384-2b527e846148", "befores": [{"name": "updatakey", "status": "passed", "start": 1691412969190, "stop": 1691412969190}], "start": 1691412969190, "stop": 1691412969266}
\ No newline at end of file
{"uuid": "57557ac7-77fd-4aba-80d9-6b4ae3f1652c", "befores": [{"name": "url", "status": "passed", "start": 1691412967806, "stop": 1691412967806}], "start": 1691412967806, "stop": 1691412967909}
\ No newline at end of file
{"uuid": "cff2281f-0e93-4137-b736-e44aa83dc682", "befores": [{"name": "title", "status": "passed", "start": 1691412967525, "stop": 1691412967525}], "start": 1691412967525, "stop": 1691412967656}
\ No newline at end of file
{"uuid": "4251036f-98a1-4f2b-84c8-194f3544ac36", "befores": [{"name": "sqltype", "status": "passed", "start": 1691412968026, "stop": 1691412968026}], "start": 1691412968025, "stop": 1691412968129}
\ No newline at end of file
{"uuid": "c456b2ab-0303-4a81-a871-40379e59e48e", "befores": [{"name": "expect", "status": "passed", "start": 1691412968164, "stop": 1691412968164}], "start": 1691412968164, "stop": 1691412968277}
\ No newline at end of file
{"uuid": "0f91026f-ec69-43b5-b4c2-7162115bf7fe", "befores": [{"name": "title", "status": "passed", "start": 1691412969281, "stop": 1691412969281}], "start": 1691412969281, "stop": 1691412969357}
\ No newline at end of file
{"uuid": "3e679273-4570-40f8-b93d-2d08dbf9e2d7", "befores": [{"name": "module", "status": "passed", "start": 1691412968292, "stop": 1691412968292}], "start": 1691412968292, "stop": 1691412968406}
\ No newline at end of file
{"uuid": "2f5f9214-43d0-4a0d-bc31-66a22c2982f1", "befores": [{"name": "level", "status": "passed", "start": 1691412967666, "stop": 1691412967666}], "start": 1691412967666, "stop": 1691412967773}
\ No newline at end of file
{"uuid": "622ffecb-a8e6-43dd-9bf3-78ce0295b2fb", "befores": [{"name": "updatakey", "status": "passed", "start": 1691412969282, "stop": 1691412969282}], "start": 1691412969282, "stop": 1691412969349}
\ No newline at end of file
{"uuid": "cc7629c2-2a2c-450d-a7dd-5d9ebe5cf874", "befores": [{"name": "expect", "status": "passed", "start": 1691412968410, "stop": 1691412968410}], "start": 1691412968410, "stop": 1691412968518}
\ No newline at end of file
{"uuid": "1cf87cc1-f762-4356-bdd3-ccf2c962af7b", "befores": [{"name": "updatakey", "status": "passed", "start": 1691412968294, "stop": 1691412968294}], "start": 1691412968294, "stop": 1691412968399}
\ No newline at end of file
{"uuid": "8004c52a-62c8-4405-85e0-e11722bd3838", "befores": [{"name": "sqltype", "status": "passed", "start": 1691412968164, "stop": 1691412968164}], "start": 1691412968164, "stop": 1691412968276}
\ No newline at end of file
{"uuid": "abb81974-81d2-40ae-91cf-ed72daad54d0", "befores": [{"name": "expect", "status": "passed", "start": 1691412968837, "stop": 1691412968837}], "start": 1691412968837, "stop": 1691412968979}
\ No newline at end of file
{"uuid": "d057d63c-6d41-4e35-8e6e-255e46a169a0", "befores": [{"name": "method", "status": "passed", "start": 1691412969365, "stop": 1691412969365}], "start": 1691412969365, "stop": 1691412969496}
\ No newline at end of file
{"uuid": "94e14556-69f2-48dc-9abb-828b422d5f2c", "befores": [{"name": "interface", "status": "passed", "start": 1691412968163, "stop": 1691412968163}], "start": 1691412968163, "stop": 1691412968286}
\ No newline at end of file
{"uuid": "67048366-a6f4-4031-862a-9c5adf1f7703", "befores": [{"name": "updatakey", "status": "passed", "start": 1691412968837, "stop": 1691412968837}], "start": 1691412968837, "stop": 1691412968977}
\ No newline at end of file
{"uuid": "7828dcd2-ea51-4ce8-aed8-ddd44dcca0f0", "befores": [{"name": "module", "status": "passed", "start": 1691412969281, "stop": 1691412969281}], "start": 1691412969281, "stop": 1691412969359}
\ No newline at end of file
{"uuid": "815fe36b-4e94-4a6c-a7eb-9d708b3f7945", "befores": [{"name": "title", "status": "passed", "start": 1691412969189, "stop": 1691412969189}], "start": 1691412969189, "stop": 1691412969274}
\ No newline at end of file
{"name": "反向用例-用户名错误", "status": "passed", "attachments": [{"name": "log", "source": "9baa6991-f6f0-44d7-b88d-35beb6615066-attachment.txt", "type": "text/plain"}, {"name": "stdout", "source": "2f6cafd8-96e1-44f6-997d-7aca9a076e7c-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": "data", "value": "{'password': 'MTIzNDU2', 'username': 'tomcat'}"}, {"name": "expect", "value": "{'state': False, 'message': '账号或密码错误'}"}, {"name": "sqltype", "value": "None"}, {"name": "sqlsentence", "value": "None"}, {"name": "updatakey", "value": "None"}], "start": 1691412967917, "stop": 1691412968013, "uuid": "9a8b849f-2a37-4ac7-8a22-0ed90ce98a28", "historyId": "0bc244764898381335e19a8275f4cc75", "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": "DESKTOP-IFEUSC7"}, {"name": "thread", "value": "9248-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:56:07--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:56:07--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
\ No newline at end of file
{"uuid": "288ece12-dff2-45a1-a1f3-bb86e1351c1c", "befores": [{"name": "interface", "status": "passed", "start": 1691412968836, "stop": 1691412968836}], "start": 1691412968836, "stop": 1691412968983}
\ No newline at end of file
{"uuid": "7d470a99-5eae-48b2-acbe-e79d6dc0ec0a", "befores": [{"name": "sqlsentence", "status": "passed", "start": 1691412967457, "stop": 1691412967457}], "start": 1691412967457, "stop": 1691412967515}
\ No newline at end of file
DEBUG--2023-08-07 20:56:08--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:56:08--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
\ No newline at end of file
{"uuid": "65e49b44-6e67-4ab7-a80d-9efd111ed677", "befores": [{"name": "module", "status": "passed", "start": 1691412968836, "stop": 1691412968836}], "start": 1691412968836, "stop": 1691412968983}
\ No newline at end of file
{"uuid": "3d1bcbe6-3a57-4701-bd31-378467529b46", "befores": [{"name": "interface", "status": "passed", "start": 1691412969189, "stop": 1691412969189}], "start": 1691412969189, "stop": 1691412969276}
\ No newline at end of file
{"uuid": "d4c44dce-4f43-4469-a293-ef4fceb82deb", "befores": [{"name": "level", "status": "passed", "start": 1691412967374, "stop": 1691412967374}], "start": 1691412967374, "stop": 1691412967450}
\ No newline at end of file
{"uuid": "1e9f3bf9-1069-41c7-bab3-9cdb873f3112", "befores": [{"name": "method", "status": "passed", "start": 1691412968836, "stop": 1691412968836}], "start": 1691412968836, "stop": 1691412968981}
\ No newline at end of file
{"uuid": "8de91dfc-195c-4f0f-a81b-56fd62727803", "befores": [{"name": "method", "status": "passed", "start": 1691412968293, "stop": 1691412968293}], "start": 1691412968293, "stop": 1691412968403}
\ No newline at end of file
{"uuid": "d2e90b4e-19f7-4023-8cce-152b9c37406e", "befores": [{"name": "sqlsentence", "status": "passed", "start": 1691412968988, "stop": 1691412968988}], "start": 1691412968988, "stop": 1691412969174}
\ No newline at end of file
{"uuid": "876eabdb-67b8-41f0-83a8-4014ad308bfe", "befores": [{"name": "url", "status": "passed", "start": 1691412967457, "stop": 1691412967457}], "start": 1691412967457, "stop": 1691412967518}
\ No newline at end of file
{"uuid": "2a12f530-2170-4e8e-a71f-4d8e6c7d1d1d", "befores": [{"name": "method", "status": "passed", "start": 1691412968537, "stop": 1691412968537}], "start": 1691412968537, "stop": 1691412968829}
\ No newline at end of file
DEBUG--2023-08-07 20:56:08--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:56:08--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
\ No newline at end of file
{"uuid": "602c166a-b7d9-45d5-b422-da2848188303", "befores": [{"name": "interface", "status": "passed", "start": 1691412968537, "stop": 1691412968537}], "start": 1691412968537, "stop": 1691412968832}
\ No newline at end of file
{"uuid": "8fa79836-47a4-4a36-b927-1f2429478d5d", "befores": [{"name": "mime", "status": "passed", "start": 1691412968293, "stop": 1691412968293}], "start": 1691412968293, "stop": 1691412968401}
\ No newline at end of file
{"uuid": "9be184a3-b12a-4849-9245-fdfe3e3d4389", "befores": [{"name": "sqlsentence", "status": "passed", "start": 1691412967667, "stop": 1691412967667}], "start": 1691412967667, "stop": 1691412967769}
\ No newline at end of file
{"uuid": "5ce1b09c-3c67-47ec-b847-13a8b28ec564", "befores": [{"name": "method", "status": "passed", "start": 1691412969189, "stop": 1691412969190}], "start": 1691412969189, "stop": 1691412969273}
\ No newline at end of file
{"name": "反向用例-用户名过长", "status": "passed", "attachments": [{"name": "log", "source": "755b9180-ce44-4f99-b61c-1d9c5b14142f-attachment.txt", "type": "text/plain"}, {"name": "stdout", "source": "48609b42-6a96-4fc0-ae41-b2d06868b075-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": "'application/json'"}, {"name": "data", "value": "{'password': 'MTIzNDU2', 'username': 'adminadminadminadminadminadminadminadminadmin'}"}, {"name": "expect", "value": "{'state': False, 'message': '账号或密码错误'}"}, {"name": "sqltype", "value": "None"}, {"name": "sqlsentence", "value": "None"}, {"name": "updatakey", "value": "None"}], "start": 1691412967526, "stop": 1691412967630, "uuid": "3026d598-4ede-42a4-a4d7-2815950fc2d0", "historyId": "db7f8347492d126be5aa0bc4cf128a49", "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": "DESKTOP-IFEUSC7"}, {"name": "thread", "value": "9248-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_bpm"}]}
\ No newline at end of file
{"uuid": "3a615b8e-ee64-4da0-b993-519b8074eace", "befores": [{"name": "sqltype", "status": "passed", "start": 1691412968410, "stop": 1691412968410}], "start": 1691412968410, "stop": 1691412968517}
\ No newline at end of file
{"uuid": "aab66e11-6916-40f7-ba5c-ae3c3e5efdb6", "befores": [{"name": "level", "status": "passed", "start": 1691412969281, "stop": 1691412969281}], "start": 1691412969281, "stop": 1691412969356}
\ No newline at end of file
{"uuid": "cf099b49-24bd-4a0f-ac38-331e13a50e20", "befores": [{"name": "data", "status": "passed", "start": 1691412968988, "stop": 1691412968988}], "start": 1691412968988, "stop": 1691412969177}
\ No newline at end of file
{"uuid": "94c99137-9b64-450c-b8be-8b3224d80af0", "befores": [{"name": "updatakey", "status": "passed", "start": 1691412967525, "stop": 1691412967526}], "start": 1691412967525, "stop": 1691412967633}
\ No newline at end of file
{"uuid": "a0e17cf9-e645-4fd2-8f42-bd3f66e35c03", "befores": [{"name": "interface", "status": "passed", "start": 1691412968410, "stop": 1691412968410}], "start": 1691412968410, "stop": 1691412968524}
\ No newline at end of file
{"uuid": "98a9dd46-9dc7-42af-83f9-7c77594c8515", "befores": [{"name": "interface", "status": "passed", "start": 1691412967806, "stop": 1691412967806}], "start": 1691412967805, "stop": 1691412967911}
\ No newline at end of file
{"uuid": "09ee3216-5382-45cd-a5f7-f3b9bee68898", "children": ["afea7228-2c23-4aba-b2a1-7a83481bd0a3", "06ee874d-bcb8-4d3b-a1b4-6238f2a01aa1", "3026d598-4ede-42a4-a4d7-2815950fc2d0", "b9a67423-893f-4758-8aed-4fc8e24b1f04", "5b793410-625a-4c3b-86c9-d6357b60ca53", "9a8b849f-2a37-4ac7-8a22-0ed90ce98a28", "2f2705e3-233c-4c6d-aeef-1163f5d53a53", "41e323b3-e4ce-412b-8df7-daa52d3cd818", "d5535459-28b1-4977-8256-fd2b6829e54f", "4bf3d71b-f37f-4a8f-b650-ae969d827bd8", "bdffe597-b7a8-46a2-b5df-6e961da1a2aa", "1b17a069-23d2-48b6-9a78-afb4db71375b", "787f1802-deb5-4c9b-abe5-51c094839384", "0dc0b2d1-8e5e-408a-9c39-3a98f32ab8fb", "65a2c5de-d296-4b11-89c5-94bbaeeb437e", "30925a4a-6a34-407f-94e6-e3238039181b"], "befores": [{"name": "req_fix", "status": "passed", "start": 1691412967057, "stop": 1691412967162}], "start": 1691412967056, "stop": 1691412969504}
\ No newline at end of file
{"uuid": "90cddae8-1cc1-4334-8769-db0bbd0719b2", "befores": [{"name": "data", "status": "passed", "start": 1691412967916, "stop": 1691412967916}], "start": 1691412967916, "stop": 1691412968018}
\ No newline at end of file
DEBUG--2023-08-07 20:56:07--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:56:08--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
\ No newline at end of file
{"uuid": "17258e00-5abd-48e6-a8e9-988d947a6e55", "befores": [{"name": "mime", "status": "passed", "start": 1691412967525, "stop": 1691412967525}], "start": 1691412967525, "stop": 1691412967643}
\ No newline at end of file
{"uuid": "937302ff-b9c7-4f1d-9ebe-f7f42b88e592", "befores": [{"name": "level", "status": "passed", "start": 1691412969365, "stop": 1691412969365}], "start": 1691412969365, "stop": 1691412969498}
\ No newline at end of file
{"uuid": "958dbbe4-617a-4f8a-8795-a54403d616d4", "befores": [{"name": "method", "status": "passed", "start": 1691412967374, "stop": 1691412967374}], "start": 1691412967374, "stop": 1691412967449}
\ No newline at end of file
{"uuid": "0984a50c-bcf7-4a4f-b7c0-01d773c94160", "befores": [{"name": "url", "status": "passed", "start": 1691412968987, "stop": 1691412968987}], "start": 1691412968987, "stop": 1691412969180}
\ No newline at end of file
{"uuid": "ff7706e1-18af-40ef-8ef8-a8e9994ffe3e", "befores": [{"name": "level", "status": "passed", "start": 1691412968836, "stop": 1691412968836}], "start": 1691412968836, "stop": 1691412968982}
\ No newline at end of file
{"uuid": "12077cf1-489c-4857-b0c7-409ca0629917", "befores": [{"name": "interface", "status": "passed", "start": 1691412969364, "stop": 1691412969365}], "start": 1691412969364, "stop": 1691412969502}
\ No newline at end of file
{"uuid": "20483f29-d76d-45c0-964a-be9733b38016", "befores": [{"name": "mime", "status": "passed", "start": 1691412967916, "stop": 1691412967916}], "start": 1691412967916, "stop": 1691412968018}
\ No newline at end of file
{"name": "反向用例-用户名过短", "status": "passed", "attachments": [{"name": "log", "source": "b1507e27-b71a-4cc6-b6bd-f59b2de33aa6-attachment.txt", "type": "text/plain"}, {"name": "stdout", "source": "a69411fa-3090-46f1-a178-62095c9c0a22-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": "'application/json'"}, {"name": "data", "value": "{'password': 'MTIzNDU2', 'username': 'a'}"}, {"name": "expect", "value": "{'state': False, 'message': '账号或密码错误'}"}, {"name": "sqltype", "value": "None"}, {"name": "sqlsentence", "value": "None"}, {"name": "updatakey", "value": "None"}], "start": 1691412967668, "stop": 1691412967768, "uuid": "b9a67423-893f-4758-8aed-4fc8e24b1f04", "historyId": "a630861595e4d5075fdcba67048830da", "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": "DESKTOP-IFEUSC7"}, {"name": "thread", "value": "9248-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_bpm"}]}
\ No newline at end of file
{"uuid": "39ba33a8-7879-4edc-ba31-4fa68c20f75b", "befores": [{"name": "mime", "status": "passed", "start": 1691412967666, "stop": 1691412967666}], "start": 1691412967666, "stop": 1691412967771}
\ No newline at end of file
{"name": "正向用例", "status": "passed", "attachments": [{"name": "log", "source": "26c02b1d-c150-4839-846e-1dcd55ea5738-attachment.txt", "type": "text/plain"}, {"name": "stdout", "source": "f76964d7-108e-4282-b2bc-c42f4a60a162-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": "'application/json|query'"}, {"name": "data", "value": "{'query': {'orgCode': 'test56_org'}, 'body': [{'alias': 'sz', 'value': 0}, {'alias': 'zy', 'value': 'math'}, {'alias': 'rq', 'value': '2023-08-04T16:00:00.000Z'}, {'alias': 'ah', 'value': 'lq'}, {'alias': 'yyyy', 'value': '越高越好'}, {'alias': 'xb', 'value': '2'}]}"}, {"name": "expect", "value": "{'state': True, 'message': '保存组织参数成功!'}"}, {"name": "sqltype", "value": "None"}, {"name": "sqlsentence", "value": "None"}, {"name": "updatakey", "value": "None"}], "start": 1691412969191, "stop": 1691412969265, "uuid": "0dc0b2d1-8e5e-408a-9c39-3a98f32ab8fb", "historyId": "74e8920fe95c2c7a6d36157ccbacbeb9", "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": "DESKTOP-IFEUSC7"}, {"name": "thread", "value": "9248-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_bpm"}]}
\ No newline at end of file
{"uuid": "c0cc7a72-5cd1-4372-8905-112af7426907", "befores": [{"name": "updatakey", "status": "passed", "start": 1691412967458, "stop": 1691412967458}], "start": 1691412967458, "stop": 1691412967515}
\ No newline at end of file
{"uuid": "d84f6fc7-2786-4007-b632-cb1a2e17df6e", "befores": [{"name": "url", "status": "passed", "start": 1691412968025, "stop": 1691412968025}], "start": 1691412968025, "stop": 1691412968157}
\ No newline at end of file
{"uuid": "72d570ac-002d-439d-9457-c4e754d65fa5", "befores": [{"name": "module", "status": "passed", "start": 1691412967524, "stop": 1691412967524}], "start": 1691412967524, "stop": 1691412967659}
\ No newline at end of file
DEBUG--2023-08-07 20:56:07--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:56:07--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
\ No newline at end of file
{"uuid": "38fc6e39-eae0-4cd6-9c9c-ce89fed0d47c", "befores": [{"name": "interface", "status": "passed", "start": 1691412968292, "stop": 1691412968292}], "start": 1691412968292, "stop": 1691412968405}
\ No newline at end of file
{"uuid": "81bda31b-6cbc-429e-92b0-81d6a4e31ddf", "befores": [{"name": "title", "status": "passed", "start": 1691412968025, "stop": 1691412968025}], "start": 1691412968025, "stop": 1691412968158}
\ No newline at end of file
{"uuid": "47f5a570-ef4f-406e-8e10-3d1d0c73019b", "befores": [{"name": "method", "status": "passed", "start": 1691412967457, "stop": 1691412967457}], "start": 1691412967457, "stop": 1691412967518}
\ No newline at end of file
{"uuid": "e9121b0e-e145-4a65-bad9-36a74fc1a5d3", "befores": [{"name": "sqltype", "status": "passed", "start": 1691412967806, "stop": 1691412967806}], "start": 1691412967806, "stop": 1691412967907}
\ No newline at end of file
{"name": "正向用例", "status": "passed", "attachments": [{"name": "log", "source": "c380246b-8dc5-41d1-b79f-f11fc92e9e76-attachment.txt", "type": "text/plain"}, {"name": "stdout", "source": "add5e4f4-b143-425d-a7f6-cc10c29cd657-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": "'application/json'"}, {"name": "data", "value": "{'code': 'test56_dem', 'description': '测试56期的维度', 'isDefault': 0, 'name': '测试56期的维度'}"}, {"name": "expect", "value": "{'state': True, 'message': '添加维度成功!'}"}, {"name": "sqltype", "value": "'delete'"}, {"name": "sqlsentence", "value": "'DELETE FROM uc_demension WHERE `CODE_`=\"test56_dem\";'"}, {"name": "updatakey", "value": "None"}], "start": 1691412968837, "stop": 1691412968977, "uuid": "1b17a069-23d2-48b6-9a78-afb4db71375b", "historyId": "4db60c6a5deceb5e4bfbe2c9fd4ed59b", "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": "DESKTOP-IFEUSC7"}, {"name": "thread", "value": "9248-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_bpm"}]}
\ No newline at end of file
{"uuid": "88513861-42d2-42cc-8354-79fc46a91371", "befores": [{"name": "data", "status": "passed", "start": 1691412967374, "stop": 1691412967374}], "start": 1691412967374, "stop": 1691412967447}
\ No newline at end of file
{"uuid": "773b26e0-67f5-4ee4-9b40-86a32d2cd656", "befores": [{"name": "sqltype", "status": "passed", "start": 1691412968537, "stop": 1691412968537}], "start": 1691412968537, "stop": 1691412968825}
\ No newline at end of file
{"uuid": "cf0a04e7-187c-48ee-ba2a-53a93cff18b5", "befores": [{"name": "method", "status": "passed", "start": 1691412967666, "stop": 1691412967666}], "start": 1691412967666, "stop": 1691412967772}
\ No newline at end of file
{"uuid": "93b71a10-8d53-4532-9b5e-c14d16b77be4", "befores": [{"name": "mime", "status": "passed", "start": 1691412968163, "stop": 1691412968164}], "start": 1691412968163, "stop": 1691412968281}
\ No newline at end of file
DEBUG--2023-08-07 20:56:09--http://120.46.172.186:8080 "POST /api/org/v1/org/deleteOrg HTTP/1.1" 200 None
\ No newline at end of file
{"uuid": "aabc54ee-c786-4d26-be87-559cef32bdbb", "befores": [{"name": "updatakey", "status": "passed", "start": 1691412968411, "stop": 1691412968411}], "start": 1691412968411, "stop": 1691412968516}
\ No newline at end of file
{"name": "正向用例", "status": "passed", "attachments": [{"name": "log", "source": "bfd246b6-9bdf-4418-937c-4aa7a7e9bc3a-attachment.txt", "type": "text/plain"}, {"name": "stdout", "source": "855b2451-4985-4820-b3e2-e84595e9d002-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": "'application/json'"}, {"name": "data", "value": "{'code': 'test56_org', 'demId': '不知道', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '测试的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}"}, {"name": "expect", "value": "{'state': True, 'message': '添加组织成功!'}"}, {"name": "sqltype", "value": "'delete|select'"}, {"name": "sqlsentence", "value": "{'select': 'SELECT ID_ FROM uc_demension WHERE `CODE_`=\"test56_dem\";', 'delete': 'DELETE FROM uc_org WHERE `CODE_`=\"test56_org\";'}"}, {"name": "updatakey", "value": "'demId'"}], "start": 1691412968988, "stop": 1691412969173, "uuid": "787f1802-deb5-4c9b-abe5-51c094839384", "historyId": "dda835db0410530904c0a8d301c29cbb", "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": "DESKTOP-IFEUSC7"}, {"name": "thread", "value": "9248-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_bpm"}]}
\ No newline at end of file
{"uuid": "3e8de05c-205f-4d12-a0b7-33899e8b4b52", "befores": [{"name": "sqltype", "status": "passed", "start": 1691412969190, "stop": 1691412969190}], "start": 1691412969190, "stop": 1691412969268}
\ No newline at end of file
{"uuid": "d3b5a134-494d-4afa-a4f6-4580981da056", "befores": [{"name": "url", "status": "passed", "start": 1691412968410, "stop": 1691412968410}], "start": 1691412968410, "stop": 1691412968521}
\ No newline at end of file
DEBUG--2023-08-07 20:56:09--http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
\ No newline at end of file
{"uuid": "d10c496e-ab94-42ea-b2a1-cee7a3e9e7ad", "befores": [{"name": "data", "status": "passed", "start": 1691412968164, "stop": 1691412968164}], "start": 1691412968164, "stop": 1691412968279}
\ No newline at end of file
{"uuid": "ab1a7967-fe32-4647-be72-266952c04711", "befores": [{"name": "level", "status": "passed", "start": 1691412968025, "stop": 1691412968025}], "start": 1691412968025, "stop": 1691412968158}
\ No newline at end of file
DEBUG--2023-08-07 20:56:07--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
\ No newline at end of file
{"uuid": "1033c1a1-cc85-4241-a30b-edb1d65d7765", "befores": [{"name": "level", "status": "passed", "start": 1691412967525, "stop": 1691412967525}], "start": 1691412967525, "stop": 1691412967646}
\ No newline at end of file
DEBUG--2023-08-07 20:56:08--http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
\ No newline at end of file
{"uuid": "fcf2bd4d-f64d-45ea-86c7-edd03073782b", "befores": [{"name": "level", "status": "passed", "start": 1691412967457, "stop": 1691412967457}], "start": 1691412967457, "stop": 1691412967519}
\ No newline at end of file
DEBUG--2023-08-07 20:56:07--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:56:07--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
\ No newline at end of file
{"name": "正向用例", "status": "failed", "statusDetails": {"message": "AssertionError: 断言失败", "trace": "self = <API_third.test_case.test_bpm.TestBPM object at 0x0000025D5C91CBD0>, req_fix = <API_third.request_method.request_method.RequestsMethod object at 0x0000025D5C977050>\ndb_fix = <API_third.common.db.DB object at 0x0000025D5C9DFC10>, module = '认证接口', interface = '刷新token', title = '正向用例', level = '中', method = 'get'\nurl = 'http://120.46.172.186:8080/refresh', mime = None, data = None, expect = {'message': '刷新token成功'}, sqltype = None, sqlsentence = None, updatakey = None\n\n @allure.epic(\"BPM系统\")\n @pytest.mark.parametrize(\"module, interface, title, level, method, url, mime, data, expect, sqltype, sqlsentence, updatakey\",ReadExcel().get_data())\n def test_bpm(self,req_fix, db_fix, module, interface, title, level, method, url, mime, data, expect, sqltype, sqlsentence, updatakey):\n allure.dynamic.feature(module)\n allure.dynamic.story(interface)\n allure.dynamic.title(title)\n allure.dynamic.severity(level)\n \n if sqltype == \"delete\":\n db_fix.delete(sqlsentence)\n \n elif sqltype == \"select\":\n result2 = db_fix.select(sqlsentence)\n data[updatakey] = result2\n \n elif sqltype == \"delete|select\" or sqltype == \"select|delete\":\n db_fix.delete(sqlsentence[\"delete\"])\n result3 = db_fix.select(sqlsentence[\"select\"])\n data[updatakey] = result3\n \n \n \n results = req_fix.requests_all(req_method=method, req_url=url, req_mime=mime, case_data=data)\n \n \n try:\n for key in expect:\n> assert expect[key] == results.json().get(key)\nE AssertionError: assert '刷新token成功' == None\nE + where None = <built-in method get of dict object at 0x0000025D5C9E2780>('message')\nE + where <built-in method get of dict object at 0x0000025D5C9E2780> = {'account': '', 'loginStatus': True, 'token': 'eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE2OTE0OTkzNjgsImlhdCI6MTY5MTQxMjk2OH0.IcXFXaZoEXPvHQIVbPmFLTkLDuCQcf5VpBGop1HeXWqL_5AsnlZWAS6xIHCKrKXpiDkaEsZ4WvT661jUusnY9A', 'userAttrs': {}, ...}.get\nE + where {'account': '', 'loginStatus': True, 'token': 'eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE2OTE0OTkzNjgsImlhdCI6MTY5MTQxMjk2OH0.IcXFXaZoEXPvHQIVbPmFLTkLDuCQcf5VpBGop1HeXWqL_5AsnlZWAS6xIHCKrKXpiDkaEsZ4WvT661jUusnY9A', 'userAttrs': {}, ...} = <bound method Response.json of <Response [200]>>()\nE + where <bound method Response.json of <Response [200]>> = <Response [200]>.json\n\ntest_bpm.py:46: AssertionError\n\nDuring handling of the above exception, another exception occurred:\n\nself = <API_third.test_case.test_bpm.TestBPM object at 0x0000025D5C91CBD0>, req_fix = <API_third.request_method.request_method.RequestsMethod object at 0x0000025D5C977050>\ndb_fix = <API_third.common.db.DB object at 0x0000025D5C9DFC10>, module = '认证接口', interface = '刷新token', title = '正向用例', level = '中', method = 'get'\nurl = 'http://120.46.172.186:8080/refresh', mime = None, data = None, expect = {'message': '刷新token成功'}, sqltype = None, sqlsentence = None, updatakey = None\n\n @allure.epic(\"BPM系统\")\n @pytest.mark.parametrize(\"module, interface, title, level, method, url, mime, data, expect, sqltype, sqlsentence, updatakey\",ReadExcel().get_data())\n def test_bpm(self,req_fix, db_fix, module, interface, title, level, method, url, mime, data, expect, sqltype, sqlsentence, updatakey):\n allure.dynamic.feature(module)\n allure.dynamic.story(interface)\n allure.dynamic.title(title)\n allure.dynamic.severity(level)\n \n if sqltype == \"delete\":\n db_fix.delete(sqlsentence)\n \n elif sqltype == \"select\":\n result2 = db_fix.select(sqlsentence)\n data[updatakey] = result2\n \n elif sqltype == \"delete|select\" or sqltype == \"select|delete\":\n db_fix.delete(sqlsentence[\"delete\"])\n result3 = db_fix.select(sqlsentence[\"select\"])\n data[updatakey] = result3\n \n \n \n results = req_fix.requests_all(req_method=method, req_url=url, req_mime=mime, case_data=data)\n \n \n try:\n for key in expect:\n assert expect[key] == results.json().get(key)\n except:\n print(\"断言失败\")\n logging.error(\"断言失败, 模块名称为:{},接口名称为:{},用例标题:{},用例为:{},期望结果为:{},服务器返回数据为:{}\".format(module, interface, title, str(data), str(expect), results.text))\n> raise AssertionError(\"断言失败\")\nE AssertionError: 断言失败\n\ntest_bpm.py:50: AssertionError"}, "attachments": [{"name": "log", "source": "f305a79f-1dc3-4188-9477-f0cc4b856b43-attachment.txt", "type": "text/plain"}, {"name": "stdout", "source": "94b8a8c4-2413-4d29-a485-652e4929786e-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": "data", "value": "None"}, {"name": "expect", "value": "{'message': '刷新token成功'}"}, {"name": "sqltype", "value": "None"}, {"name": "sqlsentence", "value": "None"}, {"name": "updatakey", "value": "None"}], "start": 1691412968538, "stop": 1691412968643, "uuid": "bdffe597-b7a8-46a2-b5df-6e961da1a2aa", "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": "DESKTOP-IFEUSC7"}, {"name": "thread", "value": "9248-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_bpm"}]}
\ No newline at end of file
{"uuid": "5ec1922e-4028-4d68-8053-c85055aa2f49", "befores": [{"name": "expect", "status": "passed", "start": 1691412968988, "stop": 1691412968988}], "start": 1691412968988, "stop": 1691412969176}
\ No newline at end of file
{"name": "反向用例-密码为空", "status": "passed", "attachments": [{"name": "log", "source": "7815bf13-03c9-445e-94be-dd02af783cb1-attachment.txt", "type": "text/plain"}, {"name": "stdout", "source": "80e25c09-2458-47a0-b1fe-0085be765663-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": "'application/json'"}, {"name": "data", "value": "{'password': '', 'username': 'admin'}"}, {"name": "expect", "value": "{'state': False, 'message': '账号或密码错误'}"}, {"name": "sqltype", "value": "None"}, {"name": "sqlsentence", "value": "None"}, {"name": "updatakey", "value": "None"}], "start": 1691412968026, "stop": 1691412968127, "uuid": "2f2705e3-233c-4c6d-aeef-1163f5d53a53", "historyId": "89cd3935e143f1777c5d98d06870bd50", "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": "DESKTOP-IFEUSC7"}, {"name": "thread", "value": "9248-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_bpm"}]}
\ No newline at end of file
{"uuid": "49e7fdfb-528f-4497-a3af-3fc2b7b5112d", "befores": [{"name": "expect", "status": "passed", "start": 1691412967374, "stop": 1691412967374}], "start": 1691412967374, "stop": 1691412967445}
\ No newline at end of file
{"uuid": "61c4804d-34d5-49d9-810b-a404cbd56c83", "befores": [{"name": "level", "status": "passed", "start": 1691412969189, "stop": 1691412969189}], "start": 1691412969189, "stop": 1691412969273}
\ No newline at end of file
{"uuid": "a40da046-2899-47b0-b2cf-88d9937fe0d8", "befores": [{"name": "method", "status": "passed", "start": 1691412968163, "stop": 1691412968163}], "start": 1691412968163, "stop": 1691412968283}
\ No newline at end of file
{"uuid": "43e54183-2d16-44f5-abf3-45d6185ebe5a", "befores": [{"name": "data", "status": "passed", "start": 1691412967525, "stop": 1691412967525}], "start": 1691412967525, "stop": 1691412967641}
\ No newline at end of file
{"uuid": "e5ac6691-bb5f-4075-b973-ed111795ae78", "befores": [{"name": "url", "status": "passed", "start": 1691412969282, "stop": 1691412969282}], "start": 1691412969282, "stop": 1691412969354}
\ No newline at end of file
{"uuid": "3589c99e-2a3d-461c-8502-0439780dcc24", "befores": [{"name": "module", "status": "passed", "start": 1691412967373, "stop": 1691412967373}], "start": 1691412967373, "stop": 1691412967452}
\ No newline at end of file
{"uuid": "7fea9662-2795-4e4a-bfcc-1847b35d4adc", "befores": [{"name": "module", "status": "passed", "start": 1691412969364, "stop": 1691412969364}], "start": 1691412969364, "stop": 1691412969503}
\ No newline at end of file
{"uuid": "6ced21fa-643a-4e6a-a591-7e5eccb4452b", "befores": [{"name": "sqlsentence", "status": "passed", "start": 1691412967916, "stop": 1691412967916}], "start": 1691412967916, "stop": 1691412968015}
\ No newline at end of file
{"uuid": "67480fc4-af58-409b-9583-50763239deee", "befores": [{"name": "interface", "status": "passed", "start": 1691412967524, "stop": 1691412967524}], "start": 1691412967524, "stop": 1691412967658}
\ No newline at end of file
{"uuid": "d716a43d-3c30-40ed-ba21-ff80ac08f138", "befores": [{"name": "sqlsentence", "status": "passed", "start": 1691412967525, "stop": 1691412967525}], "start": 1691412967525, "stop": 1691412967635}
\ No newline at end of file
{"uuid": "c6443cd7-8fc2-4905-a6d8-9be1e423297d", "befores": [{"name": "updatakey", "status": "passed", "start": 1691412967916, "stop": 1691412967916}], "start": 1691412967916, "stop": 1691412968014}
\ No newline at end of file
{"uuid": "633d1193-6fd7-40e0-8f25-5be043f6e4e2", "befores": [{"name": "interface", "status": "passed", "start": 1691412967457, "stop": 1691412967457}], "start": 1691412967457, "stop": 1691412967521}
\ No newline at end of file
DEBUG--2023-08-07 20:56:08--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:56:08--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
\ No newline at end of file
{"uuid": "17c0583d-abbd-4368-925e-78c64d4187d2", "befores": [{"name": "method", "status": "passed", "start": 1691412967915, "stop": 1691412967915}], "start": 1691412967915, "stop": 1691412968019}
\ No newline at end of file
{"uuid": "b7fc77ab-8f65-4264-b314-6945d19999ca", "befores": [{"name": "updatakey", "status": "passed", "start": 1691412967374, "stop": 1691412967374}], "start": 1691412967374, "stop": 1691412967441}
\ No newline at end of file
{"uuid": "cadd86fc-b19f-429e-852e-602487c54f7e", "befores": [{"name": "method", "status": "passed", "start": 1691412968025, "stop": 1691412968025}], "start": 1691412968025, "stop": 1691412968157}
\ No newline at end of file
{"uuid": "7595f522-35a0-4f4a-b79c-4f20e2b02b6c", "befores": [{"name": "mime", "status": "passed", "start": 1691412968025, "stop": 1691412968025}], "start": 1691412968025, "stop": 1691412968156}
\ No newline at end of file
{"uuid": "9a394748-fc6d-4373-86e5-4983e94adeff", "befores": [{"name": "sqlsentence", "status": "passed", "start": 1691412968837, "stop": 1691412968837}], "start": 1691412968837, "stop": 1691412968978}
\ No newline at end of file
{"uuid": "68a3c588-eb45-4825-a059-90adbb0a0317", "befores": [{"name": "interface", "status": "passed", "start": 1691412967373, "stop": 1691412967373}], "start": 1691412967373, "stop": 1691412967451}
\ No newline at end of file
{"uuid": "bbc71065-9dfa-41ed-92e7-f030d5a46832", "befores": [{"name": "module", "status": "passed", "start": 1691412968025, "stop": 1691412968025}], "start": 1691412968025, "stop": 1691412968159}
\ No newline at end of file
{"uuid": "52afef8e-b6e1-4964-9c87-177c6fc9b9dc", "befores": [{"name": "data", "status": "passed", "start": 1691412968025, "stop": 1691412968025}], "start": 1691412968025, "stop": 1691412968130}
\ No newline at end of file
{"name": "反向用例-用户名为空", "status": "passed", "attachments": [{"name": "log", "source": "c13b4c17-fbbc-4adc-931c-5c854f6892d4-attachment.txt", "type": "text/plain"}, {"name": "stdout", "source": "517cbcf7-3573-4b53-b82c-30272144b2a0-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": "'application/json'"}, {"name": "data", "value": "{'password': 'MTIzNDU2', 'username': ''}"}, {"name": "expect", "value": "{'state': False, 'message': '账号或密码错误'}"}, {"name": "sqltype", "value": "None"}, {"name": "sqlsentence", "value": "None"}, {"name": "updatakey", "value": "None"}], "start": 1691412967458, "stop": 1691412967514, "uuid": "06ee874d-bcb8-4d3b-a1b4-6238f2a01aa1", "historyId": "cb6bc4824561a6cdbaeea7fbbc0b0fca", "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": "DESKTOP-IFEUSC7"}, {"name": "thread", "value": "9248-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_bpm"}]}
\ No newline at end of file
{"uuid": "313d1c26-c68d-4cf3-90ca-ca8162664594", "children": ["afea7228-2c23-4aba-b2a1-7a83481bd0a3", "06ee874d-bcb8-4d3b-a1b4-6238f2a01aa1", "3026d598-4ede-42a4-a4d7-2815950fc2d0", "b9a67423-893f-4758-8aed-4fc8e24b1f04", "5b793410-625a-4c3b-86c9-d6357b60ca53", "9a8b849f-2a37-4ac7-8a22-0ed90ce98a28", "2f2705e3-233c-4c6d-aeef-1163f5d53a53", "41e323b3-e4ce-412b-8df7-daa52d3cd818", "d5535459-28b1-4977-8256-fd2b6829e54f", "4bf3d71b-f37f-4a8f-b650-ae969d827bd8", "bdffe597-b7a8-46a2-b5df-6e961da1a2aa", "1b17a069-23d2-48b6-9a78-afb4db71375b", "787f1802-deb5-4c9b-abe5-51c094839384", "0dc0b2d1-8e5e-408a-9c39-3a98f32ab8fb", "65a2c5de-d296-4b11-89c5-94bbaeeb437e", "30925a4a-6a34-407f-94e6-e3238039181b"], "befores": [{"name": "db_fix", "status": "passed", "start": 1691412967162, "stop": 1691412967373}], "afters": [{"name": "db_fix::0", "status": "passed", "start": 1691412969503, "stop": 1691412969503}], "start": 1691412967162, "stop": 1691412969503}
\ No newline at end of file
{"uuid": "3f674174-455f-46e9-be5c-91ff3fa03848", "befores": [{"name": "module", "status": "passed", "start": 1691412969189, "stop": 1691412969189}], "start": 1691412969189, "stop": 1691412969276}
\ No newline at end of file
{"uuid": "c34492a7-f6d9-4820-95de-375157dfa0ad", "befores": [{"name": "method", "status": "passed", "start": 1691412967525, "stop": 1691412967525}], "start": 1691412967525, "stop": 1691412967646}
\ No newline at end of file
{"uuid": "84a19515-f2c2-490d-b252-cc2c68a7bf76", "befores": [{"name": "updatakey", "status": "passed", "start": 1691412967806, "stop": 1691412967806}], "start": 1691412967806, "stop": 1691412967906}
\ No newline at end of file
{"uuid": "98cb1d1d-e4c4-45d5-a1ba-a84f722f46a3", "befores": [{"name": "mime", "status": "passed", "start": 1691412968537, "stop": 1691412968537}], "start": 1691412968537, "stop": 1691412968829}
\ No newline at end of file
{"uuid": "36c91a4d-98d7-46ff-b31f-15af8339ec21", "befores": [{"name": "mime", "status": "passed", "start": 1691412968837, "stop": 1691412968837}], "start": 1691412968837, "stop": 1691412968980}
\ No newline at end of file
{"uuid": "3243f385-d7bd-4aca-94ee-4fc8e2e966dd", "befores": [{"name": "sqltype", "status": "passed", "start": 1691412967374, "stop": 1691412967374}], "start": 1691412967374, "stop": 1691412967443}
\ No newline at end of file
{"uuid": "4de9c1cf-f40a-48f7-84cc-d40f0af8888f", "befores": [{"name": "sqltype", "status": "passed", "start": 1691412967457, "stop": 1691412967457}], "start": 1691412967457, "stop": 1691412967516}
\ No newline at end of file
{"uuid": "f15f84c9-bfa2-4c7a-832c-e8cbece47371", "befores": [{"name": "data", "status": "passed", "start": 1691412969365, "stop": 1691412969365}], "start": 1691412969365, "stop": 1691412969491}
\ No newline at end of file
{"uuid": "b7e3d7c3-7c4e-496b-92d9-87ecca1fdba2", "befores": [{"name": "method", "status": "passed", "start": 1691412968410, "stop": 1691412968410}], "start": 1691412968410, "stop": 1691412968521}
\ No newline at end of file
{"uuid": "10432b2e-52d1-4f8d-9cd9-99f8791cb993", "befores": [{"name": "level", "status": "passed", "start": 1691412968987, "stop": 1691412968987}], "start": 1691412968987, "stop": 1691412969181}
\ No newline at end of file
{"uuid": "37237b2c-6189-4f72-9fe1-9fb62a9f9b37", "befores": [{"name": "sqltype", "status": "passed", "start": 1691412968837, "stop": 1691412968837}], "start": 1691412968837, "stop": 1691412968979}
\ No newline at end of file
{"uuid": "1af01c07-44c8-4421-b2c8-73b08c031d37", "befores": [{"name": "data", "status": "passed", "start": 1691412967806, "stop": 1691412967806}], "start": 1691412967806, "stop": 1691412967908}
\ No newline at end of file
{"uuid": "14b7fb16-839a-42e1-8e09-d40c14c4b84e", "befores": [{"name": "url", "status": "passed", "start": 1691412968293, "stop": 1691412968293}], "start": 1691412968293, "stop": 1691412968402}
\ No newline at end of file
{"uuid": "b2551f19-0d94-4ce8-83f1-63871fc534a9", "befores": [{"name": "sqltype", "status": "passed", "start": 1691412967667, "stop": 1691412967667}], "start": 1691412967667, "stop": 1691412967770}
\ No newline at end of file
{"uuid": "66af9d94-b180-403a-bb5d-476a92084b4e", "befores": [{"name": "sqlsentence", "status": "passed", "start": 1691412968293, "stop": 1691412968293}], "start": 1691412968293, "stop": 1691412968399}
\ No newline at end of file
{"uuid": "063f079f-47be-4d7f-8e47-79f2ef42c76a", "befores": [{"name": "sqltype", "status": "passed", "start": 1691412967916, "stop": 1691412967916}], "start": 1691412967916, "stop": 1691412968015}
\ No newline at end of file
{"uuid": "13b509da-6d6b-4636-950c-9c5a62c3d097", "befores": [{"name": "expect", "status": "passed", "start": 1691412967667, "stop": 1691412967667}], "start": 1691412967667, "stop": 1691412967770}
\ No newline at end of file
{"uuid": "2d179cc3-1e54-4d72-97ab-2e536e055892", "befores": [{"name": "data", "status": "passed", "start": 1691412968293, "stop": 1691412968293}], "start": 1691412968293, "stop": 1691412968401}
\ No newline at end of file
{"uuid": "76aacb64-9fe7-4c9c-97e0-8887c5592e5e", "befores": [{"name": "title", "status": "passed", "start": 1691412968836, "stop": 1691412968836}], "start": 1691412968836, "stop": 1691412968982}
\ No newline at end of file
{"uuid": "aed7cbd9-af9d-4cc6-a2f7-647204ed0e8d", "befores": [{"name": "sqlsentence", "status": "passed", "start": 1691412969282, "stop": 1691412969282}], "start": 1691412969282, "stop": 1691412969350}
\ No newline at end of file
{"uuid": "d5bdd1c9-9d8e-408b-bf13-f7235fa6981f", "befores": [{"name": "data", "status": "passed", "start": 1691412968410, "stop": 1691412968410}], "start": 1691412968410, "stop": 1691412968520}
\ No newline at end of file
DEBUG--2023-08-07 20:56:08--Resetting dropped connection: 120.46.172.186
DEBUG--2023-08-07 20:56:08--http://120.46.172.186:8080 "GET /refresh HTTP/1.1" 200 None
ERROR--2023-08-07 20:56:08--断言失败, 模块名称为:认证接口,接口名称为:刷新token,用例标题:正向用例,用例为:None,期望结果为:{'message': '刷新token成功'},服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE2OTE0OTkzNjgsImlhdCI6MTY5MTQxMjk2OH0.IcXFXaZoEXPvHQIVbPmFLTkLDuCQcf5VpBGop1HeXWqL_5AsnlZWAS6xIHCKrKXpiDkaEsZ4WvT661jUusnY9A","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
\ No newline at end of file
{"uuid": "779c9662-05b0-4cc8-bcee-e8bc54c93662", "befores": [{"name": "sqlsentence", "status": "passed", "start": 1691412967806, "stop": 1691412967806}], "start": 1691412967806, "stop": 1691412967906}
\ No newline at end of file
{"uuid": "94f9d463-aa83-4f06-a5c3-3241d5a9c9bd", "befores": [{"name": "data", "status": "passed", "start": 1691412968537, "stop": 1691412968537}], "start": 1691412968537, "stop": 1691412968828}
\ No newline at end of file
{"uuid": "57892d30-45b6-4310-a1b1-0025928a56c5", "befores": [{"name": "url", "status": "passed", "start": 1691412967525, "stop": 1691412967525}], "start": 1691412967525, "stop": 1691412967644}
\ No newline at end of file
{"uuid": "4cf5c2c0-62e9-46a4-9618-9b39f9a7f6a3", "befores": [{"name": "title", "status": "passed", "start": 1691412969365, "stop": 1691412969365}], "start": 1691412969365, "stop": 1691412969500}
\ No newline at end of file
{"name": "反向用例-密码为过短", "status": "passed", "attachments": [{"name": "log", "source": "27fc6c0f-2347-4f86-b1a4-408f6614c632-attachment.txt", "type": "text/plain"}, {"name": "stdout", "source": "3f6339ab-0038-486e-b3c7-f6e67e1d3ab3-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": "'application/json'"}, {"name": "data", "value": "{'password': '1', 'username': 'admin'}"}, {"name": "expect", "value": "{'state': False, 'message': '账号或密码错误'}"}, {"name": "sqltype", "value": "None"}, {"name": "sqlsentence", "value": "None"}, {"name": "updatakey", "value": "None"}], "start": 1691412968295, "stop": 1691412968398, "uuid": "d5535459-28b1-4977-8256-fd2b6829e54f", "historyId": "1e00bd2cd85b6a0d93eb901ec3e350a3", "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": "DESKTOP-IFEUSC7"}, {"name": "thread", "value": "9248-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:56:06--Looking for locale `en_US` in provider `faker.providers.address`.
DEBUG--2023-08-07 20:56:06--Provider `faker.providers.address` has been localized to `en_US`.
DEBUG--2023-08-07 20:56:06--Looking for locale `en_US` in provider `faker.providers.automotive`.
DEBUG--2023-08-07 20:56:06--Provider `faker.providers.automotive` has been localized to `en_US`.
DEBUG--2023-08-07 20:56:06--Looking for locale `en_US` in provider `faker.providers.bank`.
DEBUG--2023-08-07 20:56:06--Specified locale `en_US` is not available for provider `faker.providers.bank`. Locale reset to `en_GB` for this provider.
DEBUG--2023-08-07 20:56:06--Looking for locale `en_US` in provider `faker.providers.barcode`.
DEBUG--2023-08-07 20:56:06--Provider `faker.providers.barcode` has been localized to `en_US`.
DEBUG--2023-08-07 20:56:06--Looking for locale `en_US` in provider `faker.providers.color`.
DEBUG--2023-08-07 20:56:06--Provider `faker.providers.color` has been localized to `en_US`.
DEBUG--2023-08-07 20:56:06--Looking for locale `en_US` in provider `faker.providers.company`.
DEBUG--2023-08-07 20:56:06--Provider `faker.providers.company` has been localized to `en_US`.
DEBUG--2023-08-07 20:56:06--Looking for locale `en_US` in provider `faker.providers.credit_card`.
DEBUG--2023-08-07 20:56:06--Provider `faker.providers.credit_card` has been localized to `en_US`.
DEBUG--2023-08-07 20:56:06--Looking for locale `en_US` in provider `faker.providers.currency`.
DEBUG--2023-08-07 20:56:06--Provider `faker.providers.currency` has been localized to `en_US`.
DEBUG--2023-08-07 20:56:06--Looking for locale `en_US` in provider `faker.providers.date_time`.
DEBUG--2023-08-07 20:56:06--Provider `faker.providers.date_time` has been localized to `en_US`.
DEBUG--2023-08-07 20:56:06--Provider `faker.providers.emoji` does not feature localization. Specified locale `en_US` is not utilized for this provider.
DEBUG--2023-08-07 20:56:06--Provider `faker.providers.file` does not feature localization. Specified locale `en_US` is not utilized for this provider.
DEBUG--2023-08-07 20:56:06--Looking for locale `en_US` in provider `faker.providers.geo`.
DEBUG--2023-08-07 20:56:06--Provider `faker.providers.geo` has been localized to `en_US`.
DEBUG--2023-08-07 20:56:06--Looking for locale `en_US` in provider `faker.providers.internet`.
DEBUG--2023-08-07 20:56:06--Provider `faker.providers.internet` has been localized to `en_US`.
DEBUG--2023-08-07 20:56:06--Provider `faker.providers.isbn` does not feature localization. Specified locale `en_US` is not utilized for this provider.
DEBUG--2023-08-07 20:56:06--Looking for locale `en_US` in provider `faker.providers.job`.
DEBUG--2023-08-07 20:56:07--Provider `faker.providers.job` has been localized to `en_US`.
DEBUG--2023-08-07 20:56:07--Looking for locale `en_US` in provider `faker.providers.lorem`.
DEBUG--2023-08-07 20:56:07--Provider `faker.providers.lorem` has been localized to `en_US`.
DEBUG--2023-08-07 20:56:07--Looking for locale `en_US` in provider `faker.providers.misc`.
DEBUG--2023-08-07 20:56:07--Provider `faker.providers.misc` has been localized to `en_US`.
DEBUG--2023-08-07 20:56:07--Looking for locale `en_US` in provider `faker.providers.passport`.
DEBUG--2023-08-07 20:56:07--Provider `faker.providers.passport` has been localized to `en_US`.
DEBUG--2023-08-07 20:56:07--Looking for locale `en_US` in provider `faker.providers.person`.
DEBUG--2023-08-07 20:56:07--Provider `faker.providers.person` has been localized to `en_US`.
DEBUG--2023-08-07 20:56:07--Looking for locale `en_US` in provider `faker.providers.phone_number`.
DEBUG--2023-08-07 20:56:07--Provider `faker.providers.phone_number` has been localized to `en_US`.
DEBUG--2023-08-07 20:56:07--Provider `faker.providers.profile` does not feature localization. Specified locale `en_US` is not utilized for this provider.
DEBUG--2023-08-07 20:56:07--Provider `faker.providers.python` does not feature localization. Specified locale `en_US` is not utilized for this provider.
DEBUG--2023-08-07 20:56:07--Provider `faker.providers.sbn` does not feature localization. Specified locale `en_US` is not utilized for this provider.
DEBUG--2023-08-07 20:56:07--Looking for locale `en_US` in provider `faker.providers.ssn`.
DEBUG--2023-08-07 20:56:07--Provider `faker.providers.ssn` has been localized to `en_US`.
DEBUG--2023-08-07 20:56:07--Provider `faker.providers.user_agent` does not feature localization. Specified locale `en_US` is not utilized for this provider.
DEBUG--2023-08-07 20:56:07--Starting new HTTP connection (1): 120.46.172.186:8080
DEBUG--2023-08-07 20:56:07--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 200 None
DEBUG--2023-08-07 20:56:07--http://120.46.172.186:8080 "POST /auth HTTP/1.1" 200 None
\ No newline at end of file
{"uuid": "0d915425-0e4c-48ee-944f-b417980a987b", "befores": [{"name": "title", "status": "passed", "start": 1691412967457, "stop": 1691412967457}], "start": 1691412967457, "stop": 1691412967520}
\ No newline at end of file
{"uuid": "13320014-db53-4121-8484-e9611eb8d508", "befores": [{"name": "url", "status": "passed", "start": 1691412969365, "stop": 1691412969365}], "start": 1691412969365, "stop": 1691412969494}
\ No newline at end of file
++ "a/API_third/report/log/\346\227\245\345\277\227.log"
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: test_56
# FileName: __init__.py
# Author: xxxxxxx
# Datetime: 2023/8/7 15:20
# Description:
#
# ---------------------------------------------------------------------------
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: python_stduy
# FileName: request_method.py
# Author: xxxxxxx
# Datetime: 2023/8/7 19:42
# Description:
#
# ---------------------------------------------------------------------------
import requests
import base64
from common.readini import ReadIni
from data_config.settings import HOST
class RequestsMethod:
def __init__(self):
readini = ReadIni()
url = readini.get_host(HOST) + "/auth"
data = {"username":"admin", "password":base64.b64encode("123456".encode("utf-8")).decode("utf-8")}
self.bpm_session = requests.sessions.Session()
result = self.bpm_session.request(method='post', url= url, json=data)
token = result.json().get("token")
print(token)
self.bpm_session.headers["Authorization"] = "Bearer " + token
def requests_all(self, req_method, req_url, req_mime, case_data):
if req_mime == "json" or req_mime == "application/json":
return self.bpm_session.request(method=req_method,url=req_url,json=case_data)
elif req_mime == "x-www-form-urlencoded" or req_mime == "x-www-form-urlencoded":
return self.bpm_session.request(method=req_method, url=req_url,data=case_data)
elif req_mime == "form-data" or req_mime == "multipart/form-data":
return self.bpm_session.request(method=req_method,url=req_url,files=case_data)
elif req_mime == "query" or req_mime == "params":
return self.bpm_session.request(method=req_method, url=req_url,params=case_data)
elif req_mime == "application/json|query" or req_mime == "application/json|query" or req_mime == "query|json":
return self.bpm_session.request(method=req_method, url=req_url, params=case_data["query"], json=case_data["body"])
elif req_mime == "text/plain" or req_mime == "text":
return self.bpm_session.request(method=req_method, url=req_url, data=case_data)
elif req_mime is None:
return self.bpm_session.request(method=req_method,url=req_url)
else:
raise NameError("传入的媒体类型错误")
if __name__ == '__main__':
requesr = RequestsMethod()
requesr.requests_all()
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: test_56
# FileName: __init__.py
# Author: xxxxxxx
# Datetime: 2023/8/7 15:20
# Description:
#
# ---------------------------------------------------------------------------
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: python_stduy
# FileName: conftest.py
# Author: xxxxxxx
# Datetime: 2023/8/7 20:09
# Description:
#
# ---------------------------------------------------------------------------
import pytest
from common.db import DB
from request_method.request_method import RequestsMethod
@pytest.fixture(scope="session")
def req_fix():
req = RequestsMethod()
return 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")
[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/日志.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: python_stduy
# FileName: test_bpm.py
# Author: xxxxxxx
# Datetime: 2023/8/7 20:09
# Description:
#
# ---------------------------------------------------------------------------
import pytest
import allure
import logging
from common.readexcel import ReadExcel
class TestBPM:
@allure.epic("BPM系统")
@pytest.mark.parametrize("module, interface, title, level, method, url, mime, data, expect, sqltype, sqlsentence, updatakey",ReadExcel().get_data())
def test_bpm(self,req_fix, db_fix, module, interface, title, level, method, url, mime, data, expect, sqltype, sqlsentence, updatakey):
allure.dynamic.feature(module)
allure.dynamic.story(interface)
allure.dynamic.title(title)
allure.dynamic.severity(level)
if sqltype == "delete":
db_fix.delete(sqlsentence)
elif sqltype == "select":
result2 = db_fix.select(sqlsentence)
data[updatakey] = result2
elif sqltype == "delete|select" or sqltype == "select|delete":
db_fix.delete(sqlsentence["delete"])
result3 = db_fix.select(sqlsentence["select"])
data[updatakey] = result3
results = req_fix.requests_all(req_method=method, req_url=url, req_mime=mime, case_data=data)
try:
for key in expect:
assert expect[key] == results.json().get(key)
except:
print("断言失败")
logging.error("断言失败, 模块名称为:{},接口名称为:{},用例标题:{},用例为:{},期望结果为:{},服务器返回数据为:{}".format(module, interface, title, str(data), str(expect), results.text))
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