I had a similar problem in past. I also had a problem of bulkey logs when the response is not in the json format when I use jsonPath(). I moved into using regex to sort that out.
I use .SaveAs() to save the values into session like below.
Thanks for the reply… Your example only shows saving one value, but I guess I could capture two groups and save them as a tuple.
I ended up just doing two jsonPath statements, because I find the regex hard to read. Because one of the fields was an id and unique (which I didn’t show in my simplified example in my original post), I could use the value of the first id in the second statement: