Skip to content

Commit

Permalink
Add review suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
azinneera committed Mar 29, 2018
1 parent 009691f commit a0f5e7e
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ public static DeploymentCreationResult getDeploymentCreationResult(String worksp
File file = new File(Paths.get(workspace, DeployerConstants.DEPLOYMENT_FILE).toString());
try {
List<Host> hostList = mapper.readValue(file, DeploymentCreationResult.class).getHosts();
/* JMeter test files has the values for the host and ports as two properties. In order to replace
* the values, the serverHost and serverPort has to be set as two different hosts.
*/
for (Host host : hostList) {
Host serverHost = new Host();
serverHost.setIp(host.getIp());
Expand Down

0 comments on commit a0f5e7e

Please sign in to comment.