Skip to content

5.6: After disabling the Java Request sampler, it cannot be enabled again #6004

@LeeBaul

Description

@LeeBaul

Expected behavior

In version 5.6 of jmeter, I used a java request sampler in my script. When I disable a Java request sampler and enable it again, the GUI page displays successful activation. When I click on other components, it automatically sets it to disabled status.
In jmeter version 5.5, this phenomenon was not replicated.

Actual behavior

I am using org. apache. jmeter. protocol. java. test. JavaTest, and this issue also exists when I switch to my own customized Java sample request.

Steps to reproduce the problem

in Thread Group disable Java Request1

image

enable again Java Request1 , GUI display enabled successfully.

image

When I click on other requests, it automatically switches to a disabled state.

image

JMeter Version

5.6

Java Version

sun jdk version 1.8.0_201

OS Version

Microsoft Windows [版本 10.0.22621.1848]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions