-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpact-mock-service.log
More file actions
107 lines (107 loc) · 3.1 KB
/
pact-mock-service.log
File metadata and controls
107 lines (107 loc) · 3.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
I, [2025-07-28T19:10:54.261418 #15435] INFO -- : Cleared interactions
I, [2025-07-28T19:10:54.263224 #15435] INFO -- : Registered expected interaction GET /user/1
D, [2025-07-28T19:10:54.263303 #15435] DEBUG -- : {
"description": "a request for user with ID 1",
"providerState": "User with ID 1 exists",
"request": {
"method": "GET",
"path": "/user/1"
},
"response": {
"status": 200,
"headers": {
},
"body": {
"id": 1,
"name": "John Doe",
"email": "john.doe@example.com"
}
},
"metadata": null
}
I, [2025-07-28T19:10:54.265239 #15435] INFO -- : Received request GET /user/1
D, [2025-07-28T19:10:54.265286 #15435] DEBUG -- : {
"path": "/user/1",
"query": "",
"method": "get",
"headers": {
"Host": "localhost:1234",
"User-Agent": "python-requests/2.32.4",
"Accept-Encoding": "gzip, deflate, br, zstd",
"Accept": "*/*",
"Connection": "keep-alive",
"Version": "HTTP/1.1"
}
}
I, [2025-07-28T19:10:54.265376 #15435] INFO -- : Found matching response for GET /user/1
D, [2025-07-28T19:10:54.265407 #15435] DEBUG -- : {
"status": 200,
"headers": {
},
"body": {
"id": 1,
"name": "John Doe",
"email": "john.doe@example.com"
}
}
I, [2025-07-28T19:10:54.267443 #15435] INFO -- : Verifying - interactions matched
I, [2025-07-28T19:10:54.268795 #15435] INFO -- : Writing pact for UserAPI to /Users/fahad/Documents/python_test_harness/frontendapp-userapi.json
I, [2025-07-28T19:10:54.274661 #15435] INFO -- : Cleared interactions
I, [2025-07-28T19:10:54.276006 #15435] INFO -- : Registered expected interaction POST /user
D, [2025-07-28T19:10:54.276063 #15435] DEBUG -- : {
"description": "a request to create a new user",
"providerState": "User creation is successful",
"request": {
"method": "POST",
"path": "/user",
"headers": {
"Content-Type": "application/json"
},
"body": {
"name": "New User",
"email": "new.user@example.com"
}
},
"response": {
"status": 201,
"headers": {
},
"body": {
"message": "User created",
"user_id": 3
}
},
"metadata": null
}
I, [2025-07-28T19:10:54.277333 #15435] INFO -- : Received request POST /user
D, [2025-07-28T19:10:54.277370 #15435] DEBUG -- : {
"path": "/user",
"query": "",
"method": "post",
"body": {
"name": "New User",
"email": "new.user@example.com"
},
"headers": {
"Content-Length": "53",
"Content-Type": "application/json",
"Host": "localhost:1234",
"User-Agent": "python-requests/2.32.4",
"Accept-Encoding": "gzip, deflate, br, zstd",
"Accept": "*/*",
"Connection": "keep-alive",
"Version": "HTTP/1.1"
}
}
I, [2025-07-28T19:10:54.277628 #15435] INFO -- : Found matching response for POST /user
D, [2025-07-28T19:10:54.277653 #15435] DEBUG -- : {
"status": 201,
"headers": {
},
"body": {
"message": "User created",
"user_id": 3
}
}
I, [2025-07-28T19:10:54.278665 #15435] INFO -- : Verifying - interactions matched
I, [2025-07-28T19:10:54.279715 #15435] INFO -- : Writing pact for UserAPI to /Users/fahad/Documents/python_test_harness/frontendapp-userapi.json