I need to iterate over dynamically-generated application data, and don't see any detailed examples in the Gatling documentation. I'm using a feeder for predictable variables, but how do should I derive requests from dynamic? I've tried using Checks but I'm not sure if this is the correct approach. And how then do I iterate over the captured data and generate new get() requests?
For example:
val userLinks = exec(
http("Follow Links")
.get("/userLinks/")
.headers(...)
.check(
regex("""__doPostBack('ct100$PageContent$FollowMe','(.*)')""")
.ofType[(String)].findAll.optional.saveAs("FollowMeOptions")
)
)
Is the above the correct approach? How do I use the results ("FollowMeOptions") if it is? I feel like this is a basic scenario that should be -- and likely is -- covered in the documentation, but I haven't had luck finding a concrete example there (or here on stack).
Thanks!