Google Search:

Google

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

Awesome Photo

Hurricane Isabel off coast of North Carolina from oil tanker - 2003

Retirement in Alaska

Tom had been in the liquor business for 25 years. Finally sick of the stress he quits his job and buys 50 acres of land in Alaska as far from humanity as possible.

He sees the postman once a week and gets groceries once a month. Otherwise it's total peace and quiet.

After six months or so of almost total isolation, someone knocks on his door. He opens it and a huge, bearded man is standing there.

"Name's Cliff, your neighbour from forty miles up the road. Having a Christmas party Friday night. Thought you might like to come at about 5:00 ."

"Great", says Tom, "after six months out here I'm ready to meet some local folks Thank you."

As Cliff is leaving, he stops. "Gotta warn you. Be some drinking'."

"Not a problem" says Tom. "After 25 years in the business, I can drink with the best of 'em".

Again, the big man starts to leave and stops. "More 'n' likely gonna be some fighting' too."

"Well, I get along with people, I'll be all right. I'll be there. Thanks again."


"More'n likely be some wild sex, too,"

"Now that's really not a problem" says Tom, warming to the idea. "I've been all alone for six months! I'll definitely be there. By the way, what should I wear?"

"Don't much matter. Just gonna be the two of us."

SANParks Wild Card

Effective conservation requires immense financial and human resources. South African National Parks (SANParks) needs to receive sufficient revenue to be able to successfully manage the parks under its control, and it needs to gain the support of all the people in South Africa either through visitation, or an appreciation of the importance of conserving South Africa’s natural heritage.

Since its inception the National Parks have applied a once off entrance fee (coupled with vehicle fees) for the duration of a person’s stay. Park use is reflected in the enjoyment of the natural and cultural wonders of each park,as well as in the use of facilities such as road networks, trails, picnic sites, ablutions, viewing hides, water supply for humans and waterholes for game etc. All these facilities are expensive to install and maintain. The longer a person stays in a park, the more utility they gain from their stay. Applying a daily fee to use such facilities is recognised practice for sports grounds, parking lots, theatres, cinemas etc. and is applied in game reserves and parks all around the world. However it is also common practice in many countries to offer local residents certain concessions. Such people already provide incremental support through the taxes they pay

South African National Parks (SANParks) has thus simultaneously introduced a new daily conservation fee for all its parks and launched an innovative loyalty card system, in order to meet important conservation objectives and provide added value for all visitors.

WILD members will reap further benefits when presenting their card at more than 2000 Infinity partners countrywide, entitling them to cash back rewards for holidays, accommodation, tours, attractions, airlines, car hire, shopping, leisure and entertainment.

Members will also be contributing to conservation through an income sharing agreement between SANParks, Infinity, South Africa’s premier loyalty and smart card management company and its 2000 partners, which channels a percentage of the income generated from WILD card transactions to conservation.

Tsitsikamma Hiking Trail

Tsitsikamma is the Khoi-San word for a place of many waters. The Tsitsikamma hiking trail is inland from the Tsitsikamma National Park and traverses the base of the rolling Tsitsikamma mountains passing through indigenous forest, fynbos and pine plantations.

The cheapest option is to organise the trail yourself. Trails for Africa offers a luxury trail service which can include: transport arrangements, a guide, all meals and portage of your luggage. All you have to do walk with a light daypack.

The trail is parallel to the better known Otter trail which follows the coastline in the opposite direction. So if you want to indulge in a trail orgy then you can walk both trails one after the other and end up where you started.

The fynbos is typical montane fynbos of the southern cape mountains and is at it's most spectacular in spring and early summer. The indigenous forest canopy reaches up to 30m in places and is a welcome respite from the summer heat. Rivers abound and each day reveals pools that take your breath away with their beauty and swimming is a contstant temptation.

The mostly shy wildlife includes baboon, vervet monkey, leopard, caracal, honey badger, large-spotted genet, blue duiker and bushbuck. Birdlife thrives in the varied habitats and include, forest buzzard, rameron pigeon, narina trogon, sombre bulbul, forest canary, swee waxbill and orange-breasted and black sunbird.

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.

Wednesday, March 12, 2008

Gorilla Password Manager

Download Password Gorilla as a platform-independent, ready-to-run Starkit (239 kB).

To run the Password Gorilla Starkit, you need a Tclkit for your platform. Tclkits exist for
many operating system, including Windows, Mac OS X, Linux, FreeBSD and others. (Mac OS X note: you need the Wishkit, not the Tclkit.)

Follow the link to the "Download" section in the right-hand menu, and then to the "download area." Use any "8.4" version.

Don't forget to assign execute permission to the tclkit after downloading, i.e., chmod +x tclkit

After following the installation instructions for tclkit, you should be able to run Password Gorilla by typing

tclkit gorilla-1.4.kit

at the console. If desired, rename the ".kit" file as "gorilla", assign execute permission
(i.e. chmod +x gorilla), and move both tclkit and "gorilla" to a directory in your "$PATH".
After that exercise, Password Gorilla can be started by typing gorilla at a console.

Note: default builds of tclkit come without support for internationalization, but only with support for the ASCII and ISO-8859-1 character sets. To use Password Gorilla with other character sets, use the source code below.

Install VMWare Tools

Installing VMware Tools

The following procedure shows how to extract and install the VMware Tools image from the VMware Workstation "tarball" (.tar.gz file).

Is it legal to do this? According to this thread, yes.

1. Download the latest "Archived Version" of VMware Workstation in .tar.gz format at http://www.vmware.com/download/ws/. You do not need to be registered nor have a VMware Workstation license key to download this version.

Example:
$ wget http://download3.vmware.com/software/wkst/VMware-workstation-5.5.0-18463.tar.gz

2. Locate and extract the linux.iso VMware Tools image from the tarball.

Locate the linux.iso file (example):
$ tar ztvf VMware-workstation-5.5.0-18463.tar.gz | grep linux.iso
vmware-distrib/lib/isoimages/linux.iso

Extract the linux.iso file (example):
$ tar zxvf VMware-workstation-5.5.0-18463.tar.gz vmware-distrib/lib/isoimages/linux.iso

3. Mount the linux.iso file as a loopback file system, and either share the loopback file system with Samba, or copy the VMware Tools files to a location accessible by your guest system.

$ mkdir /tmp/vmware_tools
$ mount -o loop linux.iso /tmp/vmware_tools

4. In your guest system, run vmware-install.py from the VMware Tools directory.

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