webMethods and Intelligent Business Operations 10.2 | Designing and Implementing Composite Applications | webMethods CAF and OpenCAF Development Help | 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.

Copyright © 2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release