Skip to content

Assertions in AsyncApi #1381

Answered by lbroudoux
vmamonov asked this question in Q&A
Oct 16, 2024 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Hi @vmamonov

Yes, you're correct: assertions checking is only valid using SoapUI or Postman Collection artifacts that allow specifying assertions or additional checks on SOAP or REST APIs. We don't have such a mechanism for AsyncAPI at the moment. The conformance checking at the AsyncAPI level is purely schema conformance validation. If you would need additional checks, we only way to do it at the moment would be to launch Microcks tests via our Testcontainers module and then do the extra work in your JUnit, Jst or Go tests. How are you planning to define/write your assertions? Do you have some artifact specifications in mind?

Yes, at the moment, mock messages publication is continuous an…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@vmamonov
Comment options

@lbroudoux
Comment options

Answer selected by vmamonov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment