javascript - Testing the Web API by comparing the response with that of WCF -


i have owin hosted web api servicing odata v4 endpoint integrated windows authentication. solution has tested wcf odata v1,v2,v3 endpoints. 60% of endpoints give same results of wcf on changing url /v3 /v4. since wcf endpoints already tested, thought of comparing endpoint's response of wcf.

is right way go?

on server side have used specifying auth scheme:

listener.authenticationschemes = authenticationschemes.integratedwindowsauthentication; 

i'm thinking of using javascript purpose

  • login chrome , capture token.
  • paste token in js file.
  • attach authorization: negotiate token header every request.
  • query both /v3 , /v4 , obtain response in either json or xml , compare.

will same token valid in js?


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -