{"id":3376,"date":"2017-07-05T13:13:12","date_gmt":"2017-07-05T07:43:12","guid":{"rendered":"https:\/\/www.innovationm.com\/blog\/?p=3376"},"modified":"2017-07-05T13:13:12","modified_gmt":"2017-07-05T07:43:12","slug":"api-testing","status":"publish","type":"post","link":"https:\/\/www.innovationm.com\/blog\/api-testing\/","title":{"rendered":"API testing"},"content":{"rendered":"<p><strong>API testing<\/strong><\/p>\n<p>API is an acronym for <strong>A<\/strong>pplication <strong>P<\/strong>rogramming <strong>I<\/strong>nterface.\u00a0It enables communication and data exchange between two separate software systems. A software system implementing an API contains functions\/sub-routines which can be executed by another software system.For example, a Google website can have API for various functions like search, translations, calendars, etc<\/p>\n<h3><strong>API Architecture<\/strong><\/h3>\n<p>API calls Collection include mainly three things:<br \/>\n1. HTTP headers<br \/>\n2. HTTP Request (POST,GET,PUT,DELETE )<br \/>\n3. Status Code\/ Response Code<\/p>\n<p>Apart from this your application collection include many things if it required to test in your application.<\/p>\n<p><strong>HTTP headers<\/strong> &#8211; HTTP headers are always depended on your application.It can be either standard or custom headers:<\/p>\n<p><strong>Content-Type<\/strong> &#8211; A standard MIME type describes the format of object data we are sending along in the request to the server .Content \u2013type in most of the requests and responses will be application\/json. Refer to image 1.<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter wp-image-3380 size-full\" src=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2017\/06\/Image-1.1.png\" alt=\"\" width=\"729\" height=\"399\" srcset=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2017\/06\/Image-1.1.png 729w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2017\/06\/Image-1.1-300x164.png 300w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2017\/06\/Image-1.1-624x342.png 624w\" sizes=\"(max-width: 729px) 100vw, 729px\" \/><\/p>\n<p style=\"text-align: center;\"><b>image 1.<\/b><\/p>\n<p><b>Multipart\/form-data<\/b><span style=\"font-weight: 400;\"> &#8211; when your form includes any &lt;input type=&#8221;file&#8221;&gt; elements.<\/span><\/p>\n<p><b>Authorization <\/b><span style=\"font-weight: 400;\">&#8211; A token included with requests to identify the requester. <\/span>This header has to be included in all requests other than the login request.(Custom Header). Refer to image 2<\/p>\n<p><span style=\"font-weight: 400;\">User Authorisation while requesting data from API is very important for security reasons .<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Eg. A there are some \u00a0features in the \u00a0application which are accessible only to admin and some are accessible only to the user . A user tries to access features which are only accessible to the admin , an error 401 &#8211; unauthorised person \u00a0to be shown to the user .<\/span><span style=\"font-weight: 400;\">To achieve this for every user a unique token is generated during login and that unique token is to be used by the user while requesting data from the APIs.<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-3408 size-full\" src=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2017\/06\/authorization.png\" alt=\"\" width=\"620\" height=\"388\" srcset=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2017\/06\/authorization.png 620w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2017\/06\/authorization-300x188.png 300w\" sizes=\"(max-width: 620px) 100vw, 620px\" \/><\/p>\n<p style=\"text-align: center;\"><strong>image 2.<\/strong><\/p>\n<p><strong>The Hypertext Transfer Protocol (HTTP)<\/strong> is designed to enable communications between clients and servers.<br \/>\nHTTP works as a request-response protocol between a client and server.<br \/>\nA web browser may be the client, and an application on a computer that hosts a web site may be the server.<\/p>\n<p><strong>HTTP Request<\/strong> &#8211; There are mainly four request, which we used frequently: DATA =<br \/>\n<strong>POST &#8211;<\/strong> Create Or Update data<br \/>\n<strong>PUT<\/strong> &#8211; Update data<br \/>\n<strong>GET<\/strong> &#8211; Retrieve data<br \/>\n<strong>DELETE<\/strong> \u2013 Delete data<\/p>\n<p>Two commonly used methods for a request-response between a client and server are: GET and POST.<br \/>\n<strong>GET<\/strong> &#8211; Requests data from a specified resource.No body is sent along the request.<span style=\"font-size: 1rem;\">Refer image 3<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-3403 size-full\" src=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2017\/06\/get.png\" alt=\"\" width=\"513\" height=\"228\" srcset=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2017\/06\/get.png 513w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2017\/06\/get-300x133.png 300w\" sizes=\"(max-width: 513px) 100vw, 513px\" \/><\/p>\n<p style=\"text-align: center;\"><b> image 3.<\/b><\/p>\n<p><strong>POST<\/strong> &#8211; Submits data to be processed to a specified resource.In this the body is sent along the request to the server.<span style=\"font-size: 1rem;\">Refer image 4<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3404 size-full\" src=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2017\/06\/post.png\" alt=\"\" width=\"630\" height=\"200\" srcset=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2017\/06\/post.png 630w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2017\/06\/post-300x95.png 300w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2017\/06\/post-624x198.png 624w\" sizes=\"(max-width: 630px) 100vw, 630px\" \/><\/p>\n<p style=\"text-align: center;\"><b> image 4.<\/b><\/p>\n<p>By design, the POST request method requests that a web server accept the data enclosed in the body of the request message, most likely for storing it. It is often used when uploading a file or when submitting a completed web form. In contrast, the HTTP GET request method retrieves information from the server.<\/p>\n<h2><strong>Validating the results<\/strong><\/h2>\n<p>Mainly, for API testing, we need to check response code, a response message, and response body.<br \/>\nBelow are the various response code, one might encounter while API testing.<\/p>\n<p><strong>Status Code\/Response Code<\/strong> &#8211; There are many status\/response code, from them we can verify the response.<br \/>\n200 &#8211; OK, The request was successful.<br \/>\n201 &#8211; Created, The request was successful and data was created.<br \/>\n204 &#8211; No Content, The response is empty.<br \/>\n400 &#8211; Bad Request, The request could not be understood or was missing required parameters.<br \/>\n401 \u2013 Unauthorized, Authentication failed or user does not have permissions for the requested operation.<br \/>\n403 &#8211; Forbidden, Access denied.<br \/>\n404 &#8211; Not Found, Data was not found.<br \/>\n405 &#8211; Method Not Allowed, Requested method is not supported for the specified resource.<br \/>\n500 &#8211; Internal Server Error.<br \/>\n503 &#8211; Service Unavailable, The service is temporary unavailable.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3400 \" src=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2017\/06\/validation.png\" alt=\"\" width=\"660\" height=\"150\" srcset=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2017\/06\/validation.png 959w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2017\/06\/validation-300x68.png 300w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2017\/06\/validation-768x175.png 768w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2017\/06\/validation-624x142.png 624w\" sizes=\"(max-width: 660px) 100vw, 660px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3>Challenges for API Testing<\/h3>\n<p>The interesting problems for testers are:<\/p>\n<ol>\n<li>Creating interesting parameter value combinations for calls with two or more parameters<\/li>\n<li>Identifying the content under which the API calls has to be made. Which might include setting external environment conditions ( peripheral devices, files, etc.) as well as internally stored data that affects the API<\/li>\n<li>Sequencing API calls as per the order in which the functionality will be executed<\/li>\n<li>To make the API produce useful results from successive calls.<\/li>\n<\/ol>\n<p><strong>Step 1): Launch the extension once it is installed successfully.<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3389 size-full\" src=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2017\/06\/step-1.png\" alt=\"\" width=\"766\" height=\"269\" srcset=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2017\/06\/step-1.png 766w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2017\/06\/step-1-300x105.png 300w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2017\/06\/step-1-624x219.png 624w\" sizes=\"(max-width: 766px) 100vw, 766px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Step 2): Enter the URL of the API in the URL textbox<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3390 size-full\" src=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2017\/06\/step-2.png\" alt=\"\" width=\"426\" height=\"139\" srcset=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2017\/06\/step-2.png 426w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2017\/06\/step-2-300x98.png 300w\" sizes=\"(max-width: 426px) 100vw, 426px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Step 3): Select the radio button for the type of HTTP method to hit- e.g. POST<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3393 size-full\" src=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2017\/06\/step3.png\" alt=\"\" width=\"429\" height=\"62\" srcset=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2017\/06\/step3.png 429w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2017\/06\/step3-300x43.png 300w\" sizes=\"(max-width: 429px) 100vw, 429px\" \/><\/p>\n<p><strong>Step 4) : Provide Headers (if required), in the Headers textbox.<\/strong><br \/>\nSometimes we need to give headers like<br \/>\nContent-Type: application\/json<br \/>\nX-User-Type: standard<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3394 size-full\" src=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2017\/06\/step4.png\" alt=\"\" width=\"350\" height=\"70\" srcset=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2017\/06\/step4.png 350w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2017\/06\/step4-300x60.png 300w\" sizes=\"(max-width: 350px) 100vw, 350px\" \/><\/p>\n<p><strong>Step 5):<\/strong> <strong>Under Payload, pass the request body of the API in the form of key-value pairs<\/strong> e.g. {{&#8220;key1&#8243;:&#8221;value1&#8243;,&#8221;key2&#8243;:&#8221;value2&#8221;}. If it is post API, then we need to pass body or parameters.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3391 size-full\" src=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2017\/06\/step-5.png\" alt=\"\" width=\"559\" height=\"204\" srcset=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2017\/06\/step-5.png 559w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2017\/06\/step-5-300x109.png 300w\" sizes=\"(max-width: 559px) 100vw, 559px\" \/><\/p>\n<p><strong>Step 6): Set the required content type e.g. application\/json<\/strong><\/p>\n<p><strong>Step 7): Hit the send button. After clicking on &#8220;send&#8221; button, you will see response something like this.<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3392 size-full\" src=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2017\/06\/step-7.png\" alt=\"\" width=\"613\" height=\"329\" srcset=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2017\/06\/step-7.png 613w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2017\/06\/step-7-300x161.png 300w\" sizes=\"(max-width: 613px) 100vw, 613px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>API testing API is an acronym for Application Programming Interface.\u00a0It enables communication and data exchange between two separate software systems. A software system implementing an API contains functions\/sub-routines which can be executed by another software system.For example, a Google website can have API for various functions like search, translations, calendars, etc API Architecture API calls [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3411,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[71,7,102],"tags":[203,205,206,204],"class_list":["post-3376","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mobile","category-mobile-testing","category-web-service","tag-api","tag-postman","tag-rest-api","tag-testing"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>API testing - InnovationM - Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.innovationm.com\/blog\/api-testing\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"API testing - InnovationM - Blog\" \/>\n<meta property=\"og:description\" content=\"API testing API is an acronym for Application Programming Interface.\u00a0It enables communication and data exchange between two separate software systems. A software system implementing an API contains functions\/sub-routines which can be executed by another software system.For example, a Google website can have API for various functions like search, translations, calendars, etc API Architecture API calls [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.innovationm.com\/blog\/api-testing\/\" \/>\n<meta property=\"og:site_name\" content=\"InnovationM - Blog\" \/>\n<meta property=\"article:published_time\" content=\"2017-07-05T07:43:12+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2017\/06\/API-Testing.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1140\" \/>\n\t<meta property=\"og:image:height\" content=\"633\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"InnovationM Admin\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InnovationM Admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/api-testing\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/api-testing\\\/\"},\"author\":{\"name\":\"InnovationM Admin\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/#\\\/schema\\\/person\\\/a831bf4602d69d1fa452e3de0c8862ed\"},\"headline\":\"API testing\",\"datePublished\":\"2017-07-05T07:43:12+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/api-testing\\\/\"},\"wordCount\":818,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/api-testing\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/06\\\/API-Testing.png\",\"keywords\":[\"API\",\"Postman\",\"REST API\",\"Testing\"],\"articleSection\":[\"Mobile\",\"Mobile Testing\",\"Web service\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/api-testing\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/api-testing\\\/\",\"url\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/api-testing\\\/\",\"name\":\"API testing - InnovationM - Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/api-testing\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/api-testing\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/06\\\/API-Testing.png\",\"datePublished\":\"2017-07-05T07:43:12+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/#\\\/schema\\\/person\\\/a831bf4602d69d1fa452e3de0c8862ed\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/api-testing\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/api-testing\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/api-testing\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/06\\\/API-Testing.png\",\"contentUrl\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/06\\\/API-Testing.png\",\"width\":1140,\"height\":633},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/api-testing\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"API testing\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/\",\"name\":\"InnovationM - Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/#\\\/schema\\\/person\\\/a831bf4602d69d1fa452e3de0c8862ed\",\"name\":\"InnovationM Admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5c99d9eece9dfbc82297cf34ddd58e9fe05bb52fe66c8f6bf6c0a45bfb6d7629?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5c99d9eece9dfbc82297cf34ddd58e9fe05bb52fe66c8f6bf6c0a45bfb6d7629?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5c99d9eece9dfbc82297cf34ddd58e9fe05bb52fe66c8f6bf6c0a45bfb6d7629?s=96&r=g\",\"caption\":\"InnovationM Admin\"},\"sameAs\":[\"http:\\\/\\\/www.innovationm.com\\\/\"],\"url\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/author\\\/innovationmadmin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"API testing - InnovationM - Blog","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:\/\/www.innovationm.com\/blog\/api-testing\/","og_locale":"en_US","og_type":"article","og_title":"API testing - InnovationM - Blog","og_description":"API testing API is an acronym for Application Programming Interface.\u00a0It enables communication and data exchange between two separate software systems. A software system implementing an API contains functions\/sub-routines which can be executed by another software system.For example, a Google website can have API for various functions like search, translations, calendars, etc API Architecture API calls [&hellip;]","og_url":"https:\/\/www.innovationm.com\/blog\/api-testing\/","og_site_name":"InnovationM - Blog","article_published_time":"2017-07-05T07:43:12+00:00","og_image":[{"width":1140,"height":633,"url":"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2017\/06\/API-Testing.png","type":"image\/png"}],"author":"InnovationM Admin","twitter_misc":{"Written by":"InnovationM Admin","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.innovationm.com\/blog\/api-testing\/#article","isPartOf":{"@id":"https:\/\/www.innovationm.com\/blog\/api-testing\/"},"author":{"name":"InnovationM Admin","@id":"https:\/\/www.innovationm.com\/blog\/#\/schema\/person\/a831bf4602d69d1fa452e3de0c8862ed"},"headline":"API testing","datePublished":"2017-07-05T07:43:12+00:00","mainEntityOfPage":{"@id":"https:\/\/www.innovationm.com\/blog\/api-testing\/"},"wordCount":818,"commentCount":0,"image":{"@id":"https:\/\/www.innovationm.com\/blog\/api-testing\/#primaryimage"},"thumbnailUrl":"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2017\/06\/API-Testing.png","keywords":["API","Postman","REST API","Testing"],"articleSection":["Mobile","Mobile Testing","Web service"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.innovationm.com\/blog\/api-testing\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.innovationm.com\/blog\/api-testing\/","url":"https:\/\/www.innovationm.com\/blog\/api-testing\/","name":"API testing - InnovationM - Blog","isPartOf":{"@id":"https:\/\/www.innovationm.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.innovationm.com\/blog\/api-testing\/#primaryimage"},"image":{"@id":"https:\/\/www.innovationm.com\/blog\/api-testing\/#primaryimage"},"thumbnailUrl":"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2017\/06\/API-Testing.png","datePublished":"2017-07-05T07:43:12+00:00","author":{"@id":"https:\/\/www.innovationm.com\/blog\/#\/schema\/person\/a831bf4602d69d1fa452e3de0c8862ed"},"breadcrumb":{"@id":"https:\/\/www.innovationm.com\/blog\/api-testing\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.innovationm.com\/blog\/api-testing\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.innovationm.com\/blog\/api-testing\/#primaryimage","url":"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2017\/06\/API-Testing.png","contentUrl":"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2017\/06\/API-Testing.png","width":1140,"height":633},{"@type":"BreadcrumbList","@id":"https:\/\/www.innovationm.com\/blog\/api-testing\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.innovationm.com\/blog\/"},{"@type":"ListItem","position":2,"name":"API testing"}]},{"@type":"WebSite","@id":"https:\/\/www.innovationm.com\/blog\/#website","url":"https:\/\/www.innovationm.com\/blog\/","name":"InnovationM - Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.innovationm.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.innovationm.com\/blog\/#\/schema\/person\/a831bf4602d69d1fa452e3de0c8862ed","name":"InnovationM Admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/5c99d9eece9dfbc82297cf34ddd58e9fe05bb52fe66c8f6bf6c0a45bfb6d7629?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/5c99d9eece9dfbc82297cf34ddd58e9fe05bb52fe66c8f6bf6c0a45bfb6d7629?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5c99d9eece9dfbc82297cf34ddd58e9fe05bb52fe66c8f6bf6c0a45bfb6d7629?s=96&r=g","caption":"InnovationM Admin"},"sameAs":["http:\/\/www.innovationm.com\/"],"url":"https:\/\/www.innovationm.com\/blog\/author\/innovationmadmin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/posts\/3376","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/comments?post=3376"}],"version-history":[{"count":0,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/posts\/3376\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/media\/3411"}],"wp:attachment":[{"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/media?parent=3376"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/categories?post=3376"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/tags?post=3376"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}