From c1ee9649db74d5c4935e37f92a0935c2fe9e5c76 Mon Sep 17 00:00:00 2001 From: sandeep Date: Tue, 15 Mar 2022 01:19:48 +0530 Subject: [PATCH] more matchers --- default-logins/apollo/apollo-default-login.yaml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/default-logins/apollo/apollo-default-login.yaml b/default-logins/apollo/apollo-default-login.yaml index d9bedee31b..285bc75250 100644 --- a/default-logins/apollo/apollo-default-login.yaml +++ b/default-logins/apollo/apollo-default-login.yaml @@ -42,11 +42,8 @@ requests: - '"email":' condition: or - - type: status - status: - - 200 - - - type: word - part: header - words: - - "application/json" + - type: dsl + dsl: + - "status_code_1 == 302 && status_code_2 == 200" + - "contains(tolower(all_headers_2), 'application/json')" + condition: and