https://issues.apache.org/bugzilla/show_bug.cgi?id=51082

           Summary: document how to detect a loop (monopolizing the CPU)
           Product: JMeter
           Version: Nightly (Please specify date)
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Main
        AssignedTo: [email protected]
        ReportedBy: [email protected]


a complex script does not advance.

Memory is not the issue, so
http://wiki.apache.org/jakarta-jmeter/JMeterFAQ#JMeter_keeps_getting_.22Out_of_Memory.22_errors.__What_can_I_do.3F
will not help.
Just cpu-usage is high

When you run the script on a nightly in eclipse, you get a stack trace, but
when pausing, you see the stack trace, but you do not know 
1) which include controller is used
2) which while controller is shown
3) which if controller is shown
4) which variables are being compared in the if controller
5) on which iteration the while you are

Maybe there should be the possibility in while controller to set an upper limit
of iterations and if exceeded, dump the variable available...

What other hints? Didn't find any relevant FAQ or mailing list contributions on
the topic nor bugzilla entries

c11378.<clinit>() line: not available    
NativeConstructorAccessorImpl.newInstance0(Constructor, Object[]) line: not
available [native method]    
NativeConstructorAccessorImpl.newInstance(Object[]) line: 39    
DelegatingConstructorAccessorImpl.newInstance(Object[]) line: 27    
Constructor<T>.newInstance(Object...) line: 513    
Class<T>.newInstance0() line: 355    
Class<T>.newInstance() line: 308    
Codegen.createScriptObject(Object, Object) line: 83    
Context.compileImpl(Scriptable, Reader, String, String, int, Object, boolean,
Interpreter, ErrorReporter) line: 2280    
Context.compileString(String, Interpreter, ErrorReporter, String, int, Object)
line: 1284    
Context.compileString(String, String, int, Object) line: 1273    
Context.evaluateString(Scriptable, String, String, int, Object) line: 1129    
IfController.evaluateCondition(String) line: 105    
IfController.next() line: 165    
WhileController(GenericController).nextIsAController(Controller) line: 184    
WhileController(GenericController).next() line: 148    
WhileController.next() line: 97    
GenericController.nextIsAController(Controller) line: 184    
GenericController.next() line: 148    
IncludeController(GenericController).nextIsAController(Controller) line: 184    
IncludeController(GenericController).next() line: 148    
IfController(GenericController).nextIsAController(Controller) line: 184    
IfController(GenericController).next() line: 148    
IfController.next() line: 169    
GenericController.nextIsAController(Controller) line: 184    
GenericController.next() line: 148    
LoopController(GenericController).nextIsAController(Controller) line: 184    
LoopController(GenericController).next() line: 148    
LoopController.next() line: 108    
ThreadGroup(AbstractThreadGroup).next() line: 75    
JMeterThread.run() line: 268    
Thread.run() line: 662

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to