--- /dev/null
+import pytest
+
+
+@pytest.mark.helpers
+def test_001_save_msg_loaded(saveB64Artifact, b64_encode, resources, admlc):
+
+ requestBody = resources("aar-diameterJson-request.json")
+
+ # reponse field in response body, should carry the base64 encoding for xml message loaded by ADML:
+ xmlExpected = resources("aar.xml")
+ responseBodyRef = { "success":"true", "response":"{}".format(b64_encode(xmlExpected)) }
+
+ # Send POST
+ response = admlc.post("/loadmsg", requestBody)
+
+ ### Verify response
+ admlc.assert_response__status_body_headers(response, 200, responseBodyRef)
+
+ # Save artifact from base64 encoded string received
+ saveB64Artifact(response["body"]["response"], "helpers/loadmsg")