| Test Name | consents_api_preflight-adv_test-module_v2 |
|---|---|
| Variant | client_auth_type=private_key_jwt, fapi_auth_request_method=pushed, fapi_profile=openbanking_brazil, fapi_response_mode=plain_response |
| Test ID | zcdL2TSUDChhJSO https://web.conformance.directory.openbankingbrasil.org.br/log-detail.html?public=true&log=zcdL2TSUDChhJSO |
| Created | 2024-10-23T18:51:54.084904301Z |
| Description | Teste funcional para o OpenBanking do Mercado Pago - Funds V1 |
| Test Version | 5.1.17 build: 8b8cfe0e421b8e556708589a0726a6d854c60348 |
| Test Owner | gabriel.gsgomes@mercadolivre.com https://auth.sandbox.directory.openbankingbrasil.org.br |
| Plan ID | ET5xFQmOscsTV https://web.conformance.directory.openbankingbrasil.org.br/plan-detail.html?public=true&plan=ET5xFQmOscsTV |
| Exported From | https://web.conformance.directory.openbankingbrasil.org.br |
| Exported By | gabriel.gsgomes@mercadolivre.com https://auth.sandbox.directory.openbankingbrasil.org.br |
| Suite Version | 5.1.17 build: f53b57fdae6fb87c5ac1bd5d1ab50d9093435f60 |
| Exported | 2025-02-27 03:01:53 (UTC) |
| Status: FINISHED Result: PASSED |
| SUCCESS 48 FAILURE 0 WARNING 0 REVIEW 0 INFO 1 |
| 2024-10-23 18:51:54 |
INFO
|
TEST-RUNNER
Test instance zcdL2TSUDChhJSO created
|
||||||||||||||
|
||||||||||||||||
| Validating Well-Known URI |
| 2024-10-23 18:51:54 |
SUCCESS
|
CheckDiscEndpointDiscoveryUrl
discoveryUrl
|
||
|
||||
| 2024-10-23 18:51:54 |
SUCCESS
|
EnsureWellKnownUriIsRegistered
Found Authorisation Server with provided Well-Known URL in the Directory Participants List
|
||||
|
||||||
| 2024-10-23 18:51:54 |
|
GetDynamicServerConfiguration
HTTP request
|
||||||||
|
||||||||||
| 2024-10-23 18:51:54 |
RESPONSE
|
GetDynamicServerConfiguration
HTTP response
|
||||||||
|
||||||||||
| 2024-10-23 18:51:54 |
SUCCESS
|
GetDynamicServerConfiguration
Successfully parsed server configuration
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 2024-10-23 18:51:54 |
|
ExtractMTLSCertificatesFromConfiguration
No certificate authority found for MTLS
|
|
|
||
| 2024-10-23 18:51:54 |
SUCCESS
|
ExtractMTLSCertificatesFromConfiguration
Mutual TLS authentication credentials loaded
|
||||
|
||||||
| 2024-10-23 18:51:54 |
SUCCESS
|
AddMTLSEndpointAliasesToEnvironment
Added mtls_endpoint_aliases to environment
|
|
|
||
| 2024-10-23 18:51:54 |
SUCCESS
|
GetStaticClientConfiguration
Found a static client object
|
||||||||
|
||||||||||
| 2024-10-23 18:51:54 |
SUCCESS
|
ExtractJWKsFromStaticClientConfiguration
Extracted client JWK
|
||||
|
||||||
| 2024-10-23 18:51:54 |
SUCCESS
|
CreateTokenEndpointRequestForClientCredentialsGrant
Created token endpoint request
|
||||
|
||||||
| 2024-10-23 18:51:54 |
SUCCESS
|
SetConsentsScopeOnTokenEndpointRequest
Set scope parameter to 'consents'
|
||||
|
||||||
| 2024-10-23 18:51:54 |
SUCCESS
|
CreateClientAuthenticationAssertionClaims
Created client assertion claims
|
||||||||||||
|
||||||||||||||
| 2024-10-23 18:51:54 |
SUCCESS
|
SignClientAuthenticationAssertion
Signed the client assertion
|
||
|
||||
| 2024-10-23 18:51:54 |
|
AddClientAssertionToTokenEndpointRequest
Added client assertion
|
||||||||
|
||||||||||
| 2024-10-23 18:51:54 |
|
CallTokenEndpoint
HTTP request
|
||||||||||
|
||||||||||||
| 2024-10-23 18:51:55 |
RESPONSE
|
CallTokenEndpoint
HTTP response
|
||||||||
|
||||||||||
| 2024-10-23 18:51:55 |
SUCCESS
|
CallTokenEndpoint
Parsed token endpoint response
|
||||||||
|
||||||||||
| 2024-10-23 18:51:55 |
SUCCESS
|
CheckIfTokenEndpointResponseError
No error from token endpoint
|
|
|
||
| 2024-10-23 18:51:55 |
SUCCESS
|
ExtractAccessTokenFromTokenResponse
Extracted the access token
|
||||
|
||||||
| 2024-10-23 18:51:55 |
SUCCESS
|
GetResourceEndpointConfiguration
Found a resource endpoint object
|
||||||||||||||||||
|
||||||||||||||||||||
| 2024-10-23 18:51:55 |
|
CreateEmptyResourceEndpointRequestHeaders
Created empty headers
|
||
|
||||
| 2024-10-23 18:51:55 |
SUCCESS
|
AddFAPIAuthDateToResourceEndpointRequest
Added x-fapi-auth-date to resource endpoint request headers
|
||
|
||||
| 2024-10-23 18:51:55 |
|
CreateRandomFAPIInteractionId
Created interaction ID
|
||
|
||||
| 2024-10-23 18:51:55 |
SUCCESS
|
AddFAPIInteractionIdToResourceEndpointRequest
Added x-fapi-interaction-id to resource endpoint request headers
|
||
|
||||
| Validating Well-Known URI |
| 2024-10-23 18:51:55 |
SUCCESS
|
CheckDiscEndpointDiscoveryUrl
discoveryUrl
|
||
|
||||
| 2024-10-23 18:51:55 |
SUCCESS
|
EnsureWellKnownUriIsRegistered
Found Authorisation Server with provided Well-Known URL in the Directory Participants List
|
||||
|
||||||
| Validating Authorisation Server has supported Endpoint |
| 2024-10-23 18:51:55 |
SUCCESS
|
GetAuthServerFromParticipantsEndpoint
Found organisation
|
||
|
||||
| 2024-10-23 18:51:55 |
SUCCESS
|
GetAuthServerFromParticipantsEndpoint
Found auth server from participants endpoint
|
||
|
||||
| 2024-10-23 18:51:55 |
SUCCESS
|
GetConsentV3Endpoint
Inserted consent endpoint into config
|
||
|
||||
| 2024-10-23 18:51:55 |
SUCCESS
|
CheckBrazilOrganizationIdIsPresent
Successfully found organization Id: e5a1c7ad-11d4-560d-914c-611003a39219
|
|
|
||
| Pre-flight MTLS Cert Checks |
| 2024-10-23 18:51:55 |
|
ValidateMTLSCertificatesHeader
No certificate authority found for MTLS
|
|
|
||
| 2024-10-23 18:51:55 |
SUCCESS
|
ValidateMTLSCertificatesHeader
MTLS certificates header is valid
|
|
|
||
| 2024-10-23 18:51:55 |
|
ExtractMTLSCertificatesFromConfiguration
No certificate authority found for MTLS
|
|
|
||
| 2024-10-23 18:51:55 |
SUCCESS
|
ExtractMTLSCertificatesFromConfiguration
Mutual TLS authentication credentials loaded
|
||||
|
||||||
| 2024-10-23 18:51:55 |
SUCCESS
|
ExtractJWKSDirectFromClientConfiguration
Extracted client JWK
|
||||
|
||||||
| 2024-10-23 18:51:55 | SUCCESS |
CheckDistinctKeyIdValueInClientJWKs
Distinct 'kid' value in all keys of client_jwks
|
||
|
||||
| Pre-flight Get an SSA |
| 2024-10-23 18:51:55 |
SUCCESS
|
SetDirectoryInfo
Directory info added to config
|
||
|
||||
| 2024-10-23 18:51:55 |
SUCCESS
|
ExtractDirectoryConfiguration
Extracted directory configuration parameters
|
||||
|
||||||
| 2024-10-23 18:51:55 | SUCCESS |
FAPIBrazilCheckDirectoryDiscoveryUrl
Directory Discovery URL matches the Brazil directory.
|
||
|
||||
| 2024-10-23 18:51:55 | SUCCESS |
FAPIBrazilOpenBankingCheckDirectoryApiBase
Directory API base matches the Brazil directory.
|
||
|
||||
| 2024-10-23 18:51:55 |
|
MapDirectoryValues
Condition ran but did not log anything
|
|
|
||
| 2024-10-23 18:51:55 |
|
GetDynamicServerConfiguration
HTTP request
|
||||||||||
|
||||||||||||
| 2024-10-23 18:51:55 |
RESPONSE
|
GetDynamicServerConfiguration
HTTP response
|
||||||||
|
||||||||||
| 2024-10-23 18:51:55 |
SUCCESS
|
GetDynamicServerConfiguration
Successfully parsed server configuration
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 2024-10-23 18:51:55 | SUCCESS |
AddMTLSEndpointAliasesToEnvironment
Added mtls_endpoint_aliases to environment
|
|
|
||
| 2024-10-23 18:51:55 |
|
CreateTokenEndpointRequestForClientCredentialsGrant
Leaving off 'scope' parameter from token request
|
|
|
||
| 2024-10-23 18:51:55 |
SUCCESS
|
CreateTokenEndpointRequestForClientCredentialsGrant
Created token endpoint request
|
||
|
||||
| 2024-10-23 18:51:55 |
SUCCESS
|
SetDirectorySoftwareScopeOnTokenEndpointRequest
Set scope parameter to 'directory:software'
|
||||
|
||||||
| 2024-10-23 18:51:55 |
|
AddClientIdToTokenEndpointRequest
|
||||||
|
||||||||
| 2024-10-23 18:51:55 |
|
CallTokenEndpoint
HTTP request
|
||||||||||
|
||||||||||||
| 2024-10-23 18:51:56 |
RESPONSE
|
CallTokenEndpoint
HTTP response
|
||||||||
|
||||||||||
| 2024-10-23 18:51:56 |
SUCCESS
|
CallTokenEndpoint
Parsed token endpoint response
|
||||||||
|
||||||||||
| 2024-10-23 18:51:56 |
SUCCESS
|
CheckIfTokenEndpointResponseError
No error from token endpoint
|
|
|
||
| 2024-10-23 18:51:56 |
SUCCESS
|
CheckForAccessTokenValue
Found an access token
|
||
|
||||
| 2024-10-23 18:51:56 |
SUCCESS
|
ExtractAccessTokenFromTokenResponse
Extracted the access token
|
||||
|
||||||
| 2024-10-23 18:51:56 |
|
UnmapDirectoryValues
Condition ran but did not log anything
|
|
|
||
| 2024-10-23 18:51:56 | SUCCESS |
AddMTLSEndpointAliasesToEnvironment
Added mtls_endpoint_aliases to environment
|
|
|
||
| 2024-10-23 18:51:56 |
SUCCESS
|
FAPIBrazilExtractClientMTLSCertificateSubject
Extracted subject from MTLS certificate
|
||||||||
|
||||||||||
| 2024-10-23 18:51:56 |
|
FAPIBrazilCallDirectorySoftwareStatementEndpointWithBearerToken
HTTP request
|
||||||||||
|
||||||||||||
| 2024-10-23 18:51:56 |
RESPONSE
|
FAPIBrazilCallDirectorySoftwareStatementEndpointWithBearerToken
HTTP response
|
||||||||
|
||||||||||
| 2024-10-23 18:51:56 |
|
FAPIBrazilCallDirectorySoftwareStatementEndpointWithBearerToken
software statement endpoint response
|
||
|
||||
| 2024-10-23 18:51:56 |
SUCCESS
|
FAPIBrazilCallDirectorySoftwareStatementEndpointWithBearerToken
Parsed assertion endpoint response
|
||||||
|
||||||||
| 2024-10-23 18:51:56 |
|
AddProductTypeToPhase2Config
brazilCnpj is empty, setting product type to Personal
|
|
|
||
| 2024-10-23 18:51:56 |
SUCCESS
|
AddProductTypeToPhase2Config
Personal Product Type added successfully
|
||
|
||||
| Pre-flight Consent field checks |
| 2024-10-23 18:51:56 |
|
ValidateConsentsFieldV3
Looking up $.resource.consentUrl on the ValidateConsentsFieldV3 API response
|
|
|
||
| 2024-10-23 18:51:56 |
SUCCESS
|
ValidateConsentsFieldV3
The $.resource.consentUrl element is present in the ValidateConsentsFieldV3 API response
|
|
|
||
| 2024-10-23 18:51:56 |
|
ValidateConsentsFieldV3
Looking up $.resource.brazilCpf on the ValidateConsentsFieldV3 API response
|
|
|
||
| 2024-10-23 18:51:56 |
SUCCESS
|
ValidateConsentsFieldV3
The $.resource.brazilCpf element is present in the ValidateConsentsFieldV3 API response
|
|
|
||
| 2024-10-23 18:51:56 |
|
ValidateConsentsFieldV3
Looking up $.consent.productType on the ValidateConsentsFieldV3 API response
|
|
|
||
| 2024-10-23 18:51:56 |
SUCCESS
|
ValidateConsentsFieldV3
The $.consent.productType element is present in the ValidateConsentsFieldV3 API response
|
|
|
||
| Pre-flight Consent operational field check |
| 2024-10-23 18:51:56 |
|
ValidateConsentsOperationalFieldV2
Looking up $.resource.brazilCpfOperational on the ValidateConsentsOperationalFieldV2 API response
|
|
|
||
| 2024-10-23 18:51:56 |
SUCCESS
|
ValidateConsentsOperationalFieldV2
The $.resource.brazilCpfOperational element is present in the ValidateConsentsOperationalFieldV2 API response
|
|
|
||
| 2024-10-23 18:51:56 |
|
ValidateConsentsOperationalFieldV2
Looking up $.consent.productType on the ValidateConsentsOperationalFieldV2 API response
|
|
|
||
| 2024-10-23 18:51:56 |
SUCCESS
|
ValidateConsentsOperationalFieldV2
The $.consent.productType element is present in the ValidateConsentsOperationalFieldV2 API response
|
|
|
||
| 2024-10-23 18:51:56 |
FINISHED
|
consents_api_preflight-adv_test-module_v2
Test has run to completion
|
||
|
||||