I am using MailReaderSampler, which receives all messages from a given email id. All letters have a validation token. In the meantime, the token is being mailed.
Thus, the response data will have :
Date:--
To: --
From: --
Subject: token : someToken
I defined the Token value in User Defined Variables, and I use Response assertionto check if the mail contains a token .
Thus, it checks all sub-results (all emails). Now that the email address contains the token, then I want to stop the test, and the approval condition should not check other emails, as it has already detected an email with a symbolic value .
Any suggestions on how to do this?
Rekha source
share