Skip to content

Add export function to API (.har file) #871

@BluestormDNA

Description

@BluestormDNA

⚠️ Is your feature request related to a problem? Please describe

As of #784 Chucker does have a way to export transactions as a .txt file, but it lacks the ability to export as .har format that was included in #696.
A similar function should be added to export to .har too.

💡 Describe the solution you'd like

A similar function as ChuckerCollector writeTransactions should be created. Something like writeTransactionsHar

📊 Describe alternatives you've considered

Ideally the export functions should be merged and use a parameter to choose for plain text or .har format
writeTransactions(format: ExportFormat) ExportFormatcould be a sealed class or enum with PlainText and Har fields.

📄 Additional context

🙋 Do you want to develop this feature yourself?

  • Yes
  • No

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No 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