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

--- Comment #8 from eR@SeR <nale...@gmail.com> ---
(In reply to Felix Schumacher from comment #5)
> For the third bug report part, you could look at
> https://bz.apache.org/bugzilla/show_bug.cgi?id=64636 which is probably the
> same as your report.

cURL is not the same as I reported, but if
https://bz.apache.org/bugzilla/show_bug.cgi?id=64636 gets fixed, might be fixed
for reported one. Please note that same happens if parameter or header values
are blank.

(In reply to Felix Schumacher from comment #6)
> For the second part (parameters which values start with @ landing in files
> upload tab), I believe, JMeter is doing the correct thing here.
> 
> The curl man page states in the '--form' section: "...  To force the
> 'content' part to be a file, prefix the file name with an @ sign. ..." 
> 
> If you want to send a value starting with an @ sign, you probably have to
> use --form-string as parameter. The curl man page for '-form-string' says:
> "... Similar to -F, --form except that the value string for the named
> parameter is used literally. Leading '@' and '<' characters, and the
> ';type='  string  in
> the  value  have no special meaning. ..."
> 
> Maybe postman tries the value in the parameter, before it decides, whether
> this is a file or not. JMeter can't really decide this correctly, as the
> file has not to be present on creation of the test plan. It has to be
> present when the test plan is being run.
> 
> I am not sure, what to do about this, but it might be a good idea to discuss
> this on the mailing list and/or put this into its own bug report, as it will
> change the behaviour of detection.

You might missed difference between:

--form 'DocumentType="@ID_CARD"' \
--form 'BacksideImage=@"/C:/Users/someuser/Desktop/Desktop.jpg"' \

@ in DocumentType parameter is inside quotes, but in BacksideImage is before
quotes. Does this change anything?

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

Reply via email to