question

RoyL avatar image
RoyL asked Spirent_Admin answered

Block Mapping: What is the difference between a block and a container?

iTestresponse mapblock map
rm_block_tree.PNG (5.9 KiB)
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Spirent_Admin avatar image
Spirent_Admin answered
Block ---- A block represents a portion of the response. **Block properties** The Block properties enable you to specify: * That the block itself (that is, the portion of the response represented by the block) can be absent from a response or can appear more than once in a response. * The expected contents of the block. You Will use the contents that you paste into this box as the basis for line and token definitions (described in a moment). Container ---- You create a container when a response map should contain more than one block. Unlike blocks, containers do not contain any response text. Containers function only to hold groups of blocks or other containers (subcontainers) that hold other blocks (and possibly further containers). When you select a container, the **Properties** window changes to reflect container-level properties. In the example, the body container holds two blocks: **infoPID** and **Stats**. ![rm_block_tree.PNG][1] **Container properties** Container-level properties are the same as block-level properties with a single addition; you specify whether the contents of the container must appear in the listed order or in any order. By default for any container, the listed order of blocks and subcontainers within the container is the order in which they must appear in the response. [1]: /storage/attachments/2352-rm_block_tree.PNG
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.