optimal design patterns used for rest api testing framework to have it in ease to maintain state, observable and scalable.