Skip to content

Commit 7793ac1

Browse files
Jmeter 5.4.1 support (#9)
* Updated JMeter dependency to 5.4.1 * Updated influxdb-client-java to 2.0.0 * Updated the compatibility information.
1 parent f48b9f0 commit 7793ac1

File tree

4 files changed

+92
-19
lines changed

4 files changed

+92
-19
lines changed

.idea/workspace.xml

Lines changed: 77 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The plugin sends metrics to InfluxDB and provides the possibility to visualize t
1717
The supported versions:
1818
* Java 11 - make sure that you have it.
1919
* InfluxDB v2.0, see release notes: https://docs.influxdata.com/influxdb/v2.0/reference/release-notes/influxdb/ (1.8 is not supported)
20-
* JMeter 5.3 or higher.
20+
* JMeter 5.4.1 only (the previous supports 3.5)
2121

2222
## Deployment
2323
* Put '`jmeter-plugin-influxdb2-listener-<version>.jar`' file from [Releases](https://github.com/mderevyankoaqa/jmeter-influxdb2-listener-plugin/releases) to `~<JmeterPath<\lib\ext`;

build.gradle

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ apply plugin: 'java'
22
apply plugin: 'eclipse'
33

44
sourceCompatibility = 11
5-
version = '1.0'
5+
version = '1.1'
66
def title = 'JMeterInfluxDBListener'
7-
def archiveName = 'jmeter-plugin-influxdb2-listener'
7+
def archiveName = 'jmeter-plugin-influxdb-listener'
88

99
repositories {
1010

11-
mavenCentral()
11+
mavenCentral()
1212
}
1313

1414
// There's a bug in JMeter leaving extra metadata right now. This is a workaround.
@@ -23,12 +23,12 @@ class JMeterRule implements ComponentMetadataRule {
2323
}
2424

2525
dependencies {
26-
implementation group: 'org.apache.jmeter', name: 'ApacheJMeter_core', version: '5.3'
27-
implementation group: 'org.apache.jmeter', name: 'ApacheJMeter_java', version: '5.3'
28-
implementation group: 'org.apache.jmeter', name: 'ApacheJMeter_components', version: '5.3'
29-
implementation group: 'org.apache.jmeter', name: 'jorphan', version: '5.3'
30-
implementation group: 'com.influxdb', name: 'influxdb-client-java', version: '1.13.0'
31-
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.11'
26+
implementation group: 'org.apache.jmeter', name: 'ApacheJMeter_core', version: '5.4.1'
27+
implementation group: 'org.apache.jmeter', name: 'ApacheJMeter_java', version: '5.4.1'
28+
implementation group: 'org.apache.jmeter', name: 'ApacheJMeter_components', version: '5.4.1'
29+
implementation group: 'org.apache.jmeter', name: 'jorphan', version: '5.4.1'
30+
implementation group: 'com.influxdb', name: 'influxdb-client-java', version: '2.0.0'
31+
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.12.0'
3232

3333
components {
3434
withModule("org.apache.jmeter:ApacheJMeter_core", JMeterRule)
@@ -42,12 +42,11 @@ dependencies {
4242
jar {
4343
manifest {
4444
attributes 'Implementation-Title': title,
45-
'Implementation-Version': archiveVersion,
46-
'Main-Class': 'org.md.jmeter.influxdb2.visualizer.JMeterInfluxDBBackendListenerClient'
45+
'Implementation-Version': archiveVersion,
46+
'Main-Class': 'org.md.jmeter.influxdb.visualizer.JMeterInfluxDBBackendListenerClient'
4747
}
4848
}
4949

50-
// Only this task should be used to create the package for the JMeter
5150
task fatJar(type: Jar) {
5251
manifest.from jar.manifest
5352

@@ -57,8 +56,8 @@ task fatJar(type: Jar) {
5756
from {
5857
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
5958
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
60-
}
61-
{
59+
60+
} {
6261
exclude "META-INF/*.SF"
6362
exclude "META-INF/*.DSA"
6463
exclude "META-INF/*.RSA"

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#Fri Apr 17 22:39:55 EEST 2020
2-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-all.zip
2+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.3-all.zip
33
distributionBase=GRADLE_USER_HOME
44
distributionPath=wrapper/dists
55
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)