DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Please enter at least three characters to search
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Zones

Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Last call! Secure your stack and shape the future! Help dev teams across the globe navigate their software supply chain security challenges.

Modernize your data layer. Learn how to design cloud-native database architectures to meet the evolving demands of AI and GenAI workloads.

Releasing software shouldn't be stressful or risky. Learn how to leverage progressive delivery techniques to ensure safer deployments.

Avoid machine learning mistakes and boost model performance! Discover key ML patterns, anti-patterns, data strategies, and more.

Related

  • Get Some Rest! A Full API Stack
  • Architecting a Comprehensive Testing Framework for API and UI Testing
  • Navigating Challenges in Online Banking API Testing
  • The Next Evolution of Java: Faster Innovation, Simpler Adoption

Trending

  • Build Your First AI Model in Python: A Beginner's Guide (1 of 3)
  • A Deep Dive Into Firmware Over the Air for IoT Devices
  • MySQL to PostgreSQL Database Migration: A Practical Case Study
  • Understanding and Mitigating IP Spoofing Attacks
  1. DZone
  2. Software Design and Architecture
  3. Integration
  4. Assertible: API Testing and Monitoring (Part 1)

Assertible: API Testing and Monitoring (Part 1)

This article covers API testing and monitoring using Assertible. Assertible is designed to help developers and teams automate the testing and monitoring of API services.

By 
nikhil patil user avatar
nikhil patil
·
Jun. 09, 23 · Analysis
Likes (2)
Comment
Save
Tweet
Share
4.1K Views

Join the DZone community and get the full member experience.

Join For Free

Working in the API testing domain for quite a while now; recently, I came across a SAAS-based API testing and monitoring tool — Assertible.

Assertible is designed to help developers and teams automate the testing and monitoring of API services. It allows teams to create and manage API tests, set up assertions to validate the response data and metadata like headers and monitor the performance and uptime of your APIs into various environment setups.

Below I have listed some major tasks Assertible can help us automate.

API Testing: Create tests for APIs by specifying request details such as URLs, headers, and parameters.

Test Assertions: One can add assertions to validate the response data returned by your APIs. Assertible supports various types of assertions, including HTTP status code validation, JSON schema validation, and content matching.

Continuous Integration: Assertible integrates with CI/CD tools such as Jenkins, Travis CI, and CircleCI. Allowing one to incorporate API testing into your CI/CD pipelines and automatically run tests whenever changes are detected in APIs.

Performance Monitoring: Assertible provides performance monitoring capabilities to track the response times and uptime of your APIs. One can set up scheduled checks to monitor the performance of your APIs at regular intervals and receive notifications if any issues are detected.

Test Environments: Create multiple test environments in Assertible to simulate multiple scenarios and configurations. This feature is particularly useful for testing APIs in various environments like staging, production, or development.

Collaborative Workflow: Assertible supports team collaboration by allowing multiple team members to work together on tests and share test results. One can also integrate Assertible with Slack and other collaboration tools to receive notifications and share test results with your team.

Webhook Testing: Assertible allows you to test webhooks by creating tests that simulate webhook events. One can inspect and validate the payload received from the webhook to ensure that it matches your expectations.

Testing in Assertible

  • New services can be created for API services or web applications.
  • Services can be added using the below options.
    1. Enter a URL
    2. Import a swagger /Open APISpec
    3. Import a Postman collection.
    4. Enter a cURL command.
  • When a service is created, assertible creates one default test case with the GET method to validate response status code 200.
  • Service Configuration menu options
    1. Overview: displays overall service execution and health
    2. Tests: lists all test cases created for the service
    3. Results: tracks and display all test suites executions
    4. Monitoring: configure monitoring schedules
    5. Deployments: tracks deployments and GIT status checks
    6. Settings: configures web service
  • Test Case Configuration
    1. Request: allows configuration of request including authentication, request body, and parameters
    2. Setups: allows creating setup steps to be executed before the request
    3. Teardowns: post-test case execution steps can be configured
    4. Assertions: HTTP assertion configuration.
    5. Settings: manages trigger URL and integrations

Graphical user interface

API Monitoring in Assertible

  1. API monitoring plays a critical role in ensuring API health and availability during the testing or production phase.
  2. Assertible offers no code single-click monitoring making it possible to start monitoring in minutes.
  3. Navigate to the monitoring section to define schedules for monitoring, which can be of one, five, fifteen, thirty minutes, or hourly or daily frequency.
  4. Accessible allows you to create multiple monitoring schedules as per project requirements.
  5. Each schedule can be tagged for the same or different environment setups.
  6. Once created monitoring schedule is triggered as per specified timelines and all specified test cases are executed, and results are stored and displayed in the dashboard.
  7. Multiple environments can be created in the setting section of the web service as per requirements.
  8. Each environment can be configured individually with its own auth types and headers.
  9. Together multiple environments and multiple schedule setup enables testers to create continuous monitoring of web service performance.
API API testing

Opinions expressed by DZone contributors are their own.

Related

  • Get Some Rest! A Full API Stack
  • Architecting a Comprehensive Testing Framework for API and UI Testing
  • Navigating Challenges in Online Banking API Testing
  • The Next Evolution of Java: Faster Innovation, Simpler Adoption

Partner Resources

×

Comments
Oops! Something Went Wrong

The likes didn't load as expected. Please refresh the page and try again.

ABOUT US

  • About DZone
  • Support and feedback
  • Community research
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends:

Likes
There are no likes...yet! 👀
Be the first to like this post!
It looks like you're not logged in.
Sign in to see who liked this post!