Skip to content

want method which will retrive all active requestMatchers  #129

Open
@muhil28

Description

@muhil28

Want to have retrieve requestMatcher method

What you are trying to do
Want to retrive request matcher filed from all active expectation

The solution you'd like
Its already shown in the dashboard but not showing in node-client or rest client

When i retrive active expectations created using OpenAPI the resulting JSON object does not contain "requesterMatcher"
field under "httpRequest"

It only contains "operationId" and "specUrlOrPayload" fields

image

but if i look at the active expectaion using dashboard console it contains another field Namely "requestMatcher"....

image

What you are trying to do
Want to retrive request matcher filed from all active expectation

MockServer version
5.13.2

To Reproduce
Steps to reproduce the issue:

  1. Using mockserver-node
  2. expectation created using OpenApi
  3. While retriving active expectation using node client as well as REST API "requestMatcher" field is missing under "httpRequest"

Expected behaviour
retriving all active expectation must contain "requestMatcher" field under "httpRequest"

MockServer Log
Log output, as INFO level (or lower)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions