Prakash Nath Jha
11/06/2024, 10:12 AMPrakash Nath Jha
11/06/2024, 4:40 PM"--https-port", "9000"
Prakash Nath Jha
11/06/2024, 4:42 PMPrakash Nath Jha
11/06/2024, 4:43 PM{
"request": {
"scheme": "https",
"url": "/other/thing",
"method": "GET",
"host": {
"equalTo": "<http://example.com|example.com>"
}
},
"scenarioName": "test",
"response": {
"status": 200,
"jsonBody": {
"body": "Hello, world!"
},
"headers": {
"Content-Type": "application/json"
}
}
}
Prakash Nath Jha
11/06/2024, 4:44 PM{
"body": "Hello, world!"
}
Prakash Nath Jha
11/06/2024, 4:45 PMresponse = requests.get(
"<https://example.com/other/thing>", timeout=10, verify=False
)
Prakash Nath Jha
11/06/2024, 4:45 PMDEBUG:app:HTTPSConnectionPool(host='<http://example.com|example.com>', port=443): Max retries exceeded with url: /other/thing (Caused by SSLError(SSLError(1, '[SSL] record layer failure (_ssl.c:1006)')))
Prakash Nath Jha
11/06/2024, 4:46 PMmy_wiremock | 2024-11-06 16:46:14.910 Opened Socket[addr=/172.18.0.1,port=40718,localport=9000]
my_wiremock | 2024-11-06 16:46:14.916 Incoming bytes omitted. Could not decode with charset: UTF-8
my_wiremock | 2024-11-06 16:46:14.928 Outgoing bytes omitted. Could not decode with charset: UTF-8
my_wiremock | 2024-11-06 16:46:14.928 Outgoing bytes:
my_wiremock | 2024-11-06 16:46:14.929 Outgoing bytes omitted. Could not decode with charset: UTF-8
my_wiremock | 2024-11-06 16:46:14.930 Incoming bytes omitted. Could not decode with charset: UTF-8
my_wiremock | 2024-11-06 16:46:14.933 Outgoing bytes omitted. Could not decode with charset: UTF-8
my_wiremock | 2024-11-06 16:46:14.934 Outgoing bytes omitted. Could not decode with charset: UTF-8
my_wiremock | 2024-11-06 16:46:14.941 Incoming bytes omitted. Could not decode with charset: UTF-8
my_wiremock | 2024-11-06 16:46:14.942 Outgoing bytes omitted. Could not decode with charset: UTF-8
my_wiremock | 2024-11-06 16:46:14.942 Outgoing bytes omitted. Could not decode with charset: UTF-8
my_wiremock | 2024-11-06 16:46:14.944 Closed Socket[unconnected]
Prakash Nath Jha
11/06/2024, 4:47 PMPrakash Nath Jha
11/06/2024, 4:47 PM