Course Category: Software Testing
Course Duration: 4 Days
Hours: 28 Contact Hours

Select your country

Select your country to access the registration page

Malaysia

Register Now

Duration: 4 Days
Timing: 9 AM to 5 PM Malaysia Time

Philippines

Register Now

Duration: 4 Days
Timing: 9 AM to 5 PM Philippine Time

Singapore

Register Now

Duration: Duration: 4 Days
Timing: 9 AM to 5 PM Singapore Time

All Other Locations

Register Now

Duration: 4 Days
Timing: 9 AM to 5 PM Philippines/Singapore/Hong Kong Time

Course Introduction

Rest-Assured and Karate are free and open-source libraries for Web API (Application Programming Interface) Testing. With an easy-to-use interface, and powerful features, they allow users to easily create and execute automated functional and regression tests combined with Junit at a rapid speed. Karate even allows non-technical users to write test cases in English. By attending this four-day workshop, the participants will learn how to test API with Rest-Assured and Karate by writing relatively simple Java code and structured English respectively.

The course covers in-depth introduction of HTTP, REST, SOAP, Microservices and MACH. Program includes demos and hands-on. The course enables participants to use it to test on static and dynamic web resources.

Audience

Participants must be proficient software testers who aspire to use Rest Assured or Karate to efficiently conduct web API testing.

Software Requirement

JDK8+ with IDE with Rest Assured and Karate

Prerequisites

Participants must have a practitioner experience with manual web testing and a beginner level Java knowledge.

Exclusions

SDLC, Advanced Protocol Details and anything not mentioned.

Course Outline

Web Fundamentals

  • History
  • Installation
  • Capabalities
  • Inteface surface
  • Testing Fundamentals
  • Types of test
  • How to find Test Cases?
  • Good Tests
  • Bad Tests
  • Role of Rest Assured
  • Role of Karate
  • HTTP
    • Request
    • Response
    • Status
    • Methods
    • Headers
    • Cookies
  • HTTP Clients
    • HTML, CSS and JS
    • Headless – Json, Xml
  • Text & RegEx
  • XML & Xpath
  • Json & JsonPath

Fundamentals

  • SOA and Micro-Services
  • MACH Architecture
    • Microservices
    • API first
    • Cloud native
    • Headless
  • REST
    • Methods
    • URL, URN, URI
    • Parameters
  • WADL
  • SOAP
  • WSDL
  • OpenApi and Swagger
  • JUnit
    • History
    • AAAC
    • Annotations
    • Initialization
    • Cleanup
    • Exceptions
    • Assertions
    • Fluent systax using Hamcrest
    • Data driven testing
    • Extension

Course Outline

Rest Assured

  • Installation
  • Simple usage
  • Various assertions
    • Status
    • Header
    • Body
  • Handling
    • Url
    • Code and Body
    • Query parameters
    • Path parameters
    • Data
    • Headers
    • Cookies
    • Form Data
    • Files
    • Xml
    • Json
  • Specification
    • Request
    • Response
  • Mesauring time
  • Authentication
    • Basic
    • Form based
    • OAuth
    • CSRF
  • Serialization
  • Object mapping
  • Logging
  • Filtering
  • SSL
  • Cofiguration
  • Example of Live Api

Karate

  • Installation
  • Simple usage
  • Running Tests
  • Reports
  • Types
    • JSON
    • XML
  • Gherkin like DSL Syntax
    • Variables
    • Actions
    • Http
    • Request
    • Response
    • Assert
  • Reuse
  • Polling
  • Conditional Logic
  • Hooks
  • Transforms
  • Loops
  • Authentication
  • Mocking
  • Compare with Rest Assured

Course Category: Software Testing
Course Duration: 4 Days
Hours: 28 Contact Hours