Bug 62178

Summary: Add default value to __V function
Product: JMeter - Now in Github Reporter: orimarko <orimarko>
Component: MainAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: enhancement CC: orimarko, p.mouawad
Priority: P2 Keywords: FixedInTrunk
Version: 4.0   
Target Milestone: JMETER_5.0   
Hardware: All   
OS: All   
Attachments: Add second parameter default value for __V

Description orimarko 2018-03-14 11:37:40 UTC
There's a need, when handling with JMeter variables, to set default value 
Properties allow it using __P or __property

My proposal is to add second parameter default value to __V function

Default Value - The default value for the variable.

Original question:
https://stackoverflow.com/questions/49273179/i-have-used-csv-file-in-jmeter-script-now-i-want-if-data-is-not-read-from-csv-f
Comment 1 orimarko 2018-03-14 12:03:01 UTC
Created attachment 35762 [details]
Add second parameter default value for __V

Notice changes.xml is full with previous changes so I didn't updated it
Comment 2 Philippe Mouawad 2018-03-18 14:32:00 UTC
Author: pmouawad
Date: Sun Mar 18 14:30:39 2018
New Revision: 1827141

URL: http://svn.apache.org/viewvc?rev=1827141&view=rev
Log:
Bug 62178 - Add default value to __V function
Contributed by Orimarko
Bugzilla Id: 62178

Modified:
    jmeter/trunk/src/functions/org/apache/jmeter/functions/Variable.java
    jmeter/trunk/test/src/org/apache/jmeter/functions/VariableTest.java
    jmeter/trunk/xdocs/changes.xml
    jmeter/trunk/xdocs/usermanual/functions.xml
Comment 3 The ASF infrastructure team 2022-09-24 20:38:12 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/4714