Rene_Single
16 years agoOccasional Contributor
Modifying Request Attachment through Groovy
Hi everybody,
I'm looking for a way to modify an attachment of a request through a groovy script. I need to add some data to the attachment obtained from a prior test Step.
I could probably modify the file representing the attachment in the filesystem and not cache it in the request, but I'm having a hard time figuring out how to do that.
Has anybody already done something like this and can shed some light (share some code ) on this ?
René
I'm looking for a way to modify an attachment of a request through a groovy script. I need to add some data to the attachment obtained from a prior test Step.
I could probably modify the file representing the attachment in the filesystem and not cache it in the request, but I'm having a hard time figuring out how to do that.
Has anybody already done something like this and can shed some light (share some code ) on this ?
René