apache / apache/jmeter

HTTP Sampler/Files upload tab - auto detect MIME type of selected file

Open
#5,471 5 comments 0 reactions 0 assignees View on GitHub
enhancement keyword: FixedInTrunk keyword: PatchAvailable os: All P2
Dominant language
Java
Stars
9.5k
Forks
2.3k
Avg merge
1d 22h
Merged PRs (30d)
5

Description

**eR@SeR** ([Bug 65027](https://bz.apache.org/bugzilla//show_bug.cgi?id=65027&redirect=false)):
Hello,

When one or more files are selected to upload in HTTP Sampler/Files upload tab, the file path is generated but the MIME type isn't. IMO, it is better to auto-detect MIME type of selected file, than to type it manually every time.

Jmeter 5.4.1 9d2ba68
Microsoft Windows 10 Pro 64-bit
java version "1.8.0_251"

Created attachment [auto detect mime type.jpg](https://apache.github.io/jmeter-bugzilla-attachments/27/65027/37648/auto%20detect%20mime%20type.jpg): auto detect mime type

auto detect mime type

OS: All

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.