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

want method which will retrive all active requestMatchers #129

Open
muhil28 opened this issue Jun 2, 2022 · 0 comments
Open

want method which will retrive all active requestMatchers #129

muhil28 opened this issue Jun 2, 2022 · 0 comments

Comments

@muhil28
Copy link

muhil28 commented Jun 2, 2022

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)

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

No branches or pull requests

2 participants