I have a POST API that returns the response as a string.
when I tried mocking as browser.mock('**/validate').respond('SUCCESS', { statusCode: 200 });
It's not getting mocked instead original API is hit
Can someone help me in this??.
Have you tried using WireMock Service?