Generic Simulator for testing systems for functional and performance testing