Skip to content

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

@ZajMar

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions