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

eR@SeR <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #2 from eR@SeR <[email protected]> ---
Hi,

The first two issues are resolved. The third one is opened here
https://bz.apache.org/bugzilla/show_bug.cgi?id=65274 with one more example that
doesn't behave as expected.

By fixing first two, now there is one more where blank data-urlencode is among
others who are not blank:

curl --location --request POST 'http://example.com/access/token' \
--header 'HTTP_X_FORWARDED_FOR: 127.0.0.1' \
--header 'Accept-Language: it-IT' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'client_id=someID' \
--data-urlencode '=' \
--data-urlencode 'client_secret=someSecret' \
--data-urlencode 'grant_type=password' \
--data-urlencode 'username=test' \
--data-urlencode 'password=Password1234'

HTTP Sampler's data is successfully generated but value
"client_id=someID&&ata-urlencode&grant_type=password&username=test&password=Password1234"
is wrong.

Correct one should be
"client_id=someID&&client_secret=someSecret&grant_type=password&username=test&password=Password1234"

Jmeter 5.5 5f5b816
Microsoft Windows 10 Enterprise 64-bit
java version "15.0.1" 2020-10-20

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

Reply via email to