feat: stat HTTP request latencies (DNSLookup, TCP Connection and so on)

This commit is contained in:
debugtalk
2022-05-03 23:37:23 +08:00
parent 8455f739a4
commit edd04bdf92
14 changed files with 223 additions and 16 deletions

View File

@@ -1,9 +1,10 @@
# Release History
## v4.0.0 (2022-05-03)
## v4.0.0 (2022-05-04)
**go version**
- feat: stat HTTP request latencies (DNSLookup, TCP Connection and so on)
- feat: add builtin function `environ`/`ENV`
- fix: demo function compatibility
- fix #1240: losing host port in har2case

View File

@@ -36,4 +36,4 @@ Copyright 2017 debugtalk
* [hrp run](hrp_run.md) - run API test with go engine
* [hrp startproject](hrp_startproject.md) - create a scaffold project
###### Auto generated by spf13/cobra on 3-May-2022
###### Auto generated by spf13/cobra on 4-May-2022

View File

@@ -41,4 +41,4 @@ hrp boom [flags]
* [hrp](hrp.md) - Next-Generation API Testing Solution.
###### Auto generated by spf13/cobra on 3-May-2022
###### Auto generated by spf13/cobra on 4-May-2022

View File

@@ -18,4 +18,4 @@ hrp convert $path... [flags]
* [hrp](hrp.md) - Next-Generation API Testing Solution.
###### Auto generated by spf13/cobra on 3-May-2022
###### Auto generated by spf13/cobra on 4-May-2022

View File

@@ -24,4 +24,4 @@ hrp har2case $har_path... [flags]
* [hrp](hrp.md) - Next-Generation API Testing Solution.
###### Auto generated by spf13/cobra on 3-May-2022
###### Auto generated by spf13/cobra on 4-May-2022

View File

@@ -16,4 +16,4 @@ hrp pytest $path ... [flags]
* [hrp](hrp.md) - Next-Generation API Testing Solution.
###### Auto generated by spf13/cobra on 3-May-2022
###### Auto generated by spf13/cobra on 4-May-2022

View File

@@ -24,6 +24,7 @@ hrp run $path... [flags]
-c, --continue-on-failure continue running next step when failure occurs
-g, --gen-html-report generate html report
-h, --help help for run
--http-stat turn on HTTP latency stat (DNSLookup, TCP Connection, etc.)
--log-plugin turn on plugin logging
--log-requests-off turn off request & response details logging
-p, --proxy-url string set proxy url
@@ -34,4 +35,4 @@ hrp run $path... [flags]
* [hrp](hrp.md) - Next-Generation API Testing Solution.
###### Auto generated by spf13/cobra on 3-May-2022
###### Auto generated by spf13/cobra on 4-May-2022

View File

@@ -20,4 +20,4 @@ hrp startproject $project_name [flags]
* [hrp](hrp.md) - Next-Generation API Testing Solution.
###### Auto generated by spf13/cobra on 3-May-2022
###### Auto generated by spf13/cobra on 4-May-2022