0

Could you please guide me how to add a condition to exit the current test iteration and proceed with the next set of iteration if the Regular expression value captured in a transaction is 'NotFound'/ ''Null'

Arun
  • 89
  • 1
  • 14

1 Answers1

1
  1. Add If Controller after the request where you have this Regular Expression Extractor.
  2. Use the following expression as Condition (assumes __jexl3() function):

    ${__jexl3("${foo}" == "NotFound",)}
    
  3. Add Test Action sampler as a child of the If Controller and set "Action" to Start Next Thread Loop

    JMeter Test Action Start Next Loop

Dmitri T
  • 159,985
  • 5
  • 83
  • 133