mocking api of lootrserver