Making an API call while running protractor tests

Viewed 5561

I have built a web application using angular2.0 and typescript. Now I am writing E2E for my site using protractor.

Now, in one of my tests I need to make an API call(HTTP GET request) and use the response value as an input in my test case.

So basically I want to know how to make a GET request in Protractor-Jasmine and use the result/response.

1 Answers
Related