Google Search:

Google
Showing posts with label java. Show all posts
Showing posts with label java. Show all posts

Saturday, March 29, 2008

Record JMeter Web TestPlan

These steps should help you to record a Test Plan for browsing a website.

  • run JMeter
  • add a Thread Group to the Test Plan
    • add a Recording Controller to the Thread Group
    • add a Http Request Defaults to the Thread Group
    • add a Http Cookie Manager to the Thread Group
  • modify Http Request Defaults:
    • set protocol=http
    • set server name=
    • set path=/
    • set port number=80
  • add Http Proxy Server in Workbench
    • set port :8999 (can be anything - but use the same one in your browser)
    • set Target Controller ( Thread Group > Use Recording Controller)
  • save your Test Plan
  • open your browser
    • set proxy=localhost; port=8999
  • click on Start in JMeter
  • click on the links you would like to be recorded
  • click on Stop in JMeter
  • these links should have been recorded by JMeter
  • reset the proxy settings in your browser

Apache JMeter

Apache JMeter is a 100% pure Java desktop application designed to load test functional behavior and measure performance. It was originally designed for testing Web Applications but has since expanded to other test functions.

Apache JMeter may be used to test performance both on static and dynamic resources (files, Servlets, Perl scripts, Java Objects, Data Bases and Queries, FTP Servers and more). It can be used to simulate a heavy load on a server, network or object to test its strength or to analyze overall performance under different load types. You can use it to make a graphical analysis of performance or to test your server/script/object behavior under heavy concurrent load.

Thursday, March 20, 2008

Netbeans 6.0 IDE

NetBeans 6.0

The NetBeans IDE is a free, open-source Integrated Development Environment for software developers. You get all the tools you need to create professional desktop, enterprise, web and mobile applications, in Java, C/C++ and even Ruby. The IDE runs on many platforms including Windows, Linux, Mac OS X and Solaris; it is easy to install and use straight out of the box.

The 6.0 release includes significant enhancements and new features, including a completely rewritten editor infrastructure, support for additional languages, new productivity features, and a simplified installation process that allows you to easily install and configure the IDE to meet your exact needs.

NetBeans IDE 6.1 Beta Blogging Contest
NetBeans IDE 6.1 Beta is now available to download and preview. We’re pretty excited about some of the great new features, but we want to know what you think.

Download the NetBeans IDE 6.1 Beta 1 and check it out for yourself. After you have a chance to test the Beta, we want you to tell the world what you think.

Whatever your experience is in using the NetBeans IDE, post a blog about it and tell everyone. Our judges will review all blog submissions and select 10 winners to reward a $500 American Express Gift Certificate. The top 100 blogs will receive a NetBeans t-shirt.

Tuesday, March 18, 2008

Quartz Enterprise Job Scheduler

Quartz is a full-featured, open source job scheduling system that can be integrated with, or used along side virtually any J2EE or J2SE application - from the smallest stand-alone application to the largest e-commerce system.


Quartz can be used to create simple or complex schedules for executing tens, hundreds, or even tens-of-thousands of jobs; jobs whose tasks are defined as standard Java components or EJBs. The Quartz Scheduler includes many enterprise-class features, such as JTA transactions and clustering.

Quartz is freely usable, licensed under the Apache 2.0 license.

Monday, March 10, 2008

java.text.SimpleDateFormat

Let  Date or Time          Component   Presentation Examples
G Era designator Text AD
y Year Year 1996; 96
M Month in year Month July; Jul; 07
w Week in year Number 27
W Week in month Number 2
D Day in year Number 189
d Day in month Number 10
F Day of week in month Number 2
E Day in week Text Tuesday; Tue
a Am/pm marker Text PM
H Hour in day (0-23) Number 0
k Hour in day (1-24) Number 24
K Hour in am/pm (0-11) Number 0
h Hour in am/pm (1-12) Number 12
m Minute in hour Number 30
s Second in minute Number 55
S Millisecond Number 978
z Time zone General GMT-08:00
Z Time zone RFC 822 -0800