Background
I would like to probe our own map tile server and for this I'd like to have a loop from which I could request individual tiles, each time a different one. Our tile server is based on switch2osm and from outside could be proben with the HTTP requests having the pattern like this:
http://our-tileserver.com/zoom/x/y.png
Where zoom
is the zoom level, x
is the horizontal tile index and y
a vertical tile index. For testing this we've chosen Apache JMeter, however we cannot figure out, how to create a loop with the fixed range of iterations and use the iterator value in the HTTP request pattern. Is it possible to make a test plan like is shown in the following pseudo-plan ?
Test Plan
└ Thread Group
└ X Loop from 1 to 100
└ Y Loop from 1 to 100
└ HTTP Request
And if so, is it possible to use the loop iterator values in the HTTP Request sampler Path parameter, like:
/16/outer-loop-iterator-value/inner-loop-iterator-value.png
Question(s)
Is it possible to create a loop in JMeter's test plan and use its iterator value in the HTTP Request sampler Path parameter?
If it's possible, could someone sketch how such plan should look like and how to write the Path parameter of the HTTP Request sampler to use the iterator value ?
Thanks!