Skip to content

Ktor server and client listeners #80

@jmflaherty

Description

@jmflaherty

I'm submitting a ...

  • bug report
  • feature request
  • support request => Please do not submit support request here, see note at the top of this template.

What is the current behavior?

Allure only reports stacktrace errors and failed assertions by not having a listener to plug into either Ktor server or client.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem

n/a

What is the expected behavior?

Having Ktor plug-ins for both server and client to log traffic and embed it into reports generated by Allure.

What is the motivation / use case for changing the behavior?

Tools like Rest Assured are OK for simpler projects, but they lack flexibility and performance. As an alternative, OkHttp and Retrofit are used. But Ktor is increasingly popular as the default Kotlin way of handling network traffic, providing an even better development experience, maintainability, and performance.

The only thing keeping Ktor from being a useful testing tool is the lack of integration with a reporter.

Please tell us about your environment:

Allure version 2.22.0
Test framework [email protected] and [email protected]
Allure integration [email protected]
Generate report using [email protected]

Other information

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions