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
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Related

  • How Agentic AI Enhances API Testing
  • API Testing With Playwright: A Guide for QA Engineers and Developers
  • Get Some Rest! A Full API Stack
  • Architecting a Comprehensive Testing Framework for API and UI Testing

Trending

  • Ujorm3: A New Lightweight ORM for JavaBeans and Records
  • When Snowflake Lies to You: Understanding False Failures in dbt Pipelines
  • Using LLMs to Automate Data Cleaning and Transformation Pipelines
  • Offline-First Patch Management for 10,000 Edge Nodes: A Practical Architecture That Scales
  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
5.0K 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

  • How Agentic AI Enhances API Testing
  • API Testing With Playwright: A Guide for QA Engineers and Developers
  • Get Some Rest! A Full API Stack
  • Architecting a Comprehensive Testing Framework for API and UI Testing

Partner Resources

×

Comments

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

  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

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 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook