Apache Jmeter testing bulk static URLs for status 200 OK.

Hi,

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 ?
BToTheAToTheBABAAsked:
Who is Participating?
 
crazedsanityCommented:
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.
0
 
crazedsanityCommented:
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?
0
 
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.

0
Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

 
crazedsanityCommented:
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/].
0
 
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)
0
 
BToTheAToTheBABAAuthor Commented:
Planning to look at Selenium - Web Browser Automation
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.