How I can dynamically generate Wicket Interface ID ?


I want to use Gatling for load testing. My product designed with Apache Wicket and now I have problems with Ids.


The ID in this example Is 7 changed during executing testes.And during testes running appears Http error 500.

My question is.How I can create Gatling testes with dynamic links especial With Wicket Interface ID?

The link you need to click on is probably embedded in an HTML document returned in a previous request, yes? Parse (using Regex or CSS selectors) the URL you need to fetch and extract it that way. Save it in a session variable, and then reference that variable to follow the link.