Commit Graph

35 Commits

Author SHA1 Message Date
httprunner
378147a83b TestRunner: testsets can be configured in public config 2017-06-26 15:47:45 +08:00
httprunner
5ac8491c2d change testcase data structure, in order to distinguish config and test 2017-06-26 15:27:27 +08:00
httprunner
139036dbad TestcaseParser: add update_variables_binds 2017-06-26 14:43:06 +08:00
httprunner
20d173ce9a TestRunner: change method name 2017-06-26 11:58:07 +08:00
httprunner
967f2bbc3f TestRunner: run testcase writen in separate template 2017-06-26 11:51:08 +08:00
httprunner
2fe161f82d TestcaseParser: variable binds of testcase parser instance cat be updated. 2017-06-26 10:55:17 +08:00
httprunner
7396bcd853 Context: Manages binding of variables 2017-06-26 00:57:58 +08:00
httprunner
ae9750b4a0 TestcaseParser: parse testcase_template, replace all variables with bind value. 2017-06-25 23:33:49 +08:00
httprunner
6a578e7851 change demo testcase file name 2017-06-25 20:29:59 +08:00
httprunner
e81d682c50 gen_md5: pass in *args 2017-06-24 19:44:40 +08:00
httprunner
dc7d14439d add testcases for TestRunner, with authentication enabled 2017-06-24 16:29:55 +08:00
httprunner
572b511130 change testcase name 2017-06-24 12:25:41 +08:00
httprunner
8339b7f2ab handle_req_data: sort data with keys if request data is json type 2017-06-24 11:19:20 +08:00
httprunner
ebed17d741 use utils.gen_md5 function to generate md5 value 2017-06-23 14:43:04 +08:00
httprunner
e833531e3c move public functions to utils.py 2017-06-22 23:08:01 +08:00
httprunner
66f184e13f ApiServer: add testcases for MD5 authentication 2017-06-22 19:51:50 +08:00
httprunner
567eec21fd ApiServer: add support MD5 authentication 2017-06-22 18:37:48 +08:00
httprunner
50f5373c41 TestRunner: add testcase suite writen in YAML 2017-06-21 19:17:29 +08:00
httprunner
3b380bf464 TestRunner: run testcase suite 2017-06-21 18:43:15 +08:00
httprunner
3550f1debd TestRunner: run single testcase 2017-06-21 18:26:02 +08:00
httprunner
b72725e139 diff http response: body 2017-06-21 17:20:50 +08:00
httprunner
908a2e522a change varaible name: response content => response body 2017-06-21 16:03:12 +08:00
httprunner
5e03acba5f diff http response: headers 2017-06-21 15:56:01 +08:00
httprunner
1bd2281be6 apiserver: get_customized_response, including status code and headers 2017-06-21 13:39:08 +08:00
httprunner
0304263931 apiserver: add get_response_with_headers 2017-06-21 13:19:31 +08:00
httprunner
9a18fd326d diff http response: status code 2017-06-21 12:17:51 +08:00
httprunner
d5d73d70a9 apiserver: add get_response_with_status_code 2017-06-21 11:43:21 +08:00
httprunner
5834594d6c parse_response_object: load response content as json format if possible 2017-06-20 20:24:38 +08:00
httprunner
fdc7824de5 add parse_response_object 2017-06-20 20:06:36 +08:00
httprunner
5383b1deea create ApiServerUnittest for public use 2017-06-20 20:04:10 +08:00
httprunner
0fd8f95e34 utils: testcases loader 2017-06-20 19:43:44 +08:00
httprunner
502f2e4ef7 move api_server start and terminate to class method in order to start api_server only once 2017-06-20 14:22:52 +08:00
httprunner
a95ff218c0 run api_server in multiprocessing.Thread other than gevent.pywsgi.WSGIServer 2017-06-20 13:25:59 +08:00
httprunner
7efac3de43 update api_server and its tests 2017-06-19 16:19:17 +08:00
httprunner
c203583ddd create api server for test 2017-06-16 12:12:43 +08:00