Commit Graph

65 Commits

Author SHA1 Message Date
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
debugtalk
c8cabedad8 convert CaseInsensitiveDict to dict 2018-07-21 12:25:23 +08:00
debugtalk
c7af7b3934 record more info about request and response, and display in report 2018-07-21 11:40:44 +08:00
debugtalk
9819a3247d fix #269: display the former url when the current testcase failed 2018-07-01 22:52:25 +08:00
debugtalk
a20cf47995 bugfix: ensure report generation when test failed 2018-07-01 17:01:46 +08:00
debugtalk
87608aa467 replace (ms) to _ms 2018-05-29 14:25:15 +08:00
debugtalk
2fe91080b1 fix #196: join base url and path 2018-04-24 20:48:38 +08:00
debugtalk
cca68381e8 join base_url and path nicely 2018-04-22 12:53:56 +08:00
debugtalk
28a9b506dd fix #127: display full url in html report log 2018-03-27 22:50:09 +08:00
debugtalk
ede7d66eaa bugfix: uniform response time unit to miliseconds 2018-03-27 18:36:23 +08:00
debugtalk
a1357834b4 bugfix: represent unicode literals in html report 2018-03-27 17:29:05 +08:00
debugtalk
7d15096974 print raw request info, before hook calls 2018-03-27 16:21:37 +08:00
debugtalk
f5600aea03 bugfix #132: skip serialize class instance, e.g. MultipartEncoder 2018-03-27 15:56:08 +08:00
debugtalk
94db1acc80 define python source code encoding as utf-8 2018-03-27 12:07:46 +08:00
debugtalk
da6c0cb848 encode request data if it is in unicode/str type 2018-03-26 00:10:41 +08:00