Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with using Junit Sampler #6247

Open
GaoQD opened this issue Mar 12, 2024 · 1 comment
Open

Issues with using Junit Sampler #6247

GaoQD opened this issue Mar 12, 2024 · 1 comment

Comments

@GaoQD
Copy link

GaoQD commented Mar 12, 2024

Expected behavior

When adding Junit Sampler, you can choose Classname and Test Method

Actual behavior

When adding Junit Sampler, Classname and Test Method cannot be selected

Steps to reproduce the problem

  1. Add thread group
  2. Add JUnit Request
  3. Select Classname and Test Method
image

JMeter Version

5.6.3

Java Version

java 11.0.15.1 2022-04-22 LTS

OS Version

macos sonoma 14.4

@Ninja-Cyborg
Copy link

From the empty Package filter field, I believe you haven't followed the step.
Here is the full step from official documentation:
https://jmeter.apache.org/usermanual/junitsampler_tutorial.html#usage
btw once you copy jars to jmeter/lib/junit, restart JMeter if already open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants