Commit Graph

502 Commits

Author SHA1 Message Date
Eason
e729c8e4b3 Update har2case.go
add "error" library
2022-02-21 16:54:55 +08:00
Eason
5e0b114add Update har2case.go
1、根据建议调整多余indent
2、修改flag描述
2022-02-21 16:09:13 +08:00
Eason
32e5d85d79 Update har2case.go
1、Fix `har2caseCmd.Flags().BoolVarP(&genYAMLFlag, "to-yaml", "y", false, "convert to YAML format")` -> JSON -> YAML
2、Change json flag detault to `true`
3、Fix Special circumstances
2022-02-21 15:36:59 +08:00
Eason
cb6de8f56d Update for JSON formatting
A small suggestion is to use /t for indentation and line feed in JSON formatting
2022-02-21 15:13:25 +08:00
debugtalk
3e4cc34162 Merge pull request #97 from bbx-winner/main
fix #97: incorrect data type when extracting data using jmespath
2022-02-21 13:21:02 +08:00
buyuxiang
2ba1d5829e add: test timestamp extraction
Change-Id: I4aba2b7d387d8cb7b9c1baec997e59b1b594c34d
2022-02-20 14:00:27 +08:00
buyuxiang
50c4384207 regenerate examples/demo
Change-Id: I02a6704c65f28ef73b16e1da437e2a05494182ca
2022-02-20 13:56:03 +08:00
buyuxiang
8fd2d08da3 Merge branch 'main' of github.com:httprunner/hrp
Change-Id: I5075829627ac2775050b799c471eec1868542e15
2022-02-20 13:51:40 +08:00
buyuxiang
c0ebe2ee53 fix: extract data using jmespath
Change-Id: Icea3b8fa7e71dd610c19c91e21a259104ab2fe30
2022-02-20 13:43:28 +08:00
debugtalk
c6ce47ba89 fix: unittest 2022-02-18 21:11:37 +08:00
debugtalk
0f3dd1b6d6 fix: generate headers.\"Content-Type\" in har2case 2022-02-18 19:39:47 +08:00
debugtalk
865c753ea9 fix: omit pseudo header names for HTTP/1, e.g. :authority 2022-02-18 19:03:10 +08:00
debugtalk
320e9601a7 bump version to v0.6.1 2022-02-17 20:14:14 +08:00
debugtalk
b7e82230e7 Merge pull request #91 from bbx-winner/main
fix: broadcast to all rendezvous at once when spawn done
2022-02-17 20:00:50 +08:00
debugtalk
17d35dfa15 Merge pull request #85 from xucong053/main
change: merge teststeps when call other testcases
change: add timestamp for generated summary and html reports
2022-02-17 18:48:35 +08:00
buyuxiang
5619556698 del unused once field
Change-Id: I8086a4bc20baffaf94c4845d3d5e62ce7120fe33
2022-02-17 15:09:41 +08:00
buyuxiang
0f7ea53e56 fix: broadcast to all rendezvous at once when spawn done
Change-Id: Ic04bc2f56aa40c2af42a1fdb3c261a10e8346033
2022-02-17 12:39:55 +08:00
xucong053
cfafe7f1a1 resolve conflict 2022-02-15 17:57:55 +08:00
debugtalk
9fd2367367 Merge pull request #83 from bbx-winner/main
- fix: panic when assertion function not exists
- change: json unmarshal to float64 when parsing data
2022-02-15 17:48:54 +08:00
buyuxiang
158bc160bb restore headers.Content-Type validate
Change-Id: I6fdf2291bdf953f19ee6e9474020a2ab72186acf
2022-02-15 17:10:38 +08:00
buyuxiang
e6467dfc28 fix startswith endswith and unittest
Change-Id: I3e1c6fd82812d13b4e23ecd6b23c4d57170852e1
2022-02-15 17:05:39 +08:00
xucong053
e87b1023ba fix: modify logging logic of summary. 2022-02-15 16:37:00 +08:00
buyuxiang
3f5c6f7f5d fix code format
Change-Id: I85d477f85844eee2d98f6231c16b57803a41aba7
2022-02-14 16:17:28 +08:00
buyuxiang
6fbd8f7d9b fix code format
Change-Id: I583aa6344fff967285b024fddef9f45ac8ee2baf
2022-02-14 16:13:22 +08:00
buyuxiang
b1fdd4be71 fix: Connection and Content-Type not found in postman-echo headers
Change-Id: Ieae673e12c7baabe231d7f3509bba18624d80431
2022-02-14 16:06:34 +08:00
buyuxiang
ef5f071dbc fix: converInt function bug
Change-Id: Ifb364a943351f3762f5784fb8d84d9eb385a383f
2022-02-14 16:02:28 +08:00
buyuxiang
569ba24bcf Merge branch 'main' of github.com:httprunner/hrp
Change-Id: I3989c88355fe3d70f4753e737e0d0dd4c059c9eb
2022-02-14 14:41:38 +08:00
buyuxiang
5bce59c583 fix starts_with and ends_wih spelling
Change-Id: I1e475e8187f6e793cd9f9029af93a7d80603b26d
2022-02-14 14:41:15 +08:00
debugtalk
a3c60da51b change: update survey 2022-02-11 23:51:48 +08:00
debugtalk
9ec4ed4146 Merge pull request #82 from xucong053/main
fix: failed to generate API test report when data is null
2022-02-11 20:02:17 +08:00
buyuxiang
5c03e0d325 modify assertion functions and their docs
Change-Id: I12bc6425e098b62b08bd5ca2fb7a9cc0482e1910
2022-02-11 17:54:32 +08:00
buyuxiang
293551997f add httpbingo test
Change-Id: I41911d2a723ac64d5aa0cdf6b3f99b2554c6a196
2022-02-11 15:20:31 +08:00
buyuxiang
fbeecc2693 fix: incorrect assertion func
Change-Id: I66f25fcf00e36e83308e820b859b4a94907833fc
2022-02-11 15:11:37 +08:00
buyuxiang
619fb6eaa7 fix: json number convert rule
Change-Id: I68a811b803631ef78b6b12fe548f98b676a10eb3
2022-02-11 15:10:37 +08:00
xucong053
b51e508975 Merge branch 'main' of github.com:xucong053/hrp 2022-02-11 15:07:10 +08:00
xucong053
724bb76ce1 fix: failed to generate API test report when data is null. 2022-02-11 15:06:22 +08:00
debugtalk
3b90ba5726 Merge pull request #78 from lihuacai168/hot-fix
fix: custom content-type prior to default
2022-02-10 14:36:07 +08:00
lihuacai
d35124beba fix: custom content-type prior to default 2022-02-10 14:21:19 +08:00
debugtalk
5164c8d101 change: update docs 2022-02-09 20:28:21 +08:00
debugtalk
5a6f975eb4 Merge pull request #77 from xucong053/main
fix: inaccurate stat data in API test report
2022-02-09 13:11:45 +08:00
xucong053
29ba47b24b fix: inaccurate stat data in API test report 2022-02-09 11:52:29 +08:00
debugtalk
08411e4fbb Merge pull request #75 from xucong053/main
feat: generate html reports for API testing #74
2022-02-08 17:02:34 +08:00
xucong053
f398f34e71 feat: generate html reports for API testing #74 2022-02-08 16:49:37 +08:00
xucong053
d893999f5f feat: generate html reports for API testing #74 2022-02-08 15:35:02 +08:00
xucong053
d97c85c638 resolve conflict 2022-02-08 15:04:26 +08:00
xucong053
9415a7bb95 feat: generate html reports for API testing #74 2022-02-08 14:50:20 +08:00
debugtalk
a82ff0893a feat: update docs 2022-01-27 17:56:31 +08:00
debugtalk
6d9342adac Merge pull request #73 from xucong053/main
feat #25: record execution data for generating report
2022-01-27 16:40:20 +08:00
xucong053
2a81a4a04a feat: record execution data for report #25 2022-01-27 15:36:36 +08:00
debugtalk
82c25e5003 update 2022-01-26 16:10:57 +08:00