updated matcher

patch-1
Ritik Chaddha 2024-04-16 09:55:26 +05:30 committed by GitHub
parent a89d1036e2
commit 42bb6d3151
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -22,6 +22,7 @@ http:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(to_lower(body), "logincomponent") && contains_any(to_lower(body), "leafplatform", "leaf platform")'
- 'contains(to_lower(body), "logincomponent\":")'
- 'contains_any(to_lower(body), "leafplatform", "leaf platform")'
- 'contains(header, "application/json")'
condition: and