Apache Jmeter testing bulk static URLs for status 200 OK.


Im having a list of URLs (a few hundreds) in a text file. and they dont follow any kind of pattern.

Now I want to paste all these URLs in apache Jmeter and run a test for asserting resopnse code 200 OK.

How can I do this ?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

It looks to me like Jmeter is a stress-testing system, whereas it looks like you're trying to test specific URL's to make sure they're okay.  Are you wanting to test these URL's on a regular basis?  Are they for the same server (or application) or multiple?
BToTheAToTheBABAAuthor Commented:
Thank you

They are for different servers and different application.

I just want to check if they are alive with 200 OK response.

Are you looking to test them consistently, so you can be alerted when an error occurs?  In that case, I'd suggest a monitoring system like Nagios [http://www.nagios.org/].
Active Protection takes the fight to cryptojacking

While there were several headline-grabbing ransomware attacks during in 2017, another big threat started appearing at the same time that didn’t get the same coverage – illicit cryptomining.

BToTheAToTheBABAAuthor Commented:
It is similar to nagios but i want it as a desktop app / gadget.
Bcause the urls to be verified changes quite often. (Changes everyday)
Hmm. Well, I'm not sure that Jmeter is up to the task... the documentation I've read seems to indicate that it isn't possible (or at least not easy) to specify a large list of URL's.  It may not be super-simple in Nagios (I haven't used it in years), but I think it would probably be a step in the right direction.

Personally, I would probably write my own application for it.  A fairly simple PHP page, backed by a text file or database, could be written pretty quickly to add/edit/delete URLs; one page for administration, one for testing said URLs... then just setup a Nagios instance to check the "testing" page, and look for "FAIL".

Hopefully other experts will be able to chime in with more useful information.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
BToTheAToTheBABAAuthor Commented:
Planning to look at Selenium - Web Browser Automation
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apache Web Server

From novice to tech pro — start learning today.