fixed len condition
parent
25c270403b
commit
52d58896a1
|
@ -19,12 +19,6 @@ requests:
|
|||
req-condition: true
|
||||
matchers-condition: and
|
||||
matchers:
|
||||
- type: dsl
|
||||
dsl:
|
||||
- "len(body) == 0"
|
||||
- "status_code_2 == 200"
|
||||
- "contains(content_type_2, 'text/html')"
|
||||
|
||||
- type: dsl
|
||||
dsl:
|
||||
- (regex("<link[^>]+s\d+\.wp\.com",body_1))
|
||||
|
@ -35,3 +29,10 @@ requests:
|
|||
- contains(body_1, 'name=\"generator\" content=\"wordpress')
|
||||
- contains(body_1, '<!-- performance optimized by w3 total cache.')
|
||||
condition: or
|
||||
|
||||
- type: dsl
|
||||
dsl:
|
||||
- "len(body_2) == 0"
|
||||
- "status_code_2 == 200"
|
||||
- "contains(content_type_2, 'text/html')"
|
||||
|
||||
|
|
Loading…
Reference in New Issue