Open TeddyTeddy opened 3 years ago
@TeddyTeddy This functionality seems to exist already? You can give a file_path
argument to Output
keyword, which then writes your output into a file.
@asimell , as per your comment:
@TeddyTeddy This functionality seems to exist already? You can give a
file_path
argument toOutput
keyword, which then writes your output into a file.
Hi! Yes, output keyword does write the request & response schema to a file, but it does not write the whole instance. The instance is a larger entity, which is composed of:
If we want to have the instance as a record into a file, this utility keyword "Last REST Instance" would be helpful.
I think @asimell is correct. There is a way to achieve above without adding a new keyword.
This keyword allows the very last instance to be written to a file. This becomes handy, when you just made a request and you want to get the instance for it.
A sample usage would be: