{"product_id":"learn-api-testing-9781484281413","title":"Learn API Testing","description":"\u003cb\u003eBook Synopsis\u003c\/b\u003e\u003cbr\u003e\u003cp\u003eExplore software web application architecture, API testing, coding practices, and the standards for better API test automation development and management. This book focuses on aspiring software testing engineers currently working in API testing, and those starting their journey in the field of software testing. \u003c\/p\u003e\u003cp\u003eYou''ll begin with an introduction to API testing and software web applications involving APIs. The book then moves on to the authentication standards used in the software industry, and the tools, the frameworks, and the libraries used in API testing. As the book progresses, you''ll learn about the test pyramid, how to test an API, what makes a good test script, and various coding guidelines. Finally, you get to write your own API test script. \u003ci\u003e \u003c\/i\u003e\u003c\/p\u003e\u003cp\u003e\u003ci\u003eLearn API Testing\u003c\/i\u003e is your pathway to understanding a typical software web application, its requests and responses, and the properties of a good test script. \u003c\/p\u003e\u003cp\u003e\u003cb\u003eWhat You''ll learn\u003c\/b\u003e\u003c\/p\u003e\u003cp\u003e\u0026lt;\u003cbr\u003e\u003cbr\u003e\u003cb\u003eTable of Contents\u003c\/b\u003e\u003cbr\u003eChapter 1:  Introduction to API Testing\u003c\/p\u003e\u003cp\u003e\u003cb\u003eChapter Goal: Help the reader identify the purpose of the book, target audience and skills set required to perform API Testing\u003c\/b\u003e\u003c\/p\u003e  \u003cp\u003e\u003cb\u003eNo of pages\u003c\/b\u003e    -\u003c\/p\u003e  \u003cp\u003e\u003cb\u003eSub -Topics\u003c\/b\u003e\u003c\/p\u003e  \u003cp\u003e1. What is API Testing\u003cbr\u003e 2. Why We Need API Testing\u003cbr\u003e 3. Types of API Testing\u003cbr\u003e 4. Advantages\u003c\/p\u003e  Chapter 2: Software Application  \u003cp\u003e\u003cb\u003eChapter Goal: Gain knowledge about software web application standards which involves APIs\u003c\/b\u003e\u003c\/p\u003e  \u003cp\u003eNo of pages: -\u003cb\u003e\u003c\/b\u003e\u003c\/p\u003e  \u003cp\u003e\u003cb\u003eSub - Topics\u003c\/b\u003e   \u003c\/p\u003e  \u003cp\u003e1.     REST Client\/Server Architecture\u003c\/p\u003e  \u003cp\u003e2.     Monolithic Vs. Microservices based web application\u003c\/p\u003e  \u003cp\u003e3.     HTTP(s)\u003c\/p\u003e  \u003cp\u003e4.     Header(s)\u003c\/p\u003e  \u003cp\u003e5.     Request \/ Response\u003c\/p\u003e  \u003cp\u003e6.     Response Codes\u003c\/p\u003e  Chapter 3: Authentication \u003cp\u003e\u003cb\u003eChapter Goal: Standard authentication used in industry\u003c\/b\u003e\u003c\/p\u003e  \u003cp\u003eNo of pages : -\u003cb\u003e\u003c\/b\u003e\u003c\/p\u003e  \u003cp\u003e\u003cb\u003eSub - Topics:\u003c\/b\u003e  \u003c\/p\u003e  \u003cp\u003e1.     Basic Authentication\u003c\/p\u003e  \u003cp\u003e2.     Session Based Authentication\u003c\/p\u003e  \u003cp\u003e3.     Token \/ JWT Based Authentication\u003c\/p\u003e  \u003cp\u003e4.     OAuth2 Based Authentication\u003c\/p\u003e  Chapter 4: Tools \u003cp\u003e\u003cb\u003eChapter Goal: Understanding of Tools used for doing API Testing\u003c\/b\u003e\u003c\/p\u003e  \u003cp\u003e\u003cb\u003eNo of pages\u003c\/b\u003e: -\u003c\/p\u003e  \u003cp\u003e\u003cb\u003eSub - Topics: \u003c\/b\u003e\u003c\/p\u003e  \u003cp\u003e1.     Postman\u003c\/p\u003e  2.     CURL\u003cp\u003e\u003c\/p\u003e  \u003cp\u003e3.     RestAssured\u003c\/p\u003e  \u003cp\u003e4.     TestNG\u003c\/p\u003e  \u003cp\u003e5.     Log4j\u003c\/p\u003e  \u003cp\u003e6.     Java - Spring Boot\u003c\/p\u003e  Chapter 5: Test Pyramid \u003cp\u003e\u003cb\u003eChapter Goal: Testing types and hierarchy of each type\u003c\/b\u003e\u003c\/p\u003e  \u003cp\u003e\u003cb\u003eNo of pages\u003c\/b\u003e: -\u003c\/p\u003e  \u003cp\u003e\u003cb\u003eSub - Topics: \u003c\/b\u003e\u003c\/p\u003e  \u003cp\u003e1.     Black Box Testing\u003c\/p\u003e  \u003cp\u003e2.     Grey Box Testing\u003c\/p\u003e  \u003cp\u003e3.     Unit Testing\u003c\/p\u003e  \u003cp\u003e4.     Components of Test Pyramid\u003c\/p\u003e  Chapter 6: Testing The API \u003cp\u003e·       \u003cb\u003eChapter Goal: API Testing Paradigm (Internal\/External APIs., CDCT)\u003c\/b\u003e\u003c\/p\u003e  \u003cp\u003e\u003cb\u003eNo of pages\u003c\/b\u003e: -\u003c\/p\u003e  \u003cp\u003e\u003cb\u003eSub - Topics: \u003c\/b\u003e  \u003cb\u003e\u003c\/b\u003e\u003c\/p\u003e  \u003cp\u003e1.       Manual Test Script\/ Workflows\/ Use Cases\u003c\/p\u003e  \u003cp\u003e2.       What to Test\u003c\/p\u003e  \u003cp\u003ea.       Schema\u003c\/p\u003e  \u003cp\u003eb.       Data\u003c\/p\u003e  \u003cp\u003ec.       Data Type\u003c\/p\u003e  \u003cp\u003e3.       Coverage Good \/ Bad\u003c\/p\u003e  \u003cp\u003e4.       Headers Testing\u003c\/p\u003e  \u003cp\u003ea.       Request Header\u003c\/p\u003e  \u003cp\u003e                                                               i.      Correct Header\u003c\/p\u003e  \u003cp\u003e                                                             ii.      Missing Header\u003c\/p\u003e  \u003cp\u003e                                                           iii.      Incorrect Header\u003c\/p\u003e  \u003cp\u003e                                                           iv.      Unsupported Type\u003c\/p\u003e  \u003cp\u003eb.       Response Header\u003c\/p\u003e  \u003cp\u003e                                                               i.      Supported Type\u003c\/p\u003e  \u003cp\u003e                                                             ii.      Header Response\u003c\/p\u003e  \u003cp\u003e                                                           iii.      Response Codes\u003c\/p\u003e  \u003cp\u003e5.       Request Body\u003c\/p\u003e  \u003cp\u003ea.       Format Unsupported\u003c\/p\u003e  \u003cp\u003eb.       Special Characters\u003c\/p\u003e  \u003cp\u003ec.       Too long String\u003c\/p\u003e  \u003cp\u003ed.       Invalid value\u003c\/p\u003e  \u003cp\u003ee.       Wrong data type\u003c\/p\u003e  \u003cp\u003ef.        Empty data\/object\u003c\/p\u003e  \u003cp\u003eg.       Required fields\u003c\/p\u003e  \u003cp\u003eh.       Null\u003c\/p\u003e  \u003cp\u003ei.         Redundant fields\u003c\/p\u003e  \u003cp\u003ej.         DELETE already deleted entity\u003c\/p\u003e  \u003cp\u003ek.       Use PUT in place of POST etc.\u003c\/p\u003e  \u003cp\u003e6.       Response Body\u003c\/p\u003e  \u003cp\u003ea.       Actual Data vs. Expected Data\u003c\/p\u003e  \u003cp\u003eb.       Limit\u003c\/p\u003e  \u003cp\u003e7.       Internal vs. External APIs\u003c\/p\u003e  8.       CDCT – Consumer Driver Contract Testing\u003cp\u003e\u003c\/p\u003e  \u003cp\u003e9.       Risk\u003c\/p\u003e  \u003cp\u003ea.       Importance of Negative Testing\u003c\/p\u003e  Chapter 7: A Good Test Script \u003cp\u003e\u003cb\u003eChapter Goal: Properties of a Good test script\u003c\/b\u003e\u003c\/p\u003e  \u003cp\u003e\u003cb\u003eNo of pages\u003c\/b\u003e: -\u003c\/p\u003e  \u003cp\u003e\u003cb\u003eSub - Topics: \u003c\/b\u003e  \u003cb\u003e\u003c\/b\u003e\u003c\/p\u003e  \u003cp\u003e1.       Components of a Good Test Script\u003c\/p\u003e  \u003cp\u003e2.       Example\u003c\/p\u003e  \u003cp\u003e \u003c\/p\u003e  Chapter 8: Coding Guidelines \u003cp\u003eChapter Goal: Using standard coding guidelines for better test management and review.\u003c\/p\u003e  \u003cp\u003e\u003cb\u003eNo of pages\u003c\/b\u003e: -\u003c\/p\u003e  \u003cp\u003e\u003cb\u003eSub - Topics: \u003c\/b\u003e  \u003cb\u003e\u003c\/b\u003e\u003c\/p\u003e  \u003cp\u003e1.       Google Best Practices\u003c\/p\u003e  \u003cp\u003e2.       Test Naming Conventions\u003c\/p\u003e  \u003cp\u003e3.       Method Naming Convention\u003c\/p\u003e  \u003cp\u003e4.       Others\u003c\/p\u003e  Chapter 9: Organize Test Framework \u003cp\u003e\u003cb\u003eChapter Goal: Organize a test framework in a way that is usable across any team \/ project\u003c\/b\u003e\u003c\/p\u003e  \u003cp\u003e\u003cb\u003eNo of pages\u003c\/b\u003e: -\u003c\/p\u003e  \u003cp\u003e\u003cb\u003eSub - Topics: \u003c\/b\u003e  \u003cb\u003e\u003c\/b\u003e\u003c\/p\u003e  \u003cp\u003e1.       Maven Project\u003c\/p\u003e  \u003cp\u003e2.       Dependencies\u003c\/p\u003e  3.       Spring Boot\u003cp\u003e\u003c\/p\u003e  \u003cp\u003e4.       Properties File\/Environment Based\u003c\/p\u003e  \u003cp\u003e5.       End Points\u003c\/p\u003e  \u003cp\u003e6.       Authentication\u003c\/p\u003e  \u003cp\u003e7.       Request\u003c\/p\u003e  \u003cp\u003e8.       Response\u003c\/p\u003e  \u003cp\u003e9.       Test Data\u003c\/p\u003e  \u003cp\u003ea.       JSON\u003c\/p\u003e  \u003cp\u003eb.       File\u003c\/p\u003e  \u003cp\u003ec.       HashMap\u003c\/p\u003e  d.       TestNG data provider\u003cp\u003e\u003c\/p\u003e  \u003cp\u003e10.   Logging\u003c\/p\u003e  Chapter 10: First Test \u003cp\u003e\u003cb\u003eChapter Goal: Write first test to get a feel of API testing\u003c\/b\u003e\u003c\/p\u003e  \u003cp\u003eNo of pages: -\u003c\/p\u003e  \u003cp\u003e\u003cb\u003eSub - Topics: \u003c\/b\u003e  \u003cb\u003e\u003c\/b\u003e\u003c\/p\u003e  \u003cp\u003e1.       Developing First Test\u003c\/p\u003e  \u003cp\u003e2.       Executing First Test\u003c\/p\u003e  \u003cp\u003e3.       Check Results\u003c\/p\u003e  \u003cp\u003e4.       Check Logging\u003c\/p\u003e  \u003cp\u003e \u003c\/p\u003e  Chapter 11: API Documentation \u003cp\u003e\u003cb\u003eChapter Goal: API documentation is a mandatory requirement for writing API tests, swagger is the tool that is being used, we will see how to read the swagger API documentation for better understanding on the End Points.\u003c\/b\u003e\u003c\/p\u003e  \u003cp\u003e\u003cb\u003eNo of pages\u003c\/b\u003e: -\u003c\/p\u003e  \u003cp\u003e\u003cb\u003eSub - Topics: \u003c\/b\u003e  \u003cb\u003e\u003c\/b\u003e\u003c\/p\u003e  \u003cp\u003e1.       Swagger\u003c\/p\u003e  \u003cp\u003e2.       Why We Need API Documentation\u003c\/p\u003e  \u003cp\u003e3.       Understanding the API Documentation\u003c\/p\u003e  \u003cp\u003e \u003c\/p\u003e  Chapter 12: Case Study – Shopping Cart APIs \u003cp\u003e\u003cb\u003eChapter Goal: A Sample application is used to demonstrate the industrial way of doing API testing, this is an equivalent to a workshop on doing API testing.\u003c\/b\u003e\u003c\/p\u003e  \u003cb\u003eNo of pages\u003c\/b\u003e: -\u003cp\u003e\u003c\/p\u003e  \u003cp\u003e\u003cb\u003eSub - Topics: \u003c\/b\u003e  \u003cb\u003e\u003c\/b\u003e\u003c\/p\u003e  \u003cp\u003e1.       Setting Up Application\u003c\/p\u003e  \u003cp\u003e2.       Goal Setting\u003c\/p\u003e  \u003cp\u003e3.       Test Environment (Docker Container)\u003c\/p\u003e  \u003cp\u003e4.       Test Data Preparation\u003c\/p\u003e  \u003cp\u003e5.       Agile Testing\u003c\/p\u003e  \u003cp\u003e6.       Shopping Cart API End Points\u003c\/p\u003e  \u003cp\u003e7.       Understanding Business Requirements\u003c\/p\u003e  \u003cp\u003e8.       Manual Tests Scripts\u003c\/p\u003e  \u003cp\u003e9.       Implementing Test Framework\u003c\/p\u003e  \u003cp\u003e10.   Writing Test\u003c\/p\u003e  \u003cp\u003e11.   Test Suite\u003c\/p\u003e  12.   Execution\u003cp\u003e\u003c\/p\u003e  \u003cp\u003e13.   Results\u003c\/p\u003e  \u003cp\u003e14.   Utilities \u003c\/p\u003e  \u003cp\u003e \u003c\/p\u003e","brand":"APress","offers":[{"title":"Default Title","offer_id":51040560742743,"sku":"9781484281413","price":42.49,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0817\/1739\/5799\/files\/9781484281413.jpg?v=1750947118","url":"https:\/\/bookcurl.com\/products\/learn-api-testing-9781484281413","provider":"Book Curl","version":"1.0","type":"link"}