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;@56c8e6f0


[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 [9d809ecb-ca03-11f0-b012-060730329b56]
[9d809ecb-ca03-11f0-b012-060730329b56] Atteso [200] ritornato [200]
[9d809ecb-ca03-11f0-b012-060730329b56] JSON: {"protected":"eyJlbmMiOiJBMjU2R0NNIiwia2lkIjoib3BlbnNwY29vcCIsInppcCI6Ik5PTkUiLCJ0eXAiOiJKV1QiLCJjdHkiOiJhcHBsaWNhdGlvbi9qc29uIiwiY3JpdCI6WyJwcm92YTEiLCJwcm92YTIiXSwiaGRyMSI6InZhbHVlMSIsImhkcjIiOiJ2YWx1ZTIiLCJoZHIzIjoidmFsdWUzIn0","unprotected":{"alg":"RSA-OAEP-256"},"recipients":[{"encrypted_key":"fR9cD4fiqLRVd_hlxHKfMO-5W4sjNELf1AzjnzkVfELiy37frSc5u9tptVegbqYKnASb2aoTbZrVpHbgxZG3KZsqdhXeS6_PKy7jroVeDWkTn9SUY79bNdz-PCcZsv98k2N9wAcKx4WIPDR8GwW6TTP26vmL1XbAO8lQ18PxxoGll2L-TVO-atCJHof9AOUvFql1B1IC74zdS1w1HOh1jPv9AY3cpeRZJX7wY_h95hQbMsLogyq9UD4YanuL5S3ne-jF4DGOTGLav0zbkSh3JFcdQUqLCugwjn8fp-vnGRQj87_1MHYQloaZzMHzcGktWXMyd0ON9ZnFoBtpcBItNg"}],"iv":"pUipdIbWWZR5q33b","ciphertext":"OGpV7t_IQ2aGnadJf5-jsVo_rtOmOyPHGiRoIrOyCXB8EXtD6OY3mh4CFtl3nvbIlVpCD0cD62hYXTnlxokB","tag":"4xSLiov7CUpRB7fzaGSFnQ"}
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"]