{"id":284476,"date":"2021-03-18T16:19:41","date_gmt":"2021-03-18T16:19:41","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=284476"},"modified":"2024-04-04T13:36:05","modified_gmt":"2024-04-04T13:36:05","slug":"rest-api-testing","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/rest-api-testing\/","title":{"rendered":"Rest API Testing"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">What is API?<\/h2>\n\n\n\n<p>An <a href=\"https:\/\/webkul.com\/api\/\">Application Programming Interface<\/a> (API) defines interaction between multiple softwares or mixed hardware-software. API is a set of programming code that enables data transmission between one software product and another. <\/p>\n\n\n\n<p>API also provides extension mechanisms so that users can extend existing functionality in various. An API can be entirely custom, specific to a component, or designed based on an industry-standard.<\/p>\n\n\n\n<p>API lets a developer make a specific \u201ccall\u201d or \u201crequest\u201d in order to send or receive information. JSON(<a href=\"https:\/\/webkul.com\/blog\/introduction-json-ld\/\">JavaScript Object Notation<\/a>) is used as an programming language to communicate. It can also be used to make a defined action such as updating or deleting data.<\/p>\n\n\n\n<p>There are four basic request methods that can be made with API:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>GET \u2013 Gathers the data<\/li>\n\n\n\n<li>PUT \u2013 Updates the data<\/li>\n\n\n\n<li>POST \u2013 Creates the data<\/li>\n\n\n\n<li>DELETE \u2013 Deletes the data<\/li>\n<\/ol>\n\n\n\n<p><strong>Example:<\/strong> An API delivers a user response to a system and sends the system\u2019s response back to a user. User clicks on \u201cAdd to Cart\u201d button and API tells the website user added a product to a cart; the website puts the product in user cart, and user cart is updated.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"571\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/03\/image-1-1200x571.png\" alt=\"image-1\" class=\"wp-image-284491\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/03\/image-1-1200x571.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/03\/image-1-300x143.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/03\/image-1-250x119.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/03\/image-1-768x366.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/03\/image-1-1536x731.png 1536w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/03\/image-1-2048x975.png 2048w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Some of the API Testing Tools<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Rapid API<\/li>\n\n\n\n<li>Rest Assured<\/li>\n\n\n\n<li>POSTMAN<\/li>\n\n\n\n<li>SoapUI<\/li>\n\n\n\n<li>JMeter<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">What is API testing?<\/h2>\n\n\n\n<p>API testing is a type of software testing, which make sure API is returning correct response as per the expected response. It performs verification directly at the API level. <\/p>\n\n\n\n<p>It is a part of integration testing that determines whether the APIs meet the expectations of functionality, reliability, performance, and security.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why API testing is needed?<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Investigating an app at API level would be tough so it\u2019s better to do it at first<\/li>\n\n\n\n<li>Core functionalities of an API can be test<\/li>\n\n\n\n<li>Consumes less time than GUI functional testing<\/li>\n\n\n\n<li>Test data is mostly derived as JSON or XML format.<\/li>\n\n\n\n<li>Language Independent<\/li>\n\n\n\n<li>Easily integrated with GUI testing<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"593\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/03\/image-2-1200x593.png\" alt=\"image-2\" class=\"wp-image-284492\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/03\/image-2-1200x593.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/03\/image-2-300x148.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/03\/image-2-250x124.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/03\/image-2-768x380.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/03\/image-2-1536x759.png 1536w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/03\/image-2-2048x1012.png 2048w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Why a Checklist for API Testing is Important<\/h2>\n\n\n\n<p>An API checklist is important because:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>It Improves Test Coverage &#8211;<\/strong> API specifications allows tester to detect errors at an early stage before getting into bigger problems.<\/li>\n\n\n\n<li><strong>It\u2019s more Cost-Effective &#8211;<\/strong> API testing requires less coding, which becomes a faster and more affordable process.<\/li>\n\n\n\n<li><strong>It provides stronger security &#8211;<\/strong> APIs are designed to remove common vulnerabilities, so it provides more protection for your application if we follow an API security checklist.<\/li>\n\n\n\n<li><strong>It\u2019s Language Independent &#8211;<\/strong> By exchanging data via JSON or XML, user can select any language for API testing.<\/li>\n\n\n\n<li><strong>It Integrates simply with GUI &#8211;<\/strong> An API is highly integral when performing functional GUI testing.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Types of Tests to Perform on Your APIs<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Validation Testing &#8211;<\/strong> This testing process occurs at the end of the development cycle to validate whether the API\u2019s basic parts and functions are correct or not.<\/li>\n\n\n\n<li><strong>UI Testing &#8211;<\/strong> UI API testing examines the user interface. UI testing focuses on the interface experience those ties into the API to verify the user experience is per the expected result.<\/li>\n\n\n\n<li><strong>Security Testing &#8211;<\/strong> Security tests main aim is to cover any vulnerability, threat or risk within the API so that malicious attacks can be prevented. Security testing can identify all possible loopholes and API weaknesses that can potentially result in a loss of information, revenue and reputation.<\/li>\n\n\n\n<li><strong>Load Testing &#8211;<\/strong> Load testing reviews the API performance for specific load, by adding number of user\u2019s activity into the API. User can examine how well the API behaves with a spike of users accessing the API.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">REST API<\/h2>\n\n\n\n<p>REST stands for REpresentational State Transfer. It is an architectural style that defines a set of rules in order to create Web Services. In a client-server communication, REST suggests to create an object of the data requested by the client and send values of that object in response to the user. <\/p>\n\n\n\n<p>Just like any regular website, REST API\u2019s use HTTP for communication. The data can be sent or received in the form of JSON or XML.<\/p>\n\n\n\n<p>For example, if a user is requesting for a movie in Noida at a certain place and time, then you can create an object on the server-side.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"416\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/03\/image-3-1200x416.png\" alt=\"image-3\" class=\"wp-image-284493\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/03\/image-3-1200x416.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/03\/image-3-300x104.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/03\/image-3-250x87.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/03\/image-3-768x266.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/03\/image-3-1536x533.png 1536w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/03\/image-3-2048x710.png 2048w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Principles which REST API Follows<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Client-Server:<\/strong> In client-server architecture the client and the server should be separate from each other and allowed to evolve individually. This enhances the portability across multiple platforms as well as the scalability of the server components.<\/li>\n\n\n\n<li><strong>Stateless:<\/strong> REST APIs are stateless, meaning history of any request or response or not saved. Once the request is sent it closes the connection and establishes the new connection to give the response.<\/li>\n\n\n\n<li><strong>Cache:<\/strong> For better performance, applications are often made cacheable which saves the processing time. This is done by labelling the response from the server as cacheable. If the response is defined as cacheable, then the client cache can reuse the response data for equivalent responses in the future.<\/li>\n\n\n\n<li><strong>Uniform Interface:<\/strong> To separate client from server is by having a uniform interface that allows independent changes into the application without having the application\u2019s services, or models and actions, tightly coupled to the API layer itself.<\/li>\n\n\n\n<li><strong>Layered System:<\/strong> REST APIs have different layers of their architecture working together to build a hierarchy which helps to create a more scalable and modular application.<\/li>\n\n\n\n<li><strong>Code on Demand:<\/strong> This is an optional constraint and is used the least. Code on Demand allows code or applets to be transmitted via the API for use within the application.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Parts of REST API:<\/h2>\n\n\n\n<p>A REST request is made up of the following parts:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>An HTTP verb that describes what action should be taken<\/li>\n\n\n\n<li>A Uniform Resource Locator (URL) that defines the location of the request<\/li>\n\n\n\n<li>HTTP headers that provide information to the server about the request<\/li>\n\n\n\n<li>A request body that provides further details for the request (this can be sometimes empty)<\/li>\n<\/ul>\n\n\n\n<p>Here are the most common HTTP verbs:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A <strong>GET<\/strong> request fetches a record from a database<\/li>\n\n\n\n<li>A <strong>POST<\/strong> request adds a new record to a database<\/li>\n\n\n\n<li>A <strong>PUT<\/strong> request replaces a record with a new one<\/li>\n\n\n\n<li>A <strong>PATCH<\/strong> request replaces part of a record with new information<\/li>\n\n\n\n<li>A <strong>DELETE<\/strong> request removes a record from a database<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Control Flow Diagram<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"842\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/03\/image-10-1200x842.png\" alt=\"image-10\" class=\"wp-image-285155\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/03\/image-10-1200x842.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/03\/image-10-300x211.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/03\/image-10-250x175.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/03\/image-10-768x539.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/03\/image-10-1536x1078.png 1536w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/03\/image-10-2048x1438.png 2048w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>In case you have any queries then feel free to ask in the comment section below.<br>This is all about Rest API Testing.<\/p>\n\n\n\n<p>Thank you for reading this blog.<\/p>\n\n\n\n<p>Happy testing!!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is API? An Application Programming Interface (API) defines interaction between multiple softwares or mixed hardware-software. API is a set of programming code that enables data transmission between one software product and another. API also provides extension mechanisms so that users can extend existing functionality in various. An API can be entirely custom, specific to <a href=\"https:\/\/webkul.com\/blog\/rest-api-testing\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":330,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1173,4312],"tags":[292,2273,2253,6640],"class_list":["post-284476","post","type-post","status-publish","format-standard","hentry","category-api-2","category-automation-testing","tag-api","tag-automation","tag-rest-api","tag-write-excel"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Rest API Testing - Webkul Blog<\/title>\n<meta name=\"description\" content=\"API testing is a type of software testing, which make sure API is returning correct response as per the expected response.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/webkul.com\/blog\/rest-api-testing\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Rest API Testing - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"API testing is a type of software testing, which make sure API is returning correct response as per the expected response.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/rest-api-testing\/\" \/>\n<meta property=\"og:site_name\" content=\"Webkul Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webkul\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-03-18T16:19:41+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-04T13:36:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2021\/03\/image-1-1200x571.png\" \/>\n<meta name=\"author\" content=\"Ishan Malhotra\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webkul\" \/>\n<meta name=\"twitter:site\" content=\"@webkul\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ishan Malhotra\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/rest-api-testing\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/rest-api-testing\/\"},\"author\":{\"name\":\"Ishan Malhotra\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/36cbd5a8947f497c32ae1ce661137038\"},\"headline\":\"Rest API Testing\",\"datePublished\":\"2021-03-18T16:19:41+00:00\",\"dateModified\":\"2024-04-04T13:36:05+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/rest-api-testing\/\"},\"wordCount\":1056,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/rest-api-testing\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2021\/03\/image-1-1200x571.png\",\"keywords\":[\"api\",\"Automation\",\"REST API\",\"Write Excel\"],\"articleSection\":[\"API\",\"Automation testing\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/rest-api-testing\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/rest-api-testing\/\",\"url\":\"https:\/\/webkul.com\/blog\/rest-api-testing\/\",\"name\":\"Rest API Testing - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/rest-api-testing\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/rest-api-testing\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2021\/03\/image-1-1200x571.png\",\"datePublished\":\"2021-03-18T16:19:41+00:00\",\"dateModified\":\"2024-04-04T13:36:05+00:00\",\"description\":\"API testing is a type of software testing, which make sure API is returning correct response as per the expected response.\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/rest-api-testing\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/rest-api-testing\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/rest-api-testing\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/03\/image-1.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/03\/image-1.png\",\"width\":2060,\"height\":981,\"caption\":\"image-1\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/rest-api-testing\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Rest API Testing\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webkul.com\/blog\/#website\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"name\":\"Webkul Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webkul.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webkul.com\/blog\/#organization\",\"name\":\"WebKul Software Private Limited\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"width\":380,\"height\":380,\"caption\":\"WebKul Software Private Limited\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webkul\/\",\"https:\/\/x.com\/webkul\",\"https:\/\/www.instagram.com\/webkul\/\",\"https:\/\/www.linkedin.com\/company\/webkul\",\"https:\/\/www.youtube.com\/user\/webkul\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/36cbd5a8947f497c32ae1ce661137038\",\"name\":\"Ishan Malhotra\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/12f0d4f8cd7624cecb33c8fb8dfd5c5ff2ebf31980495318e7abbdae6dce1915?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/12f0d4f8cd7624cecb33c8fb8dfd5c5ff2ebf31980495318e7abbdae6dce1915?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Ishan Malhotra\"},\"url\":\"https:\/\/webkul.com\/blog\/author\/ishan-malhotra855\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Rest API Testing - Webkul Blog","description":"API testing is a type of software testing, which make sure API is returning correct response as per the expected response.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/webkul.com\/blog\/rest-api-testing\/","og_locale":"en_US","og_type":"article","og_title":"Rest API Testing - Webkul Blog","og_description":"API testing is a type of software testing, which make sure API is returning correct response as per the expected response.","og_url":"https:\/\/webkul.com\/blog\/rest-api-testing\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2021-03-18T16:19:41+00:00","article_modified_time":"2024-04-04T13:36:05+00:00","og_image":[{"url":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2021\/03\/image-1-1200x571.png","type":"","width":"","height":""}],"author":"Ishan Malhotra","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Ishan Malhotra","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/rest-api-testing\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/rest-api-testing\/"},"author":{"name":"Ishan Malhotra","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/36cbd5a8947f497c32ae1ce661137038"},"headline":"Rest API Testing","datePublished":"2021-03-18T16:19:41+00:00","dateModified":"2024-04-04T13:36:05+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/rest-api-testing\/"},"wordCount":1056,"commentCount":2,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/rest-api-testing\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2021\/03\/image-1-1200x571.png","keywords":["api","Automation","REST API","Write Excel"],"articleSection":["API","Automation testing"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/rest-api-testing\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/rest-api-testing\/","url":"https:\/\/webkul.com\/blog\/rest-api-testing\/","name":"Rest API Testing - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/rest-api-testing\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/rest-api-testing\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2021\/03\/image-1-1200x571.png","datePublished":"2021-03-18T16:19:41+00:00","dateModified":"2024-04-04T13:36:05+00:00","description":"API testing is a type of software testing, which make sure API is returning correct response as per the expected response.","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/rest-api-testing\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/rest-api-testing\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/rest-api-testing\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/03\/image-1.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/03\/image-1.png","width":2060,"height":981,"caption":"image-1"},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/rest-api-testing\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Rest API Testing"}]},{"@type":"WebSite","@id":"https:\/\/webkul.com\/blog\/#website","url":"https:\/\/webkul.com\/blog\/","name":"Webkul Blog","description":"","publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webkul.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webkul.com\/blog\/#organization","name":"WebKul Software Private Limited","url":"https:\/\/webkul.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","width":380,"height":380,"caption":"WebKul Software Private Limited"},"image":{"@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webkul\/","https:\/\/x.com\/webkul","https:\/\/www.instagram.com\/webkul\/","https:\/\/www.linkedin.com\/company\/webkul","https:\/\/www.youtube.com\/user\/webkul\/"]},{"@type":"Person","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/36cbd5a8947f497c32ae1ce661137038","name":"Ishan Malhotra","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/12f0d4f8cd7624cecb33c8fb8dfd5c5ff2ebf31980495318e7abbdae6dce1915?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/12f0d4f8cd7624cecb33c8fb8dfd5c5ff2ebf31980495318e7abbdae6dce1915?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Ishan Malhotra"},"url":"https:\/\/webkul.com\/blog\/author\/ishan-malhotra855\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/284476","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/users\/330"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=284476"}],"version-history":[{"count":8,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/284476\/revisions"}],"predecessor-version":[{"id":431834,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/284476\/revisions\/431834"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=284476"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=284476"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=284476"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}