Taurus 中的 extractor children scope 是什么意思?

What does it mean extractor children scope in Taurus?

taurus 中的 JMeter 提取器有 属性 scope(检查子样本)

https://gettaurus.org/docs/JMeter/#Extractors
scope: children

你能解释一下例子中的意思吗?

编辑

来自 上下文是在重定向后包含页面

Main/Sub 样本是 JMeter extractors 概念

This is for use with samplers that can generate sub-samples, e.g. HTTP Sampler with embedded resources, Mail Reader or samples generated by the Transaction Controller.

  • Main sample only - only applies to the main sample
  • Sub-samples only - only applies to the sub-samples
  • Main sample and sub-samples - applies to both.
  • JMeter Variable Name to use - assertion is to be applied to the contents of the named variable

金牛座对应值

Possible value for targets are:

  • all - main sample and sub-samples
  • children - sub-samples
  • variable for search in JMeter variables Default value of scope is empty, it means search in main sample only.

当重定向发生时或者如果有 embedded resources JMeter 会为它们生成所谓的“子样本”:

  • 如果您只想将提取器应用于主样本 - 将 scope 留空
  • 如果您只想将提取器应用于儿童 - 将 scope 设置为 children
  • 如果您想将提取器应用于主样本和子样本 - 将 scope 设置为 all

以上只是 JMeter Post-Processors 设置的 Taurus 等价物: