What do you understand by Contract Testing?

Category: Microservices ArchitectureWhat do you understand by Contract Testing?
Editor">Editor Staff asked 2 years ago

What do you understand by Contract Testing?

1 Answers
Editor">Editor Staff answered 2 years ago

According to Martin Flower, contract test is a test at the boundary of an external service which verifies that it meets the contract expected by a consuming service.
Also, contract testing does not test the behavior of the service in depth. Rather, it tests that the inputs & outputs of service calls contain required attributes and the response latency, throughput is within allowed limits.