1
[{
    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 an input for another call later on in the test.

Any help is appreciated!

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

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.