Dynamic Links and Ajax: Gatling and Wicket

752 views
Skip to first unread message

Hauke Fuhrmann

unread,
Sep 9, 2013, 10:49:57 AM9/9/13
to gat...@googlegroups.com
Hi there,

I want to use Gatling performance testing on a website designe with Apache Wicket. Wicket tends to create dynamic URLs for their links for each session and user. Especially Ajax requests use some cryptic dynamically generated URLs that might not be available at the next run.

e.g.
<a href="?wicket:interface=:4:create::ILinkListener:">
where the "4" will change every request.

Does anyone has experience using Gatling with Wicket or some other Web-Framework with dynamic links?

The issue was already discussed with JMeter + Wicket: https://cwiki.apache.org/confluence/display/WICKET/Wicket+and+JMeter+with+Regular+Expressions

The "solution" for JMeter was to parse the resulting html-page for the links with regular expressions and use these parsed informations for the next request. Does anybody tried this with Gatling and could post some example?

Cheers,
Hauke

Stéphane Landelle

unread,
Sep 9, 2013, 10:53:59 AM9/9/13
to gat...@googlegroups.com
The solution is the same with Gatling: https://github.com/excilys/gatling/wiki/Checks#wiki-regex


2013/9/9 Hauke Fuhrmann <hauke.f...@googlemail.com>

--
You received this message because you are subscribed to the Google Groups "Gatling User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gatling+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Stefan Magnus Landrø

unread,
Sep 23, 2013, 1:28:13 AM9/23/13
to gat...@googlegroups.com
Hi there,

We've been testing some major wicket apps lately. Ajax, fileuploads and all kinds of tricky stuff. Took us about two weeks to write the mega brittle tests, but it works. Wicket really sucks (not only for this reason) and if I were you I'd either
1 use a different web framework or
2 invest big bucks in hp load runner truclient (supports Dom evaluation etc) or similar (that's what we ended up doing)

Stefan

Stéphane Landelle

unread,
Sep 23, 2013, 3:32:51 AM9/23/13
to gat...@googlegroups.com
When using no testable frameworks, you always end up paying it one way or the other...
Sorry Gatling doesn't support this, maybe someday...


2013/9/23 Stefan Magnus Landrø <stefan...@gmail.com>
Reply all
Reply to author
Forward
0 new messages