Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The main challenge when creating a JMeter script for a Wicket application is that the links are dynamic. Of course, this is a very good thing from a security point of view. It is possible to record a test using JMeter (pdf link) but when running a recorded test against a Wicket application you have to be careful about recording and playing back tests so that that the test begins with a freshly created session. This is required to ensure that the number that appears in the "wicket:interface" parameter in the URL starts from 1 and is in sync with your script.

...

Sometimes you have a list of checkboxes and it may turn out that the "value" attribute being generated by Wicket is dynamic. I guess that a way to avoid having the "value" dynamic is to provide an IchoiceRenderer IChoiceRenderer where the getIdValue() is predictable instead of being generated by Wicket.

...