Shubham, there are very less chances of repeating of the number. Other way you can use is as below:
String s = String.valueOf(System.currentTimeMillis());
String phone = s.substring(1,11);
testExec.setStateValue("randomInt",Result);
This will generate random number based on currentsystem time. Since the time will change for each request, you will get random response.