add generic testcase for rest service, http part