API Contract Fixtures

XML and JSON payload fixtures for contract testing, schema validation, SOAP-style requests, and malformed payload workflows.

Why This Workflow Matters

  • Covers SOAP-style XML, catalog-style XML, nested JSON payloads, and malformed/truncated cases.
  • Useful for API schema validation, parser compatibility, and negative contract tests.
  • Anchored to a contract pack so API fixture suites can start from one download.

Recommended Packs

API Contract Fixture Pack

Bundle of real XML and JSON payloads for API contract tests, schema validation, and malformed payload handling.

api_contract_fixture_pack.zip · 2.0 KB

JSON API Fixture Pack

Bundle of structured JSON payloads for contract testing, parser validation, and nested payload workflows.

json_api_fixture_pack.zip · 1.2 KB

Fixture Matrices

XML API Fixture Matrix

Choose XML fixtures for SOAP payloads, feed parsing, schema validation, and malformed XML handling.

JSON API Fixture Matrix

Pick JSON fixtures for contract testing, nested payload validation, Unicode handling, and parser failure conditions.

Suggested Fixtures

Filename Format Size Actions
xml_soap_request_sample.xml XML 381 B
xml_product_catalog_sample.xml XML 295 B
xml_malformed_payload_sample.xml XML 168 B
xml_truncated_feed_sample.xml XML 215 B
json_nested_api_payload_sample.json JSON 423 B
json_truncated_payload_sample.json JSON 193 B