|
@@ -26,6 +26,8 @@ configmap:
|
|
|
type: 1
|
|
type: 1
|
|
|
- key: payload
|
|
- key: payload
|
|
|
type: 1
|
|
type: 1
|
|
|
|
|
+ - key: authType
|
|
|
|
|
+ type: 1
|
|
|
- key: headers
|
|
- key: headers
|
|
|
type: 3
|
|
type: 3
|
|
|
- key: params
|
|
- key: params
|
|
@@ -69,9 +71,11 @@ metrics:
|
|
|
# 认证
|
|
# 认证
|
|
|
authorization:
|
|
authorization:
|
|
|
# 认证方式: Basic Auth, Digest Auth, Bearer Token
|
|
# 认证方式: Basic Auth, Digest Auth, Bearer Token
|
|
|
- type: Basic Auth
|
|
|
|
|
|
|
+ type: ^_^authType^_^
|
|
|
basicAuthUsername: ^_^username^_^
|
|
basicAuthUsername: ^_^username^_^
|
|
|
basicAuthPassword: ^_^password^_^
|
|
basicAuthPassword: ^_^password^_^
|
|
|
|
|
+ digestAuthUsername: ^_^username^_^
|
|
|
|
|
+ digestAuthPassword: ^_^password^_^
|
|
|
# 响应数据解析方式: default-系统规则,jsonPath-jsonPath脚本,website-网站可用性指标监控
|
|
# 响应数据解析方式: default-系统规则,jsonPath-jsonPath脚本,website-网站可用性指标监控
|
|
|
# todo xmlPath-xmlPath脚本,prometheus-Prometheus数据规则
|
|
# todo xmlPath-xmlPath脚本,prometheus-Prometheus数据规则
|
|
|
parseType: website
|
|
parseType: website
|