Sub optimal regular expressions makes JMeter freeze (catastrophic backtracking regex)
- Dominant language
- Java
- Stars
- 9.5k
- Forks
- 2.3k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 5
Description
**chamath** ([Bug 60668](https://bz.apache.org/bugzilla//show_bug.cgi?id=60668&redirect=false)):
Every time I provide a invalid symbol to a regExp Tester, jmeter tool gets stuck and I will have to close the application and start the recording from the beginning.
attached is a screen shot of the invalid RegExp that got stuck.
Created attachment [Capture.PNG](https://apache.github.io/jmeter-bugzilla-attachments/68/60668/34695/Capture.PNG): RegExp that got stuck.
OS: All
Contributor guide
Research direction
Begin with the RegExp Tester scenario described in the issue and reproduce it using the attached Capture.PNG pattern. Trace how the tester handles invalid regular expressions; done means the application no longer freezes while preserving expected tester behavior. No source file or test is identified in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- performance, testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100