6. Interfaces within a service
module 3module 2
module 5
(third party)
module 1
module 4
module 6
(third party)
7. Partial interface
producer consumer 2
consumer 1
consumer 3
request A - response A
request B - response B
request B - response B
request A - response A
22. Contract test - third party
service
(under test)
service
(sandbox)
when request:
HTTP GET /echo/hello
then response:
HTTP 200
{
“echo”: “hello”
}
tested against
23. Contract test - third party
service
(under test)
service
(sandbox)
when request:
HTTP GET /echo/hello
then response:
HTTP 200
{
“echo”: “hello”
}
tested against
29. Partial interface
producer consumer 2
consumer 1
consumer 3
request A - response A
request B - response B
request B - response B
request A - response A
30. Contract test - third party
service
(under test)
service
(sandbox)
when request:
HTTP GET /echo/hello
then response:
HTTP 200
{
“echo”: “hello”
}
tested against