Designer 10.5 | webMethods CAF and OpenUI Development | Performance Monitoring | Creating Custom Tokens for Performance Monitoring
 
Creating Custom Tokens for Performance Monitoring
You can create and use custom performance tokens to measure the performance of a specific portlet, bean, class, or method. For more information, see Measuring Application Performance.
*To create and use custom performance tokens
1. Open the application that you want to extend with custom tokens.
2. Open the Java class source that you want to profile and then define and initialize your custom performance tokens:
Object customToken=PerfUtil.actionInit(<category>,<tokenName>);
3. Locate the functionality that you want to measure and then collect the performance information.
4. Deploy and run the portlet on an instance of My webMethods Server.
5. Analyze the performance of your application.