Differenciate ValueError and KeyError in loadtests.