<!--DEBUG:--><!--DEBUG:dc3-united-states-software-in-english-pdf-2--><!--DEBUG:--><!--DEBUG:dc3-united-states-software-in-english-pdf-2--><!--DEBUG-spv-->{"id":1968215,"date":"2021-08-15T21:17:00","date_gmt":"2021-08-15T19:17:00","guid":{"rendered":"http:\/\/nhub.news\/?p=1968215"},"modified":"2021-08-15T23:03:08","modified_gmt":"2021-08-15T21:03:08","slug":"checklist-for-api-verification","status":"publish","type":"post","link":"http:\/\/nhub.news\/ru\/2021\/08\/checklist-for-api-verification\/","title":{"rendered":"Checklist for API Verification"},"content":{"rendered":"<p style=\"text-align: justify;\"><b>These days where Applications talk to each other using API, the verification of any message between the applications\/microservices needs to be verified. This checklist includes some best practices for API verification.<\/b><br \/>\nJoin the DZone community and get the full member experience. Microservices are a designer&#8217;s way to address the complexity of applications in today&#8217;s world. Verification and Deployment of these applications are however lost in the implementation as the same thought the process is very rarely communicated in the Real-world. A web application that could be decomposed into Model-View-Controller architecture has morphed to the world of Unstructured Data Microservice Frontend. The ability to have a configurable backend(datastore as opposed to a DB) and a Flexible Frontend places Microservice API as a premier source of data interchange. This check is a work in process to the traditional tester\/validation team to address real-world challenges in the deployment of Infrastructure as Code. These are some guidelines that could be used to check the payload, response, deployment, and parameters from the YAML for the API to be tested. 1. Get the YAML or API specs listing the URL. i.e https:\/\/localhost:8089\/API\/Vx\/Resource 2. Confirm and verify the Method (GET\/POST\/PUT\/PATCH\/UPDATE) and URL to the server Deployed to ex: (https:\/\/:PORT\/) along with valid: A: credential with Bearer Token B: Parameters? XXKEY=XXVAL &amp; YYKEY=YYVAL ( from the Path section) C: Body of the Method is well-formed ( from the Schema) and declared in the header 3. Verify that the API and API versions are deployed to for Testing 4. Check for Payload ranges for Min\/Max and Out of Range Values in the body of the payload 5. Check for REST API Response codes as listed on the YAML\/API 6. Match the Data on the UI with the GET\/PUT Body to match the value(s) displayed on the UI. 7. Check for Schema Error with Mandatory\/Optional fields in the API Body\/headers. refer[3] for Schema Validation. Opinions expressed by DZone contributors are their own.<\/p>\n<script>jQuery(function(){jQuery(\".vc_icon_element-icon\").css(\"top\", \"0px\");});<\/script><script>jQuery(function(){jQuery(\"#td_post_ranks\").css(\"height\", \"10px\");});<\/script><script>jQuery(function(){jQuery(\".td-post-content\").find(\"p\").find(\"img\").hide();});<\/script>","protected":false},"excerpt":{"rendered":"<p>These days where Applications talk to each other using API, the verification of any message between the applications\/microservices needs to be verified. This checklist includes some best practices for API verification. Join the DZone community and get the full member experience. Microservices are a designer&#8217;s way to address the complexity of applications in today&#8217;s world. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1968214,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[93],"tags":[],"_links":{"self":[{"href":"http:\/\/nhub.news\/ru\/wp-json\/wp\/v2\/posts\/1968215"}],"collection":[{"href":"http:\/\/nhub.news\/ru\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/nhub.news\/ru\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/nhub.news\/ru\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/nhub.news\/ru\/wp-json\/wp\/v2\/comments?post=1968215"}],"version-history":[{"count":1,"href":"http:\/\/nhub.news\/ru\/wp-json\/wp\/v2\/posts\/1968215\/revisions"}],"predecessor-version":[{"id":1968216,"href":"http:\/\/nhub.news\/ru\/wp-json\/wp\/v2\/posts\/1968215\/revisions\/1968216"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/nhub.news\/ru\/wp-json\/wp\/v2\/media\/1968214"}],"wp:attachment":[{"href":"http:\/\/nhub.news\/ru\/wp-json\/wp\/v2\/media?parent=1968215"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/nhub.news\/ru\/wp-json\/wp\/v2\/categories?post=1968215"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/nhub.news\/ru\/wp-json\/wp\/v2\/tags?post=1968215"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}