ورود به حساب

نام کاربری گذرواژه

گذرواژه را فراموش کردید؟ کلیک کنید

حساب کاربری ندارید؟ ساخت حساب

ساخت حساب کاربری

نام نام کاربری ایمیل شماره موبایل گذرواژه

برای ارتباط با ما می توانید از طریق شماره موبایل زیر از طریق تماس و پیامک با ما در ارتباط باشید


09117307688
09117179751

در صورت عدم پاسخ گویی از طریق پیامک با پشتیبان در ارتباط باشید

دسترسی نامحدود

برای کاربرانی که ثبت نام کرده اند

ضمانت بازگشت وجه

درصورت عدم همخوانی توضیحات با کتاب

پشتیبانی

از ساعت 7 صبح تا 10 شب

دانلود کتاب Writing API Tests with Karate: Enhance your API testing for improved security and performance

دانلود کتاب نوشتن تست های API با کاراته: تست API خود را برای بهبود امنیت و عملکرد بهبود بخشید

Writing API Tests with Karate: Enhance your API testing for improved security and performance

مشخصات کتاب

Writing API Tests with Karate: Enhance your API testing for improved security and performance

ویرایش:  
نویسندگان:   
سری:  
ISBN (شابک) : 9781837638260 
ناشر: Packt Publishing Pvt Ltd 
سال نشر: 2023 
تعداد صفحات: 326 
زبان: English 
فرمت فایل : EPUB (درصورت درخواست کاربر به PDF، EPUB یا AZW3 تبدیل می شود) 
حجم فایل: 10 Mb 

قیمت کتاب (تومان) : 37,000



ثبت امتیاز به این کتاب

میانگین امتیاز به این کتاب :
       تعداد امتیاز دهندگان : 10


در صورت تبدیل فایل کتاب Writing API Tests with Karate: Enhance your API testing for improved security and performance به فرمت های PDF، EPUB، AZW3، MOBI و یا DJVU می توانید به پشتیبان اطلاع دهید تا فایل مورد نظر را تبدیل نمایند.

توجه داشته باشید کتاب نوشتن تست های API با کاراته: تست API خود را برای بهبود امنیت و عملکرد بهبود بخشید نسخه زبان اصلی می باشد و کتاب ترجمه شده به فارسی نمی باشد. وبسایت اینترنشنال لایبرری ارائه دهنده کتاب های زبان اصلی می باشد و هیچ گونه کتاب ترجمه شده یا نوشته شده به فارسی را ارائه نمی دهد.


توضیحاتی در مورد کتاب نوشتن تست های API با کاراته: تست API خود را برای بهبود امنیت و عملکرد بهبود بخشید

با این راهنمای جامع برای راه‌اندازی، نوشتن، اجرا، بهینه‌سازی و گزارش نتایج آزمون بدون زحمت، پتانسیل کامل کاراته را باز کنید. خرید کتاب چاپی یا Kindle شامل یک کتاب الکترونیکی PDF رایگان است. ویژگی‌های کلیدی: قابلیت‌های چارچوب کاراته را برای آزمایش مؤثر نرم‌افزار کاوش کنید. بیاموزید چگونه تست های کاراته را در پروژه ها و خطوط لوله CI/CD ادغام کنید. ماژول های کمتر شناخته شده کاراته مانند Karate UI و Karate Gatling شرح کتاب: نرم افزار در سال های اخیر از سیستم های متمرکز و یکپارچه ها دور شده و به اجزای کوچکتر و مقیاس پذیری که با هر یک ارتباط برقرار می کنند، رفته است. دیگر از طریق API ها آزمایش این رابط های ارتباطی برای اطمینان از امنیت، عملکرد و توسعه پذیری نرم افزار اهمیت فزاینده ای پیدا می کند. یک ابزار قدرتمند برای دستیابی به برنامه های کاربردی ایمن و قوی، کاراته است، یک چارچوب تست نرم افزار با استفاده آسان و قدرتمند. در این کتاب، شما با ماژول های مختلف کاراته کار خواهید کرد تا راه حل های مناسب برای چالش های تست مدرن را به دست آورید. شما آزمایش رابط، تست رابط کاربری و همچنین تست عملکرد را بررسی خواهید کرد. تا پایان این کتاب، می‌توانید از چارچوب کاراته در چرخه عمر توسعه نرم‌افزار خود استفاده کنید تا APIها و برنامه‌های کاربردی خود را قوی و قابل اعتماد کنید. آنچه خواهید آموخت: مفاهیم اولیه کاراته و عملکرد آن را درک کنید و از آن به طور موثر برای رفع نیازهای آزمایشی خود استفاده کنید کاراته را گسترش دهید و عملکرد آن را برای موارد استفاده خود سفارشی کنید روش های مختلف تست و موارد استفاده آنها را کاوش کنید تست های خود را برای بررسی توسعه نرم افزار انجام دهید. lifecycle درباره رابط کاربری کاراته و رویکردهای تست عملکرد بیشتر بدانید این کتاب برای چه کسانی است: این کتاب برای مهندسین QA و توسعه دهندگانی است که با API ها آشنا هستند و می خواهند با استفاده از تست های خودکار با کمک آنها را ایمن تر و ایمن تر کنند. یک چارچوب سبک وزن و مدرن - کاراته.


