apache / apache/jmeter

Jmeter5.6.2 quits unexpectedly for my test without any error or exception

Open
#6,164 2 comments 0 reactions 0 assignees View on GitHub
defect to-triage
Dominant language
Java
Stars
9.5k
Forks
2.3k
Avg merge
1d 22h
Merged PRs (30d)
5

Description

### Expected behavior

It should start running threads

### Actual behavior

**quits** in few seconds after below message:
`Waiting for possible Shutdown/StopTestNow/HeapDump/ThreadDump message on port 4445`
**Below is what I capture in jmeter.log file:**
![Screenshot 2023-11-29 at 5 43 04 PM](https://github.com/apache/jmeter/assets/77463624/0a91d851-bbf3-455d-97f1-dc97f91ad7ca)
**Last few logs:**
`2023-11-30 01:40:35,514 INFO o.a.j.r.ClassFinder: Will scan jar /home/pragativ/apache-jmeter-5.6.2/lib/ext/opentelemetry-proto-0.20.0-alpha.jar with filter ExtendsClassFilter [parents=[interface org.apache.jmeter.functions.Function], inner=false, contains=null, notContains=null]. Consider exposing JMeter plugins via META-INF/services, and add JMeter-Skip-Class-Scanning=true manifest attribute so JMeter can skip classfile scanning
2023-11-30 01:40:35,552 INFO o.a.j.r.ClassFinder: Will scan jar /home/pragativ/apache-jmeter-5.6.2/lib/ext/protobuf-java-util-3.23.3.jar with filter ExtendsClassFilter [parents=[interface org.apache.jmeter.functions.Function], inner=false, contains=null, notContains=null]. Consider exposing JMeter plugins via META-INF/services, and add JMeter-Skip-Class-Scanning=true manifest attribute so JMeter can skip classfile scanning
2023-11-30 01:40:35,555 INFO o.a.j.r.ClassFinder: Will scan jar /home/pragativ/apache-jmeter-5.6.2/lib/ext/jmeter-sampler-1.0-SNAPSHOT.jar with filter ExtendsClassFilter [parents=[interface org.apache.jmeter.functions.Function], inner=false, contains=null, notContains=null]. Consider exposing JMeter plugins via META-INF/services, and add JMeter-Skip-Class-Scanning=true manifest attribute so JMeter can skip classfile scanning 35,1 `

### Steps to reproduce the problem

I have 3 jars in lib/ext which are :

- opentelemetry-proto-0.20.0-alpha.jar
- protobuf-java-util-3.23.3.jar
- and a customized jar which contains class extended from AbstractJavaSamplerClient to parse proto and add random fields for load testing.

**Note** same jars but downgraded versions:

- protobuf-java-3.21.7.jar
- opentelemetry-proto-0.18.0-alpha.jar
- same customized class jar as above

works as expected in older jmeter 5.5 version.

All I do is try to execute the load test using command:
> bin/jmeter.sh -t sr-load.jmx -n,

my apache-jmeter-5.6.2 folder contains sr-load.jmx and a test-proto.binary which helps parse the proto in custom jar class.

Let me know if you need more details.

### JMeter Version

5.6.2

### Java Version

openjdk 17.0.8 2023-07-18

### OS Version

MacOS Ventura 13.6.1

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.