Hi,
This is my scenario, I have a service which returns JSP and json is a part of output. So as you had suggested before I am doing regex to extract json and storing in my session.
regex("""pageData\s=\s([^;]*)""").saveAs("pageData")
Then I am doing Jsonpath compile as below
val imageAreaIds : JSONArray = JsonPath.compile("$..imageAreas[*].id").read(pageData)
session2 = session2.setAttribute("imageAreaIds",imageAreaIds)
Now i need to use these imageAreaIds and run the test as many times i have ImageAreaIds.
Regards
Guru