Commit Graph
100 Commits
Author SHA1 Message Date
debugtalk 1ffe851727 feat: validate with functions 2020-04-23 21:53:03 +08:00
debugtalk 2c0f51041a refactor: rename TestStep model field, validators 2020-04-23 21:53:03 +08:00
debugtalk f081cf05f2 feat: validate with config/teststep/extracted variables 2020-04-23 21:53:03 +08:00
debugtalk d874f3f3da refactor: change example file name 2020-04-23 21:53:03 +08:00
debugtalk d79fc26567 refactor: add argument typing 2020-04-23 21:53:03 +08:00
debugtalk 6ea52ed3f8 refactor: replace with get_mapping_variable 2020-04-23 21:53:03 +08:00
debugtalk 5ec044c1e0 feat: call with python builtin functions 2020-04-23 21:53:03 +08:00
debugtalk 2b04d54db5 test: add unittests for parser 2020-04-23 21:53:03 +08:00
debugtalk efeafa4f0a fix parser: parse function args and kwargs before eval function 2020-04-23 21:53:03 +08:00
debugtalk d6afc0fbb7 refactor: change function name from parse_content to parse_data 2020-04-23 21:53:03 +08:00
debugtalk 081679bbf5 refactor: implement parse_string to eval string with both variables and functions 2020-04-23 21:53:03 +08:00
debugtalk db28c0ffc0 test: add unittest for v3 parser 2020-04-23 21:53:03 +08:00
debugtalk 823a5ad77c v3 feat: support function calls 2020-04-23 21:53:03 +08:00
debugtalk 86d8f052e3 fix parser:
check if reference variable itself
check if reference variable not in variables_mapping
2020-04-23 21:53:03 +08:00
debugtalk 9ef70bd06b v3 feat: support extract session variables 2020-04-23 21:53:03 +08:00
debugtalk cdefb46bb0 v3 test example: support session variables 2020-04-23 21:53:03 +08:00
debugtalk af1a452190 v3 feat: support teststep variables 2020-04-23 21:53:03 +08:00
debugtalk 7f6f4c7df3 change v3: add basic extract 2020-04-23 21:53:03 +08:00
debugtalk 569e06e21f change v3: add basic validation 2020-04-23 21:53:03 +08:00
debugtalk 92d71c29cf init v3: make http request without validation 2020-04-23 21:53:03 +08:00
debugtalk e5a4960146 test: add testcase example, request methods testcase in hardcode 2020-04-23 21:53:03 +08:00
debugtalk 06279218ea test: add testcase example, set & delete cookies 2020-04-23 21:53:03 +08:00
debugtalk 12a7f4bbd1 feat: command alias, hrun = httprunner run 2020-04-23 21:52:14 +08:00
debugtalk c537a50cc0 **Added**
- feat: implement global hooks `setup_testcase/teardown_testcase`, called before/after each testcase
- feat: implement global hooks  `setup_teststep/teardown_teststep`, called before/after each teststep

**Changed**

- remove default header `HRUN-Request-ID`, implement the same function with global hooks
2020-04-17 21:56:20 +08:00
debugtalk ec6b600524 fix: unittest along with code 2020-04-13 21:59:35 +08:00
debugtalk ed42f1e967 fix: github action scripts 2020-04-13 00:45:58 +08:00
debugtalk f15a27763c change: add argument to specify yaml/json testcase file for locusts 2020-04-13 00:42:55 +08:00
debugtalk 1e64171fb8 fix: check if gevent installed when running locusts 2020-04-13 00:33:11 +08:00
debugtalk 7bf275b7cc fix: github action scripts 2020-04-13 00:03:37 +08:00
debugtalk caa9503df8 fix: check if locustio installed 2020-04-12 23:58:10 +08:00
debugtalk ade7935e4e refactor: rename unittest file name 2020-04-12 23:39:00 +08:00
debugtalk b9392d7cce change: make locusts as hrun sub-command, usage: hrun locusts -h 2020-04-12 23:35:47 +08:00
debugtalk 8a39bbb06a change: make har2case as hrun sub-command, usage: hrun har2case -h 2020-04-12 17:41:29 +08:00
debugtalk 47d4aad8e0 fix: github action scripts 2020-04-12 17:15:37 +08:00
debugtalk 2f73d5021b change: make startproject as hrun sub-command, usage: hrun startproject <project_name> 2020-04-12 16:59:38 +08:00
debugtalk 4a50c4b583 update 2020-04-12 11:12:42 +08:00
debugtalk bf2ec77765 fix: unittests 2020-04-09 22:23:19 +08:00
debugtalk 05a8f939c5 fix: api variables missing default value 2020-04-09 22:10:06 +08:00
debugtalk 647368e003 fix: base model for TestSuite 2020-04-09 21:44:37 +08:00
debugtalk b167c7d2a1 change: replace jsonschema validation with pydantic 2020-04-09 18:50:06 +08:00
debugtalk 7ba22b1389 change: update unit tests for removing v1 format 2020-04-09 12:06:34 +08:00
debugtalk d98fbc8da7 change: remove format v2 symbol 2020-04-09 11:15:54 +08:00
debugtalk 456e966570 change: remove compatibility with testsuite format v1 2020-04-09 11:08:59 +08:00
debugtalk 3f0cbc2245 change: remove compatibility with testcase format v1 2020-04-09 11:00:54 +08:00
debugtalk 6f001af00d change: remove sentry sdk deps 2020-03-31 15:48:38 +08:00
debugtalk 2a0607299f bump version 3.0.1 2020-03-31 15:04:50 +08:00
debugtalk 31e5803bcf bump version 3.0.1 2020-03-24 21:44:40 +08:00
debugtalk 292ea8da8b Merge pull request #874 from httprunner/dev
remove sentry sdk
2020-03-23 17:36:07 +08:00
debugtalk 913fd89368 change: remove sentry sdk 2020-03-23 17:17:52 +08:00
debugtalk 4ce7f03bae pre release 3.0.0 2020-03-18 22:17:29 +08:00
debugtalk 8ef19a48aa Merge pull request #872 from httprunner/dev
3.0-dev

**Added**

- feat: add default header `HRUN-Request-ID` for each testcase #721
2020-03-13 20:27:16 +08:00
debugtalk f6af484397 Merge branch 'dev' of https://github.com/httprunner/HttpRunner into dev 2020-03-13 20:18:11 +08:00
debugtalk 0921ad38e4 update changelog 2020-03-13 20:00:21 +08:00
debugtalk 82d28344f5 feat: save testcase HRUN-Request-ID in summary.json 2020-03-13 19:47:54 +08:00
debugtalk 498bcabae0 feat: add default header HRUN-Request-ID for each testcase 2020-03-13 19:36:47 +08:00
debugtalk b1fcf46d66 change: prepare_log_file_abs_path 2020-03-13 18:49:49 +08:00
debugtalk a8879fbc97 remove cli --pretty 2020-03-13 18:49:49 +08:00
debugtalk 21542b1f99 change: remove cli --validate 2020-03-13 18:49:49 +08:00
debugtalk d906d48b73 change: prepare_log_file_abs_path 2020-03-10 19:53:32 +08:00
debugtalk 5e4d05d127 remove cli --pretty 2020-03-10 19:26:24 +08:00
debugtalk d76b6f15db change: remove cli --validate 2020-03-10 19:21:50 +08:00
debugtalk 055af3842e Merge pull request #869 from httprunner/dev
3.0 dev

**Added**

- feat: dump log for each testcase

**Changed**

