jdbc-service-virtualisation icon indicating copy to clipboard operation
jdbc-service-virtualisation copied to clipboard

Does the library support recording or persisting the result set ?

Open atirumala opened this issue 7 years ago • 5 comments

I would like to record the actual database responses during an initial run of my code and then later use that as the Mock. As per what i read in the intro section, we can use the resultset from xml files and inject that in the Mock Mode but is it possible to persist those xml result set files during an actual run using this library?

atirumala avatar Jul 13 '17 18:07 atirumala

in short: not yet

it was on my radar, but turned out we were better off handcrafting test-recordsets so we could closely control what was in there. Instead we wrote a simple template-based generator to create xml test recordsets.

but it shouldn't be too hard to do, I am happy to help and support you as much as I can if you feel like contributing, it'd be a great feature!

eeichinger avatar Jul 14 '17 09:07 eeichinger

Thanks for getting back to me. Sure i would be happy to contribute as i am going to need this feature any way, it might help some one else who is in the same boat as me. Will get started on this soon. #I will reach out to you for any support.

atirumala avatar Jul 17 '17 18:07 atirumala

Hi @eeichinger are you still maintaining this library? I hacked up this feature (and some others) locally, but if you're still active, then I can contribute. Let me know and I'll raise a PR.

thymepuns avatar Jul 12 '23 10:07 thymepuns

Hi @thymepuns , please send the PR and I am happy to take a look

eeichinger avatar Jul 12 '23 13:07 eeichinger

Hi @eeichinger , #33

thymepuns avatar Jul 24 '23 08:07 thymepuns