Bug 62446

Summary: Counter documentation is wrong in required fieds
Product: JMeter - Now in Github Reporter: orimarko <orimarko>
Component: MainAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: normal CC: orimarko, p.mouawad
Priority: P2 Keywords: FixedInTrunk
Version: 4.0   
Target Milestone: JMETER_5.1.1   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 63225    
Attachments: Patch with updated docs

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
Comment 4 The ASF infrastructure team 2022-09-24 20:38:13 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/4793