Hi,
The JSON format to declare a plugin is not difficult to understand.
Look at this url to see the declaration of plugins
https://github.com/undera/jmeter-plugins/tree/master/site/dat/repo and look at "various.json" file
For example, the websocket-sampler plugin
You declare the JMeter "component classes" (Sampler, GUI, Listener ...)
The "downloadUrl" is a url for the JMeter Plugin (in <JMETER_HOME>/lib/ext)
and the "libs" is the libraries dependences (in <JMETER_HOME>/lib)
The url "
https://search.maven.org/remotecontent?filepath=org/eclipse/jetty/jetty-http/9.1.1.v20140108/jetty-http-9.1.1.v20140108.jarcould be adapted to Artifactory like
http://myartifactoryhost:port/artifactory/repo/org/eclipse/jetty/jetty-http/9.1.1.v20140108/jetty-http-9.1.1.v20140108.jar
or http://myartifactoryhost:port/artifactory/artifactory/jmeter-plugin-repo/org/eclipse/jetty/jetty-http/9.1.1.v20140108/jetty-http-9.1.1.v20140108.jar
{
"id": "websocket-sampler",
"name": "WebSocket Sampler by Maciej Zaleski",
"description": "",
"screenshotUrl": "",
"helpUrl": "
https://github.com/maciejzaleski/JMeter-WebSocketSampler/wiki",
"vendor": "Maciej Zaleski",
"markerClass": "JMeter.plugins.functional.samplers.websocket.WebSocketSampler",
"componentClasses": [
"JMeter.plugins.functional.samplers.websocket.WebSocketSampler",
"JMeter.plugins.functional.samplers.websocket.WebSocketSamplerGui"
],
"versions": {
"1.0.2-SNAPSHOT": {
"downloadUrl": "
https://jmeter-plugins.org/files/thirdparty/JMeterWebSocketSampler-1.0.2-SNAPSHOT.jar",
"libs": {
"jetty-http": "
https://search.maven.org/remotecontent?filepath=org/eclipse/jetty/jetty-http/9.1.1.v20140108/jetty-http-9.1.1.v20140108.jar",
"jetty-io": "
https://search.maven.org/remotecontent?filepath=org/eclipse/jetty/jetty-io/9.1.1.v20140108/jetty-io-9.1.1.v20140108.jar",
"jetty-util": "
https://search.maven.org/remotecontent?filepath=org/eclipse/jetty/jetty-util/9.1.1.v20140108/jetty-util-9.1.1.v20140108.jar",
"websocket-api": "
https://search.maven.org/remotecontent?filepath=org/eclipse/jetty/websocket/websocket-api/9.1.1.v20140108/websocket-api-9.1.1.v20140108.jar",
"websocket-client": "
https://search.maven.org/remotecontent?filepath=org/eclipse/jetty/websocket/websocket-client/9.1.1.v20140108/websocket-client-9.1.1.v20140108.jar",
"websocket-common": "
https://search.maven.org/remotecontent?filepath=org/eclipse/jetty/websocket/websocket-common/9.1.1.v20140108/websocket-common-9.1.1.v20140108.jar"
}
}
}
},
Regards.
Vincent D.