You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2020/03/26 12:23:31 UTC

[Bug 64268] New: Duplicate HTTP query parameters

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: issues@jmeter.apache.org
          Reporter: nicolas.apo@gmail.com
  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.

[Bug 64268] Duplicate HTTP query parameters

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

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Hardware|PC                          |All
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om
            Version|5.2.1                       |5.0

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

[Bug 64268] Duplicate HTTP query parameters

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

--- Comment #4 from ncasaux <ni...@gmail.com> ---
A few note, this issue is not new at all and has always been there, at least in
5.X (but maybe before that)

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

[Bug 64268] Duplicate HTTP query parameters

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

--- Comment #2 from ncasaux <ni...@gmail.com> ---
Created attachment 37126
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=37126&action=edit
Request with duplicate query param

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

[Bug 64268] Duplicate HTTP query parameters

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

--- Comment #1 from ncasaux <ni...@gmail.com> ---
Created attachment 37125
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=37125&action=edit
Request without duplicate

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

[Bug 64268] Duplicate HTTP query parameters when using Parameter in HTTP Request Defaults

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

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Duplicate HTTP query        |Duplicate HTTP query
                   |parameters                  |parameters when using
                   |                            |Parameter in HTTP Request
                   |                            |Defaults

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

[Bug 64268] Duplicate HTTP query parameters

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

ncasaux <ni...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #3 from ncasaux <ni...@gmail.com> ---
A few note, this issue is not new at all and has always been there, at least in
5.X (but maybe before that)

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