Added verbose log support

dev
Ice3man543 2020-12-30 14:01:32 +05:30
parent a12051799d
commit 07ffe3319a
1 changed files with 1 additions and 5 deletions

View File

@ -273,6 +273,7 @@ func (e *Request) executeRequest(reqURL string, request *generatedRequest, dynam
e.options.Progress.DecrementRequests(1)
return nil, err
}
gologger.Verbose().Msgf("Sent request to %s", reqURL)
e.options.Output.Request(e.options.TemplateID, reqURL, "http", err)
duration := time.Since(timeStart)
@ -318,11 +319,6 @@ func (e *Request) executeRequest(reqURL string, request *generatedRequest, dynam
}
}
// var matchData map[string]interface{}
// if payloads != nil {
// matchData = generators.MergeMaps(result.historyData, payloads)
// }
// store for internal purposes the DSL matcher data
// hardcode stopping storing data after defaultMaxHistorydata items
//if len(result.historyData) < defaultMaxHistorydata {