I think if you save the file before deleting anything, you will end up pissing more people off than you will help. I know that I don't want a file "saved" until I actually save it - this allows me to experiment with all sorts of things - then easily revert to the last saved version.
You could save to a temporary file, and that would be better - but it would also be slow and quite costly in terms of performance. Most test cases aren't really that large (in terms of the XML data they store), you could just as easily create an in-memory version of the JMX data, and revert to it when the user hits 'undo' ... And if you're going to do that, you might as well allow multiple levels of undo - just by creating an array of 'checkpoint' objects before every delete operation. Ideally, you would just do this on a per-object basis (instead of the whole test case), and then only revert the object that changed. (But you probably already knew all of this...) -- Robin D. Wilson Sr. Director of Web Development KingsIsle Entertainment, Inc. VOICE: 512-777-1861 www.KingsIsle.com -----Original Message----- From: Shay Ginsbourg [mailto:[email protected]] Sent: Friday, January 20, 2012 6:55 AM To: JMeter Users List Subject: Re: CTRL+Z as undo Total CTRL+Z implementation can be a staged project. Top priority is to allow just an UN-DELETE function for each DELETE operation. Meaning, before deleting anything, save the JMX in the background first. On Fri, Jan 20, 2012 at 1:40 PM, sebb <[email protected]> wrote: > On 20 January 2012 09:01, apc <[email protected]> wrote: > > sebb, could you say something to us on this topic? > > > > The community ready to participate in implementing Undo feature, but > > for > now > > we fail to find a way for doing this. Maybe you can offer us some > > clues > or > > any other help? > > If it were easy, it would have been done long ago. > Sorry, but I don't have any ideas as to how it could be implemented. > > Any implementation needs to be done in such a way that it does not > impact performance when running tests. > > > > > ----- > > -- > > Andrey Pohilko > > JP@GC Maintainer > > -- > > View this message in context: > http://jmeter.512774.n5.nabble.com/CTRL-Z-as-undo-tp4848249p5159840.ht > ml > > Sent from the JMeter - User mailing list archive at Nabble.com. > > > > -------------------------------------------------------------------- > > - To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- *Shay Ginsbourg* Regulatory & Testing Affairs Consultant Formerly QA Manager of LoadRunner at Mercury Interactive M.Sc. cum laude in Bio-Medical Engineering M.Sc. in Mechanical Engineering *Work:* 035185873 *Mobile:* 0546690915 *Email:* [email protected] *http://il.linkedin.com/in/shayginsbourg* *GINSBOURG.COM* <http://www.ginsbourg.com/> ------------------------------ *P** **Please consider your environmental responsibility before printing this e-mail*. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
