Unanswered question

How to iterate a Json response?

There are multiple nodes created and each time the performance test is run , the node value is different from which the value needs to be extracted.

Shilpi M.
Shilpi M.

Shilpi M.

Level
0
1 / 100
point

Answers

Neil W.
Neil W.

Neil W.

Level
3
2416 / 5000
points
Team

if my understanding is correct, you should be able to create a variable extractor (ie. named nodes) that extracts all nodes from a response based on a pattern, you can then use the number of matches to drive a loop (nodes_matchNbr). In the loop you have a request that uses the node? (ie. node_1, node_2). You can use the loop counter here (${node_${loop_counter}})