Plugin Repository Descriptor FormatPlugin Repositories are used by JMeter Plugins Manager to offer user with additional plugins to install. You can see example of valid plugins repository here. Plugin Repository URL should respond with JSON array, where each item represents the plugin descriptor. Each plugin is a JSON object that contains following fields:
public static void main(String[] argv) { ... }This class is executed outside of JMeter and will write its output (System.err/System.out) to a file called jpgc-installers-XXX.log in temp folder. Note that when running, this class has as classpath only the plugin jar.
Version DescriptorThis JSON object contains information about plugin version and consists from the next fields:
"jmeter-plugins-cmn-jmeter>=0.6": "https:\/\/search.maven.org\/remotecontent?filepath=kg\/apc\/jmeter-plugins-cmn-jmeter\/0.6\/jmeter-plugins-cmn-jmeter-0.6.jar"
Example Plugin Descriptor[ { "id" : "my-beta-plugin-id", "name" : "Beta Plugin Name", "description" : "This plugin created for demonstration graphics in JMeter", "screenshotUrl" : "https://my.site.com/demoPlugin/screenshot.png", "helpUrl": "https://my.site.com/demoPlugin/about", "vendor": "my.site.com", "markerClass": "com.site.my.demo.plugin.SomeGuiClass", "installerClass": "com.site.my.demo.plugin.InstallerClass", "versions" : { "0.1" : { "downloadUrl" : "https://my.site.com/demoPlugin/my-beta-plugin-id-0.1.jar", "libs" : { "graph-builder" : "https://other.site.com/graph-builder-0.2.jar" }, "depends" : [ "jpgc-graphs-basic", "jpgc-graphs-additional" ] }, "0.2" : { "changes" : "In version 0.2 we fixed some bugs and added some new features." "downloadUrl" : "https://my.site.com/demoPlugin/my-beta-plugin-id-0.2.jar", "libs" : { "graph-builder" : "https://other.site.com/graph-builder-0.2.jar" }, "depends" : [ "jpgc-graphs-basic", "jpgc-graphs-additional" ] } } } ] |
On this page:
|