Commit Graph

42 Commits

Author SHA1 Message Date
debugtalk
2538743c6b 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
05d2cc014d enhance report: display all 30X redirect request and response 2018-12-20 17:59:11 +08:00
debugtalk
2e655dca06 omit request and response data length greater than 512 2018-12-13 16:19:17 +08:00
debugtalk
757fc975f1 bugfix: POST content-type is application/x-www-form-urlencoded 2018-11-30 22:46:09 +08:00
debugtalk
b32e4339ab display name in each test result detail report 2018-11-29 16:10:59 +08:00
debugtalk
29ea6af0e3 add new line for next teststep 2018-11-29 12:31:13 +08:00
debugtalk
6e122ec8ac fix html report for HttpRunner 2.0 2018-11-27 17:58:06 +08:00
debugtalk
0a44aa8bfe 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
debugtalk
261169b70e refactor compatibility, learned from requests 2018-03-25 21:19:23 +08:00
debugtalk
f177ffe680 fix #120: UnicodeEncodeError occured when response text contains Chinese in Python 2 2018-03-21 22:34:49 +08:00
debugtalk
8c618d2325 add hook feature:
1, setup_hook: call function before request
2, teardown_hook: call function after request
2018-03-14 11:57:35 +08:00
debugtalk
9044bfb971 relocate kwargs preparation 2018-03-13 21:05:27 +08:00
debugtalk
865ef8c9dd relocate expressions 2018-02-26 13:32:37 +08:00
debugtalk
a75f73c60f bugfix: handle when testcase failed 2018-02-26 11:19:58 +08:00
debugtalk
02d41c4e51 extract meta data of request and bind it to testcase 2018-02-26 00:19:02 +08:00
debugtalk
160218b1ed 0.9.5:
1, remove PyUnitReport dependency;
2, add built-in html report;
3, support pass in html report template, in Jinja2 format.
2018-02-25 23:09:12 +08:00
debugtalk
9ff88936e5 put request info to the next line 2018-02-24 15:45:28 +08:00
debugtalk
3e24926dd5 fix #99: if charset is specified in content-type, request data should be encoded with charset encoding 2018-02-24 15:33:18 +08:00
debugtalk
345c77125b use httprunner/cli.py as debugging entrances 2018-02-22 00:24:10 +08:00
debugtalk
7c2b9a6eaa logging with colors 2018-02-21 12:32:14 +08:00
debugtalk
c160f390a8 set request timeout default to 120 seconds 2017-11-16 10:49:35 +08:00
debugtalk
57dce65d2d disable InsecureRequestWarning 2017-11-15 21:49:41 +08:00
debugtalk
eec69275f3 rename package name from ate to httprunner 2017-11-07 11:01:23 +08:00