4 def test_001_given_diameter_json_representation_i_want_to_load_it_through_adml_service(b64_encode, resources, admlc):
6 requestBody = resources("diameterJson-request.json")
8 # reponse field in response body, should carry the base64 encoding for xml message loaded by ADML:
9 xmlExpected = resources("aar.xml")
10 responseBodyRef = { "success":"true", "response":"{}".format(b64_encode(xmlExpected)) }
13 response = admlc.post("/loadmsg", requestBody)
16 admlc.assert_response__status_body_headers(response, 200, responseBodyRef)