code: private ServiceInfo getRandomService(List<ServiceInfo> serviceList) {
          if (serviceList == null || serviceList.size() == 0) {
              return null;
          }
          return serviceList.get(RandomUtils.nextInt(0, serviceList.size()));
      }
docs: get a random service
  
  @param serviceList
  @return