rest service test