Commit b7b3ba1d authored by Arpita Shrivastava's avatar Arpita Shrivastava

updating restutil

parent ebde3823
...@@ -81,7 +81,8 @@ public class RestUtil { ...@@ -81,7 +81,8 @@ public class RestUtil {
public static void setreqPayloadAddRandomName(File file) throws JsonProcessingException, IOException { public static void setreqPayloadAddRandomName(File file) throws JsonProcessingException, IOException {
//String with random generated name //String with random generated name
String randomName = "Test Post call "+ Math.random(); int num = (int)((Math.random()*1000));
String randomName = "Test Post call "+ num;
//read the Json Payload from file //read the Json Payload from file
String JSONObjectStr = readLineByLineJava8(file.getPath()); String JSONObjectStr = readLineByLineJava8(file.getPath());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment