Can I have a jMeter user "click" on a resulting link?

jmeter

Solution

This can be done using the CSV Data Set, it loads a CSV file, and feeds the content into the variables of your choice:

http://jmeter.apache.org/usermanual/component_reference.html#CSV_Data_Set_Config

After that, you can use the regular expression extractor to extract the URL's you want from the resulting HTML, and follow those links:

http://jmeter.apache.org/usermanual/component_reference.html#Regular_Expression_Extractor

Problem

I'm looking into the possibilities of jmeter, and it looks just great. However, one of the things my testing script should be able to do, is search for some values, and click on a random resulting link. So what I would need to automate is: Entering the values in the searchbox (I could do this by using the correct GET url in a second page, but how do I do this 5000 times?) Clicking on one of the results listed. Thanks for the help!

Original source