You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
INFO -- : Cleared interactions for example "Pact::Consumer::MockService when more than one response has been mocked when the actual request matches one expected request returns the expected response"
1
+
INFO -- : Cleared interactions for example "Pact::Consumer::MockService when more than one response has been mocked when the actual request matches more than one expected request returns an error response"
2
2
INFO -- : Registered expected interaction GET /alligators
3
3
DEBUG -- : {
4
4
"description": "a request for alligators",
@@ -23,13 +23,13 @@ DEBUG -- : {
23
23
},
24
24
"metadata": null
25
25
}
26
-
INFO -- : Registered expected interaction GET /zebras
26
+
INFO -- : Registered expected interaction GET /alligators
27
27
DEBUG -- : {
28
-
"description": "a request for zebras",
29
-
"providerState": "there are zebras",
28
+
"description": "a request for alligators",
29
+
"providerState": "there are no alligators",
30
30
"request": {
31
31
"method": "get",
32
-
"path": "/zebras",
32
+
"path": "/alligators",
33
33
"headers": {
34
34
"Accept": "application/json"
35
35
}
@@ -40,9 +40,7 @@ DEBUG -- : {
40
40
"Content-Type": "application/json"
41
41
},
42
42
"body": [
43
-
{
44
-
"name": "Xena Zebra"
45
-
}
43
+
46
44
]
47
45
},
48
46
"metadata": null
@@ -60,46 +58,7 @@ DEBUG -- : {
60
58
"Cookie": ""
61
59
}
62
60
}
63
-
INFO -- : Found matching response for GET /alligators
64
-
DEBUG -- : {
65
-
"status": 200,
66
-
"headers": {
67
-
"Content-Type": "application/json"
68
-
},
69
-
"body": [
70
-
{
71
-
"name": "Mary"
72
-
}
73
-
]
74
-
}
75
-
INFO -- : Received request GET /zebras
76
-
DEBUG -- : {
77
-
"method": "get",
78
-
"query": "",
79
-
"path": "/zebras",
80
-
"headers": {
81
-
"Https": "off",
82
-
"Content-Length": "0",
83
-
"Accept": "application/json",
84
-
"Host": "example.org",
85
-
"Cookie": ""
86
-
}
87
-
}
88
-
INFO -- : Found matching response for GET /zebras
89
-
DEBUG -- : {
90
-
"status": 200,
91
-
"headers": {
92
-
"Content-Type": "application/json"
93
-
},
94
-
"body": [
95
-
{
96
-
"name": "Xena Zebra"
97
-
}
98
-
]
99
-
}
100
-
INFO -- : Verifying - interactions matched for example "Pact::Consumer::MockService when more than one response has been mocked when the actual request matches one expected request returns the expected response"
101
-
INFO -- : Cleared interactions for example "Pact::Consumer::MockService when more than one response has been mocked when the actual request matches more than one expected request returns an error response"
102
-
INFO -- : Registered expected interaction GET /alligators
61
+
ERROR -- : Multiple interactions found for GET /alligators:
103
62
DEBUG -- : {
104
63
"description": "a request for alligators",
105
64
"providerState": "alligators exist",
@@ -123,7 +82,6 @@ DEBUG -- : {
123
82
},
124
83
"metadata": null
125
84
}
126
-
INFO -- : Registered expected interaction GET /alligators
127
85
DEBUG -- : {
128
86
"description": "a request for alligators",
129
87
"providerState": "there are no alligators",
@@ -145,20 +103,21 @@ DEBUG -- : {
145
103
},
146
104
"metadata": null
147
105
}
148
-
INFO -- : Received request GET /alligators
149
-
DEBUG -- : {
150
-
"method": "get",
151
-
"query": "",
152
-
"path": "/alligators",
153
-
"headers": {
154
-
"Https": "off",
155
-
"Content-Length": "0",
156
-
"Accept": "application/json",
157
-
"Host": "example.org",
158
-
"Cookie": ""
159
-
}
160
-
}
161
-
ERROR -- : Multiple interactions found for GET /alligators:
106
+
WARN -- : Verifying - actual interactions do not match expected interactions for example "Pact::Consumer::MockService when more than one response has been mocked when the actual request matches more than one expected request returns an error response".
107
+
Missing requests:
108
+
GET /alligators
109
+
GET /alligators
110
+
111
+
112
+
113
+
WARN -- : Missing requests:
114
+
GET /alligators
115
+
GET /alligators
116
+
117
+
118
+
119
+
INFO -- : Cleared interactions for example "Pact::Consumer::MockService when more than one response has been mocked when the actual request matches one expected request returns the expected response"
120
+
INFO -- : Registered expected interaction GET /alligators
162
121
DEBUG -- : {
163
122
"description": "a request for alligators",
164
123
"providerState": "alligators exist",
@@ -182,12 +141,13 @@ DEBUG -- : {
182
141
},
183
142
"metadata": null
184
143
}
144
+
INFO -- : Registered expected interaction GET /zebras
185
145
DEBUG -- : {
186
-
"description": "a request for alligators",
187
-
"providerState": "there are no alligators",
146
+
"description": "a request for zebras",
147
+
"providerState": "there are zebras",
188
148
"request": {
189
149
"method": "get",
190
-
"path": "/alligators",
150
+
"path": "/zebras",
191
151
"headers": {
192
152
"Accept": "application/json"
193
153
}
@@ -198,21 +158,61 @@ DEBUG -- : {
198
158
"Content-Type": "application/json"
199
159
},
200
160
"body": [
201
-
161
+
{
162
+
"name": "Xena Zebra"
163
+
}
202
164
]
203
165
},
204
166
"metadata": null
205
167
}
206
-
WARN -- : Verifying - actual interactions do not match expected interactions for example "Pact::Consumer::MockService when more than one response has been mocked when the actual request matches more than one expected request returns an error response".
207
-
Missing requests:
208
-
GET /alligators
209
-
GET /alligators
210
-
211
-
212
-
213
-
WARN -- : Missing requests:
214
-
GET /alligators
215
-
GET /alligators
216
-
217
-
218
-
168
+
INFO -- : Received request GET /alligators
169
+
DEBUG -- : {
170
+
"method": "get",
171
+
"query": "",
172
+
"path": "/alligators",
173
+
"headers": {
174
+
"Https": "off",
175
+
"Content-Length": "0",
176
+
"Accept": "application/json",
177
+
"Host": "example.org",
178
+
"Cookie": ""
179
+
}
180
+
}
181
+
INFO -- : Found matching response for GET /alligators
182
+
DEBUG -- : {
183
+
"status": 200,
184
+
"headers": {
185
+
"Content-Type": "application/json"
186
+
},
187
+
"body": [
188
+
{
189
+
"name": "Mary"
190
+
}
191
+
]
192
+
}
193
+
INFO -- : Received request GET /zebras
194
+
DEBUG -- : {
195
+
"method": "get",
196
+
"query": "",
197
+
"path": "/zebras",
198
+
"headers": {
199
+
"Https": "off",
200
+
"Content-Length": "0",
201
+
"Accept": "application/json",
202
+
"Host": "example.org",
203
+
"Cookie": ""
204
+
}
205
+
}
206
+
INFO -- : Found matching response for GET /zebras
207
+
DEBUG -- : {
208
+
"status": 200,
209
+
"headers": {
210
+
"Content-Type": "application/json"
211
+
},
212
+
"body": [
213
+
{
214
+
"name": "Xena Zebra"
215
+
}
216
+
]
217
+
}
218
+
INFO -- : Verifying - interactions matched for example "Pact::Consumer::MockService when more than one response has been mocked when the actual request matches one expected request returns the expected response"
0 commit comments