Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Feature Request: Support HTTP(S) Test Script Recorder in Headless/CLI Mode

Đang mở
#6,464 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
java
Lĩnh vực
cli, testing

Hướng nghiên cứu

Payload không nêu tên tệp nguồn hoặc các bài kiểm thử. Hãy bắt đầu bằng cách xác định JMeter’s HTTP(S) Test Script Recorder và đường dẫn khởi động từ dòng lệnh của nó; xác định vòng đời CLI, cách xử lý Template/Output và hành vi của chứng chỉ, sau đó xác thực hoạt động Headless trong các bài kiểm thử hướng tới CI.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement to-triage
Use case

Currently, JMeter's HTTP(S) Test Script Recorder requires a GUI to start, stop, and dynamically capture HTTP/HTTPS requests into a test plan. There’s no supported way to run the recorder in headless or command-line mode.

For users running JMeter on server VMs or in CI/CD pipelines without a desktop environment, this makes it impossible to record live traffic from automated scripts or applications (like pytest-based API calls) directly into a .jmx plan. The only options are recording locally on a GUI-enabled machine and then transferring the test plan, or manually building the plan — both of which introduce extra steps and operational overhead.

Possible solution

It would be hugely helpful if JMeter could offer a way to:

  • Start and stop the HTTP(S) Test Script Recorder proxy via CLI.
  • Specify a test plan template or output file to dynamically capture recorded requests.
  • Optionally generate the Root CA certificate via CLI and specify the location.
  • Run the recorder without requiring a GUI, for headless environments.

This would unlock use cases like server-side recordings during automated test runs or in cloud-based environments.

Possible workarounds
  • Recording on a local GUI setup and copying the .jmx file — inconvenient for CI/CD.
  • Manually creating test plans — tedious for complex APIs.
  • Using remote GUI access (X11 forwarding, VNC, etc.) — adds setup overhead.
JMeter Version

5.6.3

Java Version

Java 24.0.1 2025-04-15

OS Version

Sequioia 15.5

Ngôn ngữ chính
Java
Star
9.6k
Fork
2.3k
Merge trung bình
18 giờ 33 phút
Pull request đã merge (30 ngày)
12

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của apache/jmeter

Tất cả issue của apache/jmeter

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.