توضیحاتی درمورد کتاب به خارجی

Unlock the full potential of Karate with this comprehensive guide to effortlessly setup, write, run, optimize, and report test results Purchase of the print or Kindle book includes a free PDF eBook Key Features: Explore the capabilities of the Karate framework for effective software testing Learn how to integrate Karate tests into projects and CI/CD pipelines Explore lesser-known Karate modules such as Karate UI and Karate Gatling Book Description: Software in recent years is moving away from centralized systems and monoliths to smaller, scalable components that communicate with each other through APIs. Testing these communication interfaces is becoming increasingly important to ensure the security, performance, and extensibility of the software. A powerful tool to achieve safe and robust applications is Karate, an easy-to-use, and powerful software testing framework. In this book, you\'ll work with different modules of karate to get tailored solutions for modern test challenges. You\'ll be exploring interface testing, UI testing as well as performance testing. By the end of this book, you\'ll be able to use the Karate framework in your software development lifecycle to make your APIs and applications robust and trustworthy. What You Will Learn: Understand the basic concepts of Karate and its functionality Integrate and use it effectively to solve your testing needs Extend Karate and customize its functionality for your use cases Explore different testing methods and their use cases Run your tests to check the software development lifecycle Get to know more about Karate\'s UI and performance test approaches Who this book is for: This book is for QA engineers and developers who are familiar with APIs and want to make them safer and more secure by applying automated tests with the help of a lightweight and modern framework - Karate.



فهرست مطالب

Preface
 Part 1: Karate Basics
 1
 Introducing Karate’s Core Concepts
 Technical requirements
 What makes Karate stand out?
 Discovering Karate’s strong points
 Core features
 BDD versus Karate
 What is BDD?
 Glue code
 The Karate way
 Supported data types in Karate
 JSON
 GraphQL
 XML
 YAML
 CSV
 Other text-based formats
 Binary formats
 The JavaScript engine
 Java interoperability
 Summary
 2
 Setting up Your Karate Project
 Technical requirements
 Installing Java
 Setting the JAVA_HOME environment variable
 Getting to know Karate standalone
 Preparing the IDE
 Setting up Visual Studio Code
Setting up IntelliJ IDEA
 Importing the example project
 Setting up Karate projects with Maven
 What is Maven?
 Installing Maven
 Adding Maven to the PATH variable
 Setting up a Karate project with the Maven archetype
 The roles of the different Karate project files
 Summary
 3
 Writing Basic Karate Tests
 Technical requirements
 Exploring the API under test
 The JSONPlaceholder API
 Creating a new Karate project
 Adding a new feature file
 Configuring test runs
 Adding a scenario
 Calling endpoints and setting parameters
 Setting a URL
 Specifying the HTTP method
 Separating the base URL from the path
 Setting query parameters
 Matching status codes and responses
 Matching the status code and type
 Making the test fail
 Using assertions and matchers on the response
 Exploring the response variable
 Handling nested JSON elements
 Asserting the number of elements with the length property
 Using matchers
 Making requests with payloads
 Using variables and data tables
 Using variables
 Using data tables
 Using a set
 Summary
