Skip to content

Feature - Ability to save actual request files as a native functionality #716

@skirankumars31

Description

@skirankumars31

I have the request json file with a lot of variables that need to the replaced at runtime. While testing i had a failure and we had to figure out exactly what values were sent like uuid and timestamp to figure out what was going wrong in the system and it was difficult because the actual request with replaced variables is not saved anywhere. Andreas pointed out in Discord that it can be done be done using a script but i figured out that building this functionality natively would be more useful because this is more or less a universal problem for all api testers. Basically i thought something like this

<@ input/request.json >>! input/actual/request.json

The actual request with all the values will saved in the arguments(input/actual/request.json) that is given

So i played around with the code and implemented the functionality in a hurry. I have submitted a pull request and i would love to have some feedback and collab on the pull request since im not that much of a coder.I have tested my code and it works

Thanks
Kiran

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions