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

            Bug ID: 64268
           Summary: Duplicate HTTP query parameters
           Product: JMeter
           Version: 5.2.1
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTTP
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: JMETER_5.3.0

Created attachment 37124
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=37124&action=edit
simplest test plan to reproduce the issue

Hello!

I'm facing a weird bug involving:
 * User defined variables
 * ForEach Controller
 * HTTP Request Defaults (Config)
 * HTTP Request (Sampler)

I tried to create the simplest testplan to reproduce the issue:

 * I have defined a list of 6 user defined values.
 * I have a loop which creates 6 HTTP Requests
 * I have 2 HTTP Request Default, one outside the loop and one inside the loop.
They set different fields (1 path and 1 query parameter)

Now the weird part: for some reason, some of my HTTP requests have their query
parameter duplicated:
 * Requests 1, 2, 4 and 6 are ALWAYS perfecty fine
 * Requests 3 and 5 have ALWAYS their query parameter duplicate

I can't find any logic in this!

Please find attached the testplan. I know that in this test plan, I could move
both HTTP Request Default outside the loop to solve this issue. But I can not
do that in my real test plan.

Thanks in advance!

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

Reply via email to