Running Karate Tests
 Technical requirements
 Running and debugging Karate tests through the IDE
 Running via CodeLens and the Karate CLI
 Debugging via CodeLens and Karate standalone
 Using the debug server
 Running tests with Maven
 Understanding Karate runners
 Running tests against different environments
 Using a custom property in a feature file
 Using Karate’s environment property
 Setting up karate-config.js
 Running specific tests
 Running specific runner class methods
 Running specific scenarios
 Filtering tests by tags
 Summary
 5
 Reporting and Logging
 Technical requirements
 Configuring log options
 Understanding log levels
 Changing the log level
 Suppressing print
 Using Karate’s built-in reports
 The different report pages
 Preserving old reports
 Deciding what to report
 Configuring third-party report libraries
 Setting the appropriate Karate options
 Using Cluecumber as a Maven plugin
 Technical requirements
 Using Cluecumber from a Karate runner
 Generating a Surefire report
 Surefire XML
 Using JUnit reports
Summary
 Part 2: Advanced Karate Functionalities
 6
 More Advanced Karate Features
 Technical requirements
 Working with headers and cookies
 More about headers
 Setting headers
 More about cookies
 Using different configuration and run options
 Using the karate object for configuration and execution
 Request retries
 Using advanced tags
 Defining and using expressions with def
 Defining inline methods
 Using embedded expressions with JSON
 Using embedded expressions with XML
 Working with external files
 Understanding JSONPath and XPath
 Testing GraphQL
 Understanding GraphQL requests
 Exploring the mock API
 Using GraphQL in Karate
 Collecting data into a new array
 Summary
 7
 Customizing and Optimizing Karate Tests
 Technical requirements
 Using Karate hooks
 Implementing a new hook class
 Overriding handler methods
 Registering a hook class in the runner
 Running a test using the hook class
 Defining hooks inside feature files
 Defining and calling Java functions
Understanding the basics
 Working with databases
 Using Karate as a mock server
 Authoring a mock scenario
 Firing up the mock server from within a test
 Using a standalone mock server
 Making your tests more concise
 Reducing code by calling other feature files
 Data-driven tests with scenario outline
 Avoiding code duplication with background scenarios
 Summary
 8
 Karate in Docker and CI/CD pipelines
 Technical requirements
 Triggering Karate tests from shell scripts
 Creating a batch script for Windows
 Creating a Bash script
 Running Karate tests in a Docker container
 Understanding Docker
 Installing Docker
 Starting and verifying a Docker installation
 Downloading a Docker image
 Running a Maven command in a Maven Docker container
 Running Karate tests inside a Maven Docker container
 Running our shell script inside Docker
 Customizing our tests
 Passing database credentials as system properties
 Using the system properties in the database connection class
 Passing parameters from Docker
 Environment variables
 Integrating Karate tests into GitHub workflows
 Understanding GitHub workflows
 Managing secrets
 Adding a GitHub workflow to a repository
 Setting up the Docker-based GitHub workflow
 Using Karate in a GitHub workflow without Docker
 Summary
9
 Karate UI for Browser Testing
 Technical requirements
 What Karate UI is for
 Related testing capabilities
 Writing a basic Chrome scenario
 Opening a website in Chrome
 Finding and interacting with elements
 Understanding locators
 Knowing the different kinds of locators
 Determining element locators
 Interacting with elements
 Using interactions in a test scenario
 Making web element assertions
 Making web element list assertions
 Debugging UI tests
 Taking screenshots
 Highlighting elements
 Exporting PDFs
 Using the debugger
 Using karate.stop to pause execution
 Redirecting HTTP calls
 Investigating API requests
 Adding a mock response
 Configuring the mock
 Using the mock in a test
 Summary
 10
 Performance Testing with Karate Gatling
 Technical requirements
 Creating the test scenario
 What is Gatling?
 Setting up Karate Gatling
 Setting up Scala in VS Code
 Creating Maven profiles
 Running Karate tests as performance tests
Creating a simulation
 Running the simulation
 Using tags
 Testing different simulations
 Gatling assertions
 Checking out Gatling reports
 Summary
 Index
 Other Books You May Enjoy




نظرات کاربران