Commit Graph

79 Commits

Author SHA1 Message Date
debugtalk
6e4da54250 fix #1249: catch exceptions when requesting with disabling allow_redirects 2022-04-18 14:12:01 +08:00
debugtalk
e48ac54d04 change: sync changes from v3.1.9 2022-04-17 15:17:16 +08:00
lan
548bb3855f HTTPS:'WrappedSocket' object has no attribute 'getsockname' and 'getpeername' 2022-01-18 17:31:12 +08:00
xucong053
d0b37f6282 fix:add list2json for better display 2021-07-13 22:02:27 +08:00
huangdabiao
a53e736153 解决response的dict中如果包含有汉字,显示转义错误的问题 2021-06-10 10:32:11 +08:00
debugtalk
3b5dce7ee4 change: do not raise error if failed to get client/server address info 2020-06-19 14:13:01 +08:00
debugtalk
fd34af38d1 test: raise error if failed to get client/server address info 2020-06-18 10:59:12 +08:00
debugtalk
a99d5b9e01 feat: log client/server IP and port 2020-06-17 21:20:45 +08:00
debugtalk
031e1faed8 change: do not capture exception for json loads 2020-06-05 16:24:21 +08:00
debugtalk
992f17dc92 refactor: rename schema to models 2020-06-05 10:38:12 +08:00
debugtalk
7399fa27f5 change: update capture exception 2020-06-04 16:36:46 +08:00
debugtalk
5d9e87d096 change: do not capture exception when request body is string 2020-06-04 15:42:12 +08:00
debugtalk
785610f735 fix: try json loads request_body only if it is not None 2020-06-04 15:30:34 +08:00
debugtalk
1d0df3881f change: capture exception with sentry 2020-06-04 12:11:27 +08:00
debugtalk
510ff78b01 fix: requests.cookies.CookieConflictError, multiple cookies with name 2020-06-03 16:50:53 +08:00
debugtalk
a3af570cce fix: compatibility when request body is None 2020-05-29 11:34:17 +08:00
debugtalk
ab5c49c05d fix: UnicodeDecodeError when request body in protobuf 2020-05-28 14:14:45 +08:00
debugtalk
9327b232bc feat: log request cookies 2020-05-22 13:28:56 +08:00
debugtalk
07ec852f6c feat: dump log for each testcase 2020-05-22 12:57:25 +08:00
debugtalk
ba7cc9df62 feat: log request/response headers and body with indent 2020-05-19 16:07:41 +08:00
debugtalk
aa8a21577e bump version to 3.0.4 2020-05-19 15:51:20 +08:00
debugtalk
2647456832 feat: implement upload keyword 2020-05-16 16:34:06 +08:00
debugtalk
9ba550bd9f change: format code with balck 2020-05-14 14:21:35 +08:00
debugtalk
bdd8b53d89 change: http client with pydantic models 2020-05-14 00:11:13 +08:00
debugtalk
0861e6b687 refactor: merge v3 2020-04-23 21:53:03 +08:00
debugtalk
4fc95aa261 fix: session data in step_datas 2020-04-23 21:53:03 +08:00
debugtalk
07b36f8e68 refactor: change variable name from meta_data to session_data 2020-04-23 21:53:03 +08:00
debugtalk
94821dc3b0 refactor: add typing with pydantic 2020-04-23 21:53:03 +08:00
debugtalk
07fd45092d change:
1, replace logging with loguru
2, replace string format with f-string
2020-03-07 12:16:11 +08:00
debugtalk
6f42703e76 change: reformat code 2019-12-24 21:33:00 +08:00
debugtalk
48066205a9 feat: add keyword 'body' to reference response body
change: unify response field(content/json/text) to 'body' in html report
2019-12-17 22:35:25 +08:00
fengyu
a3182277f9 fix teardown_hook对response的修改体现在测试报告上 httprunner#430 2019-11-05 14:12:30 +08:00
debugtalk
08aa9ce29e fix: remove unused arguments 2019-10-25 20:19:58 +08:00
debugtalk
b2221f2815 change: remove unused imports 2019-10-04 23:12:20 +08:00
debugtalk
1c207e2dc4 relocate build url with base_url 2019-04-08 14:11:49 +08:00
debugtalk
578fe1569d each teststeps in one testcase share the same session. 2019-01-25 14:08:53 +08:00
debugtalk
efee458ded bugfix: add request method in report 2019-01-18 12:47:55 +08:00
debugtalk
c68e7be512 update omitting request & response length:
1, request: only omit upload file type;
2, response: keep raw content for extracting; omit in summary
2018-12-28 16:15:18 +08:00
debugtalk
f18d892876 enhance report: display all 30X redirect request and response 2018-12-20 17:59:11 +08:00
debugtalk
763d41617c omit request and response data length greater than 512 2018-12-13 16:19:17 +08:00
debugtalk
26c7e0f5f8 bugfix: POST content-type is application/x-www-form-urlencoded 2018-11-30 22:46:09 +08:00
debugtalk
bc70c3b204 display name in each test result detail report 2018-11-29 16:10:59 +08:00
debugtalk
081d843676 add new line for next teststep 2018-11-29 12:31:13 +08:00
debugtalk
01abbf06f8 fix html report for HttpRunner 2.0 2018-11-27 17:58:06 +08:00
debugtalk
d08642f812 fix html report display response content 2018-11-26 14:36:07 +08:00
debugtalk
cfd1d84189 record response content:
1, only record json if response content is in JSON foramt;
2, do not record bytes content;
3, omit text charactors greater than 1000.
2018-11-23 18:46:56 +08:00
debugtalk
1ce95ba3cb build url with base_url 2018-11-22 19:53:09 +08:00
debugtalk
e3d17d27d1 bugfix: UnicodeDecodeError in Python2.7 2018-07-26 11:46:46 +08:00
debugtalk
4a87af51e7 rename excpetion module to exceptions 2018-07-25 10:52:16 +08:00
debugtalk
1c8d38a2c8 bugfix: stringfy data before generating report 2018-07-21 12:57:55 +08:00