Commit Graph

25 Commits

Author SHA1 Message Date
httprunner
3c60bbfac3 HttpSession can be called with full url or with only path 2017-07-03 12:48:18 +08:00
httprunner
7fd0f715ca move HttpNtlmAuth from runner to client 2017-07-03 12:13:56 +08:00
httprunner
9586915322 create HttpSession as wrapper of requests.Session, in order to log more information of request and response 2017-07-03 12:07:40 +08:00
httprunner
5dc5ca950d refactor context:
1, testset and testcase are in different context level;
2, testset context will be initialized when a file is loaded, and testcase level context initializes when each testcase starts;
3, testcase context should inherit from testset context configs, and the testcase context has high priority.
2017-07-01 21:44:04 +08:00
httprunner
1dbd86efeb add HttpNtlmAuth 2017-06-30 19:56:19 +08:00
httprunner
434e82f95e add support for import module custom functions 2017-06-30 13:24:00 +08:00
httprunner
eff16d7232 we can set public filed in testset.config, and each testcase can inherit from it 2017-06-29 19:20:57 +08:00
httprunner
87ef0b3cd6 change validators from dict to list, as there may be several tests on one filed 2017-06-29 18:15:28 +08:00
httprunner
bfa2227d10 do not need to config extract_binds if only want to validate results 2017-06-29 17:19:06 +08:00
httprunner
67a5de3575 refactor: add extract_binds and validators 2017-06-29 15:27:26 +08:00
httprunner
b139459195 extract_response when initialize ResponseObject 2017-06-28 23:35:56 +08:00
httprunner
895553e158 change method name 2017-06-28 23:25:08 +08:00
httprunner
f5705e37f8 create ResponseObject, each test result will be associated with a ResponseObject 2017-06-28 23:08:17 +08:00
httprunner
6438fe653a bind_extractors: Bind named extractors to value within the context. 2017-06-28 21:38:43 +08:00
httprunner
e538a86669 move response relevant code to ate/response.py 2017-06-28 15:29:40 +08:00
httprunner
2391f54d2c update doc string 2017-06-28 11:43:23 +08:00
httprunner
9da315620f update function doc strings 2017-06-27 16:14:31 +08:00
httprunner
fde4901724 run_test: add doc string 2017-06-27 14:16:26 +08:00
httprunner
de218878d7 run_testsets: optimize testsets structure 2017-06-27 12:11:40 +08:00
httprunner
378147a83b TestRunner: testsets can be configured in public config 2017-06-26 15:47:45 +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
3e96ad0e8d improve exception notification 2017-06-22 23:14:33 +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