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: [email protected]
        ReportedBy: [email protected]


// 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to