Loading mockoon/TTF_T027.jsondeleted 100644 → 0 +0 −90 Original line number Diff line number Diff line { "uuid": "80bc8c4a-8703-48c9-a261-3b01ff1fc614", "lastMigration": 25, "name": "TTF_T027", "endpointPrefix": "", "latency": 0, "port": 8201, "hostname": "0.0.0.0", "routes": [ { "uuid": "cf10bd91-f3ac-4c22-a1a5-a89310aafa76", "documentation": "", "method": "post", "endpoint": "api/ui/messages", "responses": [ { "uuid": "8e665471-ebaf-46d9-bccf-01bc30b6c06d", "body": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\" ?>\n<ns4:PullRequest xmlns:ns4=\"http://www.cise.eu/servicemodel/v1/message/\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n\t<CorrelationID>19789ef3-2e5f-393d-9011-407be7d5</CorrelationID>\n\t<CreationDateTime>2023-02-15T09:47:23+0100</CreationDateTime>\n\t<MessageID>c57dc1e1-9473-c1fa-40c4-88a4fc32</MessageID>\n\t<Priority>High</Priority>\n\t<RequiresAck>false</RequiresAck>\n\t<Sender>\n\t\t<SeaBasin>NorthSea</SeaBasin>\n\t\t<ServiceID>de.sim2-node01.vessel.pull.consumer</ServiceID>\n\t\t<ServiceOperation>Pull</ServiceOperation>\n\t\t<ServiceRole>Consumer</ServiceRole>\n\t\t<ServiceStatus>Online</ServiceStatus>\n\t\t<ServiceType>VesselService</ServiceType>\n\t</Sender>\n\t<Recipient>\n\t\t<SeaBasin>NorthSea</SeaBasin>\n\t\t<ServiceID>de.sim2-node01.vessel.pull.consumer</ServiceID>\n\t\t<ServiceOperation>Acknowledgement</ServiceOperation>\n\t\t<ServiceRole>Consumer</ServiceRole>\n\t\t<ServiceStatus>Online</ServiceStatus>\n\t\t<ServiceType>VesselService</ServiceType>\n\t</Recipient>\n\t<Payload xsi:type=\"ns4:XmlEntityPayload\">\n\t\t<InformationSecurityLevel>NonClassified</InformationSecurityLevel>\n\t\t<InformationSensitivity>Green</InformationSensitivity>\n\t\t<IsPersonalData>false</IsPersonalData>\n\t\t<Purpose>NonSpecified</Purpose>\n\t\t<EnsureEncryption>false</EnsureEncryption>\n\t</Payload>\n\t<Signature xmlns='http://www.w3.org/2000/09/xmldsig#'>\n\t<SignedInfo>\n\t\t<CanonicalizationMethod Algorithm='http://www.w3.org/2001/10/xml-exc-c14n'/>\n\t\t<SignatureMethod Algorithm='http://www.w3.org/2000/09/xmldsig#rsa-sha256'/>\n\t\t<Reference URI=''>\n\t\t\t<Transforms>\n\t\t\t\t<Transform Algorithm='http://www.w3.org/TR/1999/REC-xslt-19991116'/>\n\t\t\t</Transforms>\n\t\t\t<DigestMethod Algorithm='http://www.w3.org/2000/09/xmldsig#sha256'/>\n\t\t\t<DigestValue>fCBA2Sx2gAsC4XLxwd/KQ2YAUOTeKCUgSp9oHSg8uKI=</DigestValue>\n\t\t</Reference>\n\t</SignedInfo>\n\t<SignatureValue>ueJV8FEYVbve8F2a/R9kYP+h0Pp/RBrj0e6WV6VphKJMq+1UH0sfQti4t6v5LpaZ4FBiNTwgOQRBT9eRx5qzsraIvygv/5DmThjY3pXMDYNQZ6pAcwoHkqJVgwaGgn/MKQUM9Kfd07539tjyPhLsQem/C2dFb/plmRsPqvUh6hihWzjcRVgmvhdZVuFPhpdZ6JAWe85Q79+npPp+4wgGNvCpT5LpV0AWj3GV50X2MtzHXY/HTngmLTIoKj1TOyCRPNaKLKgfpAOGsxUwtoAe6yTjinR2bHynN1snL7TWezuBNq4AT3YngKdO2hBPNsDaQH6J+Ljwy0gYKz28682yOA==</SignatureValue>\n\t<KeyInfo>\n\t\t<X509Data>\n\t\t\t<X509SubjectName>/C=fr/DC=eucise/O=sim1-node01.node01/OU=Participants/CN=sim1-node01.node01.eucise.fr</X509SubjectName>\n\t\t\t<X509Certificate>MIIESTCCAzGgAwIBAgICEAEwDQYJKoZIhvcNAQELBQAwPTELMAkGA1UEBhMCZnIx\nDzANBgNVBAoMBmV1Y2lzZTEdMBsGA1UEAwwUc2lnbmluZy1jYS5ldWNpc2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5cMrYM0H3v6huyeJy1mqdSY6rFus1mV4PmwrfzKORoQAGHrRGcGWCanjUqc0vmfK\nZFh8p4IDoF+9BkKBmJT/QvtulPPyrS9cRaW3qK7y1XIDAADKU3l8TpTei4XpFwJC\nN4Waqp9U+PPqhLao6YvSj/5HdI7OKsPbAdvRfPAwz9L6GLheK++E2GGZyxmgOPGl\nVg7dyOjtbuJNCRyQvXrNrIT0s+F47EpJYcEQD8gxzXzCFGm9Rf5kqRfWv1Sa7KIt\njCMdl3wOMMKzAOLTEfqIEHqilreOjGyV8gtAGDAdlBub291m0ftocEztgRqH</X509Certificate>\n\t\t</X509Data>\n\t</KeyInfo>\n</Signature><PullType>Request</PullType>\n\t<ResponseTimeOut>1000</ResponseTimeOut>\n</ns4:PullRequest>", "latency": 0, "statusCode": 200, "label": "Default response", "headers": [ { "key": "Content-Type", "value": "application/xml" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [ { "target": "query", "modifier": "messageId", "value": ".*", "invert": false, "operator": "equals" } ], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true } ], "enabled": true, "responseMode": null } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [ { "key": "Content-Type", "value": "application/json" } ], "proxyReqHeaders": [ { "key": "", "value": "" } ], "proxyResHeaders": [ { "key": "", "value": "" } ], "data": [], "folders": [], "rootChildren": [ { "type": "route", "uuid": "cf10bd91-f3ac-4c22-a1a5-a89310aafa76" } ] } No newline at end of file titan-test-system-framework @ 554d6b6b Original line number Diff line number Diff line Subproject commit a0803fb1089eb6b1add7c00c57f4f1e77eb5cfca Subproject commit 554d6b6b3ce1e51d88267a3c946cd30caac97a55 ttcn/AtsCise/AtsCise_TestCases.ttcn +52 −46 Original line number Diff line number Diff line Loading @@ -329,6 +329,7 @@ module AtsCise_TestCases { )))))) -> value v_response { tc_ac.stop; // Verify signature if (not(f_verify_sign_pull_response(v_response.response.body.xml_body, v_pull_request_canonicalized))) { log("*** " & testcasename() & ": FAIL: Signature not verified ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_error); Loading Loading @@ -419,6 +420,11 @@ module AtsCise_TestCases { tc_ac.stop; // TODO Verify signature if (not(f_verify_sign_pull_request(v_request.request.body.xml_body, ""))) { log("*** " & testcasename() & ": FAIL: Signature not verified ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_error); } else { // Send Acknowledgement f_init_default_headers_list(-, -, v_headers); httpPort_notif.send( Loading @@ -427,9 +433,9 @@ module AtsCise_TestCases { mw_http_message_body_xml( m_xml_body_acknowledgement( m_acknowledgement( v_pull_request.creationDateTime, v_pull_request.messageID, v_pull_request.priority, v_created_date_time, v_message_id, v_priority, {}, success ))), Loading @@ -447,9 +453,9 @@ module AtsCise_TestCases { mw_http_message_body_xml( m_xml_body_pull_response( m_pull_response( v_pull_request.creationDateTime, v_pull_request.messageID, v_pull_request.priority, v_created_date_time, v_message_id, v_priority, v_pull_request.sender_, {}, success, Loading @@ -464,13 +470,12 @@ module AtsCise_TestCases { log("*** " & testcasename() & ": PASS: IUT successfully sends PullRequest ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); } } [] httpPort_notif.receive { var Headers v_headers; tc_ac.stop; log("*** " & testcasename() & ": FAIL: IUT sends an unexpected message ***"); // Send Acknowledgement f_init_default_headers_list(-, -, v_headers); httpPort_notif.send( Loading @@ -488,6 +493,7 @@ module AtsCise_TestCases { v_headers ))); log("*** " & testcasename() & ": FAIL: IUT sends an unexpected message ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_error); } [] tc_ac.timeout { Loading Loading
mockoon/TTF_T027.jsondeleted 100644 → 0 +0 −90 Original line number Diff line number Diff line { "uuid": "80bc8c4a-8703-48c9-a261-3b01ff1fc614", "lastMigration": 25, "name": "TTF_T027", "endpointPrefix": "", "latency": 0, "port": 8201, "hostname": "0.0.0.0", "routes": [ { "uuid": "cf10bd91-f3ac-4c22-a1a5-a89310aafa76", "documentation": "", "method": "post", "endpoint": "api/ui/messages", "responses": [ { "uuid": "8e665471-ebaf-46d9-bccf-01bc30b6c06d", "body": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\" ?>\n<ns4:PullRequest xmlns:ns4=\"http://www.cise.eu/servicemodel/v1/message/\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n\t<CorrelationID>19789ef3-2e5f-393d-9011-407be7d5</CorrelationID>\n\t<CreationDateTime>2023-02-15T09:47:23+0100</CreationDateTime>\n\t<MessageID>c57dc1e1-9473-c1fa-40c4-88a4fc32</MessageID>\n\t<Priority>High</Priority>\n\t<RequiresAck>false</RequiresAck>\n\t<Sender>\n\t\t<SeaBasin>NorthSea</SeaBasin>\n\t\t<ServiceID>de.sim2-node01.vessel.pull.consumer</ServiceID>\n\t\t<ServiceOperation>Pull</ServiceOperation>\n\t\t<ServiceRole>Consumer</ServiceRole>\n\t\t<ServiceStatus>Online</ServiceStatus>\n\t\t<ServiceType>VesselService</ServiceType>\n\t</Sender>\n\t<Recipient>\n\t\t<SeaBasin>NorthSea</SeaBasin>\n\t\t<ServiceID>de.sim2-node01.vessel.pull.consumer</ServiceID>\n\t\t<ServiceOperation>Acknowledgement</ServiceOperation>\n\t\t<ServiceRole>Consumer</ServiceRole>\n\t\t<ServiceStatus>Online</ServiceStatus>\n\t\t<ServiceType>VesselService</ServiceType>\n\t</Recipient>\n\t<Payload xsi:type=\"ns4:XmlEntityPayload\">\n\t\t<InformationSecurityLevel>NonClassified</InformationSecurityLevel>\n\t\t<InformationSensitivity>Green</InformationSensitivity>\n\t\t<IsPersonalData>false</IsPersonalData>\n\t\t<Purpose>NonSpecified</Purpose>\n\t\t<EnsureEncryption>false</EnsureEncryption>\n\t</Payload>\n\t<Signature xmlns='http://www.w3.org/2000/09/xmldsig#'>\n\t<SignedInfo>\n\t\t<CanonicalizationMethod Algorithm='http://www.w3.org/2001/10/xml-exc-c14n'/>\n\t\t<SignatureMethod Algorithm='http://www.w3.org/2000/09/xmldsig#rsa-sha256'/>\n\t\t<Reference URI=''>\n\t\t\t<Transforms>\n\t\t\t\t<Transform Algorithm='http://www.w3.org/TR/1999/REC-xslt-19991116'/>\n\t\t\t</Transforms>\n\t\t\t<DigestMethod Algorithm='http://www.w3.org/2000/09/xmldsig#sha256'/>\n\t\t\t<DigestValue>fCBA2Sx2gAsC4XLxwd/KQ2YAUOTeKCUgSp9oHSg8uKI=</DigestValue>\n\t\t</Reference>\n\t</SignedInfo>\n\t<SignatureValue>ueJV8FEYVbve8F2a/R9kYP+h0Pp/RBrj0e6WV6VphKJMq+1UH0sfQti4t6v5LpaZ4FBiNTwgOQRBT9eRx5qzsraIvygv/5DmThjY3pXMDYNQZ6pAcwoHkqJVgwaGgn/MKQUM9Kfd07539tjyPhLsQem/C2dFb/plmRsPqvUh6hihWzjcRVgmvhdZVuFPhpdZ6JAWe85Q79+npPp+4wgGNvCpT5LpV0AWj3GV50X2MtzHXY/HTngmLTIoKj1TOyCRPNaKLKgfpAOGsxUwtoAe6yTjinR2bHynN1snL7TWezuBNq4AT3YngKdO2hBPNsDaQH6J+Ljwy0gYKz28682yOA==</SignatureValue>\n\t<KeyInfo>\n\t\t<X509Data>\n\t\t\t<X509SubjectName>/C=fr/DC=eucise/O=sim1-node01.node01/OU=Participants/CN=sim1-node01.node01.eucise.fr</X509SubjectName>\n\t\t\t<X509Certificate>MIIESTCCAzGgAwIBAgICEAEwDQYJKoZIhvcNAQELBQAwPTELMAkGA1UEBhMCZnIx\nDzANBgNVBAoMBmV1Y2lzZTEdMBsGA1UEAwwUc2lnbmluZy1jYS5ldWNpc2UuZnIw\nHhcNMTkwNjI2MTYxODMwWhcNMjkwNjIzMTYxODMwWjCBgDELMAkGA1UEBhMCZnIx\nFjAUBgoJkiaJk/IsZAEZFgZldWNpc2UxGzAZBgNVBAoMEnNpbTEt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C\nN4Waqp9U+PPqhLao6YvSj/5HdI7OKsPbAdvRfPAwz9L6GLheK++E2GGZyxmgOPGl\nVg7dyOjtbuJNCRyQvXrNrIT0s+F47EpJYcEQD8gxzXzCFGm9Rf5kqRfWv1Sa7KIt\njCMdl3wOMMKzAOLTEfqIEHqilreOjGyV8gtAGDAdlBub291m0ftocEztgRqH</X509Certificate>\n\t\t</X509Data>\n\t</KeyInfo>\n</Signature><PullType>Request</PullType>\n\t<ResponseTimeOut>1000</ResponseTimeOut>\n</ns4:PullRequest>", "latency": 0, "statusCode": 200, "label": "Default response", "headers": [ { "key": "Content-Type", "value": "application/xml" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [ { "target": "query", "modifier": "messageId", "value": ".*", "invert": false, "operator": "equals" } ], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true } ], "enabled": true, "responseMode": null } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [ { "key": "Content-Type", "value": "application/json" } ], "proxyReqHeaders": [ { "key": "", "value": "" } ], "proxyResHeaders": [ { "key": "", "value": "" } ], "data": [], "folders": [], "rootChildren": [ { "type": "route", "uuid": "cf10bd91-f3ac-4c22-a1a5-a89310aafa76" } ] } No newline at end of file
titan-test-system-framework @ 554d6b6b Original line number Diff line number Diff line Subproject commit a0803fb1089eb6b1add7c00c57f4f1e77eb5cfca Subproject commit 554d6b6b3ce1e51d88267a3c946cd30caac97a55
ttcn/AtsCise/AtsCise_TestCases.ttcn +52 −46 Original line number Diff line number Diff line Loading @@ -329,6 +329,7 @@ module AtsCise_TestCases { )))))) -> value v_response { tc_ac.stop; // Verify signature if (not(f_verify_sign_pull_response(v_response.response.body.xml_body, v_pull_request_canonicalized))) { log("*** " & testcasename() & ": FAIL: Signature not verified ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_error); Loading Loading @@ -419,6 +420,11 @@ module AtsCise_TestCases { tc_ac.stop; // TODO Verify signature if (not(f_verify_sign_pull_request(v_request.request.body.xml_body, ""))) { log("*** " & testcasename() & ": FAIL: Signature not verified ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_error); } else { // Send Acknowledgement f_init_default_headers_list(-, -, v_headers); httpPort_notif.send( Loading @@ -427,9 +433,9 @@ module AtsCise_TestCases { mw_http_message_body_xml( m_xml_body_acknowledgement( m_acknowledgement( v_pull_request.creationDateTime, v_pull_request.messageID, v_pull_request.priority, v_created_date_time, v_message_id, v_priority, {}, success ))), Loading @@ -447,9 +453,9 @@ module AtsCise_TestCases { mw_http_message_body_xml( m_xml_body_pull_response( m_pull_response( v_pull_request.creationDateTime, v_pull_request.messageID, v_pull_request.priority, v_created_date_time, v_message_id, v_priority, v_pull_request.sender_, {}, success, Loading @@ -464,13 +470,12 @@ module AtsCise_TestCases { log("*** " & testcasename() & ": PASS: IUT successfully sends PullRequest ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); } } [] httpPort_notif.receive { var Headers v_headers; tc_ac.stop; log("*** " & testcasename() & ": FAIL: IUT sends an unexpected message ***"); // Send Acknowledgement f_init_default_headers_list(-, -, v_headers); httpPort_notif.send( Loading @@ -488,6 +493,7 @@ module AtsCise_TestCases { v_headers ))); log("*** " & testcasename() & ": FAIL: IUT sends an unexpected message ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_error); } [] tc_ac.timeout { Loading