Re: CTRL+Z as undo

2012-01-20 Thread sebb
On 20 January 2012 09:01, apc a...@apc.kg 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.html
 Sent from the JMeter - User mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
 For additional commands, e-mail: user-h...@jmeter.apache.org


-
To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
For additional commands, e-mail: user-h...@jmeter.apache.org



Re: CTRL+Z as undo

2012-01-20 Thread Shay Ginsbourg
I'm sure it's a lot of work, but how about this simplification for a first
stage:

1. user clicks on DELETE.
2. JMETER auto-save filename.JMB
3. JMETER adds UNDO next to DELETE operation UI
4. JMETER actually performs the DELETE operation
5. if user clicks on UNDO then JMETER opens filename.JMB



On Fri, Jan 20, 2012 at 3:17 PM, sebb seb...@gmail.com wrote:

 On 20 January 2012 12:54, Shay Ginsbourg sginsbo...@gmail.com wrote:
  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.

 Sounds simple, but it's not.

 
 
  On Fri, Jan 20, 2012 at 1:40 PM, sebb seb...@gmail.com wrote:
 
  On 20 January 2012 09:01, apc a...@apc.kg 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.html
   Sent from the JMeter - User mailing list archive at Nabble.com.
  
   -
   To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
   For additional commands, e-mail: user-h...@jmeter.apache.org
  
 
  -
  To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
  For additional commands, e-mail: user-h...@jmeter.apache.org
 
 
 
 
  --
 
 
 *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:* sginsbo...@gmail.com
 
  *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: user-unsubscr...@jmeter.apache.org
 For additional commands, e-mail: user-h...@jmeter.apache.org




-- 


*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:* sginsbo...@gmail.com

*http://il.linkedin.com/in/shayginsbourg*

*GINSBOURG.COM* http://www.ginsbourg.com/
--



*P** **Please consider your environmental responsibility before printing
this e-mail*.


RE: CTRL+Z as undo

2012-01-20 Thread Robin D. Wilson
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:sginsbo...@gmail.com] 
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 seb...@gmail.com wrote:

 On 20 January 2012 09:01, apc a...@apc.kg 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: user-unsubscr...@jmeter.apache.org
  For additional commands, e-mail: user-h...@jmeter.apache.org
 

 -
 To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
 For additional commands, e-mail: user-h...@jmeter.apache.org




-- 


*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:* sginsbo...@gmail.com

*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: user-unsubscr...@jmeter.apache.org
For additional commands, e-mail: user-h...@jmeter.apache.org



Re: Can you loop through thread groups dynamically?

2012-01-20 Thread Oliver Lloyd
That looks perfect but does that go directly into the field for Number of
Threads? I did try this but it gives:

2012/01/20 18:32:05 INFO  - jmeter.engine.StandardJMeterEngine: Running the
test! 
2012/01/20 18:32:05 INFO  - jmeter.gui.util.JMeterMenuBar:
setRunning(true,*local*) 
2012/01/20 18:32:06 INFO  - jmeter.engine.StandardJMeterEngine: Starting 0
threads for group tg-tnl. 
2012/01/20 18:32:06 INFO  - jmeter.engine.StandardJMeterEngine: Thread will
start next loop on error 
2012/01/20 18:32:06 INFO  - jmeter.engine.StandardJMeterEngine: All threads
have been started 
2012/01/20 18:32:06 INFO  - jmeter.engine.StandardJMeterEngine: Notifying
test listeners of end of test 
2012/01/20 18:32:06 INFO  - jmeter.reporters.Summariser: Generate Summary
Results = 0 in   0.0s = **/s Avg: 0 Min: 0 Max: 0 Err:
0 (0.00%) 
2012/01/20 18:32:06 INFO  - jmeter.gui.util.JMeterMenuBar:
setRunning(false,*local*) 
2012/01/20 18:32:06 INFO  - jmeter.engine.StandardJMeterEngine: Test has
ended on host null 

I also tried it in a User Params pre processor - same result.

-
http://www.http503.com/
--
View this message in context: 
http://jmeter.512774.n5.nabble.com/Can-you-loop-through-thread-groups-dynamically-tp5161267p5161344.html
Sent from the JMeter - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
For additional commands, e-mail: user-h...@jmeter.apache.org



Re: Can you loop through thread groups dynamically?

2012-01-20 Thread Oliver Lloyd
OK, yes, I see. It also works with the last nightly build (1196526 from back
in December).

I think that for what we're doing with this internally a dev build will work
fine but I'm also planning on releasing something which would be dependent
on this functionality being present and that isn't ideal. Actually, I think
that for now I'll go with my backup option which is to sed on
ThreadGroup.num_threads in the jmx file from within my script and hack the
thread counts that way.

-
http://www.http503.com/
--
View this message in context: 
http://jmeter.512774.n5.nabble.com/Can-you-loop-through-thread-groups-dynamically-tp5161267p5161682.html
Sent from the JMeter - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
For additional commands, e-mail: user-h...@jmeter.apache.org



Re: CTRL+Z as undo

2012-01-20 Thread apc
Woohoo, seems I'm 80% there! 
My programming skills raised since the last try.

Now I need to polish and test it thoroughly... Any tester volunteers here?

-
--
Andrey Pohilko
JP@GC Maintainer
--
View this message in context: 
http://jmeter.512774.n5.nabble.com/CTRL-Z-as-undo-tp4848249p5161687.html
Sent from the JMeter - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
For additional commands, e-mail: user-h...@jmeter.apache.org



Re: CTRL+Z as undo

2012-01-20 Thread Shay Ginsbourg
Count me in.

--Original Message--
From: apc
To: jmeter-u...@jakarta.apache.org
ReplyTo: JMeter Users List
Subject: Re: CTRL+Z as undo
Sent: Jan 20, 2012 22:53

Woohoo, seems I'm 80% there! 
My programming skills raised since the last try.

Now I need to polish and test it thoroughly... Any tester volunteers here?

-
--
Andrey Pohilko
JP@GC Maintainer
--
View this message in context: 
http://jmeter.512774.n5.nabble.com/CTRL-Z-as-undo-tp4848249p5161687.html
Sent from the JMeter - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
For additional commands, e-mail: user-h...@jmeter.apache.org



Sent from my BlackBerry® smartphone from orange