AW: Thx Mike - and some other questions....(explain my problem)

2001-06-14 Thread Egger Lothar

Hello Mike

 you mean you want test 2 to start 2 seconds after test 1 
 starts (a sort of 
 ramping up effect?).
Yep that is the thing i need (I think so) :)

Why I need such things:

Our hardware: 2x Linux virtual server, 4x apache-tomcat balanced by
mod_backhand.

We do a kind of authorization against a oracle-db.
t1. check of a cardnumber takes about 1.5 sec,
t2. after this check we do a money transaction. 1 sec
t3. costumer transaction commit or rollback ~0.5 sec

We have 100 test cards, and we have 100 test transaction(t1,t2,t3).
We can't do 2 transactions(t1,t2,t3) for the same card at the same time.

So I am in need of something that starts the same transaction with ~ 3 sec
delay, because
We like to test ~100 concurrent autorizations.

Am I on the right way ? Or do I miss something ? Or is there another way ?


Regards lothar

Thx again for your response.




 -Ursprüngliche Nachricht-
 Von: Mike Stover [mailto:[EMAIL PROTECTED]] 
 Gesendet: Mittwoch, 13. Juni 2001 14:26
 An: Egger Lothar; [EMAIL PROTECTED]
 Betreff: Re: Thx Mike - and some other questions
 
 
 On Wednesday 13 June 2001 13:15, you wrote:
  Hello
 
  Thanx Mike, for your response and the script. :)
  it worked with the latest cvs checkout.
 
  Another question:
 
  We are testing servlets, the servlets a querying a oracle 
 db and the 
  response is about 1.5 sec. I am in need to put some delay 
 between the 
  test.
 
  Eg test1:
  Query 100 urls
 
  Eg test 2:
  Start 2 seconds later than test1 and query the same 100 urls
 
  Eg test 3:
  Start 2 seconds later then test2 and so on .
 
  Is this possible ?
 
 I don't think so.  Do you mean you want test1 to start and 
 finish, then test 
 2 to start and finish, and then 3, with a 2 second delay 
 between each?  Or do 
 you mean you want test 2 to start 2 seconds after test 1 
 starts (a sort of 
 ramping up effect?).
 
 JMeter does not currently do either, however, writing a 
 looping controller 
 would not be difficult, and it could include a delay before starting 
 parameter to it.  This would allow you to do what I first 
 described.  Ramping 
 up and layering tests I would have to think about how to do
 
 
 
  Regards
  Lothar
 
  Thx again for your help
 
  
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 -- 
 Mike Stover
 [EMAIL PROTECTED]
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: AW: Thx Mike - and some other questions....(explain my problem)

2001-06-14 Thread Mike Stover

Here's something you could try until a better solution is worked out:

Currently, you can add multiple threadgroups to a testplan.  So, create 3 
threadgroups, each with 100 threads.  The first threadgroup represents your 
test 1 set.  The next is test2, etc.  For threadgroup 2, you need to add some 
meaningless test cases at the beginning, under a OnceOnly controller, that 
will take about 3 seconds to complete.  For threadgroup 3, do the same, but 
it needs to take 6 seconds for the meaningless activity.

I hope I've interpreted what you're trying to do correctly.  After reading 
what you wrote again, I wonder if maybe you wanted to stagger-start every 
thread, not just in three groups of 100? 

Also, you do know about the Timers, right?  They allow you to add a delay 
between each thread's samples.  I didn't mention them earlier since they 
don't seem appropriate for what I think you're trying to do.

-Mike

On Thursday 14 June 2001 09:24, Egger Lothar wrote:
 Hello Mike

  you mean you want test 2 to start 2 seconds after test 1
  starts (a sort of
  ramping up effect?).

 Yep that is the thing i need (I think so) :)

 Why I need such things:

 Our hardware: 2x Linux virtual server, 4x apache-tomcat balanced by
 mod_backhand.

 We do a kind of authorization against a oracle-db.
 t1. check of a cardnumber takes about 1.5 sec,
 t2. after this check we do a money transaction. 1 sec
 t3. costumer transaction commit or rollback ~0.5 sec

 We have 100 test cards, and we have 100 test transaction(t1,t2,t3).
 We can't do 2 transactions(t1,t2,t3) for the same card at the same time.

 So I am in need of something that starts the same transaction with ~ 3 sec
 delay, because
 We like to test ~100 concurrent autorizations.

 Am I on the right way ? Or do I miss something ? Or is there another way ?


 Regards lothar

 Thx again for your response.

  -Ursprüngliche Nachricht-
  Von: Mike Stover [mailto:[EMAIL PROTECTED]]
  Gesendet: Mittwoch, 13. Juni 2001 14:26
  An: Egger Lothar; [EMAIL PROTECTED]
  Betreff: Re: Thx Mike - and some other questions
 
  On Wednesday 13 June 2001 13:15, you wrote:
   Hello
  
   Thanx Mike, for your response and the script. :)
   it worked with the latest cvs checkout.
  
   Another question:
  
   We are testing servlets, the servlets a querying a oracle
 
  db and the
 
   response is about 1.5 sec. I am in need to put some delay
 
  between the
 
   test.
  
   Eg test1:
   Query 100 urls
  
   Eg test 2:
   Start 2 seconds later than test1 and query the same 100 urls
  
   Eg test 3:
   Start 2 seconds later then test2 and so on .
  
   Is this possible ?
 
  I don't think so.  Do you mean you want test1 to start and
  finish, then test
  2 to start and finish, and then 3, with a 2 second delay
  between each?  Or do
  you mean you want test 2 to start 2 seconds after test 1
  starts (a sort of
  ramping up effect?).
 
  JMeter does not currently do either, however, writing a
  looping controller
  would not be difficult, and it could include a delay before starting
  parameter to it.  This would allow you to do what I first
  described.  Ramping
  up and layering tests I would have to think about how to do
 
   Regards
   Lothar
  
   Thx again for your help
 
  -
 
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
 
  --
  Mike Stover
  [EMAIL PROTECTED]

-- 
Mike Stover
[EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Thx Mike - and some other questions....

2001-06-13 Thread Mike Stover

On Wednesday 13 June 2001 13:15, you wrote:
 Hello

 Thanx Mike, for your response and the script. :)
 it worked with the latest cvs checkout.

 Another question:

 We are testing servlets, the servlets a querying a oracle db and the
 response is about 1.5 sec.
 I am in need to put some delay between the test.

 Eg test1:
 Query 100 urls

 Eg test 2:
 Start 2 seconds later than test1 and query the same 100 urls

 Eg test 3:
 Start 2 seconds later then test2 and so on .

 Is this possible ?

I don't think so.  Do you mean you want test1 to start and finish, then test 
2 to start and finish, and then 3, with a 2 second delay between each?  Or do 
you mean you want test 2 to start 2 seconds after test 1 starts (a sort of 
ramping up effect?).

JMeter does not currently do either, however, writing a looping controller 
would not be difficult, and it could include a delay before starting 
parameter to it.  This would allow you to do what I first described.  Ramping 
up and layering tests I would have to think about how to do



 Regards
 Lothar

 Thx again for your help

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-- 
Mike Stover
[EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]