Skip to content

jsonTestEsaminaJWT

(from org.openspcoop2.protocol.trasparente.testsuite.units.rest.jose.JOSEEncrypt took 2.1 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 [21f8d323-c779-11ef-8017-060730329b56]
[21f8d323-c779-11ef-8017-060730329b56] Atteso [200] ritornato [200]
[21f8d323-c779-11ef-8017-060730329b56] JSON: {"protected":"eyJlbmMiOiJBMjU2R0NNIiwia2lkIjoib3BlbnNwY29vcCIsInppcCI6Ik5PTkUiLCJ0eXAiOiJKV1QiLCJjdHkiOiJhcHBsaWNhdGlvbi9qc29uIiwiY3JpdCI6WyJwcm92YTEiLCJwcm92YTIiXSwiaGRyMSI6InZhbHVlMSIsImhkcjIiOiJ2YWx1ZTIiLCJoZHIzIjoidmFsdWUzIn0","unprotected":{"alg":"RSA-OAEP-256"},"recipients":[{"encrypted_key":"r8chE15KUzX1A13YtRYGCL0wXCkTK67oZvq6WCiVouOogNFkrnbabFo7_WNjXuWpaCDfDOPqoxqmUcCTdX5HlKSL-0nm4ZDhzyk-nlUd_GvLu9zVB8Iqf9RSlERii8aLC4FdlPStVXmNo-svpwMRKiWkvSCd6vYaMqnHM9qG8QSXNnmGzkEiPuUWpHMoIraCTAap-c6c_sCOjwfzm_8ssmhRVHikTo_z0o8WfSuYW_Iu4Vl-qOdDsApHhu-NhOfqpSJOUNRiH5uNP5XJRw7HqPQ3vjeS3jk7xzHSZ4TldpzlydesM4sg9Vv3j8FVsTM2PwHbEEoPG7IKB2oxsiS56g"}],"iv":"oAEvLU6mcnk9Xw2m","ciphertext":"Uc-FFdJKKueJn0KxcYUZ8sBoFvPzxanxMJ2m8dbuO5NxzQ1kE-XXyQHvjiqvsdGjgjySqhejsots7gl9-bdQ","tag":"jROo-W5cy-6LQS0TY3m8yA"}
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"]