Skip to content
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

documentation for __Random should specify arguments are Integer #1676

Closed
asfimport opened this issue Feb 7, 2006 · 2 comments
Closed

documentation for __Random should specify arguments are Integer #1676

asfimport opened this issue Feb 7, 2006 · 2 comments

Comments

@asfimport
Copy link
Collaborator

Ivan Rancati (Bug 38554):
From the jmeter.log it's quite obvious how to fix the error, however you may
want to update the docs saying "an integer" instead of "a number"

thanks again for a great testing tool

2006/02/07 17:00:33 ERROR - jmeter.threads.JMeterThread: Test failed!
java.lang.NumberFormatException: For input string: "10000000000"
at
java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:459)
at java.lang.Integer.parseInt(Integer.java:497)
at org.apache.jmeter.functions.Random.execute(Random.java:77)
at
org.apache.jmeter.engine.util.CompoundVariable.execute(CompoundVariable.java:125)
at
org.apache.jmeter.engine.util.CompoundVariable.execute(CompoundVariable.java:93)
at
org.apache.jmeter.testelement.property.FunctionProperty.getStringValue(FunctionProperty.java:85)
at
org.apache.jmeter.modifiers.UserParameters.setValues(UserParameters.java:141)
at
org.apache.jmeter.modifiers.UserParameters.iterationStart(UserParameters.java:158)
at
org.apache.jmeter.control.GenericController.fireIterationStart(GenericController.java:227)
at
org.apache.jmeter.control.GenericController.fireIterEvents(GenericController.java:217)
at
org.apache.jmeter.control.GenericController.next(GenericController.java:86)
at org.apache.jmeter.threads.ThreadGroup.next(ThreadGroup.java:123)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:233)
at java.lang.Thread.run(Thread.java:595)

Severity: minor
OS: other

@asfimport
Copy link
Collaborator Author

Sebb (migrated from Bugzilla):
Or perhaps allow it to be a Long ...

@asfimport
Copy link
Collaborator Author

Sebb (migrated from Bugzilla):
Thanks for the report - fixed by allowing long numbers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant