# Hi guys, please teach me how to write the response body o whatever data, in a txt file, csv o .dat file as a dataset for subsequent requests. ?

The solution about of using the console.log to write things and then export them to a file is not simple

##### Post Metadata
- Posted at: almost 5 years ago
- Author title: Ingeniero de Plataforma | S.R.E | Ingeniero de Performance
- Net upvotes: 1


## Comments
### Comment 1

Hi Cesar,

we could assist you better if you post your question to the k6 OSS community forum:

https://community.k6.io/c/k6-support/

It would be helpful to know more about why you need to write the response body to a file. 

##### Comment Metadata
- Posted at: almost 5 years ago
- Author title: Head of Content and Marketing at k6.io




## Related Product
[k6](https://www.g2.com/products/k6/reviews)

## Related Category
[Load Testing Tools](https://www.g2.com/categories/load-testing-tools)

## Related discussions
- [How well does Trello scale into a larger team?](https://www.g2.com/discussions/1-how-well-does-trello-scale-into-a-larger-team)
  - Posted at: over 13 years ago
  - Comments: 6
- [Can we please add a new section](https://www.g2.com/discussions/2-can-we-please-add-a-new-section)
  - Posted at: about 13 years ago
  - Comments: 0
- [Quantifiable benefits from implementing your CRM](https://www.g2.com/discussions/quantifiable-benefits-from-implementing-your-crm)
  - Posted at: about 13 years ago
  - Comments: 4


