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

热点参数并发数限流[BUG] #3436

Open
CuzTNT opened this issue Jul 30, 2024 · 0 comments
Open

热点参数并发数限流[BUG] #3436

CuzTNT opened this issue Jul 30, 2024 · 0 comments

Comments

@CuzTNT
Copy link

CuzTNT commented Jul 30, 2024

Issue Description

Type: bug report

Describe what happened

并发测试热点参数,限流不稳定。
限制并发数为10,并发20次,多次测试,部分通过次数超过10,部分符合预期

Describe what you expected to happen

并发限制为10

How to reproduce it (as minimally and precisely as possible)

  1. apifox 并发测试

Tell us your environment

1.8.3

Anything else we need to know?

ParameterMetric.getThreadCount方法先于addThreadCount调用,同一时刻多个线程进入getThreadCount时获取当前线程数均为null

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

No branches or pull requests

1 participant