Creating a New Project

To create a new project in AppPerfect Java Profiler, AppPerfect Java Unit Test or AppPerfect Java Code Test, follow these steps:

  1. Start the desired AppPerfect Product.
  2. Once the product starts. Click File -> New...

AppPerfect uses a project wizard for AppPerfect Java Profiler, AppPerfect Java Unit Test and AppPerfect Java Code Test products. Once a project is defined, you need to specify certain values related to the specific product (Web Test, Load Test and App Test) for which you are creating the project. Listed below are the various properties which can be set using new project dialog.

General
Project

The 'General' panel requests information regarding your project's name and its location on your system. By Default, all the projects are stored in the 'Workspace' folder of the AppPerfect installation directory.

NOTE: If you provide a project name that already exists, AppPerfect will over-write the contents of the existing project's folder.
Target Application's Machine Settings

In case target application Application / AppServer is running on remote machine then you should select this option. You should have product installed on remote machine and remote product's service running for this to work correctly. Find below details of the service settings for each of the product:

Notification Settings

AppPerfect can send you customized notifications of your test results. This feature is very useful in cases where you want to schedule AppPerfect to run tests or perform code analysis and do not want to wait for the results. For example, you can receive the results in your mailbox with (optional) HTML reports attached. You can choose to be notified on test completion or only if the test fails.

The following settings are required for the Notifications feature:

1. Send Notification on: Project completion or Project failure, as is your requirement.

2. Notification Message: Click the button to create your own customized notification message using the variables relevant to your AppPerfect product.

3. Email / Custom Notification Settings: Provide the required email or custom notification settings where you want application to send notification.

NOTE: If you opt for Notifications you must configure notification settings in AppPerfect Test Manager application and you must configure Test Manager information in tools > Options > Server Connections dialog in AppPerfect client application, otherwise, the Notifications feature will not work.
Import

Select this option to import your projects from any of the supported IDEs or Third Party products into the AppPerfect product.

Importing from following IDEs is supported. Various versions of these IDEs are supported:

Importing from following Third Party products is supported:

Source
Source Files/Folders

Since AppPerfect products are based on the Eclipse architecture, to add java files, you have to add the package that contains them. Even for a single Java file, you have to add its containing package here. The 'Add File' option can be used for adding specific Java or JSP files.

You must provide Source path for AppPerfect Java Unit Test and AppPerfect Java Code Test projects. In case of AppPerfect Java Profiler you should provide source settings if you wish to trace the profiling data back to source code.

Java Settings

By default, the JDK installed by AppPerfect products is used for your projects. If you want to use another JDK, select the checkbox 'Use Custom Java Environment'. You can create several JDK profiles to use according to your requirements by clicking 'Configure JDK' button.

Environment Settings

Specify the CLASSPATH and LIBRARYPATH where class files and libraries for the specified source files are located. Correct CLASSPATH and LIBRARY must be specified else project definition will fail. Please note that without specifying the CLASSPATH, you cannot use the Java Unit test product and cannot profile applet/desktop java applications.

Classpath

You must set a valid classpath for the selected Java source files/folders. Your classpath can be validated by AppPerfect by clicking the 'Validate Classpath..' button.

Library Path

Specify additional libraries (in addition to the classpath already set) which should be included in the path while running the application.

Target Application Settings

In this tab, you have to specify the details of the target application. Start with specifying the type of the application.

Application Type

You have to specify the type of your application. These include

There are different settings that are required to be made for each of these types of applications. For details on each application type and its settings, please refer to the "Target Application Settings" chapter.