Jmeter-Handle Hyperlink in jmeter

Table of contents
Reading Time: 2 minutes

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.

handle hyperlink

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.

Written by 

Principal Architect at Knoldus Inc

2 thoughts on “Jmeter-Handle Hyperlink in jmeter1 min read

Comments are closed.