Skip to content

Commit

Permalink
Fix for TT4016
Browse files Browse the repository at this point in the history
  • Loading branch information
mayukothule committed Apr 17, 2024
1 parent dfa9a79 commit 11ec94f
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### v4.22 - 16-04-2024

- `FIXED` - Fixed TT-4016

### v4.21 - 14-02-2024

- `FIXED` - Fixed TT-3873 Tests are not getting fetched in the Jenkins BlazeMeter plugin
Expand Down
9 changes: 7 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<groupId>com.blazemeter.plugins</groupId>
<artifactId>BlazeMeterJenkinsPlugin</artifactId>
<packaging>hpi</packaging>
<version>4.21-SNAPSHOT</version>
<version>4.22-SNAPSHOT</version>
<name>BlazeMeter plugin</name>
<url>https://wiki.jenkins-ci.org/display/JENKINS/BlazeMeter+Plugin</url>
<description>This is a plugin which allows a developer to run a set of performance tests against the BlazeMeter Cluster</description>
Expand All @@ -38,7 +38,7 @@
<connection>scm:git:git@github.com:jenkinsci/blazemeter-plugin.git</connection>
<developerConnection>scm:git:git@github.com:jenkinsci/blazemeter-plugin.git</developerConnection>
<url>https://github.com/jenkinsci/blazemeter-plugin</url>
<tag> BlazeMeterJenkinsPlugin-4.20</tag>
<tag> BlazeMeterJenkinsPlugin-4.21</tag>
</scm>

<licenses>
Expand Down Expand Up @@ -93,6 +93,11 @@
<artifactId>validation-api</artifactId>
<version>1.0.0.GA</version>
</dependency>
<dependency>
<groupId>org.kohsuke.stapler</groupId>
<artifactId>stapler</artifactId>
<version>1.263</version>
</dependency>

</dependencies>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
import org.kohsuke.stapler.QueryParameter;
import org.kohsuke.stapler.Stapler;
import org.kohsuke.stapler.StaplerRequest;
import org.kohsuke.stapler.interceptor.RequirePOST;

@Symbol({"blazeMeterTest"})
@Extension
Expand Down Expand Up @@ -131,6 +132,7 @@ public FormValidation doCheckMainTestFile(@QueryParameter String value) {
}
}

@RequirePOST
public ListBoxModel doFillTestIdItems(@QueryParameter("credentialsId") String credentialsId,
@QueryParameter("workspaceId") String workspaceId,
@QueryParameter("testId") String testId) throws FormValidation {
Expand Down Expand Up @@ -237,6 +239,7 @@ private List<Workspace> getWorkspaces(BlazeMeterUtils utils) throws IOException
return workspaces;
}

@RequirePOST
public ListBoxModel doFillWorkspaceIdItems(@QueryParameter("credentialsId") String credentialsId,
@QueryParameter("workspaceId") String workspaceId) throws FormValidation {
ListBoxModel items = new ListBoxModel();
Expand Down Expand Up @@ -290,7 +293,7 @@ private ListBoxModel workspacesList(BlazeMeterUtils utils, String savedWorkspace
return workspacesList;
}


@RequirePOST
public ListBoxModel doFillCredentialsIdItems(@QueryParameter("credentialsId") String credentialsId) {
ListBoxModel items = new ListBoxModel();
try {
Expand Down

0 comments on commit 11ec94f

Please sign in to comment.