Skip to content

How to Remove Logging Output from Allure 2? #1846

Closed Answered by iriiiina
iriiiina asked this question in Questions & Support
Discussion options

You must be logged in to vote

Ma college have found a solution. Separate object with all required RestAssured filters:

class BeforeAll {
    BeforeAll() {
        filters(new AllureRestAssured(), new RequestLoggingFilter(), new ResponseLoggingFilter())
    }
}

And call this object on test or extended Specification:

static BeforeAll beforeAll = new BeforeAll()

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by iriiiina
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants