NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<project>
<projectId>13536</projectId>
<projectKey>HAR</projectKey>
<modelVersion>1.0</modelVersion>
<jiraVersion>9.17.3</jiraVersion>
<exportDate>2026-01-08 14:10:00 UTC</exportDate>

<folders>
<folder fullPath="SUSTENTAÇÃO - PF" index="4"/>
</folders>

<testCases>

<!-- ================================================= -->
<!-- CENÁRIO 01 – Validação positiva de Nome Social -->
<!-- ================================================= -->
<testCase id="406001" key="HAR-T4061">
<attachments/>
<confluencePageLinks/>
<createdBy>Miécio Santos Costa</createdBy>
<createdOn>2026-01-08 14:10:00 UTC</createdOn>

<customFields>
<customField name="Plataforma" type="SINGLE_CHOICE_SELECT_LIST">
<value><![CDATA[API]]></value>
</customField>
</customFields>

<folder><![CDATA[SUSTENTAÇÃO - PF]]></folder>

<issues>
<issueKey>HAR-10693</issueKey>
</issues>

<labels>
<label>Nome_Social</label>
<label>Validação</label>
<label>OPA</label>
</labels>

<name><![CDATA[Cenário 01 — Validar nome social com certificação positiva]]></name>
<owner>JIRAUSER77610</owner>
<priority><![CDATA[Highest]]></priority>
<status><![CDATA[Draft]]></status>
<parameters/>

<testScript type="bdd">
<details><![CDATA[
Given que o endpoint "/v1/validadores/nome-social-pessoa" esteja disponível
And que seja informado apenas o campo "valorInformado" no body
And que o CPF seja enviado no header "idFiscal"
And que a sigla de origem seja enviada no header "xRequesterId"
When a requisição POST for enviada para o endpoint
Then o status code da resposta deve ser 200
And o campo "result" deve ser retornado como true
And o campo "origemCertificacao" deve ser retornado
And o campo "errorList" deve ser retornado vazio
And o retorno deve seguir o padrão HTTP definido
]]></details>
</testScript>

<updatedBy>Miécio Santos Costa</updatedBy>
<updatedOn>2026-01-08 14:10:00 UTC</updatedOn>
</testCase>

<!-- ================================================= -->
<!-- CENÁRIO 02 – Validação negativa com HTTP 200 -->
<!-- ================================================= -->
<testCase id="406002" key="HAR-T4062">
<attachments/>
<confluencePageLinks/>
<createdBy>Miécio Santos Costa</createdBy>
<createdOn>2026-01-08 14:10:00 UTC</createdOn>

<customFields>
<customField name="Plataforma" type="SINGLE_CHOICE_SELECT_LIST">
<value><![CDATA[API]]></value>
</customField>
</customFields>

<folder><![CDATA[SUSTENTAÇÃO - PF]]></folder>

<issues>
<issueKey>HAR-10693</issueKey>
</issues>

<labels>
<label>Nome_Social</label>
<label>Negativo</label>
</labels>

<name><![CDATA[Cenário 02 — Retornar HTTP 200 em validação negativa de nome social]]></name>
<owner>JIRAUSER77610</owner>
<priority><![CDATA[Highest]]></priority>
<status><![CDATA[Draft]]></status>
<parameters/>

<testScript type="bdd">
<details><![CDATA[
Given que o nome social informado seja inválido
And que o componente certificador retorne validação negativa
When a requisição POST for enviada para "/v1/validadores/nome-social-pessoa"
Then o status code da resposta deve ser 200
And o campo "result" deve ser retornado como false
And o campo "errorList" deve conter os erros retornados pelo certificador
And a aplicação não deve retornar erro HTTP 4XX ou 5XX
]]></details>
</testScript>

<updatedBy>Miécio Santos Costa</updatedBy>
<updatedOn>2026-01-08 14:10:00 UTC</updatedOn>
</testCase>

<!-- ================================================= -->
<!-- CENÁRIO 03 – Transformação de erro de integração -->
<!-- ================================================= -->
<testCase id="406003" key="HAR-T4063">
<attachments/>
<confluencePageLinks/>
<createdBy>Miécio Santos Costa</createdBy>
<createdOn>2026-01-08 14:10:00 UTC</createdOn>

<customFields>
<customField name="Plataforma" type="SINGLE_CHOICE_SELECT_LIST">
<value><![CDATA[API]]></value>
</customField>
</customFields>

<folder><![CDATA[SUSTENTAÇÃO - PF]]></folder>

<issues>
<issueKey>HAR-10693</issueKey>
</issues>

<labels>
<label>Nome_Social</label>
<label>Erro_HTTP</label>
</labels>

<name><![CDATA[Cenário 03 — Transformar erro de validação em resposta HTTP padrão]]></name>
<owner>JIRAUSER77610</owner>
<priority><![CDATA[High]]></priority>
<status><![CDATA[Draft]]></status>
<parameters/>

<testScript type="bdd">
<details><![CDATA[
Given que o componente certificador retorne erro de validação
When a requisição POST for enviada para "/v1/validadores/nome-social-pessoa"
Then a aplicação deve retornar HTTP 200
And o erro deve ser refletido apenas no campo "result" como false
And o campo "errorList" deve ser retornado
And o erro não deve ser propagado como 4XX ou 5XX
]]></details>
</testScript>

<updatedBy>Miécio Santos Costa</updatedBy>
<updatedOn>2026-01-08 14:10:00 UTC</updatedOn>
</testCase>

<!-- ================================================= -->
<!-- CENÁRIO 04 – Remoção do campo nomePessoa -->
<!-- ================================================= -->
<testCase id="406004" key="HAR-T4064">
<attachments/>
<confluencePageLinks/>
<createdBy>Miécio Santos Costa</createdBy>
<createdOn>2026-01-08 14:10:00 UTC</createdOn>

<customFields>
<customField name="Plataforma" type="SINGLE_CHOICE_SELECT_LIST">
<value><![CDATA[API]]></value>
</customField>
</customFields>

<folder><![CDATA[SUSTENTAÇÃO - PF]]></folder>

<issues>
<issueKey>HAR-10693</issueKey>
</issues>

<labels>
<label>Contrato_API</label>
<label>Nome_Social</label>
</labels>

<name><![CDATA[Cenário 04 — Garantir remoção do campo nomePessoa do body]]></name>
<owner>JIRAUSER77610</owner>
<priority><![CDATA[High]]></priority>
<status><![CDATA[Draft]]></status>
<parameters/>

<testScript type="bdd">
<details><![CDATA[
Given que o endpoint "/v1/validadores/nome-social-pessoa" esteja disponível
When a requisição POST for enviada para o endpoint
Then o body da requisição não deve conter o campo "nomePessoa"
And apenas o campo "valorInformado" deve ser utilizado para validação
And a requisição deve ser processada com sucesso
]]></details>
</testScript>

<updatedBy>Miécio Santos Costa</updatedBy>
<updatedOn>2026-01-08 14:10:00 UTC</updatedOn>
</testCase>

</testCases>
</project>
     
 
what is notes.io
 

Notes is a web-based application for online taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000+ notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 14 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.