{"id":1122,"date":"2016-04-19T10:00:00","date_gmt":"2016-04-19T10:00:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/premier_developer\/?p=1122"},"modified":"2019-02-18T08:02:31","modified_gmt":"2019-02-18T15:02:31","slug":"web-test-plug-in-for-authentication","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/premier-developer\/web-test-plug-in-for-authentication\/","title":{"rendered":"Web Test Plug-in for Authentication"},"content":{"rendered":"<p>In a recent post from his blog, Premier Developer Consultant <a href=\"https:\/\/social.msdn.microsoft.com\/profile\/Monu+Bambroo\">Monu Bambroo<\/a> gives us a step-by-step overview of how to add Authentication into your Web Performance and Load Test with Visual Studio.<\/p>\n<hr \/>\n<p>Web and Load testing are an essential part of application life cycle management. Within Visual Studio, we provide a great template to do web and load testing.\u00a0 This template is used to simulate the application traffic using web tests and simulate high load with the load test template. This works very well for web applications, web APIs, and WCF applications. Web Tests work at the HTTP layer and are basically simulating request\/response to and from the server. They don\u2019t execute any JavaScript. Sometimes the application to be load tested requires you to provide Authentication information. If it\u2019s a passive mode of authentication your application either redirects to an identity provider or you manage it using Forms authentication.\u00a0 In case of APIs, where you are expected to provide the authentication information in the header, we can very well achieve that using Web Tests as well.<\/p>\n<p>In this blog post, I will explain how easily you can plug your authentication information for a Web test. I will be using JWT Token as an example of authentication information to be passed in the header of the request.<\/p>\n<p><a href=\"http:\/\/blogmonu.azurewebsites.net\/?p=103\">Continue reading on Monu&#8217;s blog\u2026<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In a recent post from his blog, Premier Developer Consultant Monu Bambroo gives us a step-by-step overview of how to add Authentication into your Web Performance and Load Test with Visual Studio. Web and Load testing are an essential part of application life cycle management. Within Visual Studio, we provide a great template to do [&hellip;]<\/p>\n","protected":false},"author":581,"featured_media":37840,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[34,149,30,111,46],"class_list":["post-1122","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-permierdev","tag-alm","tag-authentication","tag-monu-bambroo","tag-testing","tag-visual-studio"],"acf":[],"blog_post_summary":"<p>In a recent post from his blog, Premier Developer Consultant Monu Bambroo gives us a step-by-step overview of how to add Authentication into your Web Performance and Load Test with Visual Studio. Web and Load testing are an essential part of application life cycle management. Within Visual Studio, we provide a great template to do [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/posts\/1122","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/users\/581"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/comments?post=1122"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/posts\/1122\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/media\/37840"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/media?parent=1122"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/categories?post=1122"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/tags?post=1122"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}