https://bz.apache.org/bugzilla/show_bug.cgi?id=58140

            Bug ID: 58140
           Summary: Fail to handling input with random values as
                    parameters in java request
           Product: JMeter
           Version: 2.11
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 32905
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=32905&action=edit
code example

1. Create a Java request Jar, code please see the attached.
2. Launch JMeter and add this Java request sample
3. Add a Random Variable (right click Thread Group, add=>Config Element=>Random
Variable), set variable Name="random"
4. in the Java request, set the value of the para =${random}
5. save jmx file
6. Execute it, you will see in the cmd we get the correct output.
7. However, if we change the loop Count to set it as >1 number, for example,
set it as 5. still keep Number of Threads(users)=1
Expect result:
we should get different values in the cmd.
for example:
23
54
32
18
4
Actual result:
every time I get same value. for example:
34
34
34
34
34

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to