Bug 62446 - Counter documentation is wrong in required fieds
Summary: Counter documentation is wrong in required fieds
Status: RESOLVED FIXED
Alias: None
Product: JMeter
Classification: Unclassified
Component: Main (show other bugs)
Version: 4.0
Hardware: All All
: P2 normal (vote)
Target Milestone: JMETER_5.1.1
Assignee: JMeter issues mailing list
URL:
Keywords: FixedInTrunk
Depends on:
Blocks: 63225
  Show dependency tree
 
Reported: 2018-06-12 05:42 UTC by orimarko
Modified: 2019-03-03 13:35 UTC (History)
2 users (show)



Attachments
Patch with updated docs (2.89 KB, patch)
2018-09-03 04:39 UTC, orimarko
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description orimarko 2018-06-12 05:42:23 UTC
Counter documentation is wrong in required fields:

Reference name - can be empty will create a JMeter variable with empty string which can be called as ${}

Starting value - can be empty will create a value from 0

Increment - can be empty will increment a value with 0 (no increment)

Should update documentation or add limitation in code

Based on https://stackoverflow.com/questions/50794408/jmeters-counter-without-required-fields
Comment 1 Felix Schumacher 2018-06-12 07:22:38 UTC
I think the empty name and increment of zero is a bug.

An empty name should probably be handled as a user input error.

The other two fields can be set to a default value. My preference would be start counter with 0 and increment by 1.

The docs should - of course - reflect this.
Comment 2 orimarko 2018-09-03 04:39:11 UTC
Created attachment 36130 [details]
Patch with updated docs
Comment 3 Philippe Mouawad 2019-03-03 13:34:47 UTC
Author: pmouawad
Date: Sun Mar  3 13:31:55 2019
New Revision: 1854709

URL: http://svn.apache.org/viewvc?rev=1854709&view=rev
Log:
Bug 62446 - Counter documentation is wrong in required fieds
Bugzilla Id: 62446

Modified:
    jmeter/trunk/xdocs/changes.xml
    jmeter/trunk/xdocs/usermanual/component_reference.xml


See Bug 63225