Crate mockforge_recorder

Crate mockforge_recorder 

Source
Expand description

MockForge API Flight Recorder

Records all API requests and responses for analysis, replay, and debugging. Provides a queryable SQLite database of all interactions.

Re-exports§

pub use api::create_api_router;
pub use database::RecorderDatabase;
pub use diff::ComparisonResult;
pub use diff::Difference;
pub use diff::DifferenceType;
pub use diff::ResponseComparator;
pub use har_export::export_to_har;
pub use integration_testing::IntegrationTestGenerator;
pub use integration_testing::IntegrationWorkflow;
pub use integration_testing::StepCondition;
pub use integration_testing::StepRequest;
pub use integration_testing::StepValidation;
pub use integration_testing::VariableExtraction;
pub use integration_testing::WorkflowSetup;
pub use integration_testing::WorkflowStep;
pub use middleware::recording_middleware;
pub use models::Protocol;
pub use models::RecordedRequest;
pub use models::RecordedResponse;
pub use query::QueryFilter;
pub use query::QueryResult;
pub use recorder::Recorder;
pub use replay::ReplayEngine;
pub use test_generation::GeneratedTest;
pub use test_generation::LlmConfig;
pub use test_generation::TestFormat;
pub use test_generation::TestGenerationConfig;
pub use test_generation::TestGenerationResult;
pub use test_generation::TestGenerator;
pub use test_generation::TestSuiteMetadata;

Modules§

api
Management API for recorded requests
database
SQLite database for storing recorded requests and responses
diff
Request/response diff viewer with content-aware comparison
har_export
HAR (HTTP Archive) export functionality
integration_testing
Integration testing workflow engine
middleware
Recording middleware for HTTP requests
models
Data models for recorded requests and responses
protocols
Protocol-specific recording helpers
query
Query API for recorded requests
recorder
Core recording functionality
replay
Replay functionality for recorded requests
test_generation
AI-powered test generation from recorded API interactions

Enums§

RecorderError
Recorder errors

Type Aliases§

Result