Thursday, January 21, 2010

Tip #3: Pauses in test plan

For complete user simulation you need to add pause after each transaction. In most cases you will use only two types of pauses:

  1. Add constant pause to test planConstant pause. Just add Test Action controller after the Transaction controller. Specify the pause duration in ms and be sure that "Pause" item of "Action" option is checked.

    Constant pause options
  2. Add variable pause to test planVariable pause. Add Test Action as described above but specify the pause duration as 0 (zero). Then add Uniform Random Timer as a child of Test Action and specify the minimum value and maximum offset value.


7 comments:

  1. "Test Action Controller" or

    "Test Action Sampler"?

    Nice blog, keep it going.

    ReplyDelete
    Replies
    1. How can we have a infinite loop and then have a pause between each request. is this possible in jmeter?

      Delete
    2. Sure it's possible. You can use Loop Controller with the Forever option checked. Also you can add Test Action sampler as a child item of Loop Controller and configure a pause as described in this blog post.

      Delete
  2. Great work. I'm browsing your blog for 10 minutes, and I've already found a lot of useful info. Kudos to you, sir!

    ReplyDelete
  3. Hola, ¿ sabrias como poner un retardo entre Thread Groups?

    ReplyDelete
    Replies

    1. Hi , ¿ do you know how to put a delay between the first Thread Groups and the second Thread Groups?




      Delete
  4. Hi , ¿ do you know how to put a delay between the first Thread Groups and the second Thread Groups?

    ReplyDelete