fix: check WDA summary logs

This commit is contained in:
debugtalk
2022-09-27 21:05:44 +08:00
parent 9b71617c3a
commit 8a8c075654
12 changed files with 61 additions and 64 deletions

View File

@@ -103,7 +103,7 @@ func TestRunRequestStatOn(t *testing.T) {
if err := sessionRunner.Start(nil); err != nil {
t.Fatal()
}
summary := sessionRunner.GetSummary()
summary, _ := sessionRunner.GetSummary()
stat := summary.Records[0].HttpStat
if !assert.GreaterOrEqual(t, stat["DNSLookup"], int64(0)) {