testWatcher solution for rest api