jsonTestEsaminaJsonPayloadEncoding
(from org.openspcoop2.protocol.trasparente.testsuite.units.rest.jose.JOSESignature took 2.3 sec)PASS
Test Name: Ant test
Suite Name: Ant suite
Group(s): JOSESignature.json.esaminaJSONPayloadEncoding, JOSESignature, JOSE
Value | |
---|---|
Parameter #1 | jwsJsonAsymmetricJWTHeadersOnlySenderRequest |
Parameter #2 | [Lorg.openspcoop2.utils.NameValue;@7e1ffe70 |
Reporter Output
URL: http://localhost:8080/govway/api/out/JOSE/jwsJsonAsymmetricJWTHeadersOnlySenderRequest/jwsJsonAsymmetricJWTHeadersOnlySenderRequest/service/echo
Atteso [200] ritornato [200], raccolgo id ...
Ricevuto id [cc925f16-a66f-11ef-bb49-060730329b56]
[cc925f16-a66f-11ef-bb49-060730329b56] Atteso [200] ritornato [200]
[cc925f16-a66f-11ef-bb49-060730329b56] JSON: {"payload":"eyJuYW1lIjoidmFsdWUxIiwibmFtZTIiOiJ2YWx1ZTIiLCJuYW1lSU5UIjozLCJuYW1lRE9VQkxFIjo0LjZ9","signatures":[{"protected":"eyJhbGciOiJSUzI1NiIsImtpZCI6Im9wZW5zcGNvb3AiLCJ0eXAiOiJKV1QiLCJjdHkiOiJhcHBsaWNhdGlvbi9qc29uIiwiY3JpdCI6WyJwcm92YTEiLCJwcm92YTIiXSwiaGRyMSI6InZhbHVlMSIsImhkcjIiOiJ2YWx1ZTIiLCJoZHIzIjoidmFsdWUzIn0","signature":"aGXIB415JFUKsPNVUxixUZuX89MXWWccrwWKrFWQ-hnXjguI_Ls8lYVmtqLLaCFVekmqcDP_olZqekOcQqjE8U3G5795mZuG77LWLO_Tr--BMotVVnhuK1dNBjJKFvawM2mXIE1CYil_66D1KpPNnyIE3OoJR65ckIqn0XcHj0VAuBOyDpyWDG44V63X-2v3MCDytoxI4Ik-zFaBaGDkR4Xg43dHV1uJT67NjIyU2ttCH-XG5_8UWA2BVYgvAt0hEwPpmnImbqRQF_AGkfDth3Sn2rwRbJ_CyfqcXHcngtGunImnsLBq24wN9TE5XTxV-pkGok97jmGxUufXX1lX4A"}]}
header: {"alg":"RS256","kid":"openspcoop","typ":"JWT","cty":"application/json","crit":["prova1","prova2"],"hdr1":"value1","hdr2":"value2","hdr3":"value3"}
Trovato hdr ["hdr3"]=["value3"]
Trovato hdr ["typ"]=["JWT"]
Trovato hdr ["kid"]=["openspcoop"]
Trovato hdr ["cty"]=["application/json"]
Trovato hdr ["alg"]=["RS256"]
Trovato hdr ["crit"]=["prova1"]
Trovato hdr ["hdr1"]=["value1"]
Trovato hdr ["hdr2"]=["value2"]