添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

This is by design. If you have zero or positive number in Match No JMeter's Post-Processor will return not more than one match, that's why you won't have this xxx_matchNr JMeter Variable.

As per Regular Expression Extractor documentation (the approach is applicable to all Post-Procesors)

Match No. (0 for Random)

Indicates which match to use. The regular expression may match multiple times.

  • Use a value of zero to indicate JMeter should choose a match at random.

  • A positive number N means to select the nth match.

  • Negative numbers are used in conjunction with the ForEach Controller - see below.

    More information: Using RegEx (Regular Expression Extractor) with JMeter

    Thanks for contributing an answer to Stack Overflow!

    • Please be sure to answer the question . Provide details and share your research!

    But avoid

    • Asking for help, clarification, or responding to other answers.
    • Making statements based on opinion; back them up with references or personal experience.

    To learn more, see our tips on writing great answers .

  •