New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ArithmeticException: / by zero when sampleCount is equal to 0 #3445
Comments
@pmouawad (migrated from Bugzilla): http://jmeter.apache.org/nightly.html Installing JMeter runtime Download the _bin and _lib files |
Charlie Stott (migrated from Bugzilla): Please can you point to the change that would have fixed this issue in the nightly build? I could not find any other reference to the problem. jmeter.log contains the following stacktrace: 2014/10/03 16:42:02 INFO - jmeter.threads.JMeterThread: Thread finished: setUp Thread Group 1-1 |
Charlie Stott (migrated from Bugzilla): |
Charlie Stott (migrated from Bugzilla): My previous attempt to try nightly failed due to getting different versions of the lib and bin downloads, due to the build updating the distributions at almost the exact same time!! |
@pmouawad (migrated from Bugzilla): URL: http://svn.apache.org/r1628809 Modified: Date: Sat Oct 4 19:01:18 2014 URL: http://svn.apache.org/r1629438 Modified: |
@pmouawad (migrated from Bugzilla): URL: http://svn.apache.org/r1629524 Modified: |
Charlie Stott (Bug 57052):
When I use Mail Reader Sampler to read a gmail account using imaps, and there are no messages to retrieve, the thread ends with an exception:
As long as there is a message, this will not occur.
My test suite needs to wait for an email to arrive, then act on the contents.
When the Mail Reader Sampler is used within a loop/conditional element, the thread ends and the loop is broken.
This seems a trivial fix (check no of messages before using value as a divisor). If someone can point me in the right direction (source repo?) I am happy to submit code, pull request, etc..
Severity: normal
OS: All
Duplicates:
The text was updated successfully, but these errors were encountered: