0
[{
    elem1: value,
    elem2: value
},
{
    elem1: value,
    elem2: value
}]

I want to be able to extract all elem2 value based on a regex condition on elem1 value from a JSON response. I understand that I can do this through Regex Extractor.

In doing that I want to save the elem2 values as some sort of collection (csv file perhaps) that I could use as input for another call later on in the test.

Any help is appreciated. Thank you :)

  • this shows the way to create the csv file. – g0rd May 23 at 17:41
  • this shows how to extract a value based on another value – g0rd May 23 at 17:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.