Facing issue to create a crawl-based script on Jmeter that does GETs on lots of pages

28 views
Skip to first unread message

Nadia Ahmed

unread,
Jul 2, 2024, 4:34:18 PM (2 days ago) Jul 2
to JMeter Forum
I have followed the steps described here to crawl https://www.blazedemo.com/ but all my requests are failing. 

Can you please help me out here? 

Please find the jmx file here


DT

unread,
Jul 3, 2024, 8:39:56 AM (2 days ago) Jul 3
to JMeter Forum
Get used to take a look at jmeter.log file when JMeter is not doing what it is supposed to be doing.

The first obvious error is that you replace this line:

if(!(props.get("myList”).contains(path)))

with this one:

if(!(props.get("myList").contains(path)))

Also be aware that JMeter comes with HTML Link Parser so crawling/spidering a website could be implemented way easier

Nadia Ahmed

unread,
Jul 4, 2024, 4:08:11 PM (12 hours ago) Jul 4
to JMeter Forum

Hi DT, 

I was able to crawl the site but got stuck with pagination. 

I'm not getting these urls
https://lyfobd.com/product-category/mens-sandals/page/2/
https://lyfobd.com/shop-2/page/2/
https://lyfobd.com/shop-2/page/3/

Can you please help? 

Here's the jmx file 

Regards, 
Nadia
Reply all
Reply to author
Forward
0 new messages