apache / apache/jmeter

Sub optimal regular expressions makes JMeter freeze (catastrophic backtracking regex)

Open
#4,256 4 comments 0 reactions 0 assignees View on GitHub
enhancement need info os: All P2
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.

RegExp that got stuck.

OS: All

Contributor guide

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.