Skip to content

GoError: "open" function is only available to the init code (aka global scope), see https://docs.k6.io/docs/test-life-cycle for more information #6825

@PoojaKokilXor

Description

@PoojaKokilXor

I have created the K6 test script using open api generator but while running it getting following error for the requests with input as multipart files
GoError: "open" function is only available to the init code (aka global scope), see https://docs.k6.io/docs/test-life-cycle for more information

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions