Commit Graph

486 Commits

Author SHA1 Message Date
debugtalk
452a1a7536 fix #1103: variable should not start with digit 2022-03-22 17:37:57 +08:00
debugtalk
4963206442 Merge branch 'master' of https://github.com/httprunner/httprunner 2022-03-22 17:19:49 +08:00
debugtalk
8b45e8d014 Merge pull request #1113 from lihuacai168/master
feat: support variable and function in response extract expression
2022-03-22 17:17:23 +08:00
debugtalk
c41aa85afc Merge branch 'master' of https://github.com/httprunner/httprunner 2022-03-22 17:13:38 +08:00
debugtalk
b96f6d77bc Merge branch 'master' into master 2022-03-22 17:06:56 +08:00
debugtalk
35c385303d fix: keep negative index in jmespath unchanged when converting pytest files 2022-03-22 17:00:09 +08:00
debugtalk
ab6772a63c fix: unittests 2022-03-21 15:16:09 +08:00
cyandragon88
86643ad163 har2case add profile args 2021-10-31 21:49:57 +08:00
lihuacai
e60ea26492 feat: response extract expresion support variable and function 2021-09-01 15:29:23 +08:00
xucong053
4f860338fe fix: bugfix 2021-07-18 16:02:47 +08:00
xucong053
6be86e33f0 fix: Resolve the FileNotFoundError while using subprocess on Windows 2021-07-18 15:53:03 +08:00
01382037
2d617bb5ca tests: add test 2020-11-11 16:16:52 +08:00
debugtalk
bde543ce8d fix: pickle BufferedReader TypeError in upload feature 2020-07-30 11:40:32 +08:00
debugtalk
5ee8caec42 change: override variables strategy, step variables > extracted variables from previous steps 2020-07-30 10:56:38 +08:00
jun
46bba7c42a add unit test and closes #971 2020-07-28 12:49:26 +08:00
debugtalk
4dde8dd2b2 refactor: parameters 2020-07-06 16:15:09 +08:00
debugtalk
42891569a7 format code 2020-07-06 11:09:20 +08:00
debugtalk
5673c0ca92 fix: validate with variable or function whose evaluation result is "" or not text 2020-07-06 10:50:49 +08:00
jun
c398dafcf3 fixed: #931 unit test parameters 2020-07-03 10:23:10 +08:00
jun
8c65cfe45e test: #931 add test for parameters 2020-07-02 18:11:11 +08:00
debugtalk
289afe19a0 test: add test for ResponseObject, #948 2020-06-29 19:13:50 +08:00
debugtalk
1f90fc9715 fix: unittests for ensure export 2020-06-23 14:43:24 +08:00
debugtalk
2b75d78df0 fix #942: type_match None 2020-06-21 15:07:54 +08:00
debugtalk
a2637fd4ee change: use private method 2020-06-21 11:47:07 +08:00
debugtalk
4ff9770c64 change: make converted referenced pytest files always relative to project RootDir 2020-06-21 10:58:42 +08:00
debugtalk
674ad151e0 fix: unittests for convert_testcase_path 2020-06-20 00:22:18 +08:00
debugtalk
0e0bc4a760 change: rename ensure_file_abs_path_valid 2020-06-19 15:46:38 +08:00
debugtalk
74dab0e8ec fix: unittests on Windows 2020-06-17 22:31:29 +08:00
debugtalk
b8b2e26b3e fix: SyntaxError caused by quote in case of headers."Set-Cookie" 2020-06-15 17:36:07 +08:00
debugtalk
38364e8960 fix: avoid '.csv' been converted to '_csv' 2020-06-15 15:07:23 +08:00
debugtalk
b3543915cd fix: incorrect import 2020-06-14 22:10:56 +08:00
debugtalk
5f17296042 fix: compatibility with different path separators of Linux and Windows 2020-06-14 22:01:09 +08:00
debugtalk
f4382139db fix: IndexError in ensure_file_path_valid when file_path=os.getcwd() 2020-06-14 21:15:05 +08:00
debugtalk
ca395b5820 tests: change test module name 2020-06-14 20:15:16 +08:00
debugtalk
2ebc8a63ce fix: escape 5065 in variable value 2020-06-08 18:05:10 +08:00
debugtalk
a33f689726 fix: reload to refresh previously loaded debugtalk module 2020-06-08 17:18:25 +08:00
debugtalk
80cbfdc3ca tests: update tests 2020-06-08 16:56:55 +08:00
debugtalk
6220367394 change: override variables
(1) testcase: session variables > step variables > config variables
(2) testsuite: testcase variables > config variables
(3) testsuite testcase variables > testcase config variables
2020-06-08 16:11:06 +08:00
debugtalk
fbf5f245c7 fix: add ExtendJSONEncoder to safely dump json data with python object, such as MultipartEncoder 2020-06-07 22:32:49 +08:00
debugtalk
b4ca2699fb fix: ensure variables 2020-06-07 14:50:07 +08:00
debugtalk
ab8a66f2b7 test: add unittest form testcase with abnormal path 2020-06-07 12:44:02 +08:00
debugtalk
f81ff6066b test: update tests 2020-06-07 11:21:36 +08:00
debugtalk
88712cbc69 fix: clear project_meta before each test 2020-06-07 10:59:24 +08:00
debugtalk
504f07c8a3 fix: ensure_file_path_valid for folder path 2020-06-06 22:25:50 +08:00
debugtalk
b400060aca fix: ensure generated conftest.py located in generated pytest folder 2020-06-06 22:13:59 +08:00
debugtalk
91a8bcc78c refactor: ensure_file_path_valid 2020-06-06 01:01:47 +08:00
debugtalk
26f5313172 refactor: remove ref_flag 2020-06-05 14:27:14 +08:00
debugtalk
81d6f2d65b feat: extract session variable from referenced testcase step 2020-06-04 18:23:34 +08:00
debugtalk
9e7a2687b5 change: replace raise with exit 1 2020-06-04 15:59:02 +08:00
debugtalk
f03f9003f9 feat: hrun supports run pytest files 2020-06-03 21:20:59 +08:00