private static NamedBlobRecord generateRandomNamedBlobRecord(Random random, AccountService accountService,
      List<Account> allAccounts) {
    Account account;
    Container container;
    String blobName;
    if (random.nextFloat() < PERCENTAGE_FOR_HUGE_LIST) {
      account = accountService.getAccountById(HUGE_LIST_ACCOUNT_ID);
      container = account.getContainerById(HUGE_LIST_CONTAINER_ID);
      blobName = HUGE_LIST_COMMON_PREFIX + TestUtils.getRandomString(50);
    } else {
      account = allAccounts.get(random.nextInt(allAccounts.size()));
      List<Container> containers = new ArrayList<>(account.getAllContainers());
      container = containers.get(random.nextInt(containers.size()));
      blobName = TestUtils.getRandomString(50);
    }
    BlobId blobId =
        new BlobId(BlobId.BLOB_ID_V6, BlobId.BlobIdType.NATIVE, (byte) 1, account.getId(), container.getId(),
            PARTITION_ID, false, BlobId.BlobDataType.DATACHUNK);
    NamedBlobRecord record =
        new NamedBlobRecord(account.getName(), container.getName(), blobName, blobId.toString(), -1);
    return record;
  }
Generate a random {@link NamedBlobRecord}.
@param random The {@link Random} object to generate random number.
@param accountService The {@link AccountService} object.
@param allAccounts All the accounts in the account service.
@return A {@link NamedBlobRecord}.
ambry-tools/src/main/java/com/github/ambry/tools/perf/NamedBlobMysqlDatabasePerf.java