IDE & Navigation
Properties & Tools
Custom Plugins is used to extend TestOptimal functionality by implementing a set of MScript functions to be used in MScript. Your plugin can then be enabled in Model Property to call its MScript methods in the model
You can download Example Custom Plugin java project (Eclipse) as an example to build your own custom plugin.
In your Java IDE, create a new java class inheriting from com.webmbt.plugin.PluginAncestor. You will need to add webmbt.jar and plugins.jar to your IDE class path.
Implement the required class methods:
Once you have the java class created, compile it and package the .class file into a jar file. If your plugin java class depends on other java classes, make sure also compile those java classes and package them into the same jar file.
copy your plugin jar file into lib folder and restart TestOptimal server. If you have updated your plugin, you will need to re-deploy the plugin jar file and restart TestOptimal server in order to make the new plugin jar file effective.
Optionally you can add your plugin MScript methods to MScript code assist by defining them in a java properties file with the following steps: