save links from a request and send them in another
I'm trying to create a test plan which go to a shopping site (with search criteria - "protector"):
Now, I would like to save all product links (but not all links) in that page and send a request to each one of them.
I used the "ForEach Controller" as exampled here: http://jmeter.apache.org/usermanual/...oreach_example
but it send request to every link located in that page while I need just the product links, I'm pretty sure I need to modify the "Regular Expression Extractor" with a smart regular expression which can identify only the link products,
Can anyone help me define such a regular expression ?
Re: save links from a request and send them in another
1. Capture the url of all the links on search results.
Use Regex extractor.
2. Record the click on one of the product link.
3. Put above this in a ForEach loop.
Pass the values mentioned captured in Step 1.
This will not be straight and will require a bit of coding.