Commit Graph

514 Commits

Author SHA1 Message Date
debugtalk
4480248400 bump version to v0.6.2 hrp-v0.6.2 2022-02-22 15:50:56 +08:00
debugtalk
18cab679cb fix: parse data for request cookie value 2022-02-22 15:38:06 +08:00
debugtalk
54fe1173fa change: update docs 2022-02-22 15:36:50 +08:00
debugtalk
0ea3485ce1 Merge pull request #104 from xucong053/main
feat: support text/html extraction with regex
2022-02-22 15:17:32 +08:00
xucong053
f6d21f6334 feat: support html extraction with regex #87 2022-02-22 15:10:18 +08:00
debugtalk
3a6641a2a4 fix: omit print request/response body for non-text content 2022-02-21 21:18:31 +08:00
debugtalk
e34a32ce7b fix: set to unknown to avoid Content-Length mismatched 2022-02-21 20:11:55 +08:00
debugtalk
f69dbcbfb6 change: convert brotli.Reader to io.ReadCloser 2022-02-21 18:48:18 +08:00
debugtalk
021b78f874 fix: replace with github.com/andybalholm/brotli to avoid using cgo 2022-02-21 18:25:01 +08:00
debugtalk
5282b48681 Merge pull request #99 from ZhouYixun/main
change: update har2case flag default strategy
2022-02-21 17:09:18 +08:00
debugtalk
283f5861f9 fix #100: decode response body in br/gzip/deflate formats 2022-02-21 16:58:55 +08:00
Eason
0cd4c2857d Update har2case.go
add "error" library
2022-02-21 16:54:55 +08:00
Eason
a6538b1319 Update har2case.go
1、根据建议调整多余indent
2、修改flag描述
2022-02-21 16:09:13 +08:00
Eason
632ff117e7 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
debugtalk
90e340de68 Merge pull request #98 from ZhouYixun/main
change: replace spaces with indent when generating JSON testcases
2022-02-21 15:17:25 +08:00
Eason
8748237772 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
9f4c460ab3 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
87236a273f add: test timestamp extraction
Change-Id: I4aba2b7d387d8cb7b9c1baec997e59b1b594c34d
2022-02-20 14:00:27 +08:00
buyuxiang
14f290ec36 regenerate examples/demo
Change-Id: I02a6704c65f28ef73b16e1da437e2a05494182ca
2022-02-20 13:56:03 +08:00
buyuxiang
8429f8d08b Merge branch 'main' of github.com:httprunner/hrp
Change-Id: I5075829627ac2775050b799c471eec1868542e15
2022-02-20 13:51:40 +08:00
buyuxiang
54402ad5f7 fix: extract data using jmespath
Change-Id: Icea3b8fa7e71dd610c19c91e21a259104ab2fe30
2022-02-20 13:43:28 +08:00
debugtalk
d9b5c72930 fix: unittest 2022-02-18 21:11:37 +08:00
debugtalk
9560def232 fix: generate headers.\"Content-Type\" in har2case 2022-02-18 19:39:47 +08:00
debugtalk
b3d3d9157c fix: omit pseudo header names for HTTP/1, e.g. :authority 2022-02-18 19:03:10 +08:00
debugtalk
6bb96e8eac bump version to v0.6.1 hrp-v0.6.1 2022-02-17 20:14:14 +08:00
debugtalk
8cc24502e5 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
9ea9cde288 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
afd1567606 del unused once field
Change-Id: I8086a4bc20baffaf94c4845d3d5e62ce7120fe33
2022-02-17 15:09:41 +08:00
buyuxiang
22479e1598 fix: broadcast to all rendezvous at once when spawn done
Change-Id: Ic04bc2f56aa40c2af42a1fdb3c261a10e8346033
2022-02-17 12:39:55 +08:00
xucong053
1db0c8067f resolve conflict 2022-02-15 17:57:55 +08:00
debugtalk
57519be92c 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
65fc15a1a1 restore headers.Content-Type validate
Change-Id: I6fdf2291bdf953f19ee6e9474020a2ab72186acf
2022-02-15 17:10:38 +08:00
buyuxiang
76cb479e8f fix startswith endswith and unittest
Change-Id: I3e1c6fd82812d13b4e23ecd6b23c4d57170852e1
2022-02-15 17:05:39 +08:00
xucong053
c33ff5b9f1 fix: modify logging logic of summary. 2022-02-15 16:37:00 +08:00
buyuxiang
c11ede76dd fix code format
Change-Id: I85d477f85844eee2d98f6231c16b57803a41aba7
2022-02-14 16:17:28 +08:00
buyuxiang
1361ee7469 fix code format
Change-Id: I583aa6344fff967285b024fddef9f45ac8ee2baf
2022-02-14 16:13:22 +08:00
buyuxiang
02299878a0 fix: Connection and Content-Type not found in postman-echo headers
Change-Id: Ieae673e12c7baabe231d7f3509bba18624d80431
2022-02-14 16:06:34 +08:00
buyuxiang
809030f398 fix: converInt function bug
Change-Id: Ifb364a943351f3762f5784fb8d84d9eb385a383f
2022-02-14 16:02:28 +08:00
buyuxiang
ef91740596 Merge branch 'main' of github.com:httprunner/hrp
Change-Id: I3989c88355fe3d70f4753e737e0d0dd4c059c9eb
2022-02-14 14:41:38 +08:00
buyuxiang
0299e3eecd fix starts_with and ends_wih spelling
Change-Id: I1e475e8187f6e793cd9f9029af93a7d80603b26d
2022-02-14 14:41:15 +08:00
debugtalk
c57e32ec52 change: update survey 2022-02-11 23:51:48 +08:00
debugtalk
aa7602d250 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
25509f5cd1 modify assertion functions and their docs
Change-Id: I12bc6425e098b62b08bd5ca2fb7a9cc0482e1910
2022-02-11 17:54:32 +08:00
buyuxiang
6e398b7aa7 add httpbingo test
Change-Id: I41911d2a723ac64d5aa0cdf6b3f99b2554c6a196
2022-02-11 15:20:31 +08:00
buyuxiang
0eb98f9578 fix: incorrect assertion func
Change-Id: I66f25fcf00e36e83308e820b859b4a94907833fc
2022-02-11 15:11:37 +08:00
buyuxiang
422ddd3bf0 fix: json number convert rule
Change-Id: I68a811b803631ef78b6b12fe548f98b676a10eb3
2022-02-11 15:10:37 +08:00
xucong053
a68b723488 Merge branch 'main' of github.com:xucong053/hrp 2022-02-11 15:07:10 +08:00
xucong053
abee379232 fix: failed to generate API test report when data is null. 2022-02-11 15:06:22 +08:00
debugtalk
5ede36694e Merge pull request #78 from lihuacai168/hot-fix
fix: custom content-type prior to default
2022-02-10 14:36:07 +08:00
lihuacai
749f1a3da2 fix: custom content-type prior to default 2022-02-10 14:21:19 +08:00