To create a new project in AppPerfect Java Profiler, AppPerfect Java Unit Test or AppPerfect Java Code Test, follow these steps:
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.
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.|
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:
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.|
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:
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.
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.
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.
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.
Specify additional libraries (in addition to the classpath already set) which should be included in the path while running the application.
In this tab, you have to specify the details of the target application. Start with specifying the type of the application.
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.