Split each line of input using a comma (",") as the field separator, and for each field, randomly convert it to either upper or lower case, then print the line.
awk -F, -v OFS=',' '{ for(i=1;i<=NF;i++) $i=(rand()<0.5)?toupper($i):tolower($i); print }'