MCPcopy
hub / github.com/httprunner/httprunner / convertExtract

Function convertExtract

hrp/testcase.go:357–361  ·  view source on GitHub ↗

convertExtract deals with extract expr including hyphen

(extract map[string]string)

Source from the content-addressed store, hash-verified

355
356// convertExtract deals with extract expr including hyphen
357func convertExtract(extract map[string]string) {
358 for key, value := range extract {
359 extract[key] = convertJmespathExpr(value)
360 }
361}
362
363func convertCompatMobileStep(mobileStep *MobileStep) {
364 if mobileStep == nil {

Callers 2

MakeCompatMethod · 0.85
ToAPIMethod · 0.85

Calls 1

convertJmespathExprFunction · 0.85

Tested by

no test coverage detected