Commit Graph
100 Commits
Author SHA1 Message Date
httprunner 4516990d18 refactor report template: display request and response data in popup table 2018-04-22 12:12:04 +08:00
httprunner 2a20afb58e bugfix: testset file path 2018-04-20 22:05:50 +08:00
httprunner 43db00e4c1 fix #191: request data dumps 2018-04-20 22:00:56 +08:00
httprunner fafbf1caa0 fix #185: log hrun logs to specified file 2018-04-20 15:25:24 +08:00
httprunner a430e702d5 fix #183: type error 2018-04-20 11:19:35 +08:00
httprunner 63fcaa5140 #135: extract cookie from response 2018-04-19 23:40:42 +08:00
httprunner 82341416e1 fix #122: jump to the corresponding record when closed window 2018-04-19 22:26:55 +08:00
httprunner 2872c08246 fix #161: print warning when api definition duplicated occured 2018-04-19 22:16:19 +08:00
httprunner e80dc2b262 #169: add builtin support for uploading files 2018-04-17 23:20:39 +08:00
httprunner c6aa82a276 update help description 2018-04-17 22:20:09 +08:00
httprunner 5dfdd6ad93 refactor function name: load_testcases_by_path => load_testsets_by_path 2018-04-17 21:42:48 +08:00
httprunner a92f382571 call HttpRunner class with testsets data structure other than path 2018-04-17 21:41:02 +08:00
httprunner efaf4365b2 refactor lib function interface 2018-04-17 16:45:45 +08:00
httprunner dd643eb40c filter output if out is empty 2018-04-16 20:35:53 +08:00
httprunner 409f1e139f print response text if failed to extract check item from response 2018-04-16 00:55:05 +08:00
httprunner 36638534ea rename arg name: --cpu-cores => --processes 2018-04-11 22:53:46 +08:00
httprunner d6de0d1324 fix #155: XSS in Jinja2 rendering 2018-04-10 10:55:50 +08:00
httprunner a64ecddb3c bugfix: when variable reference in testcase name is extracted from former testcase, exception will occur 2018-04-02 16:28:46 +08:00
httprunner 54bf5af7a8 log extract field 2018-03-30 18:47:07 +08:00
httprunner 549898a01d add test for type_match comparator #94 2018-03-27 22:56:58 +08:00
httprunner d59c89bd9f fix #127: display full url in html report log 2018-03-27 22:50:09 +08:00
httprunner 5219f7800f fix #131: parameter data driven with pair keys 2018-03-27 22:39:43 +08:00
httprunner db0f07ae96 bugfix: uniform response time unit to miliseconds 2018-03-27 18:36:23 +08:00
httprunner bdc58135b6 fix #123: display report detail data in order 2018-03-27 17:59:57 +08:00
httprunner 24c2c7ffc5 bugfix: represent unicode literals in html report 2018-03-27 17:29:05 +08:00
httprunner 76e6724496 print raw request info, before hook calls 2018-03-27 16:21:37 +08:00
httprunner d67455b073 bugfix #132: skip serialize class instance, e.g. MultipartEncoder 2018-03-27 15:56:08 +08:00
httprunner 33eb8ac897 define python source code encoding as utf-8 2018-03-27 12:07:46 +08:00
httprunner 3ffcc8813e encode request data if it is in unicode/str type 2018-03-26 00:10:41 +08:00
httprunner 81f34ccc1a print python 2 retire message as warning 2018-03-25 23:07:07 +08:00
httprunner b5a25378da refactor compatibility, learned from requests 2018-03-25 21:19:23 +08:00
httprunner 389e448515 refactor: load csv file with csv.DictReader 2018-03-22 21:28:46 +08:00
httprunner 5d5d752e7b print skip file path 2018-03-22 18:19:00 +08:00
httprunner ba69f322a9 Prettify JSON testset format 2018-03-22 16:25:49 +08:00
httprunner eeba433bed Validate JSON testset format 2018-03-22 15:49:03 +08:00
httprunner a5d3483788 release 1.2.3 2018-03-22 11:55:31 +08:00
httprunner b241dd09ba fix #120: UnicodeEncodeError occured when response text contains Chinese in Python 2 2018-03-21 22:34:49 +08:00
httprunner de253cc772 add setup_hook_prepare_kwargs as default setup hook 2018-03-21 20:12:58 +08:00
httprunner 1ca78b7f53 print warning message when no testcase found 2018-03-21 14:21:50 +08:00
httprunner 4879330b14 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
httprunner 179301d084 make wrappers for get_bind_item 2018-03-13 22:25:38 +08:00
httprunner f899a35218 relocate kwargs preparation 2018-03-13 21:05:27 +08:00
httprunner 8ed100dfbb update Pipfile.lock 2018-03-12 19:40:49 +08:00
httprunner 5e60d5b372 update version 2018-03-12 15:58:25 +08:00
httprunner 75a9020e90 bugfix 2018-03-09 15:49:37 +08:00
httprunner 75becb2381 check parameters format. 2018-03-08 23:22:09 +08:00
httprunner 6ca5e63377 refactor parameterization:
1, support parameters in test block;
2, refactor parameterization code.
2018-03-08 19:35:42 +08:00
httprunner 96fc410234 refactor parameterization:
parameter value now can be in three types:
(1) data list
(2) call built-in parameterize function
(3) call custom function in debugtalk.py
2018-03-07 16:21:51 +08:00
httprunner b191197a43 fix setup 2018-03-06 14:44:36 +08:00
httprunner 0b18db61e1 add setup.py upload support 2018-03-05 12:24:33 +08:00
httprunner 0a71dd8ed3 #106: add callable to check if it is function 2018-03-01 00:13:25 +08:00
httprunner 074cc76cad #106: support builtin functions 2018-02-28 23:56:10 +08:00
httprunner 24c5826cce add Pipfile.lock 2018-02-28 18:15:58 +08:00
httprunner 74bb9b0d81 replace requirements-dev.txt with Pipfile 2018-02-28 15:33:34 +08:00
httprunner 846ddc413b add HttpRunner version to report template 2018-02-27 23:23:28 +08:00
httprunner 6c0b782ea0 upgrade to 0.9.7: support .env file 2018-02-27 16:36:05 +08:00
httprunner e2bca60c20 update docstring for HttpRunner class 2018-02-27 13:48:42 +08:00
httprunner 02587003f7 refactor HttpRunner interface 2018-02-27 13:43:35 +08:00
httprunner 73935b83d0 add runtime env to report 2018-02-27 10:47:34 +08:00
httprunner 091d676522 fix #104: popup ids are the same in default template 2018-02-26 23:16:36 +08:00
httprunner 8dd5f5f493 bugfix: instal with dependencies 2018-02-26 22:38:17 +08:00
httprunner 0948dcb0fc relocate locust template file 2018-02-26 13:50:10 +08:00
httprunner 4301a6ea46 bugfix: make json serializable before rendering 2018-02-26 13:44:53 +08:00
httprunner 4372e8ad02 remove unused import 2018-02-26 13:33:32 +08:00
httprunner c6c361c237 relocate expressions 2018-02-26 13:32:37 +08:00
httprunner 85fa296436 update html report default template 2018-02-26 12:42:21 +08:00
httprunner b160c1af34 bugfix: handle when testcase failed 2018-02-26 11:19:58 +08:00
httprunner 02bc5d5f0f html report: show response time for each test 2018-02-26 00:34:55 +08:00
httprunner ea4a2c6d3f extract meta data of request and bind it to testcase 2018-02-26 00:19:02 +08:00
httprunner 7d81db9c88 rename function name: _run_test => run_test 2018-02-25 23:32:36 +08:00
httprunner fdfad281d6 bugfix open and write file: make compatible with Python 2.7 2018-02-25 23:15:32 +08:00
httprunner 589d13b725 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
httprunner 5b03ab334a refactor class name: ApiTestCase => TestCase, ApiTestSuite => TestSuite 2018-02-24 17:59:42 +08:00
httprunner ee2d15f42e add HttpRunner class as interface 2018-02-24 17:45:45 +08:00
httprunner b1e3c17512 put request info to the next line 2018-02-24 15:45:28 +08:00
httprunner 4c9fb6f75b 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
httprunner f01bc59d2a lower all keys in request headers 2018-02-24 15:28:27 +08:00
httprunner 273a01ae23 print error info when missing debugging type 2018-02-24 13:47:22 +08:00
httprunner 0080f8821d 0.9.3b 2018-02-23 23:04:44 +08:00
httprunner c66f6ede02 add requirements-dev.txt for debugging 2018-02-23 20:26:44 +08:00
httprunner a0f5f7d40e bugfix #100: Null value can only be compared with comparator: eq/equals/== 2018-02-23 20:24:32 +08:00
httprunner 2481f86c3b bugfix: debug entrance 2018-02-23 20:22:24 +08:00
httprunner 7fa1057f16 add Google Analytics 2018-02-22 18:53:24 +08:00
httprunner 1629063b39 add requirements-dev.txt for debugging 2018-02-22 11:23:34 +08:00
httprunner b4a5c04014 add debugging entrance cmd 2018-02-22 10:37:15 +08:00
httprunner 00e9f2e144 0.9.3a 2018-02-22 00:27:31 +08:00
httprunner 3fd9f794f4 use httprunner/cli.py as debugging entrances 2018-02-22 00:24:10 +08:00
httprunner b6c5bd89d2 remove requirements.txt 2018-02-22 00:04:25 +08:00
httprunner acb0c1e6f5 reduce depenency packages for user 2018-02-21 23:48:04 +08:00
httprunner e49214ec52 logging with colors 2018-02-21 12:32:14 +08:00
httprunner 0e0805d230 check user input value for --log-level 2018-02-20 21:48:50 +08:00
httprunner 152f73637d hide traceback when log level is INFO/WARNING/ERROR/CRITICAL 2018-02-20 01:15:57 +08:00
httprunner 842a3aeff5 remove return from _run_test 2018-02-19 23:41:37 +08:00
httprunner 3543f62e9e install har2case by default 2018-02-19 18:06:03 +08:00
httprunner 8e375edc67 update 2018-02-17 22:32:18 +08:00
httprunner 24485cd1dc switch theme to mkdocs-material 2018-02-17 20:15:17 +08:00
httprunner 44e769fe89 modify website host 2018-02-16 22:44:49 +08:00
httprunner 151acd19be refactor names: simplify functions 2018-02-16 01:41:16 +08:00
httprunner 6e4c48979a evaluate testcase name 2018-02-16 00:48:14 +08:00
httprunner f8569aad91 new feature: support parameters and data driven 2018-02-15 22:53:56 +08:00