Skip to content

Commit 11ec94f

Browse files
committed
Fix for TT4016
1 parent dfa9a79 commit 11ec94f

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
### v4.22 - 16-04-2024
2+
3+
- `FIXED` - Fixed TT-4016
4+
15
### v4.21 - 14-02-2024
26

37
- `FIXED` - Fixed TT-3873 Tests are not getting fetched in the Jenkins BlazeMeter plugin

pom.xml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<groupId>com.blazemeter.plugins</groupId>
1616
<artifactId>BlazeMeterJenkinsPlugin</artifactId>
1717
<packaging>hpi</packaging>
18-
<version>4.21-SNAPSHOT</version>
18+
<version>4.22-SNAPSHOT</version>
1919
<name>BlazeMeter plugin</name>
2020
<url>https://wiki.jenkins-ci.org/display/JENKINS/BlazeMeter+Plugin</url>
2121
<description>This is a plugin which allows a developer to run a set of performance tests against the BlazeMeter Cluster</description>
@@ -38,7 +38,7 @@
3838
<connection>scm:git:[email protected]:jenkinsci/blazemeter-plugin.git</connection>
3939
<developerConnection>scm:git:[email protected]:jenkinsci/blazemeter-plugin.git</developerConnection>
4040
<url>https://github.com/jenkinsci/blazemeter-plugin</url>
41-
<tag> BlazeMeterJenkinsPlugin-4.20</tag>
41+
<tag> BlazeMeterJenkinsPlugin-4.21</tag>
4242
</scm>
4343

4444
<licenses>
@@ -93,6 +93,11 @@
9393
<artifactId>validation-api</artifactId>
9494
<version>1.0.0.GA</version>
9595
</dependency>
96+
<dependency>
97+
<groupId>org.kohsuke.stapler</groupId>
98+
<artifactId>stapler</artifactId>
99+
<version>1.263</version>
100+
</dependency>
96101

97102
</dependencies>
98103

src/main/java/hudson/plugins/blazemeter/BlazeMeterPerformanceBuilderDescriptor.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
import org.kohsuke.stapler.QueryParameter;
5555
import org.kohsuke.stapler.Stapler;
5656
import org.kohsuke.stapler.StaplerRequest;
57+
import org.kohsuke.stapler.interceptor.RequirePOST;
5758

5859
@Symbol({"blazeMeterTest"})
5960
@Extension
@@ -131,6 +132,7 @@ public FormValidation doCheckMainTestFile(@QueryParameter String value) {
131132
}
132133
}
133134

135+
@RequirePOST
134136
public ListBoxModel doFillTestIdItems(@QueryParameter("credentialsId") String credentialsId,
135137
@QueryParameter("workspaceId") String workspaceId,
136138
@QueryParameter("testId") String testId) throws FormValidation {
@@ -237,6 +239,7 @@ private List<Workspace> getWorkspaces(BlazeMeterUtils utils) throws IOException
237239
return workspaces;
238240
}
239241

242+
@RequirePOST
240243
public ListBoxModel doFillWorkspaceIdItems(@QueryParameter("credentialsId") String credentialsId,
241244
@QueryParameter("workspaceId") String workspaceId) throws FormValidation {
242245
ListBoxModel items = new ListBoxModel();
@@ -290,7 +293,7 @@ private ListBoxModel workspacesList(BlazeMeterUtils utils, String savedWorkspace
290293
return workspacesList;
291294
}
292295

293-
296+
@RequirePOST
294297
public ListBoxModel doFillCredentialsIdItems(@QueryParameter("credentialsId") String credentialsId) {
295298
ListBoxModel items = new ListBoxModel();
296299
try {

0 commit comments

Comments
 (0)