?
Solved

Apache Jmeter testing bulk static URLs for status 200 OK.

Posted on 2011-10-03
6
Medium Priority
?
527 Views
Last Modified: 2012-05-12
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 ?
0
Comment
Question by:BToTheAToTheBABA
  • 3
  • 3
6 Comments
 
LVL 9

Expert Comment

by:crazedsanity
ID: 36912114
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
 

Author Comment

by:BToTheAToTheBABA
ID: 36912633
Thank you

They are for different servers and different application.

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

0
 
LVL 9

Expert Comment

by:crazedsanity
ID: 36912821
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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

Author Comment

by:BToTheAToTheBABA
ID: 36997549
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
 
LVL 9

Accepted Solution

by:
crazedsanity earned 1500 total points
ID: 36997654
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
 

Author Closing Comment

by:BToTheAToTheBABA
ID: 37142808
Planning to look at Selenium - Web Browser Automation
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Suggested Courses
Course of the Month15 days, 1 hour left to enroll

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question