Export the following plug-ins as 'Deployable plug-ins' to the eclipse installation directory (not the 'plugins' directory choose to deploy as 'a directory structure')Ĭopy the following.This method is of particular interest if you want to do precise measurements of a specific build.Running a performance test case (from the command-line)
This is suppressed if performance tests are configured to store data in the database (see below). By default, the measured averages of the performance monitor are written to the console on commit().If your test needs some different (larger or smaller) be sure to set both (ms and mx) in your test.xml file, using the vmargs property. Note that during automated production runs, the settings are set to what the eclipse.ini has. Create a new JUnit Plug-in Test launch configuration for the test case.Public class MyPerformanceTestCase extends PeformanceTestCase Running a performance test case (from a launch configuration)
Create a test case with test methods along the lines of: