Before you start
About this series
Writing code for an application is only the first phase of the lengthy process required to deliver a robust product quality program. The code must be tested to verify its operation and accuracy. It is also often necessary to analyze the code to eliminate performance bottlenecks and resource waste (especially memory). Code must also be monitored to locate faults, identify usage patterns, look for opportunities for further enhancements and optimizations, and detect intrusion attempts and actual intrusions.
The Eclipse test and performance Tools Platform (TPTP) is a software architecture and several components that extend the Eclipse platform (so far), including testing, performance, and monitoring tools. This "Eclipse Test and Performance Tools Platform" Tutorial series explains TPTP features. Part 1th shows how to parse a Java™ application. The 2nd part explains how to capture arbitrary log files and convert them to the widely supported Common Base Events (CBE) format. The 3rd part explains how to manage application testing.
About this tutorial
This tutorial is the third phase of the Eclipse Test and performance Tools Platform Tutorial series. This tutorial demonstrates how to use TPTP's test features to measure the response time of a WEB application, explain how to create and manage improved JUnit tests, and describe how to create a manual test of a computer boot.
Goal
In this tutorial, learn how to measure the response time of a WEB application using the test features of Eclipse TPTP. Then learn how to create and manage improved JUnit tests and learn how to create computer-guided manual tests. ’
Prerequisite conditions
You should have software development experience and understand the entire software development lifecycle. You should also be familiar with installing software from the command line and setting and managing shell and system environment variables, such as the Shell's PATH and Ld_library_path variables, and Java CLASSPATH variables. Understanding the Java programming language, the Eclipse Integrated Development Environment (IDE), and the Eclipse user Interface (UI) are also helpful, but not required.
System Requirements
You can run Eclipse on any system that has or supports Java virtual machines (Java MACHINE,JVM), including Solaris, linux®, Mac OS X, or microsoft®windows®. If the JVM is not installed on the system, be sure to reserve at least MB of free disk space for the Java software (in some cases, much less space is required). The core Eclipse software and all the plug-ins used here require a MB of space.
In addition to disk space, you need to have enough free physical memory to run the JVM. In general, in order to achieve satisfactory performance, it is recommended to use up to MB or more of free physical memory.
Here are all the software you need:
Java technology, which can be obtained from Sun Microsystems or IBM. Download the latest update for the Java Runtime Environment (JRE) V1.5.
Eclipse V3.2 IDE
Eclipse TPTP Runtime V4.2.0
Eclipse TPTP testing Tools Runtime V4.2.0
Eclipse TPTP Agent Controller
Eclipse Modeling Framework (EMF) SDK V2.2
Eclipse XML Schema infoset Model (XSD) SDK V2.2
Mozilla V1.7.8 or later Web browsers
Note: Even if you have a different Web browser installed, you must install Mozilla V1.7.8 or later if you want to use computer-guided manual testing because it contains the UI components that are used by the Eclipse TPTP Manual Test Tool.