Improving network applications security: a new heuristic to generate stress testing data