Hi all

In a Regular Expression post-processor with random match number, is there a variable set with the match number so subsequent regex's can be executed on the same response.

In the following example "summary" and "field4" are always present but the other fields may or may not be:

  {
     "summary": "summary1",
     "field1": "field1 text",
     "field2": "field2 text",
     "field4": "field4 text"
  },
  {
     "summary": "summary1",
     "field1": "field1 text",
     "field2": "field2 text",
     "field3": "field3 text",
     "field4": "field4 text"
  },
  {
     "summary": "summary1",
     "field1": "field1 text",
     "field3": "field3 text",
     "field4": "field4 text"
  },

I need to match "summary" at random with "0" match number and then get the corresponding "field4" so if I matched the second group then I would like to perform the field4 match with match number "2".

Is such a variable set?

Thanks, Stuart




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to