You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by bu...@apache.org on 2010/01/05 14:08:09 UTC

DO NOT REPLY [Bug 48487] New: Method JavaSamplerContext.getParameterNamesIterator return iterator with wrong number of elements

https://issues.apache.org/bugzilla/show_bug.cgi?id=48487

           Summary: Method JavaSamplerContext.getParameterNamesIterator
                    return iterator with wrong number of elements
           Product: JMeter
           Version: 2.3.4
          Platform: PC
        OS/Version: Windows Vista
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
        AssignedTo: jmeter-dev@jakarta.apache.org
        ReportedBy: robert.szmacinski@gmail.com


// Set default 

@Override
public Arguments getDefaultParameters() {

Arguments arguments = new Arguments();

Integer defaultParamValue = 0;
       
arguments.addArgument("probabilityOfOccurence1",defaultParamValue.toString());
       
arguments.addArgument("probabilityOfOccurence2",defaultParamValue.toString());
       
arguments.addArgument("probabilityOfOccurence3",defaultParamValue.toString());
       
arguments.addArgument("probabilityOfOccurence4",defaultParamValue.toString());
       
arguments.addArgument("probabilityOfOccurence5",defaultParamValue.toString());
        return arguments;

    }

@Override
    public SampleResult runTest(JavaSamplerContext javaSamplerContext) {

        Iterator iter = javaSamplerContext.getParameterNamesIterator();


iter HAS 6 Elements instead of 5

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 48487] Method JavaSamplerContext.getParameterNamesIterator return iterator with wrong number of elements

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48487

Sebb <se...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Sebb <se...@apache.org> 2010-01-21 08:55:18 UTC ---
getDefaultParameters() and getParameterNamesIterator() don't have any direct
relationship to each other.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org