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

Is it possible to verify requests ? #14

Open
arnzel opened this issue Jun 24, 2019 · 2 comments
Open

Is it possible to verify requests ? #14

arnzel opened this issue Jun 24, 2019 · 2 comments

Comments

@arnzel
Copy link

arnzel commented Jun 24, 2019

Hi,
is it possible to verify a specific request was made ? Like verify a post call was made with a specific Json Body ?

@jlidder
Copy link
Owner

jlidder commented Jun 24, 2019

Hi. I think we can achieve this through some sort of logging functionality. Perhaps a log file or outputting to the console as most test suites record the console in a CI solution. Let me give this one some thought. Implementation would be quite simple.

@arnzel
Copy link
Author

arnzel commented Jun 27, 2019

Hi @jlidder thanks for you answer. I was more thinking about doing an assert in a test like "jswiremocklib.verify(jsWiremock,mockRequest)"

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