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 more than one expected request returns an error response"
1
+
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"
2
2
INFO -- : Registered expected interaction GET /alligators
3
3
DEBUG -- : {
4
4
"description": "a request for alligators",
@@ -20,15 +20,16 @@ DEBUG -- : {
20
20
"name": "Mary"
21
21
}
22
22
]
23
-
}
23
+
},
24
+
"metadata": null
24
25
}
25
-
INFO -- : Registered expected interaction GET /alligators
26
+
INFO -- : Registered expected interaction GET /zebras
26
27
DEBUG -- : {
27
-
"description": "a request for alligators",
28
-
"providerState": "there are no alligators",
28
+
"description": "a request for zebras",
29
+
"providerState": "there are zebras",
29
30
"request": {
30
31
"method": "get",
31
-
"path": "/alligators",
32
+
"path": "/zebras",
32
33
"headers": {
33
34
"Accept": "application/json"
34
35
}
@@ -39,9 +40,12 @@ DEBUG -- : {
39
40
"Content-Type": "application/json"
40
41
},
41
42
"body": [
42
-
43
+
{
44
+
"name": "Xena Zebra"
45
+
}
43
46
]
44
-
}
47
+
},
48
+
"metadata": null
45
49
}
46
50
INFO -- : Received request GET /alligators
47
51
DEBUG -- : {
@@ -56,7 +60,46 @@ DEBUG -- : {
56
60
"Cookie": ""
57
61
}
58
62
}
59
-
ERROR -- : Multiple interactions found for GET /alligators:
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
60
103
DEBUG -- : {
61
104
"description": "a request for alligators",
62
105
"providerState": "alligators exist",
@@ -77,8 +120,10 @@ DEBUG -- : {
77
120
"name": "Mary"
78
121
}
79
122
]
80
-
}
123
+
},
124
+
"metadata": null
81
125
}
126
+
INFO -- : Registered expected interaction GET /alligators
82
127
DEBUG -- : {
83
128
"description": "a request for alligators",
84
129
"providerState": "there are no alligators",
@@ -97,21 +142,23 @@ DEBUG -- : {
97
142
"body": [
98
143
99
144
]
145
+
},
146
+
"metadata": null
147
+
}
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": ""
100
159
}
101
160
}
102
-
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".
103
-
Missing requests:
104
-
GET /alligators
105
-
GET /alligators
106
-
107
-
108
-
WARN -- : Missing requests:
109
-
GET /alligators
110
-
GET /alligators
111
-
112
-
113
-
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"
114
-
INFO -- : Registered expected interaction GET /alligators
161
+
ERROR -- : Multiple interactions found for GET /alligators:
115
162
DEBUG -- : {
116
163
"description": "a request for alligators",
117
164
"providerState": "alligators exist",
@@ -132,15 +179,15 @@ DEBUG -- : {
132
179
"name": "Mary"
133
180
}
134
181
]
135
-
}
182
+
},
183
+
"metadata": null
136
184
}
137
-
INFO -- : Registered expected interaction GET /zebras
138
185
DEBUG -- : {
139
-
"description": "a request for zebras",
140
-
"providerState": "there are zebras",
186
+
"description": "a request for alligators",
187
+
"providerState": "there are no alligators",
141
188
"request": {
142
189
"method": "get",
143
-
"path": "/zebras",
190
+
"path": "/alligators",
144
191
"headers": {
145
192
"Accept": "application/json"
146
193
}
@@ -151,60 +198,19 @@ DEBUG -- : {
151
198
"Content-Type": "application/json"
152
199
},
153
200
"body": [
154
-
{
155
-
"name": "Xena Zebra"
156
-
}
201
+
157
202
]
158
-
}
159
-
}
160
-
INFO -- : Received request GET /alligators
161
-
DEBUG -- : {
162
-
"method": "get",
163
-
"query": "",
164
-
"path": "/alligators",
165
-
"headers": {
166
-
"Https": "off",
167
-
"Content-Length": "0",
168
-
"Accept": "application/json",
169
-
"Host": "example.org",
170
-
"Cookie": ""
171
-
}
172
-
}
173
-
INFO -- : Found matching response for GET /alligators
174
-
DEBUG -- : {
175
-
"status": 200,
176
-
"headers": {
177
-
"Content-Type": "application/json"
178
-
},
179
-
"body": [
180
-
{
181
-
"name": "Mary"
182
-
}
183
-
]
184
-
}
185
-
INFO -- : Received request GET /zebras
186
-
DEBUG -- : {
187
-
"method": "get",
188
-
"query": "",
189
-
"path": "/zebras",
190
-
"headers": {
191
-
"Https": "off",
192
-
"Content-Length": "0",
193
-
"Accept": "application/json",
194
-
"Host": "example.org",
195
-
"Cookie": ""
196
-
}
197
-
}
198
-
INFO -- : Found matching response for GET /zebras
199
-
DEBUG -- : {
200
-
"status": 200,
201
-
"headers": {
202
-
"Content-Type": "application/json"
203
203
},
204
-
"body": [
205
-
{
206
-
"name": "Xena Zebra"
207
-
}
208
-
]
204
+
"metadata": null
209
205
}
210
-
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"
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".
0 commit comments