Commit 522f6cc1 by djj

now v2.0

parent 73206575

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

......@@ -9,8 +9,8 @@
# ---------------------------------------------------------------------------
import pymysql
from com.rhrc.APIAutoTest.day_05.t.InterfaceAutoTest import log_decorator
from com.rhrc.APIAutoTest.day_05.t.InterfaceAutoTest.common.read_ini import ReadIni
from InterfaceAutoTest import log_decorator
from InterfaceAutoTest.common.read_ini import ReadIni
class DB:
......
......@@ -8,16 +8,15 @@
#
# ---------------------------------------------------------------------------
import openpyxl
from com.rhrc.APIAutoTest.day_05.t.InterfaceAutoTest import log_decorator, log
from com.rhrc.APIAutoTest.day_05.t.InterfaceAutoTest.common.read_ini import ReadIni
from com.rhrc.APIAutoTest.day_05.t.InterfaceAutoTest.common.read_json import read_json
from InterfaceAutoTest import log_decorator, log
from InterfaceAutoTest.common.read_ini import ReadIni
from InterfaceAutoTest.common.read_json import read_json
from InterfaceAutoTest.data_config.settings import *
class ReadExcel:
@log_decorator
def __init__(self, username, table_name, excel_path=None, case_data_path=None, expect_data_path=None,
sql_data_path=None):
def __init__(self,username, table_name, excel_path=None, case_data_path=None, expect_data_path=None, sql_data_path=None):
"""获取所有的json文件的路径,在使用read_json读取所有的json文件,再获取excel文件路径,加载工作簿,获取工作表"""
self.read_ini = ReadIni()
# 判断table_name的值是否为None如果为None使用ini配置文件中的值,如果不为None使用传入的值
......@@ -25,6 +24,7 @@ class ReadExcel:
table_name = self.read_ini.get_table_name("name")
if excel_path is None and case_data_path is None and expect_data_path is None or sql_data_path is None:
case_data_path = self.read_ini.get_file_path("case", username)
expect_data_path = self.read_ini.get_file_path("expect", username)
sql_data_path = self.read_ini.get_file_path("sql", username)
......@@ -42,9 +42,9 @@ class ReadExcel:
def __get_cell_value(self, column: str, row: int) -> str:
"""获取指定单元格数据"""
log.info("功能为:获取指定单元格数据" + "方法名称为:" + "__get_cell_value")
log.info("功能为:获取指定单元格数据"+"方法名称为:"+"__get_cell_value")
try:
value = self.ws[column + str(row)].value
value = self.ws[column+str(row)].value
except:
log.error("指定的行和列错误")
raise KeyError("指定的行和列错误")
......@@ -57,47 +57,47 @@ class ReadExcel:
@log_decorator
def module_name(self, row):
"""根据行号获取模块名称"""
return self.__get_cell_value("b", row)
return self.__get_cell_value(MODULE, row)
@log_decorator
def api_name(self, row):
"""根据行号获取接口名称"""
return self.__get_cell_value("c", row)
return self.__get_cell_value(API, row)
@log_decorator
def case_title(self, row):
"""根据行号获取用例标题"""
return self.__get_cell_value("d", row)
return self.__get_cell_value(TITLE, row)
@log_decorator
def case_level(self, row):
"""根据行号获取用例等级"""
return self.__get_cell_value("e", row)
return self.__get_cell_value(LEVEL, row)
@log_decorator
def case_url(self, row):
"""根据行号,获取用例的url"""
host = self.read_ini.get_host("bpm_host")
path = self.__get_cell_value("f", row)
path = self.__get_cell_value(URL, row)
if path:
return host + path
return host+path
@log_decorator
def case_req_method(self, row):
"""根据行号,获取用例的请求方法"""
return self.__get_cell_value("g", row)
return self.__get_cell_value(METHOD, row)
@log_decorator
def case_mime(self, row):
"""根据行号,获取用例请求的媒体类型"""
value = self.__get_cell_value("h", row)
value = self.__get_cell_value(MIME, row)
if value:
return value.lower()
@log_decorator
def case_data(self, row):
"""根据行号,获取用例数据"""
case_data_key = self.__get_cell_value("i", row)
case_data_key = self.__get_cell_value(CASE, row)
if case_data_key:
module_name = self.module_name(row)
api_name = self.api_name(row)
......@@ -109,7 +109,7 @@ class ReadExcel:
@log_decorator
def expect_data(self, row):
"""根据行号,获取期望数据"""
expect_data_key = self.__get_cell_value("j", row)
expect_data_key = self.__get_cell_value(EXPECT, row)
if expect_data_key:
module_name = self.module_name(row)
api_name = self.api_name(row)
......@@ -121,7 +121,7 @@ class ReadExcel:
@log_decorator
def sql_data(self, row):
"""根据行号,获取sql语句"""
sql_data_key = self.__get_cell_value("l", row)
sql_data_key = self.__get_cell_value(SENTENCE, row)
if sql_data_key:
module_name = self.module_name(row)
api_name = self.api_name(row)
......@@ -133,20 +133,20 @@ class ReadExcel:
@log_decorator
def sql_type(self, row):
"""根据行号,获取sql语句类型"""
value = self.__get_cell_value("k", row)
value = self.__get_cell_value(TYPE, row)
if value:
return value.lower()
@log_decorator
def update_key(self, row):
"""根据行号,获取更新的key"""
return self.__get_cell_value("m", row)
return self.__get_cell_value(UPDATE_KEY, row)
def get_data(self):
"""获取所有的测试数据,存放在一个二维列表中"""
log.info("功能:获取所有的测试数据,存放在一个二维列表中" + "方法名称为:" + "get_data")
log.info("功能:获取所有的测试数据,存放在一个二维列表中"+"方法名称为:"+"get_data")
list_data = []
for row in range(2, self.ws.max_row + 1):
for row in range(2, self.ws.max_row+1):
# url
url = self.case_url(row)
# method
......@@ -172,9 +172,7 @@ class ReadExcel:
case_title = self.case_title(row)
# 用例等级
case_level = self.case_level(row)
list_data.append(
[module_name, api_name, case_title, case_level, url, method, mime, case_data, expect_data, sql_type,
sql_data, update_key])
list_data.append([module_name, api_name, case_title, case_level, url, method, mime, case_data, expect_data, sql_type, sql_data, update_key])
else:
return list_data
......
......@@ -10,7 +10,7 @@
import configparser
import os
from com.rhrc.APIAutoTest.day_05.t.InterfaceAutoTest import log_decorator
from InterfaceAutoTest import log_decorator
class ReadIni:
......@@ -62,7 +62,6 @@ class ReadIni:
else:
return value
if __name__ == '__main__':
ini = ReadIni()
print(ini.get_file_path("excel", "张三"))
\ No newline at end of file
......@@ -9,8 +9,7 @@
# ---------------------------------------------------------------------------
import json
import os
from com.rhrc.APIAutoTest.day_05.t.InterfaceAutoTest import log_decorator
from InterfaceAutoTest import log_decorator
@log_decorator
......
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: test59
# FileName: settings.py
# Author: laozhao
# Datetime: 2024/3/19 15:40
# Description:
#
# ---------------------------------------------------------------------------
# ==========excel文件列号的配置=============================
MODULE = "B"
API = "C"
TITLE = "D"
LEVEL = "E"
URL = "F"
METHOD = "G"
MIME = "H"
CASE = "I"
EXPECT = "J"
TYPE = "K"
SENTENCE = "L"
UPDATE_KEY = "M"
\ No newline at end of file
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979822747959296 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979822747959296'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979822747959296 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979822747959296'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979822747959296 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979822747959296'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979822747959296 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979822747959296'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979822747959296 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979822747959296'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979822747959296 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979822747959296'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:close,其功能为:None
\ No newline at end of file
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979806826381312', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979806826381312', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979806826381312', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979806826381312', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979806826381312', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
\ No newline at end of file
INFO  root:__init__.py:43 执行的函数或方法为:__init__,其功能为:链接是数据库,获取链接对象和游标对象
INFO  root:__init__.py:43 执行的函数或方法为:__init__,其功能为:获取ini文件的路径,使用Configparser对象的read方法读取ini文件
INFO  root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息
INFO  root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息
INFO  root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息
INFO  root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息
INFO  root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息
INFO  root:__init__.py:43 执行的函数或方法为:__init__,其功能为:获取ini文件的路径,使用Configparser对象的read方法读取ini文件
INFO  root:__init__.py:43 执行的函数或方法为:get_host,其功能为:根据key获取host节点下key对应的域名
DEBUG  urllib3.connectionpool:connectionpool.py:226 Starting new HTTP connection (1): 120.46.172.186:8080
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /auth HTTP/1.1" 200 None
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
\ No newline at end of file
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979806826381312 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979806826381312'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979806826381312 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979806826381312'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979806826381312 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979806826381312'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979806826381312 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979806826381312'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/deleteOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/deleteOrg,请求的方法为:post,请求的媒体类型为:json, 请求的用例数据:add_org_test, 期望数据为:{'state': True, 'message': '删除组织成功!', 'value': ''},服务器返回的数据为:{"state":true,"message":"部分删除成功,其中编码为【\"add_org_test\"】的组织不存在;","value":""}
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/deleteOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/deleteOrg,请求的方法为:post,请求的媒体类型为:json, 请求的用例数据:add_org_test, 期望数据为:{'state': True, 'message': '删除组织成功!', 'value': ''},服务器返回的数据为:{"state":true,"message":"部分删除成功,其中编码为【\"add_org_test\"】的组织不存在;","value":""}
\ No newline at end of file
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979806826381312', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979806826381312', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979806826381312', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:226 Starting new HTTP connection (1): 120.46.172.186:8080
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /auth HTTP/1.1" 200 None
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/deleteOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/deleteOrg,请求的方法为:post,请求的媒体类型为:json, 请求的用例数据:add_org_test, 期望数据为:{'state': True, 'message': '删除组织成功!', 'value': ''},服务器返回的数据为:{"state":true,"message":"部分删除成功,其中编码为【\"add_org_test\"】的组织不存在;","value":""}
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/deleteOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/deleteOrg,请求的方法为:post,请求的媒体类型为:json, 请求的用例数据:add_org_test, 期望数据为:{'state': True, 'message': '删除组织成功!', 'value': ''},服务器返回的数据为:{"state":true,"message":"部分删除成功,其中编码为【\"add_org_test\"】的组织不存在;","value":""}
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/deleteOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/deleteOrg,请求的方法为:post,请求的媒体类型为:json, 请求的用例数据:add_org_test, 期望数据为:{'state': True, 'message': '删除组织成功!', 'value': ''},服务器返回的数据为:{"state":true,"message":"部分删除成功,其中编码为【\"add_org_test\"】的组织不存在;","value":""}
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/deleteOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/deleteOrg,请求的方法为:post,请求的媒体类型为:json, 请求的用例数据:add_org_test, 期望数据为:{'state': True, 'message': '删除组织成功!', 'value': ''},服务器返回的数据为:{"state":true,"message":"部分删除成功,其中编码为【\"add_org_test\"】的组织不存在;","value":""}
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/deleteOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/deleteOrg,请求的方法为:post,请求的媒体类型为:json, 请求的用例数据:add_org_test, 期望数据为:{'state': True, 'message': '删除组织成功!', 'value': ''},服务器返回的数据为:{"state":true,"message":"部分删除成功,其中编码为【\"add_org_test\"】的组织不存在;","value":""}
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/deleteOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/deleteOrg,请求的方法为:post,请求的媒体类型为:json, 请求的用例数据:add_org_test, 期望数据为:{'state': True, 'message': '删除组织成功!', 'value': ''},服务器返回的数据为:{"state":true,"message":"部分删除成功,其中编码为【\"add_org_test\"】的组织不存在;","value":""}
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:549 http://120.46.172.186:8080 "POST /api/org/v1/org/deleteOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:66 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/deleteOrg,请求的方法为:post,请求的媒体类型为:json, 请求的用例数据:add_org_test, 期望数据为:{'state': True, 'message': '删除组织成功!', 'value': ''},服务器返回的数据为:{"state":true,"message":"部分删除成功,其中编码为【\"add_org_test\"】的组织不存在;","value":""}
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/deleteOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/deleteOrg,请求的方法为:post,请求的媒体类型为:json, 请求的用例数据:add_org_test, 期望数据为:{'state': True, 'message': '删除组织成功!', 'value': ''},服务器返回的数据为:{"state":true,"message":"部分删除成功,其中编码为【\"add_org_test\"】的组织不存在;","value":""}
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:292 Resetting dropped connection: 120.46.172.186
DEBUG  urllib3.connectionpool:connectionpool.py:549 http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
ERROR  root:test_bpm.py:70 断言成功,请求的url为:http://120.46.172.186:8080/auth,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'username': 'admin123', 'password': 'MTIzNDU2'}, 期望数据为:{'message': '账号或密码错误'},服务器返回的数据为:{"state":false,"message":"账号或密码错误","logId":"1769992654172471296"}
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:271 Resetting dropped connection: 120.46.172.186
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
ERROR  root:test_bpm.py:65 断言成功,请求的url为:http://120.46.172.186:8080/auth,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'username': 'admin123', 'password': 'MTIzNDU2'}, 期望数据为:{'message': '账号或密码错误'},服务器返回的数据为:{"state":false,"message":"账号或密码错误","logId":"1769979781794775040"}
\ No newline at end of file
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
\ No newline at end of file
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:549 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:66 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769992666658914304', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979822747959296', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979822747959296', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
\ No newline at end of file
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979822747959296', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979822747959296', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979822747959296', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979822747959296', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
\ No newline at end of file
INFO  root:__init__.py:43 执行的函数或方法为:__init__,其功能为:链接是数据库,获取链接对象和游标对象
INFO  root:__init__.py:43 执行的函数或方法为:__init__,其功能为:获取ini文件的路径,使用Configparser对象的read方法读取ini文件
INFO  root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息
INFO  root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息
INFO  root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息
INFO  root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息
INFO  root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息
INFO  root:__init__.py:43 执行的函数或方法为:__init__,其功能为:获取ini文件的路径,使用Configparser对象的read方法读取ini文件
INFO  root:__init__.py:43 执行的函数或方法为:get_host,其功能为:根据key获取host节点下key对应的域名
DEBUG  urllib3.connectionpool:connectionpool.py:226 Starting new HTTP connection (1): 120.46.172.186:8080
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /auth HTTP/1.1" 200 None
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
\ No newline at end of file
INFO  root:__init__.py:43 执行的函数或方法为:__init__,其功能为:链接是数据库,获取链接对象和游标对象
INFO  root:__init__.py:43 执行的函数或方法为:__init__,其功能为:获取ini文件的路径,使用Configparser对象的read方法读取ini文件
INFO  root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息
INFO  root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息
INFO  root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息
INFO  root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息
INFO  root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息
INFO  root:__init__.py:43 执行的函数或方法为:__init__,其功能为:获取ini文件的路径,使用Configparser对象的read方法读取ini文件
INFO  root:__init__.py:43 执行的函数或方法为:get_host,其功能为:根据key获取host节点下key对应的域名
DEBUG  urllib3.connectionpool:connectionpool.py:226 Starting new HTTP connection (1): 120.46.172.186:8080
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /auth HTTP/1.1" 200 None
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
ERROR  root:test_bpm.py:65 断言成功,请求的url为:http://120.46.172.186:8080/auth,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'username': 'admin', 'password': ''}, 期望数据为:{'message': '账号或密码错误'},服务器返回的数据为:{"state":false,"message":"账号或密码错误","logId":"1769979779592765440"}
\ No newline at end of file
INFO  root:__init__.py:43 执行的函数或方法为:__init__,其功能为:链接是数据库,获取链接对象和游标对象
INFO  root:__init__.py:43 执行的函数或方法为:__init__,其功能为:获取ini文件的路径,使用Configparser对象的read方法读取ini文件
INFO  root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息
INFO  root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息
INFO  root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息
INFO  root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息
INFO  root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息
INFO  root:__init__.py:43 执行的函数或方法为:__init__,其功能为:获取ini文件的路径,使用Configparser对象的read方法读取ini文件
INFO  root:__init__.py:43 执行的函数或方法为:get_host,其功能为:根据key获取host节点下key对应的域名
DEBUG  urllib3.connectionpool:connectionpool.py:226 Starting new HTTP connection (1): 120.46.172.186:8080
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /auth HTTP/1.1" 200 None
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
\ No newline at end of file
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979790250491904', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979790250491904', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979790250491904', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979790250491904', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979790250491904', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979790250491904', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:271 Resetting dropped connection: 120.46.172.186
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "GET /refresh HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/refresh,请求的方法为:GET,请求的媒体类型为:None, 请求的用例数据:None, 期望数据为:{'message': '刷新token成功'},服务器返回的数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MTA5MTc0MzksImlhdCI6MTcxMDgzMTAzOX0.KfGwnxknp5OEuD8Zcm607y_1A0TwVUY92Di-ltn3OjJ_65oYPHfb9vNrJ5X7NWgyEhXa_kUHg1qiMVmL-uu4Fw","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "GET /refresh HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/refresh,请求的方法为:GET,请求的媒体类型为:None, 请求的用例数据:None, 期望数据为:{'message': '刷新token成功'},服务器返回的数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MTA5MTc0NDAsImlhdCI6MTcxMDgzMTA0MH0.BCKjPGQzTVGILAQJhyAEJQQ-77xwsmXCm6Cqwj1V7C3qZgt_q-14Jfd-ea-JVW9eyrDCV30Y7ygRawaq527KXg","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
\ No newline at end of file
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:549 http://120.46.172.186:8080 "GET /api/demension/v1/dem/getDem?code=abc_123_xyz HTTP/1.1" 200 None
ERROR  root:test_bpm.py:70 断言成功,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/getDem,请求的方法为:GET,请求的媒体类型为:query, 请求的用例数据:{'code': 'abc_123_xyz'}, 期望数据为:{'isDelete': '0'},服务器返回的数据为:{"createTime":"2024-03-19 15:41:49","isDelete":"0","id":"1769992657137844224","demCode":"abc_123_xyz","demName":"接口自动化框架","demDesc":"abc_123_xyz","isDefault":0,"organId":0,"code":"abc_123_xyz","name":"接口自动化框架","pkVal":"1769992657137844224"}
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "GET /api/demension/v1/dem/getDem?code=abc_123_xyz HTTP/1.1" 200 None
ERROR  root:test_bpm.py:65 断言成功,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/getDem,请求的方法为:GET,请求的媒体类型为:query, 请求的用例数据:{'code': 'abc_123_xyz'}, 期望数据为:{'isDelete': '0'},服务器返回的数据为:{"createTime":"2024-03-19 14:50:41","isDelete":"0","id":"1769979790250491904","demCode":"abc_123_xyz","demName":"接口自动化框架","demDesc":"abc_123_xyz","isDefault":0,"organId":0,"code":"abc_123_xyz","name":"接口自动化框架","pkVal":"1769979790250491904"}
\ No newline at end of file
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979790250491904', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
\ No newline at end of file
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979822747959296 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979822747959296'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979822747959296 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979822747959296'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
\ No newline at end of file
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979790250491904 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979790250491904'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979790250491904 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979790250491904'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979790250491904 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979790250491904'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979790250491904 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979790250491904'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979790250491904 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979790250491904'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
\ No newline at end of file
INFO  root:__init__.py:43 执行的函数或方法为:__init__,其功能为:链接是数据库,获取链接对象和游标对象
INFO  root:__init__.py:43 执行的函数或方法为:__init__,其功能为:获取ini文件的路径,使用Configparser对象的read方法读取ini文件
INFO  root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息
INFO  root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息
INFO  root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息
INFO  root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息
INFO  root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息
INFO  root:__init__.py:43 执行的函数或方法为:__init__,其功能为:获取ini文件的路径,使用Configparser对象的read方法读取ini文件
INFO  root:__init__.py:43 执行的函数或方法为:get_host,其功能为:根据key获取host节点下key对应的域名
DEBUG  urllib3.connectionpool:connectionpool.py:226 Starting new HTTP connection (1): 120.46.172.186:8080
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /auth HTTP/1.1" 200 None
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
\ No newline at end of file
INFO  root:__init__.py:43 执行的函数或方法为:__init__,其功能为:链接是数据库,获取链接对象和游标对象
INFO  root:__init__.py:43 执行的函数或方法为:__init__,其功能为:获取ini文件的路径,使用Configparser对象的read方法读取ini文件
INFO  root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息
INFO  root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息
INFO  root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息
INFO  root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息
INFO  root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息
INFO  root:__init__.py:43 执行的函数或方法为:__init__,其功能为:获取ini文件的路径,使用Configparser对象的read方法读取ini文件
INFO  root:__init__.py:43 执行的函数或方法为:get_host,其功能为:根据key获取host节点下key对应的域名
DEBUG  urllib3.connectionpool:connectionpool.py:226 Starting new HTTP connection (1): 120.46.172.186:8080
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /auth HTTP/1.1" 200 None
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:271 Resetting dropped connection: 120.46.172.186
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
ERROR  root:test_bpm.py:65 断言成功,请求的url为:http://120.46.172.186:8080/auth,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'username': 'adminadminadminadminadminadminadminadminadminadminadminadminadminadminadminadminadminadminadmin', 'password': 'MTIzNDU2'}, 期望数据为:{'message': '账号或密码错误'},服务器返回的数据为:{"state":false,"message":"账号或密码错误","logId":"1769979783111786496"}
\ No newline at end of file
......@@ -7,8 +7,8 @@
INFO  root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息
INFO  root:__init__.py:43 执行的函数或方法为:__init__,其功能为:获取ini文件的路径,使用Configparser对象的read方法读取ini文件
INFO  root:__init__.py:43 执行的函数或方法为:get_host,其功能为:根据key获取host节点下key对应的域名
DEBUG  urllib3.connectionpool:connectionpool.py:244 Starting new HTTP connection (1): 120.46.172.186:8080
DEBUG  urllib3.connectionpool:connectionpool.py:549 http://120.46.172.186:8080 "POST /auth HTTP/1.1" 200 None
DEBUG  urllib3.connectionpool:connectionpool.py:226 Starting new HTTP connection (1): 120.46.172.186:8080
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /auth HTTP/1.1" 200 None
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:549 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:66 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
\ No newline at end of file
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979822747959296 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979822747959296'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979822747959296 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979822747959296'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979822747959296 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979822747959296'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979822747959296 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979822747959296'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979822747959296 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979822747959296'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
\ No newline at end of file
......@@ -7,8 +7,8 @@
INFO  root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息
INFO  root:__init__.py:43 执行的函数或方法为:__init__,其功能为:获取ini文件的路径,使用Configparser对象的read方法读取ini文件
INFO  root:__init__.py:43 执行的函数或方法为:get_host,其功能为:根据key获取host节点下key对应的域名
DEBUG  urllib3.connectionpool:connectionpool.py:244 Starting new HTTP connection (1): 120.46.172.186:8080
DEBUG  urllib3.connectionpool:connectionpool.py:549 http://120.46.172.186:8080 "POST /auth HTTP/1.1" 200 None
DEBUG  urllib3.connectionpool:connectionpool.py:226 Starting new HTTP connection (1): 120.46.172.186:8080
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /auth HTTP/1.1" 200 None
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:549 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:66 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
\ No newline at end of file
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979806826381312', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979806826381312', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979806826381312', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979806826381312', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
\ No newline at end of file
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979790250491904', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979790250491904', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979790250491904', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979790250491904', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979790250491904', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
\ No newline at end of file
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979790250491904 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979790250491904'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979790250491904 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979790250491904'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
\ No newline at end of file
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:549 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:66 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769992657137844224', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979790250491904', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979790250491904', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
\ No newline at end of file
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:549 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:66 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769992662695297024', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979806826381312', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979806826381312', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:549 http://120.46.172.186:8080 "POST /api/org/v1/org/deleteOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:66 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/deleteOrg,请求的方法为:post,请求的媒体类型为:json, 请求的用例数据:add_org_test, 期望数据为:{'state': True, 'message': '删除组织成功!', 'value': ''},服务器返回的数据为:{"state":true,"message":"部分删除成功,其中编码为【\"add_org_test\"】的组织不存在;","value":""}
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/deleteOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/deleteOrg,请求的方法为:post,请求的媒体类型为:json, 请求的用例数据:add_org_test, 期望数据为:{'state': True, 'message': '删除组织成功!', 'value': ''},服务器返回的数据为:{"state":true,"message":"部分删除成功,其中编码为【\"add_org_test\"】的组织不存在;","value":""}
\ No newline at end of file
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979806826381312 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979806826381312'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979806826381312 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979806826381312'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979806826381312 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979806826381312'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
\ No newline at end of file
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:549 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769992662695297024 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:66 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769992662695297024'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979806826381312 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979806826381312'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:292 Resetting dropped connection: 120.46.172.186
DEBUG  urllib3.connectionpool:connectionpool.py:549 http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
ERROR  root:test_bpm.py:70 断言成功,请求的url为:http://120.46.172.186:8080/auth,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'username': 'admin', 'password': 'MTIzNDU232'}, 期望数据为:{'message': '账号或密码错误'},服务器返回的数据为:{"state":false,"message":"账号或密码错误","logId":"1769992653740457984"}
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:271 Resetting dropped connection: 120.46.172.186
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
ERROR  root:test_bpm.py:65 断言成功,请求的url为:http://120.46.172.186:8080/auth,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'username': 'admin', 'password': 'MTIzNDU232'}, 期望数据为:{'message': '账号或密码错误'},服务器返回的数据为:{"state":false,"message":"账号或密码错误","logId":"1769979781337595904"}
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:271 Resetting dropped connection: 120.46.172.186
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
ERROR  root:test_bpm.py:65 断言成功,请求的url为:http://120.46.172.186:8080/auth,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'username': 'admin', 'password': 's'}, 期望数据为:{'message': '账号或密码错误'},服务器返回的数据为:{"state":false,"message":"账号或密码错误","logId":"1769979780037361664"}
\ No newline at end of file
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979806826381312', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
\ No newline at end of file
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979806826381312 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979806826381312'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979806826381312 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979806826381312'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979806826381312 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979806826381312'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979806826381312 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979806826381312'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979806826381312 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979806826381312'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:549 http://120.46.172.186:8080 "POST /api/org/v1/orgParam/saveOrgParams?orgCode=add_org_test HTTP/1.1" 200 None
ERROR  root:test_bpm.py:70 断言成功,请求的url为:http://120.46.172.186:8080/api/org/v1/orgParam/saveOrgParams,请求的方法为:post,请求的媒体类型为:query|json, 请求的用例数据:{'query': {'orgCode': 'add_org_test'}, 'body': [{'alias': 'ah', 'value': '1,2'}, {'alias': 'sz', 'value': '成都'}]}, 期望数据为:{'state': True, 'message': '保存组织参数成功!', 'value': ''},服务器返回的数据为:{"state":true,"message":"保存组织参数成功!","value":""}
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/orgParam/saveOrgParams?orgCode=add_org_test HTTP/1.1" 200 None
ERROR  root:test_bpm.py:66 断言成功,请求的url为:http://120.46.172.186:8080/api/org/v1/orgParam/saveOrgParams,请求的方法为:post,请求的媒体类型为:query|json, 请求的用例数据:{'query': {'orgCode': 'add_org_test'}, 'body': [{'alias': 'ah', 'value': '1,2'}, {'alias': 'sz', 'value': '成都'}]}, 期望数据为:{'state': True, 'message': '保存组织参数成功!', 'value': ''},服务器返回的数据为:{"state":true,"message":"保存组织参数成功!","value":""}
\ No newline at end of file
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979822747959296', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979822747959296', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979822747959296', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:271 Resetting dropped connection: 120.46.172.186
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "GET /refresh HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/refresh,请求的方法为:GET,请求的媒体类型为:None, 请求的用例数据:None, 期望数据为:{'message': '刷新token成功'},服务器返回的数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MTA5MTc0MzksImlhdCI6MTcxMDgzMTAzOX0.KfGwnxknp5OEuD8Zcm607y_1A0TwVUY92Di-ltn3OjJ_65oYPHfb9vNrJ5X7NWgyEhXa_kUHg1qiMVmL-uu4Fw","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "GET /refresh HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/refresh,请求的方法为:GET,请求的媒体类型为:None, 请求的用例数据:None, 期望数据为:{'message': '刷新token成功'},服务器返回的数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MTA5MTc0NDAsImlhdCI6MTcxMDgzMTA0MH0.BCKjPGQzTVGILAQJhyAEJQQ-77xwsmXCm6Cqwj1V7C3qZgt_q-14Jfd-ea-JVW9eyrDCV30Y7ygRawaq527KXg","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "GET /refresh HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/refresh,请求的方法为:GET,请求的媒体类型为:None, 请求的用例数据:None, 期望数据为:{'message': '刷新token成功'},服务器返回的数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MTA5MTc0NDAsImlhdCI6MTcxMDgzMTA0MH0.BCKjPGQzTVGILAQJhyAEJQQ-77xwsmXCm6Cqwj1V7C3qZgt_q-14Jfd-ea-JVW9eyrDCV30Y7ygRawaq527KXg","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "GET /refresh HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/refresh,请求的方法为:GET,请求的媒体类型为:None, 请求的用例数据:None, 期望数据为:{'message': '刷新token成功'},服务器返回的数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MTA5MTc0NDAsImlhdCI6MTcxMDgzMTA0MH0.BCKjPGQzTVGILAQJhyAEJQQ-77xwsmXCm6Cqwj1V7C3qZgt_q-14Jfd-ea-JVW9eyrDCV30Y7ygRawaq527KXg","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "GET /refresh HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/refresh,请求的方法为:GET,请求的媒体类型为:None, 请求的用例数据:None, 期望数据为:{'message': '刷新token成功'},服务器返回的数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MTA5MTc0NDAsImlhdCI6MTcxMDgzMTA0MH0.BCKjPGQzTVGILAQJhyAEJQQ-77xwsmXCm6Cqwj1V7C3qZgt_q-14Jfd-ea-JVW9eyrDCV30Y7ygRawaq527KXg","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
\ No newline at end of file
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979806826381312 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979806826381312'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979806826381312 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979806826381312'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979806826381312 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979806826381312'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979806826381312 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979806826381312'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979806826381312 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979806826381312'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979806826381312 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979806826381312'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
\ No newline at end of file
DEBUG  pytest_dependency:pytest_dependency.py:87 check dependencies of test_get_dem_msg in module scope ...
DEBUG  pytest_dependency:pytest_dependency.py:92 ... test_add_dem succeeded
DEBUG  urllib3.connectionpool:connectionpool.py:244 Starting new HTTP connection (1): 120.46.172.186:8080
DEBUG  urllib3.connectionpool:connectionpool.py:549 http://120.46.172.186:8080 "GET /api/demension/v1/dem/getDem?code=18778357549 HTTP/1.1" 200 None
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:226 Starting new HTTP connection (1): 120.46.172.186:8080
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "GET /api/demension/v1/dem/getDem?code=15891175549 HTTP/1.1" 200 None
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/deleteOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/deleteOrg,请求的方法为:post,请求的媒体类型为:json, 请求的用例数据:add_org_test, 期望数据为:{'state': True, 'message': '删除组织成功!', 'value': ''},服务器返回的数据为:{"state":true,"message":"部分删除成功,其中编码为【\"add_org_test\"】的组织不存在;","value":""}
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/deleteOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/deleteOrg,请求的方法为:post,请求的媒体类型为:json, 请求的用例数据:add_org_test, 期望数据为:{'state': True, 'message': '删除组织成功!', 'value': ''},服务器返回的数据为:{"state":true,"message":"部分删除成功,其中编码为【\"add_org_test\"】的组织不存在;","value":""}
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/deleteOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/deleteOrg,请求的方法为:post,请求的媒体类型为:json, 请求的用例数据:add_org_test, 期望数据为:{'state': True, 'message': '删除组织成功!', 'value': ''},服务器返回的数据为:{"state":true,"message":"部分删除成功,其中编码为【\"add_org_test\"】的组织不存在;","value":""}
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/deleteOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/deleteOrg,请求的方法为:post,请求的媒体类型为:json, 请求的用例数据:add_org_test, 期望数据为:{'state': True, 'message': '删除组织成功!', 'value': ''},服务器返回的数据为:{"state":true,"message":"部分删除成功,其中编码为【\"add_org_test\"】的组织不存在;","value":""}
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/deleteOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/deleteOrg,请求的方法为:post,请求的媒体类型为:json, 请求的用例数据:add_org_test, 期望数据为:{'state': True, 'message': '删除组织成功!', 'value': ''},服务器返回的数据为:{"state":true,"message":"部分删除成功,其中编码为【\"add_org_test\"】的组织不存在;","value":""}
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/deleteOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/deleteOrg,请求的方法为:post,请求的媒体类型为:json, 请求的用例数据:add_org_test, 期望数据为:{'state': True, 'message': '删除组织成功!', 'value': ''},服务器返回的数据为:{"state":true,"message":"部分删除成功,其中编码为【\"add_org_test\"】的组织不存在;","value":""}
\ No newline at end of file
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979790250491904', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979790250491904', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979790250491904', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979790250491904', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
\ No newline at end of file
INFO  root:__init__.py:43 执行的函数或方法为:__init__,其功能为:链接是数据库,获取链接对象和游标对象
INFO  root:__init__.py:43 执行的函数或方法为:__init__,其功能为:获取ini文件的路径,使用Configparser对象的read方法读取ini文件
INFO  root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息
INFO  root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息
INFO  root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息
INFO  root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息
INFO  root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息
INFO  root:__init__.py:43 执行的函数或方法为:__init__,其功能为:获取ini文件的路径,使用Configparser对象的read方法读取ini文件
INFO  root:__init__.py:43 执行的函数或方法为:get_host,其功能为:根据key获取host节点下key对应的域名
DEBUG  urllib3.connectionpool:connectionpool.py:226 Starting new HTTP connection (1): 120.46.172.186:8080
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /auth HTTP/1.1" 200 None
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
\ No newline at end of file
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/deleteOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/deleteOrg,请求的方法为:post,请求的媒体类型为:json, 请求的用例数据:add_org_test, 期望数据为:{'state': True, 'message': '删除组织成功!', 'value': ''},服务器返回的数据为:{"state":true,"message":"部分删除成功,其中编码为【\"add_org_test\"】的组织不存在;","value":""}
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/deleteOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/deleteOrg,请求的方法为:post,请求的媒体类型为:json, 请求的用例数据:add_org_test, 期望数据为:{'state': True, 'message': '删除组织成功!', 'value': ''},服务器返回的数据为:{"state":true,"message":"部分删除成功,其中编码为【\"add_org_test\"】的组织不存在;","value":""}
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/deleteOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/deleteOrg,请求的方法为:post,请求的媒体类型为:json, 请求的用例数据:add_org_test, 期望数据为:{'state': True, 'message': '删除组织成功!', 'value': ''},服务器返回的数据为:{"state":true,"message":"部分删除成功,其中编码为【\"add_org_test\"】的组织不存在;","value":""}
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/deleteOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/deleteOrg,请求的方法为:post,请求的媒体类型为:json, 请求的用例数据:add_org_test, 期望数据为:{'state': True, 'message': '删除组织成功!', 'value': ''},服务器返回的数据为:{"state":true,"message":"部分删除成功,其中编码为【\"add_org_test\"】的组织不存在;","value":""}
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/deleteOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/deleteOrg,请求的方法为:post,请求的媒体类型为:json, 请求的用例数据:add_org_test, 期望数据为:{'state': True, 'message': '删除组织成功!', 'value': ''},服务器返回的数据为:{"state":true,"message":"部分删除成功,其中编码为【\"add_org_test\"】的组织不存在;","value":""}
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/deleteOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/deleteOrg,请求的方法为:post,请求的媒体类型为:json, 请求的用例数据:add_org_test, 期望数据为:{'state': True, 'message': '删除组织成功!', 'value': ''},服务器返回的数据为:{"state":true,"message":"部分删除成功,其中编码为【\"add_org_test\"】的组织不存在;","value":""}
\ No newline at end of file
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979822747959296 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979822747959296'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
\ No newline at end of file
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979806826381312 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979806826381312'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979806826381312 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979806826381312'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
\ No newline at end of file
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979790250491904 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979790250491904'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979790250491904 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979790250491904'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979790250491904 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979790250491904'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979790250491904 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979790250491904'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979790250491904 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979790250491904'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979790250491904 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979790250491904'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:271 Resetting dropped connection: 120.46.172.186
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "GET /refresh HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/refresh,请求的方法为:GET,请求的媒体类型为:None, 请求的用例数据:None, 期望数据为:{'message': '刷新token成功'},服务器返回的数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MTA5MTc0MzksImlhdCI6MTcxMDgzMTAzOX0.KfGwnxknp5OEuD8Zcm607y_1A0TwVUY92Di-ltn3OjJ_65oYPHfb9vNrJ5X7NWgyEhXa_kUHg1qiMVmL-uu4Fw","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "GET /refresh HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/refresh,请求的方法为:GET,请求的媒体类型为:None, 请求的用例数据:None, 期望数据为:{'message': '刷新token成功'},服务器返回的数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MTA5MTc0NDAsImlhdCI6MTcxMDgzMTA0MH0.BCKjPGQzTVGILAQJhyAEJQQ-77xwsmXCm6Cqwj1V7C3qZgt_q-14Jfd-ea-JVW9eyrDCV30Y7ygRawaq527KXg","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "GET /refresh HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/refresh,请求的方法为:GET,请求的媒体类型为:None, 请求的用例数据:None, 期望数据为:{'message': '刷新token成功'},服务器返回的数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MTA5MTc0NDAsImlhdCI6MTcxMDgzMTA0MH0.BCKjPGQzTVGILAQJhyAEJQQ-77xwsmXCm6Cqwj1V7C3qZgt_q-14Jfd-ea-JVW9eyrDCV30Y7ygRawaq527KXg","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "GET /refresh HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/refresh,请求的方法为:GET,请求的媒体类型为:None, 请求的用例数据:None, 期望数据为:{'message': '刷新token成功'},服务器返回的数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MTA5MTc0NDAsImlhdCI6MTcxMDgzMTA0MH0.BCKjPGQzTVGILAQJhyAEJQQ-77xwsmXCm6Cqwj1V7C3qZgt_q-14Jfd-ea-JVW9eyrDCV30Y7ygRawaq527KXg","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "GET /refresh HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/refresh,请求的方法为:GET,请求的媒体类型为:None, 请求的用例数据:None, 期望数据为:{'message': '刷新token成功'},服务器返回的数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MTA5MTc0NDAsImlhdCI6MTcxMDgzMTA0MH0.BCKjPGQzTVGILAQJhyAEJQQ-77xwsmXCm6Cqwj1V7C3qZgt_q-14Jfd-ea-JVW9eyrDCV30Y7ygRawaq527KXg","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "GET /refresh HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/refresh,请求的方法为:GET,请求的媒体类型为:None, 请求的用例数据:None, 期望数据为:{'message': '刷新token成功'},服务器返回的数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MTA5MTc0NDAsImlhdCI6MTcxMDgzMTA0MH0.BCKjPGQzTVGILAQJhyAEJQQ-77xwsmXCm6Cqwj1V7C3qZgt_q-14Jfd-ea-JVW9eyrDCV30Y7ygRawaq527KXg","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
\ No newline at end of file
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:549 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:66 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
\ No newline at end of file
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979822747959296', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
\ No newline at end of file
......@@ -7,7 +7,7 @@
INFO  root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息
INFO  root:__init__.py:43 执行的函数或方法为:__init__,其功能为:获取ini文件的路径,使用Configparser对象的read方法读取ini文件
INFO  root:__init__.py:43 执行的函数或方法为:get_host,其功能为:根据key获取host节点下key对应的域名
DEBUG  urllib3.connectionpool:connectionpool.py:244 Starting new HTTP connection (1): 120.46.172.186:8080
DEBUG  urllib3.connectionpool:connectionpool.py:549 http://120.46.172.186:8080 "POST /auth HTTP/1.1" 200 None
DEBUG  urllib3.connectionpool:connectionpool.py:549 http://120.46.172.186:8080 "POST /auth HTTP/1.1" 200 None
ERROR  root:test_bpm.py:70 断言成功,请求的url为:http://120.46.172.186:8080/auth,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'username': 'admin', 'password': 'MTIzNDU2'}, 期望数据为:{'username': '超级管理员'},服务器返回的数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MTA5MjA1MDcsImlhdCI6MTcxMDgzNDEwN30.5-9_T8K6JmUaVfkXaZNsgQUd6NRK20Qnu0HpwlXiJuwIUuIFoRZID8TYowr3HdGuEcUz2gCGPzchHgns0Z65kw","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}}
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:226 Starting new HTTP connection (1): 120.46.172.186:8080
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /auth HTTP/1.1" 200 None
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /auth HTTP/1.1" 200 None
ERROR  root:test_bpm.py:65 断言成功,请求的url为:http://120.46.172.186:8080/auth,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'username': 'admin', 'password': 'MTIzNDU2'}, 期望数据为:{'username': '超级管理员'},服务器返回的数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MTA5MTc0MzgsImlhdCI6MTcxMDgzMTAzOH0.rbBjGhDwdfaqhL45QeNoW6fkE1rrBP4FjgoUAV_UR8gxeQnyEbsQauId75KwDGOJfLX-TEDvUSC24anyuC78Fg","username":"超级管理员","account":"admin","userId":"1","expiration":86400,"loginStatus":true,"userAttrs":{"tenantId":"-1"}}
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/deleteOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/deleteOrg,请求的方法为:post,请求的媒体类型为:json, 请求的用例数据:add_org_test, 期望数据为:{'state': True, 'message': '删除组织成功!', 'value': ''},服务器返回的数据为:{"state":true,"message":"部分删除成功,其中编码为【\"add_org_test\"】的组织不存在;","value":""}
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/deleteOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/deleteOrg,请求的方法为:post,请求的媒体类型为:json, 请求的用例数据:add_org_test, 期望数据为:{'state': True, 'message': '删除组织成功!', 'value': ''},服务器返回的数据为:{"state":true,"message":"部分删除成功,其中编码为【\"add_org_test\"】的组织不存在;","value":""}
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/deleteOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/deleteOrg,请求的方法为:post,请求的媒体类型为:json, 请求的用例数据:add_org_test, 期望数据为:{'state': True, 'message': '删除组织成功!', 'value': ''},服务器返回的数据为:{"state":true,"message":"部分删除成功,其中编码为【\"add_org_test\"】的组织不存在;","value":""}
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/deleteOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/deleteOrg,请求的方法为:post,请求的媒体类型为:json, 请求的用例数据:add_org_test, 期望数据为:{'state': True, 'message': '删除组织成功!', 'value': ''},服务器返回的数据为:{"state":true,"message":"部分删除成功,其中编码为【\"add_org_test\"】的组织不存在;","value":""}
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/deleteOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/deleteOrg,请求的方法为:post,请求的媒体类型为:json, 请求的用例数据:add_org_test, 期望数据为:{'state': True, 'message': '删除组织成功!', 'value': ''},服务器返回的数据为:{"state":true,"message":"部分删除成功,其中编码为【\"add_org_test\"】的组织不存在;","value":""}
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:549 http://120.46.172.186:8080 "POST /api/org/v1/orgUsers/addUsersForOrg?orgCode=add_org_test&accounts=admin HTTP/1.1" 200 None
ERROR  root:test_bpm.py:70 断言成功,请求的url为:http://120.46.172.186:8080/api/org/v1/orgUsers/addUsersForOrg,请求的方法为:post,请求的媒体类型为:params, 请求的用例数据:{'orgCode': 'add_org_test', 'accounts': 'admin'}, 期望数据为:{'state': True, 'message': '加入成功', 'value': ''},服务器返回的数据为:{"state":true,"message":"加入成功","value":""}
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/orgUsers/addUsersForOrg?orgCode=add_org_test&accounts=admin HTTP/1.1" 200 None
ERROR  root:test_bpm.py:65 断言成功,请求的url为:http://120.46.172.186:8080/api/org/v1/orgUsers/addUsersForOrg,请求的方法为:post,请求的媒体类型为:params, 请求的用例数据:{'orgCode': 'add_org_test', 'accounts': 'admin'}, 期望数据为:{'state': True, 'message': '加入成功', 'value': ''},服务器返回的数据为:{"state":true,"message":"加入成功","value":""}
\ No newline at end of file
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979822747959296', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979822747959296', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979822747959296', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979822747959296', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979822747959296', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
\ No newline at end of file
INFO  root:__init__.py:43 执行的函数或方法为:__init__,其功能为:链接是数据库,获取链接对象和游标对象
INFO  root:__init__.py:43 执行的函数或方法为:__init__,其功能为:获取ini文件的路径,使用Configparser对象的read方法读取ini文件
INFO  root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息
INFO  root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息
INFO  root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息
INFO  root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息
INFO  root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息
INFO  root:__init__.py:43 执行的函数或方法为:__init__,其功能为:获取ini文件的路径,使用Configparser对象的read方法读取ini文件
INFO  root:__init__.py:43 执行的函数或方法为:get_host,其功能为:根据key获取host节点下key对应的域名
DEBUG  urllib3.connectionpool:connectionpool.py:226 Starting new HTTP connection (1): 120.46.172.186:8080
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /auth HTTP/1.1" 200 None
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
\ No newline at end of file
INFO  root:__init__.py:43 执行的函数或方法为:__init__,其功能为:链接是数据库,获取链接对象和游标对象
INFO  root:__init__.py:43 执行的函数或方法为:__init__,其功能为:获取ini文件的路径,使用Configparser对象的read方法读取ini文件
INFO  root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息
INFO  root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息
INFO  root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息
INFO  root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息
INFO  root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息
INFO  root:__init__.py:43 执行的函数或方法为:__init__,其功能为:获取ini文件的路径,使用Configparser对象的read方法读取ini文件
INFO  root:__init__.py:43 执行的函数或方法为:get_host,其功能为:根据key获取host节点下key对应的域名
DEBUG  urllib3.connectionpool:connectionpool.py:226 Starting new HTTP connection (1): 120.46.172.186:8080
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /auth HTTP/1.1" 200 None
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
\ No newline at end of file
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979790250491904 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979790250491904'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979790250491904 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979790250491904'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979790250491904 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979790250491904'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
\ No newline at end of file
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979822747959296 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979822747959296'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979822747959296 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979822747959296'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979822747959296 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979822747959296'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:271 Resetting dropped connection: 120.46.172.186
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
ERROR  root:test_bpm.py:65 断言成功,请求的url为:http://120.46.172.186:8080/auth,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'username': 'admin', 'password': 'MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2MTIzNDU2'}, 期望数据为:{'message': '账号或密码错误'},服务器返回的数据为:{"state":false,"message":"账号或密码错误","logId":"1769979780498735104"}
\ No newline at end of file
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979806826381312', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979806826381312', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979806826381312', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979806826381312', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979806826381312', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979806826381312', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/deleteOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/deleteOrg,请求的方法为:post,请求的媒体类型为:json, 请求的用例数据:add_org_test, 期望数据为:{'state': True, 'message': '删除组织成功!', 'value': ''},服务器返回的数据为:{"state":true,"message":"部分删除成功,其中编码为【\"add_org_test\"】的组织不存在;","value":""}
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/deleteOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/deleteOrg,请求的方法为:post,请求的媒体类型为:json, 请求的用例数据:add_org_test, 期望数据为:{'state': True, 'message': '删除组织成功!', 'value': ''},服务器返回的数据为:{"state":true,"message":"部分删除成功,其中编码为【\"add_org_test\"】的组织不存在;","value":""}
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/deleteOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/deleteOrg,请求的方法为:post,请求的媒体类型为:json, 请求的用例数据:add_org_test, 期望数据为:{'state': True, 'message': '删除组织成功!', 'value': ''},服务器返回的数据为:{"state":true,"message":"部分删除成功,其中编码为【\"add_org_test\"】的组织不存在;","value":""}
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/deleteOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/deleteOrg,请求的方法为:post,请求的媒体类型为:json, 请求的用例数据:add_org_test, 期望数据为:{'state': True, 'message': '删除组织成功!', 'value': ''},服务器返回的数据为:{"state":true,"message":"部分删除成功,其中编码为【\"add_org_test\"】的组织不存在;","value":""}
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:549 http://120.46.172.186:8080 "GET /api/demension/v1/dem/getDem?code=abc_123_xyz HTTP/1.1" 200 None
ERROR  root:test_bpm.py:70 断言成功,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/getDem,请求的方法为:GET,请求的媒体类型为:query, 请求的用例数据:{'code': 'abc_123_xyz'}, 期望数据为:{'isDelete': '0'},服务器返回的数据为:{"createTime":"2024-03-19 15:41:51","isDelete":"0","id":"1769992666658914304","demCode":"abc_123_xyz","demName":"接口自动化框架","demDesc":"abc_123_xyz","isDefault":0,"organId":0,"code":"abc_123_xyz","name":"接口自动化框架","pkVal":"1769992666658914304"}
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "GET /api/demension/v1/dem/getDem?code=abc_123_xyz HTTP/1.1" 200 None
ERROR  root:test_bpm.py:66 断言成功,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/getDem,请求的方法为:GET,请求的媒体类型为:query, 请求的用例数据:{'code': 'abc_123_xyz'}, 期望数据为:{'isDelete': '0'},服务器返回的数据为:{"createTime":"2024-03-19 14:50:49","isDelete":"0","id":"1769979822747959296","demCode":"abc_123_xyz","demName":"接口自动化框架","demDesc":"abc_123_xyz","isDefault":0,"organId":0,"code":"abc_123_xyz","name":"接口自动化框架","pkVal":"1769979822747959296"}
\ No newline at end of file
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979790250491904', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979790250491904', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979790250491904', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:271 Resetting dropped connection: 120.46.172.186
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "GET /refresh HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/refresh,请求的方法为:GET,请求的媒体类型为:None, 请求的用例数据:None, 期望数据为:{'message': '刷新token成功'},服务器返回的数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MTA5MTc0MzksImlhdCI6MTcxMDgzMTAzOX0.KfGwnxknp5OEuD8Zcm607y_1A0TwVUY92Di-ltn3OjJ_65oYPHfb9vNrJ5X7NWgyEhXa_kUHg1qiMVmL-uu4Fw","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
\ No newline at end of file
INFO  root:__init__.py:43 执行的函数或方法为:__init__,其功能为:链接是数据库,获取链接对象和游标对象
INFO  root:__init__.py:43 执行的函数或方法为:__init__,其功能为:获取ini文件的路径,使用Configparser对象的read方法读取ini文件
INFO  root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息
INFO  root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息
INFO  root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息
INFO  root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息
INFO  root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息
INFO  root:__init__.py:43 执行的函数或方法为:__init__,其功能为:获取ini文件的路径,使用Configparser对象的read方法读取ini文件
INFO  root:__init__.py:43 执行的函数或方法为:get_host,其功能为:根据key获取host节点下key对应的域名
DEBUG  urllib3.connectionpool:connectionpool.py:226 Starting new HTTP connection (1): 120.46.172.186:8080
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /auth HTTP/1.1" 200 None
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
\ No newline at end of file
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979790250491904 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979790250491904'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:292 Resetting dropped connection: 120.46.172.186
DEBUG  urllib3.connectionpool:connectionpool.py:549 http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
ERROR  root:test_bpm.py:70 断言成功,请求的url为:http://120.46.172.186:8080/auth,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'username': 'admin', 'password': '▣▤▥▦▩◘◈'}, 期望数据为:{'message': '账号或密码错误'},服务器返回的数据为:{"state":false,"message":"账号或密码错误","logId":"1769992652956123136"}
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:271 Resetting dropped connection: 120.46.172.186
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
ERROR  root:test_bpm.py:65 断言成功,请求的url为:http://120.46.172.186:8080/auth,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'username': 'admin', 'password': '▣▤▥▦▩◘◈'}, 期望数据为:{'message': '账号或密码错误'},服务器返回的数据为:{"state":false,"message":"账号或密码错误","logId":"1769979780926554112"}
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/deleteOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/deleteOrg,请求的方法为:post,请求的媒体类型为:json, 请求的用例数据:add_org_test, 期望数据为:{'state': True, 'message': '删除组织成功!', 'value': ''},服务器返回的数据为:{"state":true,"message":"部分删除成功,其中编码为【\"add_org_test\"】的组织不存在;","value":""}
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/deleteOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/deleteOrg,请求的方法为:post,请求的媒体类型为:json, 请求的用例数据:add_org_test, 期望数据为:{'state': True, 'message': '删除组织成功!', 'value': ''},服务器返回的数据为:{"state":true,"message":"部分删除成功,其中编码为【\"add_org_test\"】的组织不存在;","value":""}
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/deleteOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/deleteOrg,请求的方法为:post,请求的媒体类型为:json, 请求的用例数据:add_org_test, 期望数据为:{'state': True, 'message': '删除组织成功!', 'value': ''},服务器返回的数据为:{"state":true,"message":"部分删除成功,其中编码为【\"add_org_test\"】的组织不存在;","value":""}
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/deleteOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/deleteOrg,请求的方法为:post,请求的媒体类型为:json, 请求的用例数据:add_org_test, 期望数据为:{'state': True, 'message': '删除组织成功!', 'value': ''},服务器返回的数据为:{"state":true,"message":"部分删除成功,其中编码为【\"add_org_test\"】的组织不存在;","value":""}
\ No newline at end of file
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979822747959296 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979822747959296'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979822747959296 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979822747959296'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979822747959296 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979822747959296'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979822747959296 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979822747959296'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/deleteOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/deleteOrg,请求的方法为:post,请求的媒体类型为:json, 请求的用例数据:add_org_test, 期望数据为:{'state': True, 'message': '删除组织成功!', 'value': ''},服务器返回的数据为:{"state":true,"message":"部分删除成功,其中编码为【\"add_org_test\"】的组织不存在;","value":""}
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/deleteOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/deleteOrg,请求的方法为:post,请求的媒体类型为:json, 请求的用例数据:add_org_test, 期望数据为:{'state': True, 'message': '删除组织成功!', 'value': ''},服务器返回的数据为:{"state":true,"message":"部分删除成功,其中编码为【\"add_org_test\"】的组织不存在;","value":""}
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/deleteOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/deleteOrg,请求的方法为:post,请求的媒体类型为:json, 请求的用例数据:add_org_test, 期望数据为:{'state': True, 'message': '删除组织成功!', 'value': ''},服务器返回的数据为:{"state":true,"message":"部分删除成功,其中编码为【\"add_org_test\"】的组织不存在;","value":""}
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/deleteOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/deleteOrg,请求的方法为:post,请求的媒体类型为:json, 请求的用例数据:add_org_test, 期望数据为:{'state': True, 'message': '删除组织成功!', 'value': ''},服务器返回的数据为:{"state":true,"message":"部分删除成功,其中编码为【\"add_org_test\"】的组织不存在;","value":""}
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/deleteOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/deleteOrg,请求的方法为:post,请求的媒体类型为:json, 请求的用例数据:add_org_test, 期望数据为:{'state': True, 'message': '删除组织成功!', 'value': ''},服务器返回的数据为:{"state":true,"message":"部分删除成功,其中编码为【\"add_org_test\"】的组织不存在;","value":""}
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:292 Resetting dropped connection: 120.46.172.186
DEBUG  urllib3.connectionpool:connectionpool.py:549 http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
ERROR  root:test_bpm.py:70 断言成功,请求的url为:http://120.46.172.186:8080/auth,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'user': 'admin', 'password': 'MTIzNDU2'}, 期望数据为:{'message': '账号或密码错误'},服务器返回的数据为:{"state":false,"message":"账号或密码错误","logId":"1769992655019720704"}
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:271 Resetting dropped connection: 120.46.172.186
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
ERROR  root:test_bpm.py:65 断言成功,请求的url为:http://120.46.172.186:8080/auth,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'user': 'admin', 'password': 'MTIzNDU2'}, 期望数据为:{'message': '账号或密码错误'},服务器返回的数据为:{"state":false,"message":"账号或密码错误","logId":"1769979782658801664"}
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/deleteOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/deleteOrg,请求的方法为:post,请求的媒体类型为:json, 请求的用例数据:add_org_test, 期望数据为:{'state': True, 'message': '删除组织成功!', 'value': ''},服务器返回的数据为:{"state":true,"message":"部分删除成功,其中编码为【\"add_org_test\"】的组织不存在;","value":""}
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/deleteOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/deleteOrg,请求的方法为:post,请求的媒体类型为:json, 请求的用例数据:add_org_test, 期望数据为:{'state': True, 'message': '删除组织成功!', 'value': ''},服务器返回的数据为:{"state":true,"message":"部分删除成功,其中编码为【\"add_org_test\"】的组织不存在;","value":""}
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:292 Resetting dropped connection: 120.46.172.186
DEBUG  urllib3.connectionpool:connectionpool.py:549 http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
ERROR  root:test_bpm.py:70 断言成功,请求的url为:http://120.46.172.186:8080/auth,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'username': '▣▤▥▦▩◘◈', 'password': 'MTIzNDU2'}, 期望数据为:{'message': '账号或密码错误'},服务器返回的数据为:{"state":false,"message":"账号或密码错误","logId":"1769992654617067520"}
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:271 Resetting dropped connection: 120.46.172.186
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /auth HTTP/1.1" 500 None
ERROR  root:test_bpm.py:65 断言成功,请求的url为:http://120.46.172.186:8080/auth,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'username': '▣▤▥▦▩◘◈', 'password': 'MTIzNDU2'}, 期望数据为:{'message': '账号或密码错误'},服务器返回的数据为:{"state":false,"message":"账号或密码错误","logId":"1769979782239371264"}
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:271 Resetting dropped connection: 120.46.172.186
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "GET /refresh HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/refresh,请求的方法为:GET,请求的媒体类型为:None, 请求的用例数据:None, 期望数据为:{'message': '刷新token成功'},服务器返回的数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MTA5MTc0MzksImlhdCI6MTcxMDgzMTAzOX0.KfGwnxknp5OEuD8Zcm607y_1A0TwVUY92Di-ltn3OjJ_65oYPHfb9vNrJ5X7NWgyEhXa_kUHg1qiMVmL-uu4Fw","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "GET /refresh HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/refresh,请求的方法为:GET,请求的媒体类型为:None, 请求的用例数据:None, 期望数据为:{'message': '刷新token成功'},服务器返回的数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MTA5MTc0NDAsImlhdCI6MTcxMDgzMTA0MH0.BCKjPGQzTVGILAQJhyAEJQQ-77xwsmXCm6Cqwj1V7C3qZgt_q-14Jfd-ea-JVW9eyrDCV30Y7ygRawaq527KXg","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "GET /refresh HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/refresh,请求的方法为:GET,请求的媒体类型为:None, 请求的用例数据:None, 期望数据为:{'message': '刷新token成功'},服务器返回的数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MTA5MTc0NDAsImlhdCI6MTcxMDgzMTA0MH0.BCKjPGQzTVGILAQJhyAEJQQ-77xwsmXCm6Cqwj1V7C3qZgt_q-14Jfd-ea-JVW9eyrDCV30Y7ygRawaq527KXg","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "GET /refresh HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/refresh,请求的方法为:GET,请求的媒体类型为:None, 请求的用例数据:None, 期望数据为:{'message': '刷新token成功'},服务器返回的数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MTA5MTc0NDAsImlhdCI6MTcxMDgzMTA0MH0.BCKjPGQzTVGILAQJhyAEJQQ-77xwsmXCm6Cqwj1V7C3qZgt_q-14Jfd-ea-JVW9eyrDCV30Y7ygRawaq527KXg","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
\ No newline at end of file
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979790250491904 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979790250491904'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979790250491904 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979790250491904'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979790250491904 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979790250491904'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "DELETE /api/demension/v1/dem/deleteDemByIds?ids=1769979790250491904 HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/deleteDemByIds,请求的方法为:DELETE,请求的媒体类型为:query, 请求的用例数据:{'ids': '1769979790250491904'}, 期望数据为:{'message': '删除维度成功'},服务器返回的数据为:{"state":false,"message":"【接口自动化框架(abc_123_xyz)】的维度下存在组织,不允许删除 ","value":""}
\ No newline at end of file
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:549 http://120.46.172.186:8080 "GET /api/demension/v1/dem/getDem?code=abc_123_xyz HTTP/1.1" 200 None
ERROR  root:test_bpm.py:70 断言成功,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/getDem,请求的方法为:GET,请求的媒体类型为:query, 请求的用例数据:{'code': 'abc_123_xyz'}, 期望数据为:{'isDelete': '0'},服务器返回的数据为:{"createTime":"2024-03-19 15:41:50","isDelete":"0","id":"1769992662695297024","demCode":"abc_123_xyz","demName":"接口自动化框架","demDesc":"abc_123_xyz","isDefault":0,"organId":0,"code":"abc_123_xyz","name":"接口自动化框架","pkVal":"1769992662695297024"}
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "GET /api/demension/v1/dem/getDem?code=abc_123_xyz HTTP/1.1" 200 None
ERROR  root:test_bpm.py:65 断言成功,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/getDem,请求的方法为:GET,请求的媒体类型为:query, 请求的用例数据:{'code': 'abc_123_xyz'}, 期望数据为:{'isDelete': '0'},服务器返回的数据为:{"createTime":"2024-03-19 14:50:45","isDelete":"0","id":"1769979806826381312","demCode":"abc_123_xyz","demName":"接口自动化框架","demDesc":"abc_123_xyz","isDefault":0,"organId":0,"code":"abc_123_xyz","name":"接口自动化框架","pkVal":"1769979806826381312"}
\ No newline at end of file
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/api/demension/v1/dem/addDem,请求的方法为:POST,请求的媒体类型为:application/json, 请求的用例数据:{'code': 'abc_123_xyz', 'description': 'abc_123_xyz', 'isDefault': 0, 'name': '接口自动化框架'}, 期望数据为:{'message': '添加维度成功'},服务器返回的数据为:{"state":true,"message":"添加维度成功!","value":""}
\ No newline at end of file
DEBUG  pytest_dependency:pytest_dependency.py:87 check dependencies of test_add_dem in module scope ...
DEBUG  pytest_dependency:pytest_dependency.py:92 ... test_login succeeded
DEBUG  urllib3.connectionpool:connectionpool.py:226 Starting new HTTP connection (1): 120.46.172.186:8080
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:549 http://120.46.172.186:8080 "POST /api/org/v1/orgUsers/addUsersForOrg?orgCode=add_org_test&accounts=admin HTTP/1.1" 200 None
ERROR  root:test_bpm.py:70 断言成功,请求的url为:http://120.46.172.186:8080/api/org/v1/orgUsers/addUsersForOrg,请求的方法为:post,请求的媒体类型为:params, 请求的用例数据:{'orgCode': 'add_org_test', 'accounts': 'admin'}, 期望数据为:{'state': True, 'message': '加入成功', 'value': ''},服务器返回的数据为:{"state":true,"message":"加入成功","value":""}
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/orgUsers/addUsersForOrg?orgCode=add_org_test&accounts=admin HTTP/1.1" 200 None
ERROR  root:test_bpm.py:65 断言成功,请求的url为:http://120.46.172.186:8080/api/org/v1/orgUsers/addUsersForOrg,请求的方法为:post,请求的媒体类型为:params, 请求的用例数据:{'orgCode': 'add_org_test', 'accounts': 'admin'}, 期望数据为:{'state': True, 'message': '加入成功', 'value': ''},服务器返回的数据为:{"state":true,"message":"加入成功","value":""}
\ No newline at end of file
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979822747959296', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979822747959296', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979822747959296', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979822747959296', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979822747959296', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
INFO  root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句
INFO  root:__init__.py:43 执行的函数或方法为:select,其功能为:使用游标对象执行查询的sql语句,并返回查询的结果
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/org/addOrg HTTP/1.1" 200 None
ERROR  root:test_bpm.py:63 断言失败,请求的url为:http://120.46.172.186:8080/api/org/v1/org/addOrg,请求的方法为:POST,请求的媒体类型为:json, 请求的用例数据:{'code': 'add_org_test', 'demId': '1769979822747959296', 'exceedLimitNum': 0, 'grade': '', 'limitNum': 0, 'name': '接口自动化框架添加的组织', 'nowNum': 0, 'orderNo': 0, 'parentId': '0'}, 期望数据为:{'message': '添加组织成功'},服务器返回的数据为:{"state":true,"message":"添加组织成功!","value":""}
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:271 Resetting dropped connection: 120.46.172.186
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "GET /refresh HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/refresh,请求的方法为:GET,请求的媒体类型为:None, 请求的用例数据:None, 期望数据为:{'message': '刷新token成功'},服务器返回的数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MTA5MTc0MzksImlhdCI6MTcxMDgzMTAzOX0.KfGwnxknp5OEuD8Zcm607y_1A0TwVUY92Di-ltn3OjJ_65oYPHfb9vNrJ5X7NWgyEhXa_kUHg1qiMVmL-uu4Fw","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "GET /refresh HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/refresh,请求的方法为:GET,请求的媒体类型为:None, 请求的用例数据:None, 期望数据为:{'message': '刷新token成功'},服务器返回的数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MTA5MTc0NDAsImlhdCI6MTcxMDgzMTA0MH0.BCKjPGQzTVGILAQJhyAEJQQ-77xwsmXCm6Cqwj1V7C3qZgt_q-14Jfd-ea-JVW9eyrDCV30Y7ygRawaq527KXg","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "GET /refresh HTTP/1.1" 200 None
ERROR  root:test_bpm.py:62 断言失败,请求的url为:http://120.46.172.186:8080/refresh,请求的方法为:GET,请求的媒体类型为:None, 请求的用例数据:None, 期望数据为:{'message': '刷新token成功'},服务器返回的数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MTA5MTc0NDAsImlhdCI6MTcxMDgzMTA0MH0.BCKjPGQzTVGILAQJhyAEJQQ-77xwsmXCm6Cqwj1V7C3qZgt_q-14Jfd-ea-JVW9eyrDCV30Y7ygRawaq527KXg","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
\ No newline at end of file
DEBUG  urllib3.connectionpool:connectionpool.py:433 http://120.46.172.186:8080 "POST /api/org/v1/orgUsers/addUsersForOrg?orgCode=add_org_test&accounts=admin HTTP/1.1" 200 None
ERROR  root:test_bpm.py:66 断言成功,请求的url为:http://120.46.172.186:8080/api/org/v1/orgUsers/addUsersForOrg,请求的方法为:post,请求的媒体类型为:params, 请求的用例数据:{'orgCode': 'add_org_test', 'accounts': 'admin'}, 期望数据为:{'state': True, 'message': '加入成功', 'value': ''},服务器返回的数据为:{"state":true,"message":"加入成功","value":""}
\ No newline at end of file
"Epic","Feature","Story","FAILED","BROKEN","PASSED","SKIPPED","UNKNOWN"
"BPM项目-李四","组织管理","删除组织","1","0","0","0","0"
"BPM项目-李四","组织管理","组织加入用户","0","0","1","0","0"
"BPM项目-李四","维度管理","根据维度编码删除维度","1","0","0","0","0"
"BPM-场景","维度管理","添加维度","0","0","1","0","0"
"BPM项目-张三","组织管理","删除组织","1","0","0","0","0"
"BPM项目-basic","认证接口","登录系统","0","0","10","0","0"
"BPM项目-张三","组织管理","添加组织","1","0","0","0","0"
"BPM项目-李四","组织管理","删除组织","1","0","0","0","0"
"BPM项目-basic","维度管理","根据维度编码删除维度","1","0","0","0","0"
"BPM项目-basic","认证接口","刷新token","1","0","0","0","0"
"BPM项目-李四","维度管理","根据维度编码获取维度信息","0","0","1","0","0"
"BPM项目-basic","维度管理","添加维度","1","0","0","0","0"
"BPM项目-张三","维度管理","根据维度编码获取维度信息","0","0","1","0","0"
"BPM项目-李四","组织管理","添加组织","1","0","0","0","0"
"BPM-场景","维度管理","根据维度编码获取维度信息","0","0","1","0","0"
"BPM项目-李四","组织管理","保存组织参数","0","0","1","0","0"
"BPM项目-张三","维度管理","根据维度编码获取维度信息","0","0","1","0","0"
"BPM项目-basic","组织管理","组织加入用户","0","0","1","0","0"
"BPM项目-张三","组织管理","组织加入用户","0","0","1","0","0"
"BPM项目-basic","组织管理","添加组织","1","0","0","0","0"
"BPM项目-张三","维度管理","添加维度","1","0","0","0","0"
"BPM-场景","认证接口","登录系统","0","0","1","0","0"
"BPM项目-张三","组织管理","组织加入用户","0","0","1","0","0"
"BPM-场景","维度管理","根据维度编码获取维度信息","0","0","1","0","0"
"BPM项目-basic","组织管理","组织加入用户","0","0","1","0","0"
"BPM项目-basic","维度管理","根据维度编码获取维度信息","0","0","1","0","0"
"BPM项目-李四","组织管理","组织加入用户","0","0","1","0","0"
"BPM项目-李四","维度管理","添加维度","1","0","0","0","0"
"BPM项目-basic","认证接口","刷新token","1","0","0","0","0"
"BPM项目-张三","组织管理","添加组织","1","0","0","0","0"
"BPM项目-李四","维度管理","根据维度编码获取维度信息","0","0","1","0","0"
"BPM项目-李四","维度管理","根据维度编码删除维度","1","0","0","0","0"
"BPM项目-张三","维度管理","添加维度","1","0","0","0","0"
"BPM项目-basic","维度管理","根据维度编码获取维度信息","0","0","1","0","0"
"BPM-场景","维度管理","添加维度","0","0","1","0","0"
"BPM项目-李四","组织管理","添加组织","1","0","0","0","0"
"BPM项目-张三","维度管理","根据维度编码删除维度","1","0","0","0","0"
"BPM项目-张三","组织管理","删除组织","1","0","0","0","0"
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