File tree Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ func NighthawkRun(config *NighthawkConfig) ([]byte, error) {
5252 "--concurrency " + c ,
5353 "--duration " + duration ,
5454 rURL .String (),
55- "--output-format fortio " ).Output ()
55+ "--output-format experimental_fortio_pedantic " ).Output ()
5656
5757 if err != nil {
5858 msg := "Unable to run load-test"
Original file line number Diff line number Diff line change 11package main
22
33import (
4- "fmt"
5- "os"
64 "encoding/json"
5+ "os"
76
87 "github.com/layer5io/nighthawk-go/apinighthawk"
98 // "fortio.org/fortio/fhttp"
@@ -19,8 +18,8 @@ func init() {
1918 // Output to stdout instead of the default stderr
2019 log .SetOutput (os .Stdout )
2120
22- // Output to only for logs above warn level
23- log .SetLevel (log .WarnLevel )
21+ // // Output to only for logs above warn level
22+ // log.SetLevel(log.WarnLevel)
2423}
2524func main () {
2625 // Duration in seconds nighthawk default format
@@ -39,8 +38,8 @@ func main() {
3938 log .Fatal (err )
4039 }
4140
42- fmt .Print (string (result ))
43- // res1 := string(result)
41+ // fmt.Print(string(result))
42+ // // res1 := string(result)
4443
4544 var result1 periodic.RunnerResults
4645 // var bd []byte
@@ -66,7 +65,6 @@ func main() {
6665 log .Fatal (err )
6766 }
6867
69- log .Debugf ("Mapped version of the test: %+#v" , resultsMap )
70-
68+ log .Infof ("Mapped version of the test: %+#v" , resultsMap )
7169
7270}
You can’t perform that action at this time.
0 commit comments