Could someone help with gatling perf test. I’m trying to call an endpoint and grab all href’s from the page, based on a condition like (contains text in href as “/page/card/”).
It’s a UI that I’m testing. Below is the code snippet(Kotlin) that calls the endpoint “/home” and checks the status code = 200, then trying to get all the href links. Please help.
http(“HomePage”)
.get(“/home”)
.check(status().shouldBe(200))
.check(css(“a”, “href”).findAll().saveAs(“links”))