apache / apache/jmeter

Toggle button issue

Open
#5,485 5 comments 0 reactions 0 assignees View on GitHub
os: All P2
Dominant language
Java
Stars
9.5k
Forks
2.3k
Avg merge
1d 22h
Merged PRs (30d)
5

Description

**eR@SeR** ([Bug 65068](https://bz.apache.org/bugzilla//show_bug.cgi?id=65068&redirect=false)):
Hello,

The toggle element is not working as expected when the Toggle button from the menu and Ctrl + T shortcut are used in combination with Ctrl button.

Steps:

1. Click on HTTP Request 1
2. Press and hold Shift and click on HTTP Request 4 (all four samplers are selected)
3. Release Shift, press Ctrl and Click on HTTP Request 3 to ignore toggle action on it
4. Click Toggle button in menu or press Ctrl + T
5. Click on any other non HTTP sampler in test plan

Actual:

HTTP Request from 1 to 4 are disabled including 3rd one.

Expected:

HTTP Request from 1 to 4 are disabled but 3rd one should remain enabled.

Reproduced on Samplers, Controllers, Config elements, PreProcessors, PostProcessors, Timers, Assertions...but works fine on listeners. Enable/Disable and Toggle in the right-click context menu work as expected.

Jmeter 5.4.1 7acd031
Microsoft Windows 10 Enterprise 64-bit
java version "14.0.1" 2020-04-14

Created attachment [toogleIssues.jmx](https://apache.github.io/jmeter-bugzilla-attachments/68/65068/37695/toogleIssues.jmx): toggle element example

Version: Nightly
Severity: normal
OS: All

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.