Tom
01/24/2023, 3:41 PM/__admin/
path. You can hit this directly with curl, Postman or any other HTTP client.
Check out https://wiremock.org/docs/api/ for reference, https://wiremock.org/docs/stubbing/ for examples.Ramesh Hosmani
01/25/2023, 6:46 AMimport requests
from OpenSSL import SSL
# Load the keystore and truststore
keystore = SSL.Context(SSL.SSLv23_METHOD)
keystore.use_privatekey_file('key.pem')
keystore.use_certificate_file('certificate.pem')
truststore = SSL.Context(SSL.SSLv23_METHOD)
truststore.load_verify_locations('truststore.pem')
# Create the session
session = requests.Session()
session.verify = '/truststore.pem'
# Send a GET request to the WireMock server
response = session.get('<https://elk.build.soasta.com:8443/__admin/mappings>', cert=('/key.pem'))
# Print the response body
print(response.text)
print(response.status_code)
This client to connect to it__admin
through browser
Thanks TomTom
01/25/2023, 11:00 AMRamesh Hosmani
01/25/2023, 11:00 AMTom
01/25/2023, 11:02 AM