Qunit for testing authenticated rest api calls
I am unable to hit rest api when using $ajax function in jquery through qunit.
All my rest calls have to maintain a jsessionid which gets created in the browser cookie when a login post call with parameters username and password is done.
I was able to do the same using restassured as it allows to get the jsession id and maintain it while doing any more further api calls.
Is there a possible way of doing it through qunit ?