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

Request verify like wiremock #28

Open
eduardongarcia opened this issue Aug 18, 2019 · 0 comments
Open

Request verify like wiremock #28

eduardongarcia opened this issue Aug 18, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@eduardongarcia
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
Some external integrations are done without waiting for a response, it is desirable to be able to check at least how many times the endpoit has been called and in some scenarios check the request details.
This feature is based on wiremock verify (http://wiremock.org/docs/verifying/)

Describe the solution you'd like

  • Include option to config file to enable "save" requests details
  • Save all request details in memory
  • Expose a API with same prefix (/__admin) or other port (config port) to query requests:
    • Ex:
      • POST to /requests/count
        body: { "method": "POST", "url": "/resource/to/count" }
        response: { "count": 4 }
  • Expose API to reset requests stored

Describe alternatives you've considered
For a first release just the request count option filtering for url match and method would be very good

@eduardongarcia eduardongarcia added the enhancement New feature or request label Aug 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant