Curso Insomnia Fundamentals

  • DevOps | CI | CD | Kubernetes | Web3

Curso Insomnia Fundamentals

8 horas
Visão Geral

O curso Insomnia Fundamentals apresenta aos participantes os conceitos essenciais e as habilidades práticas necessárias para testar e interagir com APIs RESTful e GraphQL utilizando a ferramenta Insomnia.

Por meio de uma abordagem prática, o participante aprenderá a criar, enviar e gerenciar requisições de API de forma eficiente, explorando as principais funcionalidades da ferramenta. Além disso, o curso aborda o uso de variáveis, ambientes, autenticação e documentação automática, ajudando desenvolvedores, testadores e profissionais de DevOps a otimizarem seus fluxos de trabalho com APIs.

Objetivo

Após realizar o Curso Insomnia Fundamentals, você será capaz de:

  • Entender o papel do Insomnia no desenvolvimento e teste de APIs.
  • Configurar e enviar diferentes tipos de requisições HTTP (GET, POST, PUT, DELETE, PATCH).
  • Gerenciar ambientes e variáveis para testes em múltiplos estágios.
  • Autenticar e proteger requisições de API com tokens e credenciais.
  • Automatizar fluxos simples com scripts de pré-requisição e pós-resposta.
  • Gerar e compartilhar documentação de APIs diretamente no Insomnia.
Publico Alvo
  • Desenvolvedores que trabalham com APIs REST ou GraphQL.
  • Profissionais de QA e testadores de software focados em validação de APIs.
  • Profissionais de DevOps que desejam integrar testes de API em pipelines de CI/CD.
  • Estudantes e iniciantes que desejam aprender uma ferramenta moderna de teste de APIs.
Pre-Requisitos
  • Conhecimento básico de conceitos de API e métodos HTTP.
  • Noções de JSON e desenvolvimento web.
  • Computador com o Insomnia instalado (versão mais recente).
Materiais
Inglês + Exercícios + Lab Pratico
Conteúdo Programatico

Module 1: Introduction to API Testing

  1. Understanding APIs: REST and GraphQL overview
  2. HTTP methods and status codes
  3. Key components of an API request and response
  4. Comparing popular API tools: Insomnia vs. Postman

Module 2: Getting Started with Insomnia

  1. Installing and configuring Insomnia
  2. Exploring the user interface
  3. Creating workspaces and projects
  4. Managing requests and collections

Module 3: Working with REST APIs

  1. Sending GET, POST, PUT, PATCH, and DELETE requests
  2. Adding headers and parameters
  3. Sending JSON data in the request body
  4. Handling API responses and status codes

Module 4: Authentication and Security

  1. Basic Authentication
  2. Bearer Tokens and API Keys
  3. OAuth 2.0 Authentication setup
  4. Managing credentials securely

Module 5: Environments and Variables

  1. Creating environments for development, testing, and production
  2. Using environment and global variables
  3. Dynamic values and secret management

Module 6: Working with GraphQL APIs

  1. Understanding GraphQL basics (queries and mutations)
  2. Creating and testing GraphQL requests in Insomnia
  3. Using variables in GraphQL queries

Module 7: Automation and Scripting

  1. Pre-request and post-response scripts
  2. Inserting dynamic timestamps, tokens, and random data
  3. Introduction to automating repetitive API tests

Module 8: Documentation and Collaboration

  1. Exporting and sharing collections
  2. Generating API documentation automatically
  3. Collaboration features for teams
  4. Best practices for organizing Insomnia projects

Module 9: Practical Exercises

  1. Testing public APIs (GitHub API, OpenWeather API, etc.)
  2. Debugging failed requests
  3. Building a complete workflow from request to documentation
TENHO INTERESSE

Cursos Relacionados

Curso Ansible Red Hat Basics Automation Technical Foundation

16 horas

Curso Terraform Deploying to Oracle Cloud Infrastructure

24 Horas

Curso Ansible Linux Automation with Ansible

24 horas

Ansible Overview of Ansible architecture

16h

Advanced Automation: Ansible Best Practices

32h