User defined variable of the last thread overrides the predecessor thread user defined variable
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 52/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- java
- 領域
- performance, testing
調査の方向性
issue に記載されている 2 つの Thread Groups および User Defined Variable 要素から始め、添付の JMeter_Bug2.docx を使用して JMeter 5.5 で動作を再現します。両方のグループを実行したときに P_url がどのように解決されるかを追跡し、その後、2 番目のグループの値が 1 番目のグループの値を上書きすることなく、各 Thread Group がそれぞれの値を使用することを確認します。
索引モデルが issue の本文から書いたものです。
説明
Expected behavior
The user defined variables that are defined under thread group should have the scope with in the respective thread group.
Actual behavior
When tester is having 2 scripts with 2 different login urls and the tester combines them in same test plan notice some of the general user defined variables like P_url which is different for each of the scripts fails to work as the P_url defined in the 2nd thread group overrides the P_url defined in the 1st thread group.
Steps to reproduce the problem
- User created 2 thread groups
- Each thread group has user defined variable element
- The name of variable P_url is used to parameterize the url of the request
- P_url in the thread group 1 holds the value of 1st application url
- P_url in the thread group 2 holds the value of 2nd application url
- When user runs the test notice that P_url value in thread group 1 is overwritten by 2nd application url
- Refer the document provided
JMeter Version
5.5
Java Version
openjdk-17.0.14
OS Version
Windows Server 2022 Datacenter 21H2
- 主要言語
- Java
- スター
- 9.6k
- フォーク
- 2.3k
- 平均マージ
- 20時間 42分
- マージ済み PR(30日)
- 10
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
apache/jmeter のほかの issue
-
[Bug] Typo in assertion property name: "Asserion.test_strings" missing 't'対応中かも @waterWang が 59 日前に担当しました。 オープンdefect to-triage
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
apache/jmeter#6751 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement to-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
RandomDate ignores inclusive end date and throws when start == end対応中かも @weillercarvalho が 335 日前に担当しました。 オープンdefect to-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
apache/jmeter#6609 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
-
documentation to-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
invalid wontfix
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
apache/jmeter#5770 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
[Bug] dubbo.protocol.triple.max-message-size is only read from OS environment variables対応中かも @CCCLL が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
hierynomus/sshj#1070 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
intellij-elixir/intellij-elixir#4492 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
quarkiverse/quarkus-openapi-generator#1796 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
quarkiverse/quarkus-jooq#324 ·
メンテナーはふだん 1 日以内に返信