From 439ad4c5183373592b4328c1370ba034267fba39 Mon Sep 17 00:00:00 2001 From: Dwi Siswanto Date: Sun, 24 Oct 2021 09:27:27 +0700 Subject: [PATCH] Revert regex matcher with status code & using matcher condition --- token-spray/fortitoken-cloud.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/token-spray/fortitoken-cloud.yaml b/token-spray/fortitoken-cloud.yaml index a2b374b44d..0785e4a98c 100644 --- a/token-spray/fortitoken-cloud.yaml +++ b/token-spray/fortitoken-cloud.yaml @@ -15,11 +15,11 @@ requests: headers: Authorization: Bearer {{token}} + matchers-condition: and matchers: - - type: regex - part: body - regex: - - "(?:notification_method|mobile_number|(?:c(?:ustomer|lient)_i|(?:realm_|(?:user_)?)i)d|auth_method|fail_times|(?:updated|created|bypass)_at|lockout_at|user(?:_data|name)|active|realm|email)" + - type: status + status: + - 200 - type: regex part: body