Skip to content

jsonTestEsaminaJWT

(from org.openspcoop2.protocol.trasparente.testsuite.units.rest.jose.JOSEEncrypt took 2.4 sec)

PASS

Test Name: Ant test
Suite Name: Ant suite

Group(s): JOSEEncrypt.json.esaminaJWT, JOSE, JOSEEncrypt

Value
Parameter #1jweJsonAsymmetricJWTHeadersOnlySenderRequest
Parameter #2[Lorg.openspcoop2.utils.NameValue;@7944b8b4


[Method Execution Trend Chart]

Reporter Output

URL: http://localhost:8080/govway/api/out/JOSE/jweJsonAsymmetricJWTHeadersOnlySenderRequest/jweJsonAsymmetricJWTHeadersOnlySenderRequest/service/echo
Atteso [200] ritornato [200], raccolgo id ...
Ricevuto id [71286c7a-a66f-11ef-bb49-060730329b56]
[71286c7a-a66f-11ef-bb49-060730329b56] Atteso [200] ritornato [200]
[71286c7a-a66f-11ef-bb49-060730329b56] JSON: {"protected":"eyJlbmMiOiJBMjU2R0NNIiwia2lkIjoib3BlbnNwY29vcCIsInppcCI6Ik5PTkUiLCJ0eXAiOiJKV1QiLCJjdHkiOiJhcHBsaWNhdGlvbi9qc29uIiwiY3JpdCI6WyJwcm92YTEiLCJwcm92YTIiXSwiaGRyMSI6InZhbHVlMSIsImhkcjIiOiJ2YWx1ZTIiLCJoZHIzIjoidmFsdWUzIn0","unprotected":{"alg":"RSA-OAEP-256"},"recipients":[{"encrypted_key":"ZCVDDh4xrSLYjWEqxOieieEfrJtqCyvdvGkzKZ0zNACLS9ouOynHDTYUYgq6q5xDaa1FmIKTkS9rvB1R8PWl41q-6M8trUcTTFyGw_1r645pxexODLOndboznmTDEr5yq9ei16rA7KV6rbVt6KRzXShRfjhThCJmjyLl9tmmniHLoBIwvXIJ8l0-LsJBMt1D5xrNKvl7_ju9V5RrEtJKx4EBLuHmOFvPDBNQZARx42Ppf541NlIsMn0yrLmsq1PuyZZEdZKZOOjCzhAryhMbVArIZnAJMQXdZyeT-BvxzYNqr0mRqCCCz5JoizJT22FJ5qUX9tTuvjUDVTFP2Qh6yQ"}],"iv":"7uUYHv6cyL9njYwa","ciphertext":"BFoOgQ5iR7MSvfULUqY8XR09yVHmj-pQpu5Tre6u6LSC5o0G-cIUCVOqOaXWkp3Ayz2aIdLKbCExng4XmOwi","tag":"LVRJMRtGNGvcCUSn_CMAiA"}
header: {"enc":"A256GCM","kid":"openspcoop","zip":"NONE","typ":"JWT","cty":"application/json","crit":["prova1","prova2"],"hdr1":"value1","hdr2":"value2","hdr3":"value3"}
Trovato hdr ["hdr2"]=["value2"]
Trovato hdr ["hdr1"]=["value1"]
Trovato hdr ["zip"]=["NONE"]
Trovato hdr ["typ"]=["JWT"]
Trovato hdr ["kid"]=["openspcoop"]
Trovato hdr ["enc"]=["A256GCM"]
Trovato hdr ["hdr3"]=["value3"]
Trovato hdr ["cty"]=["application/json"]
Trovato hdr ["crit"]=["prova1"]