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

Adding core support for RPC based load testing in jmeter

Đang mở
#6,421 1 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
20/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ệ
grpc, java
Lĩnh vực
performance, testing

Hướng nghiên cứu

Bắt đầu bằng cách xem xét HTTP sampler hiện có của JMeter và các workaround JSR223 và shell sampler được đề cập để hiểu việc kiểm thử RPC có thể phù hợp với công cụ như thế nào. Công việc được xem là hoàn tất khi đã thống nhất về một kiến trúc và cung cấp hỗ trợ native trong core cho việc load testing các dịch vụ RPC, bao gồm gRPC, thay vì phụ thuộc vào các công cụ của bên thứ ba.

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

Addressing issues #6415 , #6404 , #6313 , it seems like jmeter does not provide core support for testing servers using RPC or any other libraries like gRPC Most of the microservices are migrating to RPC based communication protocols as it is lightweight and comparatively less costly for inter-server communication. This makes me bring down to these points where we might need load testing for servers based on rpc communication protocols:

  1. Currently there are only third party workarounds that allow load testing for rpc communication types, which is inefficient.
  2. There's a need for native rpc sampler, just like http sampler exists.

and actually many more, which we can mention if you choose to have it as an enhancement.

Possible solution

The possible solution will highly depend on the architecture and planning on the issue before implementing a code solution. So it is difficult to mention it right away here, but will surely do once I've an idea of the final planning and architecture for this.

Possible workarounds
  1. using JSR223 with Groovy or a Python script to capture responses or measure latency
  2. using grpcurl in shell samplers
  3. using third party tools like gatling where we can initiate tests separately and use jmeter to trigger them using OS process samplers
JMeter Version

5.6.3

Java Version

openjdk version "23.0.1" 2024-10-15

OS Version

Microsoft Windows [Version 10.0.26100.3037]

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.