Services | Updates | Contact
Home | Ajax | BioInformatics | Dojo | EAI | EJB | Hibernate | J2ME | Java | Java Glossary | Java Servlets | JavaScript | Jboss | JDBC | JDO | Jmeter | JSF | JSP | JUnit | Maven | MySQL | Spring Framework | SQL | Struts | Technology | WAP | Web Services | XML
Search All Tutorials
Top Search: Loan Struts Open Source
A Maven2 Repository : An Introduction
Public remote external repository: This public external repository exists at ibiblio.org and maven synchronizes with thi
 
Open Source Aspect-Oriented Frameworks written in Java
AspectJ(tm) is a simple and practical extension to the Java(tm) programming language that adds to Java aspect-oriented p
 
More Tutorials...

Programming Tutorials: Ajax | Articles | JSP | Bioinformatics | Database | Free Books | Hibernate | J2EE | J2ME | Java | JavaScript | JDBC | JMS | Linux | MS Technology | PHP | RMI | Web-Services | Servlets | Struts | UML

 
 
Jmeter
Comments
 
 

 

Enhancing the Test Plan

                         

As you have seen we have added some basic elements to the Test Plan like Sampler and some listeners. Similarly you can add many other elements in your Test Plan as shown under Group heading.

 Group   Purpose
 Samplers   The requests to the servers are being sent by these elements for the request types SOAP, JDBC,"Java", HTTP/HTTPS, FTP,
 Listeners   The results of the run can be saved by these elements in the single request, tabular forms etc by saving the results in a named file.
 Timers   To make the test more realistic we use Timers element to insert delays between the requests. 
 Logic   Logic controllers are used if you have defined the request to be executed on some logic like if-then-else and loop structures in Java etc.
 Configuration Elements   common information about the requests is added to work with samplers using this element.  
 Assertions   This element is used to check whether you are getting the responses within a given amount of time containing the expected data or not.

What does Apache JMeter do?

  • Loads and does the performance test for HTTP and FTP servers and arbitrary database queries.
  • Does the Caching and offline analysis of test results.
  • concurrent sampling by many threads as well as sampling of different functions by seperate thread groups simultaneously.
  • Its extensibility includes:        
                        supports Scriptable Samplers such as BeanShell and BSF-compatible languages.
                        More extendibility and personalization allowed by Data analysis and visualization.
                        Unlimited testing capabilities by Pluggable Samplers.
  • Complete portability
  • Faster operation and more precise timings is done by GUI design. 
  • Supports Full Swing and lightweight component. 

JMeter is not a browser

Well, don't take it as a browser at all because Jmeter does not perform the actions supported by browsers as far as web-services and remote services are concerned. No Javascript is executed by the JMeter found in HTML pages. However it sometimes happens that the response could be viewed as HTML etc excluding the timings in any samples. Remember, you can view only one sample in one thread at a time.

Error reporting

Errors and warnings are also depicted by the JMeter. These errors and warnings are reported to the jmeter.log file by the JMeter including some information which runs itself on the test. Some errors which are not depicted by the JMeter may appear on the command console. You need to check the log file for any errors being reported if in case the test performed by you is not going the way to be expected. For instance a syntax error in a function call might be reported in the log file.

The errors which are not trapped and logged by the JMeter get stored as attributes of the sample result. For instance sampling errors like HTTP 404 - file not found etc get stored as attributes of the sample result.

                         

Facing Programming Problem?
Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 

Current Comments

0 comments so far (post your own) View All Comments Latest 10 Comments:

Leave your comment:

Name:

Email:

URL:

Title:

Comments:


Enter Code:

 

Note: Emails will not be visible or used in any way, and are not required. Please keep comments relevant. Any content deemed inappropriate or offensive may be edited and/or deleted.

No HTML code is allowed. Line breaks will be converted automatically. URLs will be auto-linked. Please use BBCode to format your text.

  EAI Articles
  Java Certification
Tell A Friend
Your Friend Name
Search Tutorials

 

 
 
Browse all Java Tutorials
Java JSP Struts Servlets Hibernate XML
Ajax JDBC EJB MySQL JavaScript JSF
Maven2 Tutorial JEE5 Tutorial Java Threading Tutorial Photoshop Tutorials Linux Technology
Technology Revolutions Eclipse Spring Tutorial Bioinformatics Tutorials Tools SQL
 

Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs

About Us | Advertising On RoseIndia.net  | Site Map

India News

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2007. All rights reserved.