[32mINFO [0m root:__init__.py:43 执行的函数或方法为:__init__,其功能为:链接是数据库,获取链接对象和游标对象 [32mINFO [0m root:__init__.py:43 执行的函数或方法为:__init__,其功能为:获取ini文件的路径,使用Configparser对象的read方法读取ini文件 [32mINFO [0m root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息 [32mINFO [0m root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息 [32mINFO [0m root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息 [32mINFO [0m root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息 [32mINFO [0m root:__init__.py:43 执行的函数或方法为:get_sql_connect_msg,其功能为:根据key获取sql节点下key对应的数据库链接信息 [32mINFO [0m root:__init__.py:43 执行的函数或方法为:__init__,其功能为:获取ini文件的路径,使用Configparser对象的read方法读取ini文件 [32mINFO [0m root:__init__.py:43 执行的函数或方法为:get_host,其功能为:根据key获取host节点下key对应的域名 [35mDEBUG [0m urllib3.connectionpool:connectionpool.py:244 Starting new HTTP connection (1): 120.46.172.186:8080 [35mDEBUG [0m urllib3.connectionpool:connectionpool.py:549 http://120.46.172.186:8080 "POST /auth HTTP/1.1" 200 None [32mINFO [0m root:__init__.py:43 执行的函数或方法为:delete,其功能为:使用游标对象执行删除的sql语句 [35mDEBUG [0m urllib3.connectionpool:connectionpool.py:549 http://120.46.172.186:8080 "POST /api/demension/v1/dem/addDem HTTP/1.1" 200 None [1m[31mERROR [0m root:test_bpm.py:50 断言失败,请求的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":""}