Prerequisites:
In order to profile, or collect realtime performance data from an application system, you must first establish a connection to the data collection infrastructure. This is done by first identifying the server that will process the initial transaction request. More specifically, this would be the first application server that the transaction request reaches. (When profiling applications under a performance test, the initial transaction is started in the host that is running the test.) This server is essentially the gateway into the application.
Note: You do not need to explicitly create a connection to every machine involved in the distributed application that you want to monitor. Through a process called dynamic discovery, the workbench will automatically connect to each machine as the transaction flows to it.
Once you know what the first application server is, do the following steps
Now that you have collected the performance data, you can begin diagnosing the problem. You can view the data using several views including statistics views and sequence diagrams of class and object interactions.