开始时间 : 2022-07-30 01:01:38
合计耗时 : 00:00:00
测试结果 : 总共 3,通过 1,失败 0,错误 2,通过率 33.33%
失败用例 : 无
错误用例 : 点击查看
测试用例 | 说明 | 总计 | 通过 | 失败 | 错误 | 耗时 | 详细 |
测试用例 | 3 | 1 | 0 | 2 | 0.101秒 | 查看全部 | |
test0001_TestLogin |
正常登录 |
pt1_1: 2022-07-30 01:01:38,956 - D: 正在执行:正常登录 2022-07-30 01:01:39,053 - D: [->] POST /filebox.php?op=home HTTP/1.1 Host: www.fanscloud.net User-Agent: curl Accept-Encoding: gzip, deflate Accept: */* Connection: keep-alive Content-Length: 59 Content-Type: application/x-www-form-urlencoded user=&pass=1234ABCDabcd&submitButtonName=%E7%99%BB%E5%BD%95 [<-] HTTP/1.1 200 OK Server: nginx Date: Fri, 29 Jul 2022 17:01:38 GMT Content-Type: text/html; charset=utf-8 Transfer-Encoding: chunked Connection: keep-alive Vary: Accept-Encoding Set-Cookie: PHPSESSID=8lr8duhbbqtch8t3iu3jq8gsn3; path=/, user=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0, pass=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0 Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate Pragma: no-cache Content-Encoding: gzip <!DOCTYPE html> <meta name='robots' content='noindex,follow' /> <head> <meta name='viewport' content='width=device-width, initial-scale=1'/> <title>www.fanscloud.net - 登录</title> </head> <body> <style> *{font-family:'Consolas';}.box{border:1px solid #ccc;b ... [MORE 94% OMITTED HERE] |
|||||
test0002_None |
et1_2: 2022-07-30 01:01:39,053 - D: 正在执行:None Traceback (most recent call last): File "D:\Project\AutoFramework\venv\lib\site-packages\pandas\core\indexes\base.py", line 3621, in get_loc return self._engine.get_loc(casted_key) File "pandas\_libs\index.pyx", line 136, in pandas._libs.index.IndexEngine.get_loc File "pandas\_libs\index.pyx", line 163, in pandas._libs.index.IndexEngine.get_loc File "pandas\_libs\hashtable_class_helper.pxi", line 2131, in pandas._libs.hashtable.Int64HashTable.get_item File "pandas\_libs\hashtable_class_helper.pxi", line 2140, in pandas._libs.hashtable.Int64HashTable.get_item KeyError: 0 The above exception was the direct cause of the following exception: Traceback (most recent call last): File "D:\Project\AutoFramework\Runner\API\DefaultRunner.py", line 171, in foo def foo(self, index=i): return self._test_(index) File "D:\Project\AutoFramework\Runner\API\DefaultRunner.py", line 159, in test self.test_unit(data=main_case) File "D:\Project\AutoFramework\Runner\API\DefaultRunner.py", line 116, in test_unit HTTPCh = self.h.where((self.h['Env'] == self.envs) & (self.h['Name'] == data['HTTPCh']), inplace=False).dropna(how='all').loc[0].to_dict() File "D:\Project\AutoFramework\venv\lib\site-packages\pandas\core\indexing.py", line 967, in __getitem__ return self._getitem_axis(maybe_callable, axis=axis) File "D:\Project\AutoFramework\venv\lib\site-packages\pandas\core\indexing.py", line 1202, in _getitem_axis return self._get_label(key, axis=axis) File "D:\Project\AutoFramework\venv\lib\site-packages\pandas\core\indexing.py", line 1153, in _get_label return self.obj.xs(label, axis=axis) File "D:\Project\AutoFramework\venv\lib\site-packages\pandas\core\generic.py", line 3864, in xs loc = index.get_loc(key) File "D:\Project\AutoFramework\venv\lib\site-packages\pandas\core\indexes\base.py", line 3623, in get_loc raise KeyError(key) from err KeyError: 0 |
||||||
test0003_None |
et1_3: 2022-07-30 01:01:39,058 - D: 正在执行:None Traceback (most recent call last): File "D:\Project\AutoFramework\venv\lib\site-packages\pandas\core\indexes\base.py", line 3621, in get_loc return self._engine.get_loc(casted_key) File "pandas\_libs\index.pyx", line 136, in pandas._libs.index.IndexEngine.get_loc File "pandas\_libs\index.pyx", line 163, in pandas._libs.index.IndexEngine.get_loc File "pandas\_libs\hashtable_class_helper.pxi", line 2131, in pandas._libs.hashtable.Int64HashTable.get_item File "pandas\_libs\hashtable_class_helper.pxi", line 2140, in pandas._libs.hashtable.Int64HashTable.get_item KeyError: 0 The above exception was the direct cause of the following exception: Traceback (most recent call last): File "D:\Project\AutoFramework\Runner\API\DefaultRunner.py", line 171, in foo def foo(self, index=i): return self._test_(index) File "D:\Project\AutoFramework\Runner\API\DefaultRunner.py", line 159, in test self.test_unit(data=main_case) File "D:\Project\AutoFramework\Runner\API\DefaultRunner.py", line 116, in test_unit HTTPCh = self.h.where((self.h['Env'] == self.envs) & (self.h['Name'] == data['HTTPCh']), inplace=False).dropna(how='all').loc[0].to_dict() File "D:\Project\AutoFramework\venv\lib\site-packages\pandas\core\indexing.py", line 967, in __getitem__ return self._getitem_axis(maybe_callable, axis=axis) File "D:\Project\AutoFramework\venv\lib\site-packages\pandas\core\indexing.py", line 1202, in _getitem_axis return self._get_label(key, axis=axis) File "D:\Project\AutoFramework\venv\lib\site-packages\pandas\core\indexing.py", line 1153, in _get_label return self.obj.xs(label, axis=axis) File "D:\Project\AutoFramework\venv\lib\site-packages\pandas\core\generic.py", line 3864, in xs loc = index.get_loc(key) File "D:\Project\AutoFramework\venv\lib\site-packages\pandas\core\indexes\base.py", line 3623, in get_loc raise KeyError(key) from err KeyError: 0 |
||||||
总计 | 3 | 1 | 0 | 2 | 0.101秒 | 通过:33.33% |