Skip to content

Commit 9422b73

Browse files
authored
Merge pull request #17 from abdullah1308/fortio-update
Update fortio version
2 parents e323257 + caf9e5f commit 9422b73

File tree

3 files changed

+1571
-8
lines changed

3 files changed

+1571
-8
lines changed

api/gowrk2.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@ func TransformWRKToFortio(gowrk *GoWRK2, config *GoWRK2Config) (*fhttp.HTTPRunne
135135

136136
result := &fhttp.HTTPRunnerResults{
137137
// we dont intend to support multiple URLs at the moment
138-
URL: gowrk.URL0,
139138
RunnerResults: periodic.RunnerResults{
140139
StartTime: gowrk.StartTime,
141140
RequestedQPS: gowrk.RequestedQPS,
@@ -155,6 +154,10 @@ func TransformWRKToFortio(gowrk *GoWRK2, config *GoWRK2Config) (*fhttp.HTTPRunne
155154
},
156155
}
157156

157+
result.HTTPOptions = fhttp.HTTPOptions{
158+
URL: gowrk.URL0,
159+
}
160+
158161
// var countTrkr int64
159162
var windowTrkr float64
160163
for _, p := range gowrk.Percentiles {

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/layer5io/gowrk2
33
go 1.13
44

55
require (
6-
fortio.org/fortio v1.3.1
7-
github.com/pkg/errors v0.8.1
6+
fortio.org/fortio v1.57.0
7+
github.com/pkg/errors v0.9.1
88
github.com/sirupsen/logrus v1.4.2
99
)

0 commit comments

Comments
 (0)