simple-assertions

Validate HTTP response data against assertion tables using JSONPath and XPath.

Updated Apr 7, 2026
One-click install
npx skills add https://github.com/VoidenHQ/core-plugins --skill simple-assertions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: simple-assertions
Source: https://github.com/VoidenHQ/core-plugins/tree/main/src/simple-assertions
Command: npx skills add https://github.com/VoidenHQ/core-plugins --skill simple-assertions

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill allows users to easily validate HTTP response data, ensuring APIs return expected results, thereby reducing manual testing and speeding up the debugging process.

Core Features & Use Cases

  • Assertion Testing: Perform automated checks against HTTP response data.
  • JSONPath, XPath, and Field Selection: Offers support for various fields and methods to test response data.
  • Use Case: When testing an API endpoint, users can quickly insert an assertion table, specify conditions like status codes, response fields, and expected values, and immediately get results to verify if the API is functioning as expected.

Quick Start

Use the simple-assertions skill to check the status code of the current request is 200 and the response body contains 'success'.

Frequently Asked Questions about simple-assertions

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate HTTP response assertions for API testing?

Automate HTTP response assertions by defining assertion tables with expected status codes, headers, and body values. The Skill validates parsed HTTP response data against these criteria using JSONPath, XPath, or manual field selection to verify API functionality.

Can I validate specific fields in an API response body using JSONPath and XPath?

You can validate specific API response body fields using JSONPath and XPath extraction methods. The Skill parses the HTTP response body and performs automated checks against expected values defined in your assertion criteria table.

What is the best way to check if an API status code and response body match expected values?

Checking API status codes and response body values involves inserting an assertion table that specifies expected conditions. The Skill parses HTTP response headers, body, and status codes, then performs automated checks to return immediate validation results.

Do I need any external dependencies to run automated API response checks?

No external dependencies are required to run automated API response checks. The Skill operates independently to parse HTTP response data and validate it against predefined assertion criteria using manual field selection, JSONPath, or XPath.

How does assertion testing handle HTTP response headers and status codes during API debugging?

Assertion testing handles HTTP response headers and status codes by parsing them directly from the API response. It evaluates these components against your predefined assertion criteria to quickly identify debugging issues and verify expected results.