0
votes

Loadtesting a wicket application with LoadRunner using WEB/HTTP protocol record and playback calls for challenges due to dynamic links. The same issue is relevant to other loadtesting frameworks as JMeter and this entry describes a solution for it using Regular Expression based approach: https://cwiki.apache.org/WICKET/wicket-and-jmeter-with-regular-expressions.html My concrete question is twofold: The approach described using JMeter in the abovementioned link has a key point, namely to derive the URL that has to be used in the next step from the HTML respons for the previous step. In the JMeter example they use a Regular Expression Extractor to capture the respons to reuse it further down in the script. Does this directly apply to a LoadRunner approach using manual correlation? My initial strategy to resolve issues I have with recording LoadRunner HTTP-protocol script for a wicket application is to get hold of the data needed to derive the URL thats has to be used in the next step. The example with JMeter uses Regular Expression Extractor. Could this be directly related to web_reg_save_param in LoadRunner?

1
Consider a normal link of the form: <a href="#" wicket:id="create"> The HTML generated at runtime will look something like this: <a href="?wicket:interface=:4:create::ILinkListener:"> I want to grab the content of the "href" attribute using regular expression i LoadRunner. How do I do that? - Magnus Jensen
Maybe web_reg_save_param_regexp() could be used to do this capture? - Magnus Jensen

1 Answers

1
votes

web_reg_save_param() should be able to handle this easily. Have you tried it yet?