Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

requestMatcher field not found while retrieving all active expectation created using openAPI #128

Closed
muhil28 opened this issue Jun 2, 2022 · 2 comments

Comments

@muhil28
Copy link

muhil28 commented Jun 2, 2022

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)

@muhil28
Copy link
Author

muhil28 commented Jun 2, 2022

@jamesdbloom @DavidTanner @hennr @micahwood Pls look into this issue

@jamesdbloom
Copy link
Collaborator

closing as duplicate of #129

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants