2

I have created a jmeter scrip for 25 users to login to system and perform some functions. I wanted to run that run that test plan forever. So i have selected Loop count "forever" option in test plan.But thread group doesn't run forever and its stoped automatically. Why this is Happening? Structure of Test Plan as below;

  • Test Plan

  • Thread group

    • HTTP Request Default
    • HTTP Cookie Manager
    • HTTP Cache Manager
    • CVS Data Set Config
    • Transaction Controller for Login
    • Transaction Controllers for Other functions
    • Transaction Controller for Logout
    • View Result Tree
    • Response Time Graph
Udani
  • 41
  • 1
  • 5

2 Answers2

3

Double Check your CSV Data Set Config element and make sure that:

  • "Recycle on EOF?" is true
  • "Stop thread on EOF?" is false
Dmitri T
  • 159,985
  • 5
  • 83
  • 133
  • Checked it. But there is no problem with those parameters. – Udani Sep 10 '15 at 04:28
  • Don't have any other ideas. I assume that "Scheduler" section of the Thread Group(s) is disabled as well. Check *jmeter.log* file for any suspicious entries. If it doesn't help can you post it and your .jmx file somewhere so we could take a look? – Dmitri T Sep 10 '15 at 16:36
1

This is also can be done using loop controller.

Use 'loop controller' under 'Thread group' and segregate all your requests('25 users to login to system...') here, and keep Transaction Controller out of loop.

Here, it is also possible to use 'Simple Controller' and segregate these requests.

Run jmeter script's using console, and disable components like 'View Result Tree' and 'Response Time Graph' it is best to configure jmeter for memory leaks.

swapnil shirke
  • 91
  • 1
  • 1
  • 11