yaml script name should start with poc- or fingerprint-
filename's extension must be .yml
invalid file name pattern
^[a-z0-9\-]+\.yml$
这样一个正则表达式
filename xx and poc name xx do not match, maybe it should be xx
name: poc-yaml-test # nolint[:namematch]
通过在name字段的后面添加# nolint[:namematch]
即可跳过。
jsonschema: 'XXX' does not validate with map:///script_schema.json#/$ref/properties/rules/additionalProperties/$ref/additionalProperties: additionalProperties 'XX', 'XXXX', 'XXX' not allowed
jsonschema: 'XXX' does not validate with map:///script_schema.json#/UnevaluatedProperties: not allowed
yamllint not found, please install it manually. https://yamllint.readthedocs.io/en/stable/quickstart.html#installing-yamllint
# yamllint disable-line rule:[rule name]
即可跳过。参考链接
key: value # yamllint disable-line rule:key-trailing-spaces
如上即可跳过yamllint的trailing-spaces规则
bytes warnning in: : response.body.bcontains(b"\xe4\xb8\xad\xe6\x96\x87") bytes warnning in: b: b"\xe4\xb8\xad\xe6\x96\x872" bytes warnning in: pb: b"\xe4\xb8\xad\xe6\x96\x874" bytes warnning in: : "中文".bmatches(response.body) bys warnning in: str: "中文1" bytes warnning in: pstr: "中文3" bytes warnning in: str: "中文1"
# nolint[:bytelint]
即可跳过。
()
。
# nolint[:cellint]
即可跳过。
request has body but not set content type
transport: http # nolint[:transportlint]
通过在transport后面添加# nolint[:transportlint]
即可跳过。
can not find where to use variable: sss
build_id: search["build_id"] # nolint[:unusedlint]
通过在定义的变量的行后面添加# nolint[:unusedlint]
即可跳过。
regular function parameter is not defined: body_string
result3: response.body_string.bsubmatch(str) # nolint[:regularlint]
通过在使用正则函数的行后面添加# nolint[:regularlint]
即可跳过。
randomFilename used in path. Do you need get404path?
# nolint[:pathlint]
即可跳过。