★ wanayoo — archive 1999 http://javaboutique.webdeveloper.com/tutorials/JMeter/Nouvelle recherche | Portail wanayoo

The Event For Leading Edge Flash Development


Find a Web Host With:
CGI Access
DB Support
NT Servers
UNIX Servers
Telnet Access

advanced search
Internet News
Internet Investing
IT
Windows Technology
Linux/Open Source
Developer
Interactive Marketing
xSP Resources
Small Business
Wireless Internet
Downloads
Internet Resources
Internet Lists
International
EarthWeb
Career Resources

Search internet.com
Advertise
Corporate Info
Newsletters
E-mail Offers
Be a Commerce Partner
Tech Magazines - FREE
Web Hosting
Business Search
Free Search Traffic
Internet Monitoring
Compare Prices & Shop
Internet Jobs
Build Flash Online
Track Defects Online
Reach IT Professionals
FlashKit
Gif.com
HierMenusCentral
JavaBoutique
JavaScript.com
JavaScriptSource
WebDev Jobs
JustSMIL
ScriptSearch
StreamingMediaWorld
Web Hosts
WebDevelopersJournal WDVL
WebDeveloper.com
WebReference.com
XMLFiles.com
CGI
HTML
Java
JavaScript
Web Design and Promotion
Web Site Development
E-mail Address:


Can you receive
HTML e-mail?

Yes   No

Zip Code:


Tutorials : JMeter :

Load Testing your Applications with Apache JMeter

by Keld H. Hansen

Preface

JMeter from the Apache Jakarta project is a tool for load testing client/server applications. There are many other such tools for load testing on the market, but you will probably find that the professional ones like WinRunner are expensive to purchase. Thus, the benefits from using a simple tool like JMeter are:

  • It’s free!
  • It’s easy to use. It has a simple and intuitive GUI. This encourages you to use it from the start while you’re developing your application
  • It’s open source. You may modify it or add new features--if you have the time and skills

The drawbacks are

  • It’s open source! There’s no guarantee of support or further development. However, I don’t consider this a real problem with a tool like JMeter, which easily can be replaced by another tool.
  • Getting "correct" response times from JMeter forces you to understand how to make a realistic client/server setup. If you’re not careful you might end up measuring some incidental bottleneck, like your own workstation’s capacity. On the other hand, I guess that you’d have to consider things like this with any tool!

If you’re interested in load testing or software testing tools in general then a good place to start is ApTest (try the "links" link for example).

Introduction

In this article we will take a quick look into JMeter’s capabilities in the web application and web service area, but, let me mention that JMeter can also handle FTP and JDBC requests. If you need more than this, and you’re a skilled Java programmer, it’s possible to build and add your own "samplers" to JMeter.

Our first step will be to give you a quick introduction on how to use JMeter. Then we’ll put JMeter to work on a couple of applications, where it will be quite interesting to compare the results. The setup I’ll show includes letting JMeter create a test script by picking up the communication between a browser and the web server. Finally I’ll show how to run JMeter remotely, which means that you split JMeter into a client part and a server part and run them on separate computers.

I can’t possibly cover all features in JMeter. There is a very nice User’s Manual in the JMeter download, covering all the tools and features (including a couple more features that aren’t fully implemented!). This is where I’d recommend digging for more information if you’re interested.

Introduction
The Applications
JMeter Installation
Enhancing the Test Plan
Recording a Use Case
Measuring Web Services Response Times
The Third Application
Conclusion


Applet Index
(sorted alphabetically)

A B C D E F G H I J K
L M N O P Q R S T U
V W X Y Z #s
The Java Source
(applets w/source code)

A B C D E F G H I J K
L M N O P Q R S T U
V W X Y Z

How to Add Java Applets to Your Site

New on the Java Boutique:

New Article:
Struts in Action
The newest book excerpt from "Struts in Action" covers validators, bundles and configuration files.
... [more articles]

New Tutorial:
Converting XML documents to Java objects with Castor XML
If you're working with XML documents, and your focus is more on the contents of the documents, and not so much on the XML structure, then Castor XML may be what you're looking for. This month Keld Hansen focuses on the conversion capabilities of Casto XML.
... [more Tutorials]

Elsewhere on internet.com:

WebDeveloper Java
Lots of Java information on webdeveloper.com

WDVL Java
Thorough Java resource at the Web Developer's Virtual Library.

ScriptSearch Java
Hundreds of free Java code files to download.

internet.com logo




Developer News

Microsoft Buys Into SCO Group's Unix

Microsoft Joins Security Firms in Virus-Warning Pact

HP Releases Itanium-based Operating System



Database Journal Launched!
Jupiter Media has announced the launch of Database Journal. DBJ offers SQL courses and other database related resources for beginner to expert developers.



Gaming Tools
A simple framework to enable you to quickly take advantage of full-screen animation, music, and sound effects without learning all the intricate details of the new Java 1.4 APIs.
Download of the Week
X Images
This is an Image Show applet. All images have a URL. If you double-click on an image you go to that url with specified frame.

JB User Poll
As a JavaBoutique Reader what kind of articles do you prefer?
The JavaBoutique Top 15:
1. ChompText
2. DJPopMenu
3. PingPong
4. RushHour
5. NavBar
6. 3DMaze
7. AnimLetters_anim
8. AnimatedTreeControl
9. BSCOutline
10. Encyclo
11. AScroll2
12. Distorter
13. Viewer
14. BMMenu
15. Nibbly
Want more? Check out our Top 100!

Refer-It
Affiliate Program and Referral Directory.
New on internet.com
Dell Well Positioned for the New Tech Environment
If technology is becoming a commodity, then Dell may be the best-positioned tech company of them all.

Keeping Tabs on Your Good Name
A new application, Google Alert, offers a new approach for staying up to date with your interests by routinely performing daily Google searches and sending e-mail notifications of new results that appear, complete with the links.

Security Product of the Year -- Norton AntiVirus Corporate Edition
Answer: Yaha, Klez, Lovegate, Bugbear and Backdoor. Question: What are five reasons Datamation readers selected Symantec AntiVirus Corporate Edition 7.6 as the Security Product of the Year?


Copyright 2003 Jupitermedia Corporation All Rights Reserved.
Legal Notices,  Licensing, Reprints, & Permissions,  Privacy Policy.
http://www.internet.com/