webMethods

 View Only

 PACT testing with webMethods

Susan Rainbow's profile image
Susan Rainbow posted Mon January 13, 2025 10:04 AM

Hello,

has anyone implemented PACT contract testing? We are looking for some examples and best practices. It seems like you can implement using junit libraries which will be our starting point. 

https://docs.pact.io/implementation_guides/jvm/consumer/junit

Percio Castro's profile image
Percio Castro

I have not personally used PACT but I have used the webMethods Unit Test Framework and you can create JUnit test cases using that framework: https://docs.webmethods.io/on-premises/webmethods-designer/en/11.1.0/webhelp/index.html#page/sdf-webhelp%2Futf.javaunittest.html%23wwconnect_header

Perhaps you could use the webMethods Unit Test Framework as a bridge to implement PACT contract testing.

HTH,

Percio

https://nibl.tech