Skip to content

Add command to MockResponsePlugin for generating mocks from HTTP response files #1261

@waldekmastykarz

Description

@waldekmastykarz

Extend the MockResponsePlugin with a new command that simplifies generating mock response files from existing HTTP response files.

Key features of the proposed command:

  • Accepts one or more glob patterns as arguments to specify files containing HTTP responses.
  • Requires a mocks-file option to define the output file path for the generated mocks.

This command should make it easier to create mock files from intercepted HTTP responses, streamlining the process of building and maintaining mocks based on real traffic.

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions