Versions Compared

Key

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

...

Recording can help a lot for e.g. to understand what exactly is being POST-ed when you have complex form submissions etc. but described below is an approach using JMeter regular expression support to arrive at stable and repeatable test scripts for Wicket applications.

...

Within JMeter, you can add a "Regular Expression Extractor" listener to any requested page in your test script like this. This is how the above regex will look like: (the regex in the screenshot is a bit different but does the same thing, for more information - look towards the end of this page)

The "$1$" refers to the content matched by the first regular expression that we have surrounded with brackets. In this case there is only one bracketed expression.

...