diff --git a/deployment/src/main/java/org/wso2/testgrid/deployment/DeploymentUtil.java b/deployment/src/main/java/org/wso2/testgrid/deployment/DeploymentUtil.java index 777176e51..6b1623f74 100755 --- a/deployment/src/main/java/org/wso2/testgrid/deployment/DeploymentUtil.java +++ b/deployment/src/main/java/org/wso2/testgrid/deployment/DeploymentUtil.java @@ -55,6 +55,9 @@ public static DeploymentCreationResult getDeploymentCreationResult(String worksp File file = new File(Paths.get(workspace, DeployerConstants.DEPLOYMENT_FILE).toString()); try { List 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());