Skip to content

Feat: Add possibility to mask selected cookies from report in AllureRestAssured filter #1233

Description

@ZajMar

What happened?

I would like to have possibility to hide cookie in AllureRestAssured filter from allure-rest-assured.

It could be achieved relatively easily by adding new property similar to hiddenHeaders.

        final HttpRequestAttachment.Builder requestAttachmentBuilder = create(requestAttachmentName, url)
                .setMethod(requestSpec.getMethod())
                .setHeaders(toMapConverter(requestSpec.getHeaders(), hiddenHeaders))
                .setCookies(toMapConverter(requestSpec.getCookies(), new HashSet<>()));

What Allure Integration are you using?

allure-rest-assured

What version of Allure Integration you are using?

2.32.0

What version of Allure Report you are using?

2.32.0

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions