Closed randspy closed 2 years ago
Hi @randspy
We have implemented this feature request in #443 The feature is now available in kassette 1.4.0.
It is now possible to store multiple responses in one har file by configuring the following settings:
mocksFormat
: har
mocksHarFile
/setMocksHarFile
and setMockHarKey
instead of mocksFolder
/setMocksFolder
and setLocalPath
It is also possible to specify what content should be inside the har
file (or in the previous folder
format) with the following new settings:
saveChecksumContent
saveDetailedTimings
saveInputRequestData
saveInputRequestBody
saveForwardedRequestData
saveForwardedRequestBody
I am now closing this issue, but do not hesitate to contact us if you have any question or feedback regarding this new feature! BR
Hello,
Currently kassette generates six files from which body.json and data.json are mandatory. It creates huge number of files for certain cases. It is important in a context of storing them in a git repository. We would like to reduce that number.
To have an option of having only one file per message with a possibility of specifying what content should be inside. For example we find content of checksum very useful.
Also going further could also be useful. Like having one file per test.
BR