Skip to content

Infinite loop inside thread group does not work properly if "Start next loop after a Sample error" option set #2555

@asfimport

Description

@asfimport

Oleg (Bug 51865):
I tried to use new feature of JMeter2.5 "Start next loop".
There is infinite loop in thread group, it provide some users's scenario.
If error occured in the sampler which is inside loop, then behaviour of jmeter is strange. According to "View Results Tree" listener, it doesn't do anything, but thread remain active.
I prepared simplified example for reproducing this bug(attachment).
After running, it executes 3 loops and stopped (if no any errors occured)
Then enable sampler "(failed)Load page" (it must cause error)and run scenario again, and look at VRT. After first error, no any other samplers executed, but thread is still active. It do something depending on parameter "Forever" of loop. If definite count if iterations is set, some delay between loops present(about 10 seconds for 1000 iterations) but none the less scenario remain working.

Created attachment err1.jmx: Scenario for reproducing error

Severity: critical
OS: All

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions