Forum Discussion
Shashi
17 years agoOccasional Contributor
I have outFile.close() right after I write the response to the file. It is not able to capture the responses.
Instead if I out the same script as a script assertion, it is able to write the response to the file. But the draw back is I get only one file with the last request and response. I need to save all the responses.
I want to try some try catch and finally block to handle to this situation where I can force things a bit. for that, I need some help with Groovy scripting. Can anyone point me to a good source on Groovy where I can see the usage of the scripting language and also some examples?
Thanks
- Shashi
Instead if I out the same script as a script assertion, it is able to write the response to the file. But the draw back is I get only one file with the last request and response. I need to save all the responses.
I want to try some try catch and finally block to handle to this situation where I can force things a bit. for that, I need some help with Groovy scripting. Can anyone point me to a good source on Groovy where I can see the usage of the scripting language and also some examples?
Thanks
- Shashi
Related Content
- 3 years agoMoUddin
- 3 years agoLucian
- 3 years agoprasath_2k
- 3 years agoSritharan
Recent Discussions
- 2 days agoemoya
- 2 days agoMyBalanceNow