public boolean validateMap(AerospikeClient client, String filename,int nrecords,int setMod,int range,int seed, HashMap<String, String>  binMap, String dstType) {
		boolean valid = false;
		
		Random r = new Random(seed);	
		int rint;
		String key = null;
		String set = null;
		Key key1 = null;
		Bin bin1 = null;
		String bin1Type = null;
		Record record = null;
		
		for (int i = 0; i <= nrecords; i++) {			
			rint = r.nextInt(range);
		
			Iterator<Entry<String, String>> iterator = binMap.entrySet().iterator();
			String binName;
			String binType = null;
			Map.Entry<String, String> mapEntry;
			while (iterator.hasNext()) {
				mapEntry = iterator.next();
				
				if ( (binName = mapEntry.getKey()) != null){
					if(i == 0) {
						//skip 1st row data
					} else {
						binType = mapEntry.getValue();
						if(binName.equalsIgnoreCase("key")) {
							key = (String.format(getValue(binName, binType , i)));
						} else if(binName.equalsIgnoreCase("set")) {
							set = String.format(getValue(binName, "string", i%setMod));	
						} else {
							String value = (String.format(getValue(binName,binType, rint)));
							bin1 = new Bin(binName, value);
							bin1Type = value;
						}	
					}
				}					
			}

			if (i!=0) {
				try {
					key1 = new Key(ns, set, key);
					record = client.get(new Policy(), key1);
				} catch (AerospikeException e) {
					e.printStackTrace();
				}
			
			if (validateBin(key1, bin1, bin1Type, dstType, record))
				valid = true;
			}
		}
		
		return valid;
	}