- replace logging with [loguru](https://github.com/Delgan/loguru)
- remove support for Python 2.7
- replace string format with f-string
- remove dependency colorama and colorlog
- generate reports/logs folder in current working directory
2020-03-10 19:14:57 +08:00
debugtalk b1287da8cb feat: save testcase log absolute path in summary.json 2020-03-10 19:08:11 +08:00
debugtalk 856295a68d feat: dump log for each testcase 2020-03-10 18:59:18 +08:00
debugtalk ffbab95259 change: remove python verison 3.8 2020-03-10 18:00:55 +08:00
debugtalk 57040ad4ae change: generate logs folder in current working directory 2020-03-10 17:58:30 +08:00
debugtalk 99df56512c change: generate reports folder in current working directory 2020-03-10 17:24:19 +08:00
debugtalk a0764ee5b3 fix: remove unused code 2020-03-07 23:55:21 +08:00
debugtalk 1249d4d9c1 test: move unittest aside source code 2020-03-07 23:37:47 +08:00
debugtalk bae0bda815 test: move loader unittest aside source code 2020-03-07 23:17:40 +08:00
debugtalk 4d2ce5aff3 fix unittests 2020-03-07 23:06:29 +08:00
debugtalk 9584ddbf33 test: add test for python 3.8 2020-03-07 22:54:45 +08:00
debugtalk e3ac76d176 fix unittests 2020-03-07 22:51:47 +08:00
debugtalk d1fb5e6cdc change: remove support for Python 2.7 2020-03-07 17:05:07 +08:00
debugtalk 3c9eb14409 feat: configure loguru level and log file 2020-03-07 16:40:26 +08:00
debugtalk 55ba82b1a6 change: remove dependency colorama and colorlog 2020-03-07 16:02:18 +08:00
debugtalk 7213f86f80 change:
1, replace logging with loguru
2, replace string format with f-string
2020-03-07 12:16:11 +08:00
debugtalk 556b6ea367 change: remove support for Python 2.7 2020-03-07 10:49:43 +08:00
debugtalk 81553d8aaf change: replace logging with loguru 2020-03-07 10:43:53 +08:00
debugtalk 59c243f44c feat: run testcase with debugtalk_py python script 2020-03-07 09:57:59 +08:00
debugtalk b5dae03cc4 feat: debug_single_testcase 2020-02-29 23:28:11 +08:00
debugtalk 95cb547184 feat: use pydantic to implement testcase schema 2020-02-29 23:26:54 +08:00
debugtalk 25b2fcd0f5 fix: extract with jsonpath 2020-02-21 20:44:43 +08:00
debugtalk c7684101ff change: remove compatibility with 2.7/3.5 2020-02-21 19:34:28 +08:00
debugtalk d6acdfdc69 feat: add fastapi and uvicorn, remove compatibility with 2.7/3.5 2020-02-21 19:28:27 +08:00
debugtalk f53f8a2353 Merge branch 'master' into web 2020-02-21 19:16:35 +08:00
debugtalk 145e32053b Merge pull request #861 from httprunner/leo_dev
2.5.7

**Changed**

- feat: validate with python script, display print message

**Fixed**

- fix: validate script missing indents in html report
- fix: validate with python script, display lineno error
2020-02-21 19:12:39 +08:00
debugtalk 858231262f Merge branch 'master' into leo_dev 2020-02-21 18:52:47 +08:00
debugtalk 134344d925 2.5.7: improve validate with python script 2020-02-21 18:52:01 +08:00
debugtalk 26b725a2df fix: validate with python script, display lineno error 2020-02-21 18:48:33 +08:00
debugtalk 8d02029ede fix: validate script missing indents in html report 2020-02-21 15:30:34 +08:00
debugtalk cd59cf6fa5 init 3.0: add httprunner application 2020-02-21 15:29:20 +08:00
debugtalk a9aeac4df8 Merge pull request #856 from httprunner/leo_dev
2.5.6

**Fixed**

- fix: abort test when failed to parse all cases
- fix: log error when parse failed
2020-02-19 13:06:58 +08:00
debugtalk 2fcbe2383b Merge branch 'master' into leo_dev 2020-02-19 12:25:35 +08:00
debugtalk f1bb63fb05 doc: update changelog 2020-02-19 12:23:05 +08:00
debugtalk c6fb1e5af8 fix: abort test when failed to parse all cases 2020-02-19 12:00:03 +08:00
debugtalk a1d1f2d186 fix: log error when parse failed 2020-02-19 11:41:15 +08:00
debugtalk 56a5b40ba7 feat: print HttpRunner version when executing locusts 2020-02-06 16:02:43 +08:00
debugtalk 15ecca3ef2 change: alter HttpRunner default log_level to WARNING 2020-02-05 20:29:39 +08:00
debugtalk 57c18f0c25 change: save variables and export data to xx.io.json 2020-02-05 12:43:54 +08:00