def randomizeParameterValue(value):
 retVal = value
 value = re.sub('%[0-9a-fA-F]{2}', '', value)
 for match in re.finditer('[A-Z]+', value):
  retVal = retVal.replace(match.group(), randomStr(len(match.group())).upper())
 for match in re.finditer('[a-z]+', value):
  retVal = retVal.replace(match.group(), randomStr(len(match.group())).lower())
 for match in re.finditer('[0-9]+', value):
  retVal = retVal.replace(match.group(), str(randomInt(len(match.group()))))
 return retVal

def randomizeParameterValue ( value ) : retVal = value value = re . sub ( '%[0-9a-fA-F]{2}' , '' , value ) for match in re . finditer ( '[A-Z]+' , value ) : retVal = retVal . replace ( match . group ( ) , randomStr ( len ( match . group ( ) ) ) . upper ( ) ) for match in re . finditer ( '[a-z]+' , value ) : retVal = retVal . replace ( match . group ( ) , randomStr ( len ( match . group ( ) ) ) . lower ( ) ) for match in re . finditer ( '[0-9]+' , value ) : retVal = retVal . replace ( match . group ( ) , str ( randomInt ( len ( match . group ( ) ) ) ) ) return retVal
randomize a parameter value based on occurances of alphanumeric characters .