Skip to content

Commit dc1c21f

Browse files
committed
Release v2.0.6
- Consume BlazeMeter plugins common - Refactor README to support rebranding
1 parent d7cab60 commit dc1c21f

File tree

5 files changed

+51
-79
lines changed

5 files changed

+51
-79
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
# HTTP2 Plugin for JMeter
22

33
---
4-
![labs-logo](docs/blazemeter-labs-logo.png)
4+
<picture>
5+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/Blazemeter/jmeter-bzm-commons/refs/heads/master/src/main/resources/dark-theme/blazemeter-by-perforce-logo.png">
6+
<img alt="Shows an illustrated sun in light color mode and a moon with stars in dark color mode." src="https://raw.githubusercontent.com/Blazemeter/jmeter-bzm-commons/refs/heads/master/src/main/resources/light-theme/blazemeter-by-perforce-logo.png">
7+
</picture>
58

69
This plugin provides an HTTP2 Sampler and a HTTP2 Controller in order to test you HTTP/2 endpoint.
710

pom.xml

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<groupId>com.blazemeter.jmeter</groupId>
88
<artifactId>jmeter-bzm-http2</artifactId>
99
<packaging>jar</packaging>
10-
<version>2.0.5</version>
10+
<version>2.0.6</version>
1111
<name>HTTP/2 Sampler</name>
1212
<description>HTTP/2 protocol sampler</description>
1313

@@ -70,6 +70,11 @@
7070
<version>0.6</version>
7171
<scope>test</scope>
7272
</dependency>
73+
<dependency>
74+
<groupId>com.blazemeter</groupId>
75+
<artifactId>jmeter-bzm-commons</artifactId>
76+
<version>0.2.3</version>
77+
</dependency>
7378
<dependency>
7479
<groupId>kg.apc</groupId>
7580
<artifactId>jmeter-plugins-emulators</artifactId>
@@ -257,4 +262,38 @@
257262
</plugin>
258263
</plugins>
259264
</build>
265+
<profiles>
266+
<profile>
267+
<id>release</id>
268+
<build>
269+
<plugins>
270+
<plugin>
271+
<groupId>org.apache.maven.plugins</groupId>
272+
<artifactId>maven-enforcer-plugin</artifactId>
273+
<version>3.0.0-M3</version>
274+
<executions>
275+
<execution>
276+
<id>enforce-no-snapshots</id>
277+
<goals>
278+
<goal>enforce</goal>
279+
</goals>
280+
<configuration>
281+
<rules>
282+
<requireReleaseDeps>
283+
<message>No Snapshots Allowed!</message>
284+
<excludes>
285+
<exclude>org.apache.maven:maven-core</exclude>
286+
<exclude>org.apache.maven.plugins:*</exclude>
287+
</excludes>
288+
</requireReleaseDeps>
289+
</rules>
290+
<fail>true</fail>
291+
</configuration>
292+
</execution>
293+
</executions>
294+
</plugin>
295+
</plugins>
296+
</build>
297+
</profile>
298+
</profiles>
260299
</project>

src/main/java/com/blazemeter/jmeter/http2/Installer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
public class Installer {
1212

1313
private static final List<String> OLD_DEPENDENCIES_PREFIXES = Arrays.asList(
14-
"jmeter-plugins-cmn-jmeter", "jetty-client", "jetty-util", "jetty-http", "jetty-io",
15-
"jetty-alpn-client", "http2-client", "http2-common", "http2-hpack", "jetty-osgi-alpn");
14+
"jetty-client", "jetty-util", "jetty-http", "jetty-io", "jetty-alpn-client",
15+
"http2-client", "http2-common", "http2-hpack", "jetty-osgi-alpn");
1616
private static final int JAVA_VERSION_REQUIRED = 11;
1717
private static final int NEW_DEPENDENCY_MAJOR_VERSION = 11;
1818

src/main/java/com/blazemeter/jmeter/http2/sampler/gui/BlazemeterLabsLogo.java

Lines changed: 0 additions & 74 deletions
This file was deleted.

src/main/java/com/blazemeter/jmeter/http2/sampler/gui/HTTP2SamplerGui.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package com.blazemeter.jmeter.http2.sampler.gui;
22

3+
import com.blazemeter.jmeter.commons.BlazemeterLabsLogo;
34
import com.blazemeter.jmeter.http2.sampler.HTTP2Sampler;
45
import com.blazemeter.jmeter.http2.sampler.HTTP2SamplerConverter;
56
import com.thoughtworks.xstream.XStream;
@@ -17,6 +18,8 @@
1718
public class HTTP2SamplerGui extends AbstractSamplerGui {
1819

1920
private static final Logger LOG = LoggerFactory.getLogger(HTTP2SamplerGui.class);
21+
private static final String PLUGIN_REPOSITORY_URL = "https://github.com/Blazemeter/jmeter-http2"
22+
+ "-plugin";
2023
private final HTTP2SamplerPanel http2SamplerPanel;
2124

2225
static {
@@ -40,7 +43,7 @@ public HTTP2SamplerGui() {
4043

4144
add(makeTitlePanel(), BorderLayout.NORTH);
4245
add(http2SamplerPanel, BorderLayout.CENTER);
43-
add(new BlazemeterLabsLogo(), BorderLayout.PAGE_END);
46+
add(new BlazemeterLabsLogo(PLUGIN_REPOSITORY_URL), BorderLayout.PAGE_END);
4447
}
4548

4649
@Override
@@ -57,6 +60,7 @@ public String getLabelResource() {
5760
public TestElement createTestElement() {
5861
HTTP2Sampler http2Sampler = new HTTP2Sampler();
5962
configureTestElement(http2Sampler);
63+
http2Sampler.setConcurrentDwn(true);
6064
return http2Sampler;
6165
}
6266

0 commit comments

Comments
 (0)