Payload - Manual - AxUnit-ST - AxUnit ST documentation package - AxUnit-ST,

AxUnit-ST CLI Tool (test)

Portfolio
SIMATIC AX
Product
AxUnit-ST
Software version
8.3.9
Edition
07/2025
Language
English (original)
Package Name
@ax/axunitst-docs

Payloads allow you to parameterize your mocks and dynamically control what happens within the mock function. In the example above, we have declared two similar mock functions. With the payload mechanism, it is possible to control the behavior of your mock functions.