Jmeter-Handle Hyperlink in jmeter

Knoldus Inc.
Knoldus - Technical Insights
2 min readJan 24, 2017

We already know how to Jmeter works but some time we face the problem how to use Regular expression.So this time i just explained how to handle hyperlink in a webpage using regular expression.

Suppose we have a scenarios like we have to check all the links in a website using jmeter and also we want to know the loading time of all the links in the site.So first of all we create a thread group.

threadgroup

Now we define the sample request like HTTP request.

httprequest

Now we define post processor extractor where we extract all the links from the main page.

extractpage

now we define HTTP request with foreach controller and we will define regular expression inside HTTP request.

linkreq

Now we run the Jmeter and easily can see the result in listeners.

viewresultree

Enjoy.

If you have any query regarding jmeter please comment on my post.

Thanks.

--

--

Knoldus Inc.
Knoldus - Technical Insights

Group of smart Engineers with a Product mindset who partner with your business to drive competitive advantage | www.knoldus.com