Commit 542129eb by billchuan

接口自动化测试框架V1.0

parent 733cb598
from InterfaceAutoTest_V1.common.log import write_log
log = write_log()
import pymysql
from InterfaceAutoTest_V1.common import log
from InterfaceAutoTest_V1.common.read_ini import ReadIni
class DB:
def __init__(self):
read_ini = ReadIni()
try:
self.conn = pymysql.connect(
host=read_ini.get_sql_conn_message('host'),
port=int(read_ini.get_sql_conn_message('port')),
user=read_ini.get_sql_conn_message('user'),
password=read_ini.get_sql_conn_message('pwd'),
database=read_ini.get_sql_conn_message('database'),
charset="utf8"
)
self.cursor = self.conn.cursor()
except:
log.error('数据库链接失败或游标对象创建失败,请检查数据库配置!!!')
def query(self, sql):
try:
self.cursor.execute(sql)
select_result = self.cursor.fetchall()
if select_result:
return select_result[0][0]
except:
log.error("执行查询的sql语句错误,请察看sql语句是否正确")
def delete(self, sql):
try:
self.cursor.execute(sql)
self.conn.commit()
except:
log.error("执行删除的sql语句错误,请察看sql语句是否正确")
def update(self, sql):
pass
def insert(self, sql):
pass
def close(self):
self.cursor.close()
self.conn.close()
\ No newline at end of file
import logging
import os
import datetime
def write_log():
logger = logging.getLogger('王德发')
logger.level = logging.NOTSET
log_path = os.path.join(os.path.dirname(os.path.dirname(__file__)),
'report/log/BPM测试运行日志-%s.log' % (datetime.datetime.now().strftime('%Y.%m.%d')))
handler = logging.FileHandler(log_path, mode='a', encoding='utf-8')
format = logging.Formatter('%(asctime)s - %(filename)s[line:%(lineno)d] - %(levelname)s: %(message)s - %(name)s')
handler.setFormatter(format)
logger.addHandler(handler)
return logger
import openpyxl
from InterfaceAutoTest_V1.common import log
from InterfaceAutoTest_V1.common.read_ini import ReadIni
from InterfaceAutoTest_V1.common.read_json import read_json
class ReadExcel:
def __init__(self, table_name: str):
self.read_ini = ReadIni()
try:
self.wb = openpyxl.load_workbook(self.read_ini.get_file_path('excel'))
self.ws = self.wb[table_name]
except:
log.error('获取工作表失败,请察看工作表名称是否配置正确!!!')
self.case_data_dict = read_json(self.read_ini.get_file_path('case'))
self.expect_data_dict = read_json(self.read_ini.get_file_path('expect'))
self.sql_data_dict = read_json(self.read_ini.get_file_path('sql'))
def __get_cell_value(self, column: str, row: int) -> str:
try:
value = self.ws[column + str(row)].value
if value is None:
return None
elif value.strip():
return value.strip()
except:
log.error('获取指定单元格数据失败,请检查输入的列号和行号是否正确!!')
def module_name(self, row):
return self.__get_cell_value('b', row)
def api_name(self, row):
return self.__get_cell_value('c', row)
def case_title(self, row):
return self.__get_cell_value('d', row)
def case_level(self, row):
return self.__get_cell_value('e', row)
def case_url(self, row):
return self.read_ini.get_host_value('host') + self.__get_cell_value('g', row)
def case_method(self, row):
return self.__get_cell_value('f', row)
def case_mime(self, row):
mime = self.__get_cell_value('h', row)
if mime:
return mime.lower()
def case_data(self, row):
case_data_key = self.__get_cell_value('i', row)
if case_data_key:
module_name = self.module_name(row)
api_name = self.api_name(row)
try:
return self.case_data_dict[module_name][api_name][case_data_key]
except:
log.error('请检查用例数据的配置!!!')
def expect_data(self, row):
expect_data_key = self.__get_cell_value('j', row)
if expect_data_key:
module_name = self.module_name(row)
api_name = self.api_name(row)
try:
return self.expect_data_dict[module_name][api_name][expect_data_key]
except:
log.error('请检查期望数据的配置!!!')
def sql_type(self, row):
value = self.__get_cell_value('k', row)
if value:
return value.lower()
def sql_data(self, row):
sql_data_key = self.__get_cell_value('l', row)
if sql_data_key:
module_name = self.module_name(row)
api_name = self.api_name(row)
try:
return self.sql_data_dict[module_name][api_name][sql_data_key]
except:
log.error('请检查sql语句数据的配置!!!')
def update_key(self, row):
return self.__get_cell_value('m', row)
def get_data(self):
data_list = []
try:
for row in range(2, self.ws.max_row + 1):
module_name =self.module_name(row)
api_name = self.api_name(row)
case_title = self.case_title(row)
case_level = self.case_level(row)
case_url = self.case_url(row)
case_method = self.case_method(row)
case_mime = self.case_mime(row)
case_data = self.case_data(row)
expect_data = self.expect_data(row)
sql_type = self.sql_type(row)
sql_data = self.sql_data(row)
update_key = self.update_key(row)
data_list.append([module_name,api_name,case_title,case_level,case_url, case_method, case_mime, case_data, expect_data, sql_type,
sql_data, update_key])
else:
return data_list
except:
log.error('请检查excel中是否存在空行,如果存在,请删除空行!!')
print(ReadExcel('BPM-WDF').get_data())
import configparser
import os
from InterfaceAutoTest_V1.common import log
class ReadIni:
def __init__(self):
self.data_config_path = os.path.join(os.path.dirname(os.path.dirname(__file__)), 'data_config')
ini_path = os.path.join(self.data_config_path, 'config.ini')
self.conf = configparser.ConfigParser()
self.conf.read(ini_path, encoding='utf-8')
def get_file_path(self, key: str):
try:
file_path = os.path.join(self.data_config_path, self.conf.get('file', key))
if os.path.isfile(file_path):
return file_path
else:
log.error('获取的文件路径非法!!!')
except:
log.error('传入的%s非法,请检查是否与config文件中file节点下的key值对应' % (key))
def get_host_value(self, key: str):
try:
value = self.conf.get('host', key)
except:
log.error('传入的%s非法,请检查是否与config文件中host节点下的key值对应' % (key))
else:
return value
def get_table_name(self, key: str):
try:
value = self.conf.get('table', key)
except:
log.error('传入的%s非法,请检查是否与config文件中table节点下的key值对应' % (key))
else:
return value
def get_sql_conn_message(self, key: str):
try:
value = self.conf.get('sql', key)
except:
log.error('传入的%s非法,请检查是否与config文件中sql节点下的key值对应' % (key))
else:
return value
import json
import os
from InterfaceAutoTest_V1.common import log
def read_json(file):
if os.path.isfile(file) and file.endswith(".json"):
try:
with open(file, mode="r", encoding="utf-8") as f:
return json.loads(f.read())
except:
log.error("打开json文件获取json文件的内容序列化为python对象失败,请察看json文件是否有错误!!!")
else:
log.error("json文件的路径不合法")
{
"认证接口": {
"登录系统": {
"LoginSuccess": {
"username": "admin",
"password": "MTIzNDU2"
},
"LoginErrorUsernameIsNone": {
"username": "",
"password": "MTIzNDU2"
},
"LoginErrorPasswordIsNone": {
"username": "admin",
"password": ""
},
"LoginErrorPasswordError": {
"username": "admin",
"password": "MTIzNDU222"
}
}
},
"维度管理": {
"添加维度": {
"AddDemSuccess": {
"code": "wdf_test_dem",
"description": "我的发测试维度",
"isDefault": 0,
"name": "我的发测试维度"
},
"AddDemErrorCodeIsNone": {
"code": "",
"description": "我的发测试维度",
"isDefault": 0,
"name": "我的发测试维度"
}
},
"根据维度编码获取维度信息": {
"GetDemMessageSuccess": {
"code": "wdf_test_dem"
}
}
},
"组织管理": {
"添加组织": {
"AddOrgSuccess": {
"code": "wdf_test_org",
"demId": "不知道",
"exceedLimitNum": 0,
"grade": "",
"limitNum": 0,
"name": "我的发测试组织",
"nowNum": 0,
"orderNo": 0,
"parentId": "0"
},
"AddOrgErrorCodeIsNone": {
"code": "",
"demId": "不知道",
"exceedLimitNum": 0,
"grade": "",
"limitNum": 0,
"name": "我的发测试组织",
"nowNum": 0,
"orderNo": 0,
"parentId": "0"
}
}
}
}
\ No newline at end of file
[file]
excel = InterfaceAutoTest.xlsx
case = case_data.json
expect = expect_data.json
sql = sql.json
[host]
host = http://120.46.172.186:8080
[table]
table_name =
[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",
"loginStatus": true
},
"LoginErrorUsernameIsNone": {
"state": false,
"message": "账号或密码错误"
},
"LoginErrorPasswordIsNone": {
"state": false,
"message": "账号或密码错误"
},
"LoginErrorPasswordError": {
"state": false,
"message": "账号或密码错误"
}
}
},
"维度管理": {
"添加维度": {
"AddDemSuccess": {
"state": true,
"message": "添加维度成功!"
},
"AddDemErrorCodeIsNone": {
"state": false,
"message": "添加维度信息失败,维度编码【code】必填!"
}
},
"根据维度编码获取维度信息": {
"GetDemMessageSuccess": {
"demCode": "wdf_test_dem",
"name": "我的发测试维度"
}
}
},
"组织管理": {
"添加组织": {
"AddOrgSuccess": {
"state": true,
"message": "添加组织成功!"
},
"AddOrgErrorCodeIsNone": {
"state": false,
"message": "添加组织失败,组织编码【code】不能为空!"
}
}
}
}
\ No newline at end of file
{
"维度管理": {
"添加维度": {
"AddDemSuccess": "DELETE FROM uc_demension WHERE CODE_=\"wdf_test_dem\";"
}
},
"组织管理": {
"添加组织": {
"AddOrgSuccess": {
"select": "SELECT ID_ from uc_demension WHERE CODE_=\"wdf_test_dem\";",
"delete": "DELETE FROM uc_org WHERE CODE_=\"wdf_test_org\";"
},
"AddOrgErrorCodeIsNone": {
"select": "SELECT ID_ from uc_demension WHERE CODE_=\"wdf_test_dem\";",
"delete": "DELETE FROM uc_org WHERE CODE_=\"wdf_test_org1\";"
}
}
}
}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
ERROR  王德发:db.py:37 执行删除的sql语句错误,请察看sql语句是否正确
\ No newline at end of file
"Epic","Feature","Story","FAILED","BROKEN","PASSED","SKIPPED","UNKNOWN"
"BPM系统测试-王德发","认证接口","登录系统","0","0","4","0","0"
"BPM系统测试-王德发","维度管理","添加维度","0","0","2","0","0"
"BPM系统测试-王德发","组织管理","添加组织","0","0","2","0","0"
"BPM系统测试-王德发","维度管理","根据维度编码获取维度信息","0","0","1","0","0"
{
"uid" : "b1a8273437954620fa374b796ffaacdd",
"name" : "behaviors",
"children" : [ {
"name" : "BPM系统测试-王德发",
"children" : [ {
"name" : "认证接口",
"children" : [ {
"name" : "登录系统",
"children" : [ {
"name" : "正向用例-用户名和密码正确",
"uid" : "a4e0f260b8fa7531",
"parentUid" : "a3360db85aa4ed82a36cf5f9abac4111",
"status" : "passed",
"time" : {
"start" : 1699240583148,
"stop" : 1699240583202,
"duration" : 54
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'登录系统'", "{'username': 'admin', 'password': 'MTIzNDU2'}", "'高'", "'POST'", "'json'", "'正向用例-用户名和密码正确'", "'http://120.46.172.186:8080/auth'", "{'username': '超级管理员', 'account': 'admin', 'loginStatus': True}", "'认证接口'", "None", "None", "None" ]
}, {
"name" : "反向用例-用户名为空,密码正确填写",
"uid" : "58698e4cfdff21af",
"parentUid" : "a3360db85aa4ed82a36cf5f9abac4111",
"status" : "passed",
"time" : {
"start" : 1699240583238,
"stop" : 1699240583291,
"duration" : 53
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'登录系统'", "{'username': '', 'password': 'MTIzNDU2'}", "'中'", "'POST'", "'json'", "'反向用例-用户名为空,密码正确填写'", "'http://120.46.172.186:8080/auth'", "{'state': False, 'message': '账号或密码错误'}", "'认证接口'", "None", "None", "None" ]
}, {
"name" : "反向用例-用户名正确填写,密码为空",
"uid" : "7b349d76f92c7444",
"parentUid" : "a3360db85aa4ed82a36cf5f9abac4111",
"status" : "passed",
"time" : {
"start" : 1699240583306,
"stop" : 1699240583402,
"duration" : 96
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'登录系统'", "{'username': 'admin', 'password': ''}", "'中'", "'POST'", "'json'", "'反向用例-用户名正确填写,密码为空'", "'http://120.46.172.186:8080/auth'", "{'state': False, 'message': '账号或密码错误'}", "'认证接口'", "None", "None", "None" ]
}, {
"name" : "反向用例-用户名填写正确,密码填写错误",
"uid" : "71f613087bcd4830",
"parentUid" : "a3360db85aa4ed82a36cf5f9abac4111",
"status" : "passed",
"time" : {
"start" : 1699240583427,
"stop" : 1699240583517,
"duration" : 90
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'登录系统'", "{'username': 'admin', 'password': 'MTIzNDU222'}", "'中'", "'POST'", "'json'", "'反向用例-用户名填写正确,密码填写错误'", "'http://120.46.172.186:8080/auth'", "{'state': False, 'message': '账号或密码错误'}", "'认证接口'", "None", "None", "None" ]
} ],
"uid" : "a3360db85aa4ed82a36cf5f9abac4111"
} ],
"uid" : "de718a25c5fddd41b48d01e162def99b"
}, {
"name" : "维度管理",
"children" : [ {
"name" : "添加维度",
"children" : [ {
"name" : "正向用例",
"uid" : "431f066c21510188",
"parentUid" : "2d90d824e60ba122ba8885e51ff18494",
"status" : "passed",
"time" : {
"start" : 1699240583538,
"stop" : 1699240583718,
"duration" : 180
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'添加维度'", "{'code': 'wdf_test_dem', 'description': '我的发测试维度', 'isDefault': 0, 'name': '我的发测试维度'}", "'高'", "'POST'", "'json'", "'正向用例'", "'http://120.46.172.186:8080/api/demension/v1/dem/addDem'", "{'state': True, 'message': '添加维度成功!'}", "'维度管理'", "'DELETE FROM uc_demension WHERE CODE_=\"wdf_test_dem\";'", "'delete'", "None" ]
}, {
"name" : "反向用例",
"uid" : "4841da5b52756922",
"parentUid" : "2d90d824e60ba122ba8885e51ff18494",
"status" : "passed",
"time" : {
"start" : 1699240583742,
"stop" : 1699240583794,
"duration" : 52
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'添加维度'", "{'code': '', 'description': '我的发测试维度', 'isDefault': 0, 'name': '我的发测试维度'}", "'中'", "'POST'", "'json'", "'反向用例'", "'http://120.46.172.186:8080/api/demension/v1/dem/addDem'", "{'state': False, 'message': '添加维度信息失败,维度编码【code】必填!'}", "'维度管理'", "None", "'delete'", "None" ]
} ],
"uid" : "2d90d824e60ba122ba8885e51ff18494"
}, {
"name" : "根据维度编码获取维度信息",
"children" : [ {
"name" : "正向用例",
"uid" : "1f29be7445451682",
"parentUid" : "e7e23ddae88251aeaa8d43f32dbbb5a5",
"status" : "passed",
"time" : {
"start" : 1699240583811,
"stop" : 1699240583893,
"duration" : 82
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'根据维度编码获取维度信息'", "{'code': 'wdf_test_dem'}", "'中'", "'GET'", "'query'", "'正向用例'", "'http://120.46.172.186:8080/api/demension/v1/dem/getDem'", "{'demCode': 'wdf_test_dem', 'name': '我的发测试维度'}", "'维度管理'", "None", "None", "None" ]
} ],
"uid" : "e7e23ddae88251aeaa8d43f32dbbb5a5"
} ],
"uid" : "5380b6998f136787d89ba6be79706929"
}, {
"name" : "组织管理",
"children" : [ {
"name" : "添加组织",
"children" : [ {
"name" : "正向用例",
"uid" : "a1bcdc98c0e94a3b",
"parentUid" : "02f462836ec24214d0cd392fc0914dad",
"status" : "passed",
"time" : {
"start" : 1699240583912,
"stop" : 1699240584086,
"duration" : 174
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'添加组织'", "{'code': 'wdf_test_org', 'demId': '不知道', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '我的发测试组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}", "'高'", "'POST'", "'application/json'", "'正向用例'", "'http://120.46.172.186:8080/api/org/v1/org/addOrg'", "{'state': True, 'message': '添加组织成功!'}", "'组织管理'", "{'select': 'SELECT ID_ from uc_demension WHERE CODE_=\"wdf_test_dem\";', 'delete': 'DELETE FROM uc_org WHERE CODE_=\"wdf_test_org\";'}", "'select|delete'", "'demId'" ]
}, {
"name" : "反向用例",
"uid" : "cb9d5bdf1a764e22",
"parentUid" : "02f462836ec24214d0cd392fc0914dad",
"status" : "passed",
"time" : {
"start" : 1699240584106,
"stop" : 1699240584269,
"duration" : 163
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'添加组织'", "{'code': '', 'demId': '不知道', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '我的发测试组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}", "'中'", "'POST'", "'application/json'", "'反向用例'", "'http://120.46.172.186:8080/api/org/v1/org/addOrg'", "{'state': False, 'message': '添加组织失败,组织编码【code】不能为空!'}", "'组织管理'", "{'select': 'SELECT ID_ from uc_demension WHERE CODE_=\"wdf_test_dem\";', 'delete': 'DELETE FROM uc_org WHERE CODE_=\"wdf_test_org1\";'}", "'select|delete'", "'demId'" ]
} ],
"uid" : "02f462836ec24214d0cd392fc0914dad"
} ],
"uid" : "6b0b7944767b9e04975fcb7457a76ff9"
} ],
"uid" : "2d147c6217fd8aeadb3de7b95fe531c5"
} ]
}
\ No newline at end of file
{
"uid" : "4b4757e66a1912dae1a509f688f20b0f",
"name" : "categories",
"children" : [ ]
}
\ No newline at end of file
{
"uid" : "83edc06c07f9ae9e47eb6dd1b683e4e2",
"name" : "packages",
"children" : [ {
"name" : "test_wdf.test_bpm",
"children" : [ {
"name" : "正向用例-用户名和密码正确",
"uid" : "a4e0f260b8fa7531",
"parentUid" : "0e555ff9ad679802505886637bda96f9",
"status" : "passed",
"time" : {
"start" : 1699240583148,
"stop" : 1699240583202,
"duration" : 54
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'登录系统'", "{'username': 'admin', 'password': 'MTIzNDU2'}", "'高'", "'POST'", "'json'", "'正向用例-用户名和密码正确'", "'http://120.46.172.186:8080/auth'", "{'username': '超级管理员', 'account': 'admin', 'loginStatus': True}", "'认证接口'", "None", "None", "None" ]
}, {
"name" : "反向用例-用户名为空,密码正确填写",
"uid" : "58698e4cfdff21af",
"parentUid" : "0e555ff9ad679802505886637bda96f9",
"status" : "passed",
"time" : {
"start" : 1699240583238,
"stop" : 1699240583291,
"duration" : 53
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'登录系统'", "{'username': '', 'password': 'MTIzNDU2'}", "'中'", "'POST'", "'json'", "'反向用例-用户名为空,密码正确填写'", "'http://120.46.172.186:8080/auth'", "{'state': False, 'message': '账号或密码错误'}", "'认证接口'", "None", "None", "None" ]
}, {
"name" : "反向用例-用户名正确填写,密码为空",
"uid" : "7b349d76f92c7444",
"parentUid" : "0e555ff9ad679802505886637bda96f9",
"status" : "passed",
"time" : {
"start" : 1699240583306,
"stop" : 1699240583402,
"duration" : 96
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'登录系统'", "{'username': 'admin', 'password': ''}", "'中'", "'POST'", "'json'", "'反向用例-用户名正确填写,密码为空'", "'http://120.46.172.186:8080/auth'", "{'state': False, 'message': '账号或密码错误'}", "'认证接口'", "None", "None", "None" ]
}, {
"name" : "反向用例-用户名填写正确,密码填写错误",
"uid" : "71f613087bcd4830",
"parentUid" : "0e555ff9ad679802505886637bda96f9",
"status" : "passed",
"time" : {
"start" : 1699240583427,
"stop" : 1699240583517,
"duration" : 90
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'登录系统'", "{'username': 'admin', 'password': 'MTIzNDU222'}", "'中'", "'POST'", "'json'", "'反向用例-用户名填写正确,密码填写错误'", "'http://120.46.172.186:8080/auth'", "{'state': False, 'message': '账号或密码错误'}", "'认证接口'", "None", "None", "None" ]
}, {
"name" : "正向用例",
"uid" : "431f066c21510188",
"parentUid" : "0e555ff9ad679802505886637bda96f9",
"status" : "passed",
"time" : {
"start" : 1699240583538,
"stop" : 1699240583718,
"duration" : 180
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'添加维度'", "{'code': 'wdf_test_dem', 'description': '我的发测试维度', 'isDefault': 0, 'name': '我的发测试维度'}", "'高'", "'POST'", "'json'", "'正向用例'", "'http://120.46.172.186:8080/api/demension/v1/dem/addDem'", "{'state': True, 'message': '添加维度成功!'}", "'维度管理'", "'DELETE FROM uc_demension WHERE CODE_=\"wdf_test_dem\";'", "'delete'", "None" ]
}, {
"name" : "反向用例",
"uid" : "4841da5b52756922",
"parentUid" : "0e555ff9ad679802505886637bda96f9",
"status" : "passed",
"time" : {
"start" : 1699240583742,
"stop" : 1699240583794,
"duration" : 52
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'添加维度'", "{'code': '', 'description': '我的发测试维度', 'isDefault': 0, 'name': '我的发测试维度'}", "'中'", "'POST'", "'json'", "'反向用例'", "'http://120.46.172.186:8080/api/demension/v1/dem/addDem'", "{'state': False, 'message': '添加维度信息失败,维度编码【code】必填!'}", "'维度管理'", "None", "'delete'", "None" ]
}, {
"name" : "正向用例",
"uid" : "1f29be7445451682",
"parentUid" : "0e555ff9ad679802505886637bda96f9",
"status" : "passed",
"time" : {
"start" : 1699240583811,
"stop" : 1699240583893,
"duration" : 82
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'根据维度编码获取维度信息'", "{'code': 'wdf_test_dem'}", "'中'", "'GET'", "'query'", "'正向用例'", "'http://120.46.172.186:8080/api/demension/v1/dem/getDem'", "{'demCode': 'wdf_test_dem', 'name': '我的发测试维度'}", "'维度管理'", "None", "None", "None" ]
}, {
"name" : "正向用例",
"uid" : "a1bcdc98c0e94a3b",
"parentUid" : "0e555ff9ad679802505886637bda96f9",
"status" : "passed",
"time" : {
"start" : 1699240583912,
"stop" : 1699240584086,
"duration" : 174
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'添加组织'", "{'code': 'wdf_test_org', 'demId': '不知道', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '我的发测试组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}", "'高'", "'POST'", "'application/json'", "'正向用例'", "'http://120.46.172.186:8080/api/org/v1/org/addOrg'", "{'state': True, 'message': '添加组织成功!'}", "'组织管理'", "{'select': 'SELECT ID_ from uc_demension WHERE CODE_=\"wdf_test_dem\";', 'delete': 'DELETE FROM uc_org WHERE CODE_=\"wdf_test_org\";'}", "'select|delete'", "'demId'" ]
}, {
"name" : "反向用例",
"uid" : "cb9d5bdf1a764e22",
"parentUid" : "0e555ff9ad679802505886637bda96f9",
"status" : "passed",
"time" : {
"start" : 1699240584106,
"stop" : 1699240584269,
"duration" : 163
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'添加组织'", "{'code': '', 'demId': '不知道', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '我的发测试组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}", "'中'", "'POST'", "'application/json'", "'反向用例'", "'http://120.46.172.186:8080/api/org/v1/org/addOrg'", "{'state': False, 'message': '添加组织失败,组织编码【code】不能为空!'}", "'组织管理'", "{'select': 'SELECT ID_ from uc_demension WHERE CODE_=\"wdf_test_dem\";', 'delete': 'DELETE FROM uc_org WHERE CODE_=\"wdf_test_org1\";'}", "'select|delete'", "'demId'" ]
} ],
"uid" : "test_wdf.test_bpm"
} ]
}
\ 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 Nov 06 11:16:23 CST 2023","Mon Nov 06 11:16:23 CST 2023","90","test_wdf","test_bpm","TestBpm","","","反向用例-用户名填写正确,密码填写错误",""
"passed","Mon Nov 06 11:16:23 CST 2023","Mon Nov 06 11:16:23 CST 2023","180","test_wdf","test_bpm","TestBpm","","","正向用例",""
"passed","Mon Nov 06 11:16:23 CST 2023","Mon Nov 06 11:16:23 CST 2023","53","test_wdf","test_bpm","TestBpm","","","反向用例-用户名为空,密码正确填写",""
"passed","Mon Nov 06 11:16:23 CST 2023","Mon Nov 06 11:16:23 CST 2023","52","test_wdf","test_bpm","TestBpm","","","反向用例",""
"passed","Mon Nov 06 11:16:23 CST 2023","Mon Nov 06 11:16:24 CST 2023","174","test_wdf","test_bpm","TestBpm","","","正向用例",""
"passed","Mon Nov 06 11:16:23 CST 2023","Mon Nov 06 11:16:23 CST 2023","82","test_wdf","test_bpm","TestBpm","","","正向用例",""
"passed","Mon Nov 06 11:16:23 CST 2023","Mon Nov 06 11:16:23 CST 2023","96","test_wdf","test_bpm","TestBpm","","","反向用例-用户名正确填写,密码为空",""
"passed","Mon Nov 06 11:16:23 CST 2023","Mon Nov 06 11:16:23 CST 2023","54","test_wdf","test_bpm","TestBpm","","","正向用例-用户名和密码正确",""
"passed","Mon Nov 06 11:16:24 CST 2023","Mon Nov 06 11:16:24 CST 2023","163","test_wdf","test_bpm","TestBpm","","","反向用例",""
{
"uid" : "98d3104e051c652961429bf95fa0b5d6",
"name" : "suites",
"children" : [ {
"name" : "test_wdf",
"children" : [ {
"name" : "test_bpm",
"children" : [ {
"name" : "TestBpm",
"children" : [ {
"name" : "正向用例-用户名和密码正确",
"uid" : "a4e0f260b8fa7531",
"parentUid" : "28ea16dd357e8b61f282c548a03ea63f",
"status" : "passed",
"time" : {
"start" : 1699240583148,
"stop" : 1699240583202,
"duration" : 54
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'登录系统'", "{'username': 'admin', 'password': 'MTIzNDU2'}", "'高'", "'POST'", "'json'", "'正向用例-用户名和密码正确'", "'http://120.46.172.186:8080/auth'", "{'username': '超级管理员', 'account': 'admin', 'loginStatus': True}", "'认证接口'", "None", "None", "None" ]
}, {
"name" : "反向用例-用户名为空,密码正确填写",
"uid" : "58698e4cfdff21af",
"parentUid" : "28ea16dd357e8b61f282c548a03ea63f",
"status" : "passed",
"time" : {
"start" : 1699240583238,
"stop" : 1699240583291,
"duration" : 53
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'登录系统'", "{'username': '', 'password': 'MTIzNDU2'}", "'中'", "'POST'", "'json'", "'反向用例-用户名为空,密码正确填写'", "'http://120.46.172.186:8080/auth'", "{'state': False, 'message': '账号或密码错误'}", "'认证接口'", "None", "None", "None" ]
}, {
"name" : "反向用例-用户名正确填写,密码为空",
"uid" : "7b349d76f92c7444",
"parentUid" : "28ea16dd357e8b61f282c548a03ea63f",
"status" : "passed",
"time" : {
"start" : 1699240583306,
"stop" : 1699240583402,
"duration" : 96
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'登录系统'", "{'username': 'admin', 'password': ''}", "'中'", "'POST'", "'json'", "'反向用例-用户名正确填写,密码为空'", "'http://120.46.172.186:8080/auth'", "{'state': False, 'message': '账号或密码错误'}", "'认证接口'", "None", "None", "None" ]
}, {
"name" : "反向用例-用户名填写正确,密码填写错误",
"uid" : "71f613087bcd4830",
"parentUid" : "28ea16dd357e8b61f282c548a03ea63f",
"status" : "passed",
"time" : {
"start" : 1699240583427,
"stop" : 1699240583517,
"duration" : 90
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'登录系统'", "{'username': 'admin', 'password': 'MTIzNDU222'}", "'中'", "'POST'", "'json'", "'反向用例-用户名填写正确,密码填写错误'", "'http://120.46.172.186:8080/auth'", "{'state': False, 'message': '账号或密码错误'}", "'认证接口'", "None", "None", "None" ]
}, {
"name" : "正向用例",
"uid" : "431f066c21510188",
"parentUid" : "28ea16dd357e8b61f282c548a03ea63f",
"status" : "passed",
"time" : {
"start" : 1699240583538,
"stop" : 1699240583718,
"duration" : 180
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'添加维度'", "{'code': 'wdf_test_dem', 'description': '我的发测试维度', 'isDefault': 0, 'name': '我的发测试维度'}", "'高'", "'POST'", "'json'", "'正向用例'", "'http://120.46.172.186:8080/api/demension/v1/dem/addDem'", "{'state': True, 'message': '添加维度成功!'}", "'维度管理'", "'DELETE FROM uc_demension WHERE CODE_=\"wdf_test_dem\";'", "'delete'", "None" ]
}, {
"name" : "反向用例",
"uid" : "4841da5b52756922",
"parentUid" : "28ea16dd357e8b61f282c548a03ea63f",
"status" : "passed",
"time" : {
"start" : 1699240583742,
"stop" : 1699240583794,
"duration" : 52
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'添加维度'", "{'code': '', 'description': '我的发测试维度', 'isDefault': 0, 'name': '我的发测试维度'}", "'中'", "'POST'", "'json'", "'反向用例'", "'http://120.46.172.186:8080/api/demension/v1/dem/addDem'", "{'state': False, 'message': '添加维度信息失败,维度编码【code】必填!'}", "'维度管理'", "None", "'delete'", "None" ]
}, {
"name" : "正向用例",
"uid" : "1f29be7445451682",
"parentUid" : "28ea16dd357e8b61f282c548a03ea63f",
"status" : "passed",
"time" : {
"start" : 1699240583811,
"stop" : 1699240583893,
"duration" : 82
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'根据维度编码获取维度信息'", "{'code': 'wdf_test_dem'}", "'中'", "'GET'", "'query'", "'正向用例'", "'http://120.46.172.186:8080/api/demension/v1/dem/getDem'", "{'demCode': 'wdf_test_dem', 'name': '我的发测试维度'}", "'维度管理'", "None", "None", "None" ]
}, {
"name" : "正向用例",
"uid" : "a1bcdc98c0e94a3b",
"parentUid" : "28ea16dd357e8b61f282c548a03ea63f",
"status" : "passed",
"time" : {
"start" : 1699240583912,
"stop" : 1699240584086,
"duration" : 174
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'添加组织'", "{'code': 'wdf_test_org', 'demId': '不知道', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '我的发测试组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}", "'高'", "'POST'", "'application/json'", "'正向用例'", "'http://120.46.172.186:8080/api/org/v1/org/addOrg'", "{'state': True, 'message': '添加组织成功!'}", "'组织管理'", "{'select': 'SELECT ID_ from uc_demension WHERE CODE_=\"wdf_test_dem\";', 'delete': 'DELETE FROM uc_org WHERE CODE_=\"wdf_test_org\";'}", "'select|delete'", "'demId'" ]
}, {
"name" : "反向用例",
"uid" : "cb9d5bdf1a764e22",
"parentUid" : "28ea16dd357e8b61f282c548a03ea63f",
"status" : "passed",
"time" : {
"start" : 1699240584106,
"stop" : 1699240584269,
"duration" : 163
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'添加组织'", "{'code': '', 'demId': '不知道', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '我的发测试组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}", "'中'", "'POST'", "'application/json'", "'反向用例'", "'http://120.46.172.186:8080/api/org/v1/org/addOrg'", "{'state': False, 'message': '添加组织失败,组织编码【code】不能为空!'}", "'组织管理'", "{'select': 'SELECT ID_ from uc_demension WHERE CODE_=\"wdf_test_dem\";', 'delete': 'DELETE FROM uc_org WHERE CODE_=\"wdf_test_org1\";'}", "'select|delete'", "'demId'" ]
} ],
"uid" : "28ea16dd357e8b61f282c548a03ea63f"
} ],
"uid" : "f70effad92ba27aff357f02a7d1a5143"
} ],
"uid" : "4cc0afdf2a494b0f890060ef4d5eb567"
} ]
}
\ No newline at end of file
{
"uid" : "1f29be7445451682",
"name" : "正向用例",
"fullName" : "test_wdf.test_bpm.TestBpm#test_bpm",
"historyId" : "428c5cbbd1751f9eba3924400000000b",
"time" : {
"start" : 1699240583811,
"stop" : 1699240583893,
"duration" : 82
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "db_fix",
"time" : {
"start" : 1699240582850,
"stop" : 1699240583050,
"duration" : 200
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "_verify_url",
"time" : {
"start" : 1699240582850,
"stop" : 1699240582850,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "sensitive_url",
"time" : {
"start" : 1699240583146,
"stop" : 1699240583146,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "_session_faker",
"time" : {
"start" : 1699240582705,
"stop" : 1699240582849,
"duration" : 144
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "_skip_sensitive",
"time" : {
"start" : 1699240583809,
"stop" : 1699240583809,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "base_url",
"time" : {
"start" : 1699240582849,
"stop" : 1699240582849,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "req_fix",
"time" : {
"start" : 1699240583051,
"stop" : 1699240583146,
"duration" : 95
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "fbea825fee18581c",
"name" : "stdout",
"source" : "fbea825fee18581c.txt",
"type" : "text/plain",
"size" : 16
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"attachmentsCount" : 1,
"shouldDisplayMessage" : false
},
"afterStages" : [ {
"name" : "db_fix::0",
"time" : {
"start" : 1699240584286,
"stop" : 1699240584286,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "req_fix::0",
"time" : {
"start" : 1699240584285,
"stop" : 1699240584285,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"labels" : [ {
"name" : "feature",
"value" : "维度管理"
}, {
"name" : "story",
"value" : "根据维度编码获取维度信息"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "BPM系统测试-王德发"
}, {
"name" : "parentSuite",
"value" : "test_wdf"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBpm"
}, {
"name" : "host",
"value" : "DESKTOP-4FFIKGU"
}, {
"name" : "thread",
"value" : "2536-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_wdf.test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api_name",
"value" : "'根据维度编码获取维度信息'"
}, {
"name" : "case_data",
"value" : "{'code': 'wdf_test_dem'}"
}, {
"name" : "case_level",
"value" : "'中'"
}, {
"name" : "case_method",
"value" : "'GET'"
}, {
"name" : "case_mime",
"value" : "'query'"
}, {
"name" : "case_title",
"value" : "'正向用例'"
}, {
"name" : "case_url",
"value" : "'http://120.46.172.186:8080/api/demension/v1/dem/getDem'"
}, {
"name" : "expect_data",
"value" : "{'demCode': 'wdf_test_dem', 'name': '我的发测试维度'}"
}, {
"name" : "module_name",
"value" : "'维度管理'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "update_key",
"value" : "None"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "1f29be7445451682.json",
"parameterValues" : [ "'根据维度编码获取维度信息'", "{'code': 'wdf_test_dem'}", "'中'", "'GET'", "'query'", "'正向用例'", "'http://120.46.172.186:8080/api/demension/v1/dem/getDem'", "{'demCode': 'wdf_test_dem', 'name': '我的发测试维度'}", "'维度管理'", "None", "None", "None" ]
}
\ No newline at end of file
{
"uid" : "431f066c21510188",
"name" : "正向用例",
"fullName" : "test_wdf.test_bpm.TestBpm#test_bpm",
"historyId" : "4c7f2654fceeef8f3f59a7ae7be9d3e6",
"time" : {
"start" : 1699240583538,
"stop" : 1699240583718,
"duration" : 180
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "db_fix",
"time" : {
"start" : 1699240582850,
"stop" : 1699240583050,
"duration" : 200
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "_verify_url",
"time" : {
"start" : 1699240582850,
"stop" : 1699240582850,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "sensitive_url",
"time" : {
"start" : 1699240583146,
"stop" : 1699240583146,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "_session_faker",
"time" : {
"start" : 1699240582705,
"stop" : 1699240582849,
"duration" : 144
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "_skip_sensitive",
"time" : {
"start" : 1699240583535,
"stop" : 1699240583536,
"duration" : 1
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "base_url",
"time" : {
"start" : 1699240582849,
"stop" : 1699240582849,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "req_fix",
"time" : {
"start" : 1699240583051,
"stop" : 1699240583146,
"duration" : 95
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "203a1122696fa85a",
"name" : "stdout",
"source" : "203a1122696fa85a.txt",
"type" : "text/plain",
"size" : 16
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"attachmentsCount" : 1,
"shouldDisplayMessage" : false
},
"afterStages" : [ {
"name" : "db_fix::0",
"time" : {
"start" : 1699240584286,
"stop" : 1699240584286,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "req_fix::0",
"time" : {
"start" : 1699240584285,
"stop" : 1699240584285,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"labels" : [ {
"name" : "feature",
"value" : "维度管理"
}, {
"name" : "story",
"value" : "添加维度"
}, {
"name" : "severity",
"value" : "高"
}, {
"name" : "epic",
"value" : "BPM系统测试-王德发"
}, {
"name" : "parentSuite",
"value" : "test_wdf"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBpm"
}, {
"name" : "host",
"value" : "DESKTOP-4FFIKGU"
}, {
"name" : "thread",
"value" : "2536-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_wdf.test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api_name",
"value" : "'添加维度'"
}, {
"name" : "case_data",
"value" : "{'code': 'wdf_test_dem', 'description': '我的发测试维度', 'isDefault': 0, 'name': '我的发测试维度'}"
}, {
"name" : "case_level",
"value" : "'高'"
}, {
"name" : "case_method",
"value" : "'POST'"
}, {
"name" : "case_mime",
"value" : "'json'"
}, {
"name" : "case_title",
"value" : "'正向用例'"
}, {
"name" : "case_url",
"value" : "'http://120.46.172.186:8080/api/demension/v1/dem/addDem'"
}, {
"name" : "expect_data",
"value" : "{'state': True, 'message': '添加维度成功!'}"
}, {
"name" : "module_name",
"value" : "'维度管理'"
}, {
"name" : "sql_data",
"value" : "'DELETE FROM uc_demension WHERE CODE_=\"wdf_test_dem\";'"
}, {
"name" : "sql_type",
"value" : "'delete'"
}, {
"name" : "update_key",
"value" : "None"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "431f066c21510188.json",
"parameterValues" : [ "'添加维度'", "{'code': 'wdf_test_dem', 'description': '我的发测试维度', 'isDefault': 0, 'name': '我的发测试维度'}", "'高'", "'POST'", "'json'", "'正向用例'", "'http://120.46.172.186:8080/api/demension/v1/dem/addDem'", "{'state': True, 'message': '添加维度成功!'}", "'维度管理'", "'DELETE FROM uc_demension WHERE CODE_=\"wdf_test_dem\";'", "'delete'", "None" ]
}
\ No newline at end of file
{
"uid" : "4841da5b52756922",
"name" : "反向用例",
"fullName" : "test_wdf.test_bpm.TestBpm#test_bpm",
"historyId" : "a004e2d803632d06806e597d95c3a8c0",
"time" : {
"start" : 1699240583742,
"stop" : 1699240583794,
"duration" : 52
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "db_fix",
"time" : {
"start" : 1699240582850,
"stop" : 1699240583050,
"duration" : 200
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "_skip_sensitive",
"time" : {
"start" : 1699240583738,
"stop" : 1699240583738,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "_verify_url",
"time" : {
"start" : 1699240582850,
"stop" : 1699240582850,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "sensitive_url",
"time" : {
"start" : 1699240583146,
"stop" : 1699240583146,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "_session_faker",
"time" : {
"start" : 1699240582705,
"stop" : 1699240582849,
"duration" : 144
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "base_url",
"time" : {
"start" : 1699240582849,
"stop" : 1699240582849,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "req_fix",
"time" : {
"start" : 1699240583051,
"stop" : 1699240583146,
"duration" : 95
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "fc016de897e233c9",
"name" : "log",
"source" : "fc016de897e233c9.txt",
"type" : "text/plain",
"size" : 104
}, {
"uid" : "6bef34bc01dfbde",
"name" : "stdout",
"source" : "6bef34bc01dfbde.txt",
"type" : "text/plain",
"size" : 16
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"attachmentsCount" : 2,
"shouldDisplayMessage" : false
},
"afterStages" : [ {
"name" : "db_fix::0",
"time" : {
"start" : 1699240584286,
"stop" : 1699240584286,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "req_fix::0",
"time" : {
"start" : 1699240584285,
"stop" : 1699240584285,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"labels" : [ {
"name" : "feature",
"value" : "维度管理"
}, {
"name" : "story",
"value" : "添加维度"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "BPM系统测试-王德发"
}, {
"name" : "parentSuite",
"value" : "test_wdf"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBpm"
}, {
"name" : "host",
"value" : "DESKTOP-4FFIKGU"
}, {
"name" : "thread",
"value" : "2536-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_wdf.test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api_name",
"value" : "'添加维度'"
}, {
"name" : "case_data",
"value" : "{'code': '', 'description': '我的发测试维度', 'isDefault': 0, 'name': '我的发测试维度'}"
}, {
"name" : "case_level",
"value" : "'中'"
}, {
"name" : "case_method",
"value" : "'POST'"
}, {
"name" : "case_mime",
"value" : "'json'"
}, {
"name" : "case_title",
"value" : "'反向用例'"
}, {
"name" : "case_url",
"value" : "'http://120.46.172.186:8080/api/demension/v1/dem/addDem'"
}, {
"name" : "expect_data",
"value" : "{'state': False, 'message': '添加维度信息失败,维度编码【code】必填!'}"
}, {
"name" : "module_name",
"value" : "'维度管理'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "'delete'"
}, {
"name" : "update_key",
"value" : "None"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "4841da5b52756922.json",
"parameterValues" : [ "'添加维度'", "{'code': '', 'description': '我的发测试维度', 'isDefault': 0, 'name': '我的发测试维度'}", "'中'", "'POST'", "'json'", "'反向用例'", "'http://120.46.172.186:8080/api/demension/v1/dem/addDem'", "{'state': False, 'message': '添加维度信息失败,维度编码【code】必填!'}", "'维度管理'", "None", "'delete'", "None" ]
}
\ No newline at end of file
{
"uid" : "58698e4cfdff21af",
"name" : "反向用例-用户名为空,密码正确填写",
"fullName" : "test_wdf.test_bpm.TestBpm#test_bpm",
"historyId" : "4ba65c98f4203c09e406784f82260356",
"time" : {
"start" : 1699240583238,
"stop" : 1699240583291,
"duration" : 53
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "db_fix",
"time" : {
"start" : 1699240582850,
"stop" : 1699240583050,
"duration" : 200
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "_skip_sensitive",
"time" : {
"start" : 1699240583236,
"stop" : 1699240583236,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "_verify_url",
"time" : {
"start" : 1699240582850,
"stop" : 1699240582850,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "sensitive_url",
"time" : {
"start" : 1699240583146,
"stop" : 1699240583146,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "_session_faker",
"time" : {
"start" : 1699240582705,
"stop" : 1699240582849,
"duration" : 144
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "base_url",
"time" : {
"start" : 1699240582849,
"stop" : 1699240582849,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "req_fix",
"time" : {
"start" : 1699240583051,
"stop" : 1699240583146,
"duration" : 95
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "34e8591d6fc26e3d",
"name" : "stdout",
"source" : "34e8591d6fc26e3d.txt",
"type" : "text/plain",
"size" : 16
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"attachmentsCount" : 1,
"shouldDisplayMessage" : false
},
"afterStages" : [ {
"name" : "db_fix::0",
"time" : {
"start" : 1699240584286,
"stop" : 1699240584286,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "req_fix::0",
"time" : {
"start" : 1699240584285,
"stop" : 1699240584285,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登录系统"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "BPM系统测试-王德发"
}, {
"name" : "parentSuite",
"value" : "test_wdf"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBpm"
}, {
"name" : "host",
"value" : "DESKTOP-4FFIKGU"
}, {
"name" : "thread",
"value" : "2536-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_wdf.test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api_name",
"value" : "'登录系统'"
}, {
"name" : "case_data",
"value" : "{'username': '', 'password': 'MTIzNDU2'}"
}, {
"name" : "case_level",
"value" : "'中'"
}, {
"name" : "case_method",
"value" : "'POST'"
}, {
"name" : "case_mime",
"value" : "'json'"
}, {
"name" : "case_title",
"value" : "'反向用例-用户名为空,密码正确填写'"
}, {
"name" : "case_url",
"value" : "'http://120.46.172.186:8080/auth'"
}, {
"name" : "expect_data",
"value" : "{'state': False, 'message': '账号或密码错误'}"
}, {
"name" : "module_name",
"value" : "'认证接口'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "update_key",
"value" : "None"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "58698e4cfdff21af.json",
"parameterValues" : [ "'登录系统'", "{'username': '', 'password': 'MTIzNDU2'}", "'中'", "'POST'", "'json'", "'反向用例-用户名为空,密码正确填写'", "'http://120.46.172.186:8080/auth'", "{'state': False, 'message': '账号或密码错误'}", "'认证接口'", "None", "None", "None" ]
}
\ No newline at end of file
{
"uid" : "71f613087bcd4830",
"name" : "反向用例-用户名填写正确,密码填写错误",
"fullName" : "test_wdf.test_bpm.TestBpm#test_bpm",
"historyId" : "95f1bc7c0c5780b86d719357b8b73e54",
"time" : {
"start" : 1699240583427,
"stop" : 1699240583517,
"duration" : 90
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "db_fix",
"time" : {
"start" : 1699240582850,
"stop" : 1699240583050,
"duration" : 200
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "_verify_url",
"time" : {
"start" : 1699240582850,
"stop" : 1699240582850,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "sensitive_url",
"time" : {
"start" : 1699240583146,
"stop" : 1699240583146,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "_session_faker",
"time" : {
"start" : 1699240582705,
"stop" : 1699240582849,
"duration" : 144
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "base_url",
"time" : {
"start" : 1699240582849,
"stop" : 1699240582849,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "_skip_sensitive",
"time" : {
"start" : 1699240583424,
"stop" : 1699240583424,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "req_fix",
"time" : {
"start" : 1699240583051,
"stop" : 1699240583146,
"duration" : 95
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "6650ee086c1ea806",
"name" : "stdout",
"source" : "6650ee086c1ea806.txt",
"type" : "text/plain",
"size" : 16
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"attachmentsCount" : 1,
"shouldDisplayMessage" : false
},
"afterStages" : [ {
"name" : "db_fix::0",
"time" : {
"start" : 1699240584286,
"stop" : 1699240584286,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "req_fix::0",
"time" : {
"start" : 1699240584285,
"stop" : 1699240584285,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登录系统"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "BPM系统测试-王德发"
}, {
"name" : "parentSuite",
"value" : "test_wdf"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBpm"
}, {
"name" : "host",
"value" : "DESKTOP-4FFIKGU"
}, {
"name" : "thread",
"value" : "2536-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_wdf.test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api_name",
"value" : "'登录系统'"
}, {
"name" : "case_data",
"value" : "{'username': 'admin', 'password': 'MTIzNDU222'}"
}, {
"name" : "case_level",
"value" : "'中'"
}, {
"name" : "case_method",
"value" : "'POST'"
}, {
"name" : "case_mime",
"value" : "'json'"
}, {
"name" : "case_title",
"value" : "'反向用例-用户名填写正确,密码填写错误'"
}, {
"name" : "case_url",
"value" : "'http://120.46.172.186:8080/auth'"
}, {
"name" : "expect_data",
"value" : "{'state': False, 'message': '账号或密码错误'}"
}, {
"name" : "module_name",
"value" : "'认证接口'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "update_key",
"value" : "None"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "71f613087bcd4830.json",
"parameterValues" : [ "'登录系统'", "{'username': 'admin', 'password': 'MTIzNDU222'}", "'中'", "'POST'", "'json'", "'反向用例-用户名填写正确,密码填写错误'", "'http://120.46.172.186:8080/auth'", "{'state': False, 'message': '账号或密码错误'}", "'认证接口'", "None", "None", "None" ]
}
\ No newline at end of file
{
"uid" : "7b349d76f92c7444",
"name" : "反向用例-用户名正确填写,密码为空",
"fullName" : "test_wdf.test_bpm.TestBpm#test_bpm",
"historyId" : "42ceb953820b163ad551683337470d7f",
"time" : {
"start" : 1699240583306,
"stop" : 1699240583402,
"duration" : 96
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "db_fix",
"time" : {
"start" : 1699240582850,
"stop" : 1699240583050,
"duration" : 200
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "_skip_sensitive",
"time" : {
"start" : 1699240583304,
"stop" : 1699240583304,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "_verify_url",
"time" : {
"start" : 1699240582850,
"stop" : 1699240582850,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "sensitive_url",
"time" : {
"start" : 1699240583146,
"stop" : 1699240583146,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "_session_faker",
"time" : {
"start" : 1699240582705,
"stop" : 1699240582849,
"duration" : 144
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "base_url",
"time" : {
"start" : 1699240582849,
"stop" : 1699240582849,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "req_fix",
"time" : {
"start" : 1699240583051,
"stop" : 1699240583146,
"duration" : 95
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "516f9c3d193fd871",
"name" : "stdout",
"source" : "516f9c3d193fd871.txt",
"type" : "text/plain",
"size" : 16
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"attachmentsCount" : 1,
"shouldDisplayMessage" : false
},
"afterStages" : [ {
"name" : "db_fix::0",
"time" : {
"start" : 1699240584286,
"stop" : 1699240584286,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "req_fix::0",
"time" : {
"start" : 1699240584285,
"stop" : 1699240584285,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登录系统"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "BPM系统测试-王德发"
}, {
"name" : "parentSuite",
"value" : "test_wdf"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBpm"
}, {
"name" : "host",
"value" : "DESKTOP-4FFIKGU"
}, {
"name" : "thread",
"value" : "2536-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_wdf.test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api_name",
"value" : "'登录系统'"
}, {
"name" : "case_data",
"value" : "{'username': 'admin', 'password': ''}"
}, {
"name" : "case_level",
"value" : "'中'"
}, {
"name" : "case_method",
"value" : "'POST'"
}, {
"name" : "case_mime",
"value" : "'json'"
}, {
"name" : "case_title",
"value" : "'反向用例-用户名正确填写,密码为空'"
}, {
"name" : "case_url",
"value" : "'http://120.46.172.186:8080/auth'"
}, {
"name" : "expect_data",
"value" : "{'state': False, 'message': '账号或密码错误'}"
}, {
"name" : "module_name",
"value" : "'认证接口'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "update_key",
"value" : "None"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "7b349d76f92c7444.json",
"parameterValues" : [ "'登录系统'", "{'username': 'admin', 'password': ''}", "'中'", "'POST'", "'json'", "'反向用例-用户名正确填写,密码为空'", "'http://120.46.172.186:8080/auth'", "{'state': False, 'message': '账号或密码错误'}", "'认证接口'", "None", "None", "None" ]
}
\ No newline at end of file
{
"uid" : "a1bcdc98c0e94a3b",
"name" : "正向用例",
"fullName" : "test_wdf.test_bpm.TestBpm#test_bpm",
"historyId" : "eeb6789781d1acc05d7e210d19b0cb17",
"time" : {
"start" : 1699240583912,
"stop" : 1699240584086,
"duration" : 174
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "db_fix",
"time" : {
"start" : 1699240582850,
"stop" : 1699240583050,
"duration" : 200
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "_verify_url",
"time" : {
"start" : 1699240582850,
"stop" : 1699240582850,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "sensitive_url",
"time" : {
"start" : 1699240583146,
"stop" : 1699240583146,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "_session_faker",
"time" : {
"start" : 1699240582705,
"stop" : 1699240582849,
"duration" : 144
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "base_url",
"time" : {
"start" : 1699240582849,
"stop" : 1699240582849,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "req_fix",
"time" : {
"start" : 1699240583051,
"stop" : 1699240583146,
"duration" : 95
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "_skip_sensitive",
"time" : {
"start" : 1699240583909,
"stop" : 1699240583909,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "97ad69285de0a142",
"name" : "stdout",
"source" : "97ad69285de0a142.txt",
"type" : "text/plain",
"size" : 16
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"attachmentsCount" : 1,
"shouldDisplayMessage" : false
},
"afterStages" : [ {
"name" : "db_fix::0",
"time" : {
"start" : 1699240584286,
"stop" : 1699240584286,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "req_fix::0",
"time" : {
"start" : 1699240584285,
"stop" : 1699240584285,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"labels" : [ {
"name" : "feature",
"value" : "组织管理"
}, {
"name" : "story",
"value" : "添加组织"
}, {
"name" : "severity",
"value" : "高"
}, {
"name" : "epic",
"value" : "BPM系统测试-王德发"
}, {
"name" : "parentSuite",
"value" : "test_wdf"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBpm"
}, {
"name" : "host",
"value" : "DESKTOP-4FFIKGU"
}, {
"name" : "thread",
"value" : "2536-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_wdf.test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api_name",
"value" : "'添加组织'"
}, {
"name" : "case_data",
"value" : "{'code': 'wdf_test_org', 'demId': '不知道', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '我的发测试组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}"
}, {
"name" : "case_level",
"value" : "'高'"
}, {
"name" : "case_method",
"value" : "'POST'"
}, {
"name" : "case_mime",
"value" : "'application/json'"
}, {
"name" : "case_title",
"value" : "'正向用例'"
}, {
"name" : "case_url",
"value" : "'http://120.46.172.186:8080/api/org/v1/org/addOrg'"
}, {
"name" : "expect_data",
"value" : "{'state': True, 'message': '添加组织成功!'}"
}, {
"name" : "module_name",
"value" : "'组织管理'"
}, {
"name" : "sql_data",
"value" : "{'select': 'SELECT ID_ from uc_demension WHERE CODE_=\"wdf_test_dem\";', 'delete': 'DELETE FROM uc_org WHERE CODE_=\"wdf_test_org\";'}"
}, {
"name" : "sql_type",
"value" : "'select|delete'"
}, {
"name" : "update_key",
"value" : "'demId'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "a1bcdc98c0e94a3b.json",
"parameterValues" : [ "'添加组织'", "{'code': 'wdf_test_org', 'demId': '不知道', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '我的发测试组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}", "'高'", "'POST'", "'application/json'", "'正向用例'", "'http://120.46.172.186:8080/api/org/v1/org/addOrg'", "{'state': True, 'message': '添加组织成功!'}", "'组织管理'", "{'select': 'SELECT ID_ from uc_demension WHERE CODE_=\"wdf_test_dem\";', 'delete': 'DELETE FROM uc_org WHERE CODE_=\"wdf_test_org\";'}", "'select|delete'", "'demId'" ]
}
\ No newline at end of file
{
"uid" : "a4e0f260b8fa7531",
"name" : "正向用例-用户名和密码正确",
"fullName" : "test_wdf.test_bpm.TestBpm#test_bpm",
"historyId" : "6da34adc8d27e8acc6edded6ae93bd74",
"time" : {
"start" : 1699240583148,
"stop" : 1699240583202,
"duration" : 54
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "db_fix",
"time" : {
"start" : 1699240582850,
"stop" : 1699240583050,
"duration" : 200
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "_skip_sensitive",
"time" : {
"start" : 1699240583146,
"stop" : 1699240583146,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "_verify_url",
"time" : {
"start" : 1699240582850,
"stop" : 1699240582850,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "sensitive_url",
"time" : {
"start" : 1699240583146,
"stop" : 1699240583146,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "_session_faker",
"time" : {
"start" : 1699240582705,
"stop" : 1699240582849,
"duration" : 144
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "base_url",
"time" : {
"start" : 1699240582849,
"stop" : 1699240582849,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "req_fix",
"time" : {
"start" : 1699240583051,
"stop" : 1699240583146,
"duration" : 95
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "80320ac63d126513",
"name" : "stdout",
"source" : "80320ac63d126513.txt",
"type" : "text/plain",
"size" : 16
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"attachmentsCount" : 1,
"shouldDisplayMessage" : false
},
"afterStages" : [ {
"name" : "db_fix::0",
"time" : {
"start" : 1699240584286,
"stop" : 1699240584286,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "req_fix::0",
"time" : {
"start" : 1699240584285,
"stop" : 1699240584285,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"labels" : [ {
"name" : "feature",
"value" : "认证接口"
}, {
"name" : "story",
"value" : "登录系统"
}, {
"name" : "severity",
"value" : "高"
}, {
"name" : "epic",
"value" : "BPM系统测试-王德发"
}, {
"name" : "parentSuite",
"value" : "test_wdf"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBpm"
}, {
"name" : "host",
"value" : "DESKTOP-4FFIKGU"
}, {
"name" : "thread",
"value" : "2536-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_wdf.test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api_name",
"value" : "'登录系统'"
}, {
"name" : "case_data",
"value" : "{'username': 'admin', 'password': 'MTIzNDU2'}"
}, {
"name" : "case_level",
"value" : "'高'"
}, {
"name" : "case_method",
"value" : "'POST'"
}, {
"name" : "case_mime",
"value" : "'json'"
}, {
"name" : "case_title",
"value" : "'正向用例-用户名和密码正确'"
}, {
"name" : "case_url",
"value" : "'http://120.46.172.186:8080/auth'"
}, {
"name" : "expect_data",
"value" : "{'username': '超级管理员', 'account': 'admin', 'loginStatus': True}"
}, {
"name" : "module_name",
"value" : "'认证接口'"
}, {
"name" : "sql_data",
"value" : "None"
}, {
"name" : "sql_type",
"value" : "None"
}, {
"name" : "update_key",
"value" : "None"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "a4e0f260b8fa7531.json",
"parameterValues" : [ "'登录系统'", "{'username': 'admin', 'password': 'MTIzNDU2'}", "'高'", "'POST'", "'json'", "'正向用例-用户名和密码正确'", "'http://120.46.172.186:8080/auth'", "{'username': '超级管理员', 'account': 'admin', 'loginStatus': True}", "'认证接口'", "None", "None", "None" ]
}
\ No newline at end of file
{
"uid" : "cb9d5bdf1a764e22",
"name" : "反向用例",
"fullName" : "test_wdf.test_bpm.TestBpm#test_bpm",
"historyId" : "d2ccbaa27edc8666ae13898a0b7077a7",
"time" : {
"start" : 1699240584106,
"stop" : 1699240584269,
"duration" : 163
},
"status" : "passed",
"flaky" : false,
"newFailed" : false,
"beforeStages" : [ {
"name" : "db_fix",
"time" : {
"start" : 1699240582850,
"stop" : 1699240583050,
"duration" : 200
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "_skip_sensitive",
"time" : {
"start" : 1699240584102,
"stop" : 1699240584102,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "_verify_url",
"time" : {
"start" : 1699240582850,
"stop" : 1699240582850,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "sensitive_url",
"time" : {
"start" : 1699240583146,
"stop" : 1699240583146,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "_session_faker",
"time" : {
"start" : 1699240582705,
"stop" : 1699240582849,
"duration" : 144
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "base_url",
"time" : {
"start" : 1699240582849,
"stop" : 1699240582849,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "req_fix",
"time" : {
"start" : 1699240583051,
"stop" : 1699240583146,
"duration" : 95
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"testStage" : {
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "e32ec02f08888d91",
"name" : "stdout",
"source" : "e32ec02f08888d91.txt",
"type" : "text/plain",
"size" : 16
} ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : true,
"attachmentsCount" : 1,
"shouldDisplayMessage" : false
},
"afterStages" : [ {
"name" : "db_fix::0",
"time" : {
"start" : 1699240584286,
"stop" : 1699240584286,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
}, {
"name" : "req_fix::0",
"time" : {
"start" : 1699240584285,
"stop" : 1699240584285,
"duration" : 0
},
"status" : "passed",
"steps" : [ ],
"attachments" : [ ],
"parameters" : [ ],
"stepsCount" : 0,
"hasContent" : false,
"attachmentsCount" : 0,
"shouldDisplayMessage" : false
} ],
"labels" : [ {
"name" : "feature",
"value" : "组织管理"
}, {
"name" : "story",
"value" : "添加组织"
}, {
"name" : "severity",
"value" : "中"
}, {
"name" : "epic",
"value" : "BPM系统测试-王德发"
}, {
"name" : "parentSuite",
"value" : "test_wdf"
}, {
"name" : "suite",
"value" : "test_bpm"
}, {
"name" : "subSuite",
"value" : "TestBpm"
}, {
"name" : "host",
"value" : "DESKTOP-4FFIKGU"
}, {
"name" : "thread",
"value" : "2536-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
}, {
"name" : "language",
"value" : "cpython3"
}, {
"name" : "package",
"value" : "test_wdf.test_bpm"
}, {
"name" : "resultFormat",
"value" : "allure2"
} ],
"parameters" : [ {
"name" : "api_name",
"value" : "'添加组织'"
}, {
"name" : "case_data",
"value" : "{'code': '', 'demId': '不知道', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '我的发测试组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}"
}, {
"name" : "case_level",
"value" : "'中'"
}, {
"name" : "case_method",
"value" : "'POST'"
}, {
"name" : "case_mime",
"value" : "'application/json'"
}, {
"name" : "case_title",
"value" : "'反向用例'"
}, {
"name" : "case_url",
"value" : "'http://120.46.172.186:8080/api/org/v1/org/addOrg'"
}, {
"name" : "expect_data",
"value" : "{'state': False, 'message': '添加组织失败,组织编码【code】不能为空!'}"
}, {
"name" : "module_name",
"value" : "'组织管理'"
}, {
"name" : "sql_data",
"value" : "{'select': 'SELECT ID_ from uc_demension WHERE CODE_=\"wdf_test_dem\";', 'delete': 'DELETE FROM uc_org WHERE CODE_=\"wdf_test_org1\";'}"
}, {
"name" : "sql_type",
"value" : "'select|delete'"
}, {
"name" : "update_key",
"value" : "'demId'"
} ],
"links" : [ ],
"hidden" : false,
"retry" : false,
"extra" : {
"severity" : "normal",
"retries" : [ ],
"categories" : [ ],
"tags" : [ ]
},
"source" : "cb9d5bdf1a764e22.json",
"parameterValues" : [ "'添加组织'", "{'code': '', 'demId': '不知道', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '我的发测试组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}", "'中'", "'POST'", "'application/json'", "'反向用例'", "'http://120.46.172.186:8080/api/org/v1/org/addOrg'", "{'state': False, 'message': '添加组织失败,组织编码【code】不能为空!'}", "'组织管理'", "{'select': 'SELECT ID_ from uc_demension WHERE CODE_=\"wdf_test_dem\";', 'delete': 'DELETE FROM uc_org WHERE CODE_=\"wdf_test_org1\";'}", "'select|delete'", "'demId'" ]
}
\ No newline at end of file
{
"uid" : "ab17fc5a4eb3bca4b216b548c7f9fcbc",
"name" : "timeline",
"children" : [ {
"name" : "DESKTOP-4FFIKGU",
"children" : [ {
"name" : "2536-MainThread",
"children" : [ {
"name" : "正向用例-用户名和密码正确",
"uid" : "a4e0f260b8fa7531",
"parentUid" : "cd2342681294b875b254f82a5c35bd2e",
"status" : "passed",
"time" : {
"start" : 1699240583148,
"stop" : 1699240583202,
"duration" : 54
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'登录系统'", "{'username': 'admin', 'password': 'MTIzNDU2'}", "'高'", "'POST'", "'json'", "'正向用例-用户名和密码正确'", "'http://120.46.172.186:8080/auth'", "{'username': '超级管理员', 'account': 'admin', 'loginStatus': True}", "'认证接口'", "None", "None", "None" ]
}, {
"name" : "正向用例",
"uid" : "1f29be7445451682",
"parentUid" : "cd2342681294b875b254f82a5c35bd2e",
"status" : "passed",
"time" : {
"start" : 1699240583811,
"stop" : 1699240583893,
"duration" : 82
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'根据维度编码获取维度信息'", "{'code': 'wdf_test_dem'}", "'中'", "'GET'", "'query'", "'正向用例'", "'http://120.46.172.186:8080/api/demension/v1/dem/getDem'", "{'demCode': 'wdf_test_dem', 'name': '我的发测试维度'}", "'维度管理'", "None", "None", "None" ]
}, {
"name" : "反向用例-用户名正确填写,密码为空",
"uid" : "7b349d76f92c7444",
"parentUid" : "cd2342681294b875b254f82a5c35bd2e",
"status" : "passed",
"time" : {
"start" : 1699240583306,
"stop" : 1699240583402,
"duration" : 96
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'登录系统'", "{'username': 'admin', 'password': ''}", "'中'", "'POST'", "'json'", "'反向用例-用户名正确填写,密码为空'", "'http://120.46.172.186:8080/auth'", "{'state': False, 'message': '账号或密码错误'}", "'认证接口'", "None", "None", "None" ]
}, {
"name" : "正向用例",
"uid" : "431f066c21510188",
"parentUid" : "cd2342681294b875b254f82a5c35bd2e",
"status" : "passed",
"time" : {
"start" : 1699240583538,
"stop" : 1699240583718,
"duration" : 180
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'添加维度'", "{'code': 'wdf_test_dem', 'description': '我的发测试维度', 'isDefault': 0, 'name': '我的发测试维度'}", "'高'", "'POST'", "'json'", "'正向用例'", "'http://120.46.172.186:8080/api/demension/v1/dem/addDem'", "{'state': True, 'message': '添加维度成功!'}", "'维度管理'", "'DELETE FROM uc_demension WHERE CODE_=\"wdf_test_dem\";'", "'delete'", "None" ]
}, {
"name" : "反向用例-用户名为空,密码正确填写",
"uid" : "58698e4cfdff21af",
"parentUid" : "cd2342681294b875b254f82a5c35bd2e",
"status" : "passed",
"time" : {
"start" : 1699240583238,
"stop" : 1699240583291,
"duration" : 53
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'登录系统'", "{'username': '', 'password': 'MTIzNDU2'}", "'中'", "'POST'", "'json'", "'反向用例-用户名为空,密码正确填写'", "'http://120.46.172.186:8080/auth'", "{'state': False, 'message': '账号或密码错误'}", "'认证接口'", "None", "None", "None" ]
}, {
"name" : "反向用例",
"uid" : "4841da5b52756922",
"parentUid" : "cd2342681294b875b254f82a5c35bd2e",
"status" : "passed",
"time" : {
"start" : 1699240583742,
"stop" : 1699240583794,
"duration" : 52
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'添加维度'", "{'code': '', 'description': '我的发测试维度', 'isDefault': 0, 'name': '我的发测试维度'}", "'中'", "'POST'", "'json'", "'反向用例'", "'http://120.46.172.186:8080/api/demension/v1/dem/addDem'", "{'state': False, 'message': '添加维度信息失败,维度编码【code】必填!'}", "'维度管理'", "None", "'delete'", "None" ]
}, {
"name" : "反向用例-用户名填写正确,密码填写错误",
"uid" : "71f613087bcd4830",
"parentUid" : "cd2342681294b875b254f82a5c35bd2e",
"status" : "passed",
"time" : {
"start" : 1699240583427,
"stop" : 1699240583517,
"duration" : 90
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'登录系统'", "{'username': 'admin', 'password': 'MTIzNDU222'}", "'中'", "'POST'", "'json'", "'反向用例-用户名填写正确,密码填写错误'", "'http://120.46.172.186:8080/auth'", "{'state': False, 'message': '账号或密码错误'}", "'认证接口'", "None", "None", "None" ]
}, {
"name" : "反向用例",
"uid" : "cb9d5bdf1a764e22",
"parentUid" : "cd2342681294b875b254f82a5c35bd2e",
"status" : "passed",
"time" : {
"start" : 1699240584106,
"stop" : 1699240584269,
"duration" : 163
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'添加组织'", "{'code': '', 'demId': '不知道', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '我的发测试组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}", "'中'", "'POST'", "'application/json'", "'反向用例'", "'http://120.46.172.186:8080/api/org/v1/org/addOrg'", "{'state': False, 'message': '添加组织失败,组织编码【code】不能为空!'}", "'组织管理'", "{'select': 'SELECT ID_ from uc_demension WHERE CODE_=\"wdf_test_dem\";', 'delete': 'DELETE FROM uc_org WHERE CODE_=\"wdf_test_org1\";'}", "'select|delete'", "'demId'" ]
}, {
"name" : "正向用例",
"uid" : "a1bcdc98c0e94a3b",
"parentUid" : "cd2342681294b875b254f82a5c35bd2e",
"status" : "passed",
"time" : {
"start" : 1699240583912,
"stop" : 1699240584086,
"duration" : 174
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ "'添加组织'", "{'code': 'wdf_test_org', 'demId': '不知道', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '我的发测试组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}", "'高'", "'POST'", "'application/json'", "'正向用例'", "'http://120.46.172.186:8080/api/org/v1/org/addOrg'", "{'state': True, 'message': '添加组织成功!'}", "'组织管理'", "{'select': 'SELECT ID_ from uc_demension WHERE CODE_=\"wdf_test_dem\";', 'delete': 'DELETE FROM uc_org WHERE CODE_=\"wdf_test_org\";'}", "'select|delete'", "'demId'" ]
} ],
"uid" : "cd2342681294b875b254f82a5c35bd2e"
} ],
"uid" : "f73be692ef2b065133063b476e3099eb"
} ]
}
\ No newline at end of file
launch_status failed=0 1699240984000000000
launch_status broken=0 1699240984000000000
launch_status passed=9 1699240984000000000
launch_status skipped=0 1699240984000000000
launch_status unknown=0 1699240984000000000
launch_time duration=1121 1699240984000000000
launch_time min_duration=52 1699240984000000000
launch_time max_duration=180 1699240984000000000
launch_time sum_duration=944 1699240984000000000
launch_retries retries=0 1699240984000000000
launch_retries run=9 1699240984000000000
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Allure Report summary mail</title>
</head>
<body>
Mail body
</body>
</html>
launch_status_failed 0
launch_status_broken 0
launch_status_passed 9
launch_status_skipped 0
launch_status_unknown 0
launch_time_duration 1121
launch_time_min_duration 52
launch_time_max_duration 180
launch_time_sum_duration 944
launch_retries_retries 0
launch_retries_run 9
module.exports = __webpack_public_path__ + "favicon.ico";
\ No newline at end of file
[ {
"data" : {
"duration" : 1121
}
} ]
\ No newline at end of file
[ {
"data" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 9,
"unknown" : 0,
"total" : 9
}
} ]
\ No newline at end of file
{
"eeb6789781d1acc05d7e210d19b0cb17" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "a1bcdc98c0e94a3b",
"status" : "passed",
"time" : {
"start" : 1699240583912,
"stop" : 1699240584086,
"duration" : 174
}
} ]
},
"d2ccbaa27edc8666ae13898a0b7077a7" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "cb9d5bdf1a764e22",
"status" : "passed",
"time" : {
"start" : 1699240584106,
"stop" : 1699240584269,
"duration" : 163
}
} ]
},
"4c7f2654fceeef8f3f59a7ae7be9d3e6" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "431f066c21510188",
"status" : "passed",
"time" : {
"start" : 1699240583538,
"stop" : 1699240583718,
"duration" : 180
}
} ]
},
"428c5cbbd1751f9eba3924400000000b" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "1f29be7445451682",
"status" : "passed",
"time" : {
"start" : 1699240583811,
"stop" : 1699240583893,
"duration" : 82
}
} ]
},
"6da34adc8d27e8acc6edded6ae93bd74" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "a4e0f260b8fa7531",
"status" : "passed",
"time" : {
"start" : 1699240583148,
"stop" : 1699240583202,
"duration" : 54
}
} ]
},
"a004e2d803632d06806e597d95c3a8c0" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "4841da5b52756922",
"status" : "passed",
"time" : {
"start" : 1699240583742,
"stop" : 1699240583794,
"duration" : 52
}
} ]
},
"4ba65c98f4203c09e406784f82260356" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "58698e4cfdff21af",
"status" : "passed",
"time" : {
"start" : 1699240583238,
"stop" : 1699240583291,
"duration" : 53
}
} ]
},
"42ceb953820b163ad551683337470d7f" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "7b349d76f92c7444",
"status" : "passed",
"time" : {
"start" : 1699240583306,
"stop" : 1699240583402,
"duration" : 96
}
} ]
},
"95f1bc7c0c5780b86d719357b8b73e54" : {
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 1,
"unknown" : 0,
"total" : 1
},
"items" : [ {
"uid" : "71f613087bcd4830",
"status" : "passed",
"time" : {
"start" : 1699240583427,
"stop" : 1699240583517,
"duration" : 90
}
} ]
}
}
\ No newline at end of file
[ {
"data" : {
"run" : 9,
"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('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.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
}));
\ No newline at end of file
'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('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.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="data/attachments/' + src + '">' +
'</div>';
}
function renderDiffContent(type, data) {
function findImage(name) {
if (data.testStage && data.testStage.attachments) {
return data.testStage.attachments.filter(function (attachment) {
return attachment.name === name;
})[0];
}
return null;
}
var diffImage = findImage('diff');
var actualImage = findImage('actual');
var expectedImage = findImage('expected');
if (!diffImage && !actualImage && !expectedImage) {
return '<span>Diff, actual and expected image have not been provided.</span>';
}
if (type === 'diff') {
if (!diffImage) {
return renderImage(actualImage.source);
}
return renderImage(diffImage.source);
}
if (type === 'overlay') {
return '<div class="screen-diff__overlay screen-diff__container">' +
'<img class="screen-diff__image" src="data/attachments/' + expectedImage.source + '">' +
'<div class="screen-diff__image-over">' +
'<img class="screen-diff__image" src="data/attachments/' + actualImage.source + '">' +
'</div>' +
'</div>';
}
}
var ScreenDiffView = Backbone.Marionette.View.extend({
className: 'pane__section',
events: {
'click [name="screen-diff-type"]': 'onDiffTypeChange',
'mousemove .screen-diff__overlay': 'onOverlayMove'
},
templateContext: function () {
return {
diffType: settings.get('diffType')
}
},
template: function (data) {
var testType = data.labels.filter(function (label) {
return label.name === 'testType'
})[0];
if (!testType || testType.value !== 'screenshotDiff') {
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="screen-diff-type" value="diff"> Show diff</label>' +
'<label><input type="radio" name="screen-diff-type" value="overlay"> Show overlay</label>' +
'</div>' +
renderDiffContent(data.diffType, data) +
'</div>';
},
adjustImageSize: function (event) {
var overImage = this.$(event.target);
overImage.width(overImage.width());
},
onRender: function () {
const diffType = settings.get('diffType');
this.$('[name="screen-diff-type"][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(ScreenDiffView, {position: 'before'});
})();
.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;
}
This source diff could not be displayed because it is too large. You can view the blob instead.
{
"total" : 1,
"items" : [ {
"uid" : "2d147c6217fd8aeadb3de7b95fe531c5",
"name" : "BPM系统测试-王德发",
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 3,
"unknown" : 0,
"total" : 3
}
} ]
}
\ No newline at end of file
{
"total" : 0,
"items" : [ ]
}
\ No newline at end of file
[ {
"data" : {
"duration" : 1121
}
} ]
\ No newline at end of file
[ {
"uid" : "71f613087bcd4830",
"name" : "反向用例-用户名填写正确,密码填写错误",
"time" : {
"start" : 1699240583427,
"stop" : 1699240583517,
"duration" : 90
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "431f066c21510188",
"name" : "正向用例",
"time" : {
"start" : 1699240583538,
"stop" : 1699240583718,
"duration" : 180
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "58698e4cfdff21af",
"name" : "反向用例-用户名为空,密码正确填写",
"time" : {
"start" : 1699240583238,
"stop" : 1699240583291,
"duration" : 53
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "4841da5b52756922",
"name" : "反向用例",
"time" : {
"start" : 1699240583742,
"stop" : 1699240583794,
"duration" : 52
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "a1bcdc98c0e94a3b",
"name" : "正向用例",
"time" : {
"start" : 1699240583912,
"stop" : 1699240584086,
"duration" : 174
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "1f29be7445451682",
"name" : "正向用例",
"time" : {
"start" : 1699240583811,
"stop" : 1699240583893,
"duration" : 82
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "7b349d76f92c7444",
"name" : "反向用例-用户名正确填写,密码为空",
"time" : {
"start" : 1699240583306,
"stop" : 1699240583402,
"duration" : 96
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "a4e0f260b8fa7531",
"name" : "正向用例-用户名和密码正确",
"time" : {
"start" : 1699240583148,
"stop" : 1699240583202,
"duration" : 54
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "cb9d5bdf1a764e22",
"name" : "反向用例",
"time" : {
"start" : 1699240584106,
"stop" : 1699240584269,
"duration" : 163
},
"status" : "passed",
"severity" : "normal"
} ]
\ No newline at end of file
[ {
"data" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 9,
"unknown" : 0,
"total" : 9
}
} ]
\ No newline at end of file
[ {
"data" : {
"run" : 9,
"retry" : 0
}
} ]
\ No newline at end of file
[ {
"uid" : "a4e0f260b8fa7531",
"name" : "正向用例-用户名和密码正确",
"time" : {
"start" : 1699240583148,
"stop" : 1699240583202,
"duration" : 54
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "431f066c21510188",
"name" : "正向用例",
"time" : {
"start" : 1699240583538,
"stop" : 1699240583718,
"duration" : 180
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "58698e4cfdff21af",
"name" : "反向用例-用户名为空,密码正确填写",
"time" : {
"start" : 1699240583238,
"stop" : 1699240583291,
"duration" : 53
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "4841da5b52756922",
"name" : "反向用例",
"time" : {
"start" : 1699240583742,
"stop" : 1699240583794,
"duration" : 52
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "1f29be7445451682",
"name" : "正向用例",
"time" : {
"start" : 1699240583811,
"stop" : 1699240583893,
"duration" : 82
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "7b349d76f92c7444",
"name" : "反向用例-用户名正确填写,密码为空",
"time" : {
"start" : 1699240583306,
"stop" : 1699240583402,
"duration" : 96
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "cb9d5bdf1a764e22",
"name" : "反向用例",
"time" : {
"start" : 1699240584106,
"stop" : 1699240584269,
"duration" : 163
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "71f613087bcd4830",
"name" : "反向用例-用户名填写正确,密码填写错误",
"time" : {
"start" : 1699240583427,
"stop" : 1699240583517,
"duration" : 90
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "a1bcdc98c0e94a3b",
"name" : "正向用例",
"time" : {
"start" : 1699240583912,
"stop" : 1699240584086,
"duration" : 174
},
"status" : "passed",
"severity" : "normal"
} ]
\ No newline at end of file
[ {
"uid" : "71f613087bcd4830",
"name" : "反向用例-用户名填写正确,密码填写错误",
"time" : {
"start" : 1699240583427,
"stop" : 1699240583517,
"duration" : 90
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "431f066c21510188",
"name" : "正向用例",
"time" : {
"start" : 1699240583538,
"stop" : 1699240583718,
"duration" : 180
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "58698e4cfdff21af",
"name" : "反向用例-用户名为空,密码正确填写",
"time" : {
"start" : 1699240583238,
"stop" : 1699240583291,
"duration" : 53
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "4841da5b52756922",
"name" : "反向用例",
"time" : {
"start" : 1699240583742,
"stop" : 1699240583794,
"duration" : 52
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "a1bcdc98c0e94a3b",
"name" : "正向用例",
"time" : {
"start" : 1699240583912,
"stop" : 1699240584086,
"duration" : 174
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "1f29be7445451682",
"name" : "正向用例",
"time" : {
"start" : 1699240583811,
"stop" : 1699240583893,
"duration" : 82
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "7b349d76f92c7444",
"name" : "反向用例-用户名正确填写,密码为空",
"time" : {
"start" : 1699240583306,
"stop" : 1699240583402,
"duration" : 96
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "a4e0f260b8fa7531",
"name" : "正向用例-用户名和密码正确",
"time" : {
"start" : 1699240583148,
"stop" : 1699240583202,
"duration" : 54
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "cb9d5bdf1a764e22",
"name" : "反向用例",
"time" : {
"start" : 1699240584106,
"stop" : 1699240584269,
"duration" : 163
},
"status" : "passed",
"severity" : "normal"
} ]
\ No newline at end of file
{
"total" : 1,
"items" : [ {
"uid" : "4cc0afdf2a494b0f890060ef4d5eb567",
"name" : "test_wdf",
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 9,
"unknown" : 0,
"total" : 9
}
} ]
}
\ No newline at end of file
{
"reportName" : "Allure Report",
"testRuns" : [ ],
"statistic" : {
"failed" : 0,
"broken" : 0,
"skipped" : 0,
"passed" : 9,
"unknown" : 0,
"total" : 9
},
"time" : {
"start" : 1699240583148,
"stop" : 1699240584269,
"duration" : 1121,
"minDuration" : 52,
"maxDuration" : 180,
"sumDuration" : 944
}
}
\ No newline at end of file
{"uuid": "ef58e875-7b31-457b-9cb7-26c55fbd9edc", "befores": [{"name": "case_mime", "status": "passed", "start": 1699240583304, "stop": 1699240583305}], "start": 1699240583304, "stop": 1699240583409}
\ No newline at end of file
{"uuid": "9b399cd6-f72e-47c5-b66e-f112f62196b8", "befores": [{"name": "expect_data", "status": "passed", "start": 1699240583810, "stop": 1699240583810}], "start": 1699240583810, "stop": 1699240583896}
\ No newline at end of file
{"uuid": "90c046b5-61fa-4bdc-a062-df7300a8a31a", "befores": [{"name": "expect_data", "status": "passed", "start": 1699240584104, "stop": 1699240584104}], "start": 1699240584104, "stop": 1699240584272}
\ No newline at end of file
{"uuid": "2b0d94a2-5c2b-475f-a0c3-7058d1e0da72", "befores": [{"name": "case_method", "status": "passed", "start": 1699240583147, "stop": 1699240583147}], "start": 1699240583147, "stop": 1699240583219}
\ No newline at end of file
{"uuid": "b811431d-510b-4e21-b57e-97a1fa6677e7", "befores": [{"name": "update_key", "status": "passed", "start": 1699240583537, "stop": 1699240583537}], "start": 1699240583537, "stop": 1699240583718}
\ No newline at end of file
{"uuid": "8e348f9d-37ee-47c7-893b-db9af037512b", "befores": [{"name": "case_method", "status": "passed", "start": 1699240583237, "stop": 1699240583237}], "start": 1699240583237, "stop": 1699240583296}
\ No newline at end of file
{"uuid": "96d0504e-e1f8-4c3b-b45c-80f4948171b1", "children": ["2ad4c457-244e-4f6c-aa2c-ac3c99c96ea6", "e02d7af7-5f89-4aea-9c94-e59278ba278c", "12173bd2-bb24-477f-897e-f533768da07f", "20a4a2c0-d5dc-4ece-8fe4-9c815d2bf841", "195c3c01-5295-4e1b-8b0e-525f9c771b1a", "d7babdd8-e586-4f40-91ae-45057eafe3a7", "8c111ce7-519e-40bd-8ab6-e59764aa7ec0", "d18a0550-ebb0-4876-96b6-c5bfebd8dca1", "e726a26b-a196-4547-b6df-0e4d291fd209"], "befores": [{"name": "db_fix", "status": "passed", "start": 1699240582850, "stop": 1699240583050}], "afters": [{"name": "db_fix::0", "status": "passed", "start": 1699240584286, "stop": 1699240584286}], "start": 1699240582850, "stop": 1699240584287}
\ No newline at end of file
{"uuid": "994ef08c-dfd2-4087-996b-e55cf031a227", "children": ["e02d7af7-5f89-4aea-9c94-e59278ba278c"], "befores": [{"name": "_skip_sensitive", "status": "passed", "start": 1699240583236, "stop": 1699240583236}], "start": 1699240583236, "stop": 1699240583299}
\ No newline at end of file
{"uuid": "52944c97-a847-48c1-9c29-49689d992d47", "befores": [{"name": "expect_data", "status": "passed", "start": 1699240583237, "stop": 1699240583237}], "start": 1699240583237, "stop": 1699240583294}
\ No newline at end of file
{"uuid": "722e7d4d-5a03-499f-a93e-13f1d3d5ca05", "befores": [{"name": "case_mime", "status": "passed", "start": 1699240583739, "stop": 1699240583739}], "start": 1699240583739, "stop": 1699240583798}
\ No newline at end of file
{"uuid": "431fc078-68ad-4d05-b294-88dea589dc24", "befores": [{"name": "case_data", "status": "passed", "start": 1699240583425, "stop": 1699240583425}], "start": 1699240583425, "stop": 1699240583520}
\ No newline at end of file
{"uuid": "2e484652-7c01-4d6c-b291-48f40ccd0d48", "children": ["d7babdd8-e586-4f40-91ae-45057eafe3a7"], "befores": [{"name": "_skip_sensitive", "status": "passed", "start": 1699240583738, "stop": 1699240583738}], "start": 1699240583738, "stop": 1699240583803}
\ No newline at end of file
{"uuid": "312a65b7-4e9f-4859-b564-82d8d624197a", "befores": [{"name": "sql_type", "status": "passed", "start": 1699240583426, "stop": 1699240583426}], "start": 1699240583426, "stop": 1699240583518}
\ No newline at end of file
{"uuid": "148c4ae4-3973-4d77-b6d4-7dc3dd7b5e96", "befores": [{"name": "case_level", "status": "passed", "start": 1699240583237, "stop": 1699240583237}], "start": 1699240583237, "stop": 1699240583297}
\ No newline at end of file
{"uuid": "5270edb2-a6dd-469f-b65e-a32aefa83d8b", "befores": [{"name": "api_name", "status": "passed", "start": 1699240584103, "stop": 1699240584103}], "start": 1699240584103, "stop": 1699240584279}
\ No newline at end of file
{"uuid": "e9c1a7df-52d6-4c64-ab26-cd0e5afeef91", "befores": [{"name": "update_key", "status": "passed", "start": 1699240583741, "stop": 1699240583741}], "start": 1699240583741, "stop": 1699240583794}
\ No newline at end of file
{"uuid": "64e838c3-5a61-4a51-bd89-c1ccb342da22", "befores": [{"name": "case_data", "status": "passed", "start": 1699240583810, "stop": 1699240583810}], "start": 1699240583810, "stop": 1699240583897}
\ No newline at end of file
{"uuid": "2677a1f8-03d4-4330-a9d5-7e5421e535be", "befores": [{"name": "case_title", "status": "passed", "start": 1699240583809, "stop": 1699240583809}], "start": 1699240583809, "stop": 1699240583900}
\ No newline at end of file
{"name": "正向用例-用户名和密码正确", "status": "passed", "attachments": [{"name": "stdout", "source": "2828a5d7-79cf-4c15-8f63-60ed8963b787-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "module_name", "value": "'认证接口'"}, {"name": "api_name", "value": "'登录系统'"}, {"name": "case_title", "value": "'正向用例-用户名和密码正确'"}, {"name": "case_level", "value": "'高'"}, {"name": "case_url", "value": "'http://120.46.172.186:8080/auth'"}, {"name": "case_method", "value": "'POST'"}, {"name": "case_mime", "value": "'json'"}, {"name": "case_data", "value": "{'username': 'admin', 'password': 'MTIzNDU2'}"}, {"name": "expect_data", "value": "{'username': '超级管理员', 'account': 'admin', 'loginStatus': True}"}, {"name": "sql_type", "value": "None"}, {"name": "sql_data", "value": "None"}, {"name": "update_key", "value": "None"}], "start": 1699240583148, "stop": 1699240583202, "uuid": "2ad4c457-244e-4f6c-aa2c-ac3c99c96ea6", "historyId": "6da34adc8d27e8acc6edded6ae93bd74", "testCaseId": "93265016c96676d4f18610ff2fdb174d", "fullName": "test_wdf.test_bpm.TestBpm#test_bpm", "labels": [{"name": "feature", "value": "认证接口"}, {"name": "story", "value": "登录系统"}, {"name": "severity", "value": "高"}, {"name": "epic", "value": "BPM系统测试-王德发"}, {"name": "parentSuite", "value": "test_wdf"}, {"name": "suite", "value": "test_bpm"}, {"name": "subSuite", "value": "TestBpm"}, {"name": "host", "value": "DESKTOP-4FFIKGU"}, {"name": "thread", "value": "2536-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_wdf.test_bpm"}]}
\ No newline at end of file
{"uuid": "6411c44d-056d-4507-824b-a305b8dae92e", "befores": [{"name": "expect_data", "status": "passed", "start": 1699240583147, "stop": 1699240583147}], "start": 1699240583147, "stop": 1699240583214}
\ No newline at end of file
{"uuid": "aa704389-cdf1-4f0a-85c5-3727cba54a24", "befores": [{"name": "sql_type", "status": "passed", "start": 1699240583305, "stop": 1699240583305}], "start": 1699240583305, "stop": 1699240583406}
\ No newline at end of file
{"uuid": "7f2c80f6-4e33-4019-9922-aa0899688478", "befores": [{"name": "sql_data", "status": "passed", "start": 1699240583537, "stop": 1699240583537}], "start": 1699240583537, "stop": 1699240583719}
\ No newline at end of file
{"uuid": "14345072-29f8-418c-acf5-28114b166653", "befores": [{"name": "sql_data", "status": "passed", "start": 1699240583148, "stop": 1699240583148}], "start": 1699240583148, "stop": 1699240583204}
\ No newline at end of file
{"uuid": "5db9de09-df2e-405d-91b2-c2a76d5dceac", "befores": [{"name": "update_key", "status": "passed", "start": 1699240583911, "stop": 1699240583911}], "start": 1699240583911, "stop": 1699240584086}
\ No newline at end of file
{"uuid": "72e058f8-91cf-4f9a-aa5c-a591c092a398", "befores": [{"name": "case_title", "status": "passed", "start": 1699240583147, "stop": 1699240583147}], "start": 1699240583147, "stop": 1699240583222}
\ No newline at end of file
{"uuid": "40bab0b0-95e3-4239-bf32-e60ea54ac4c2", "befores": [{"name": "case_data", "status": "passed", "start": 1699240583305, "stop": 1699240583305}], "start": 1699240583305, "stop": 1699240583408}
\ No newline at end of file
{"uuid": "f73c9149-2683-4aa5-99ee-13818be07d8a", "befores": [{"name": "expect_data", "status": "passed", "start": 1699240583426, "stop": 1699240583426}], "start": 1699240583426, "stop": 1699240583519}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment