- Overview
- Getting started
- How To...
- User Guide
- Migration
-
Reference
-
Steps
- addItem
- addToInt
- addToSharedCounter
- awaitAllResponses
- awaitDelay
- awaitInt
- awaitVar
- breakIfFinished
- breakSequence
- clearHttpCache
- conditional
- fail
- foreach
- getIndex
- getItem
- getSharedCounter
- getSize
- hotrodRequest
- httpRequest
- json
- log
- loop
- markRequestInvalid
- newSequence
- noop
- publishAgentData
- publishGlobalCounters
- pullSharedMap
- pushSharedMap
- randomCsvRow
- randomFile
- randomInt
- randomItem
- randomUUID
- readAgentData
- removeItem
- restartSequence
- scheduleDelay
- set
- setInt
- setItem
- setSharedCounter
- stop
- stopwatch
- stringToInt
- template
- thinkTime
- timestamp
- unset
-
Processors
- addItem
- addToInt
- addToSharedCounter
- array
- clearHttpCache
- closeConnection
- collection
- conditional
- count
- fail
- getIndex
- getItem
- getSharedCounter
- getSize
- gzipInflator
- json
- log
- logInvalid
- markRequestInvalid
- newSequence
- parseHtml
- publishAgentData
- publishGlobalCounters
- queue
- readAgentData
- removeItem
- restartSequence
- set
- setInt
- setItem
- setSharedCounter
- store
- storeInt
- stringToInt
- unset
- Actions
-
Steps
- Custom extensions
- Controller API
- Architecture
- Release notes
publishGlobalCounters
Gathers values from session variables and publishes them globally (to all agents).
You can name the counters individually (example 1) or use the variable names (example 2):
```
Example 1:
- publishGlobalCounters:
key: myKey
vars: [ foo, bar ]
Example 2:
- publishGlobalCounters:
key: someOtherKey
vars:
- foo: myFoo
- bar: bbb </code>```
Property | Type | Description |
---|---|---|
key | String | Identifier of the global record. |
vars | Builder | List of names and session variables. |
vars
Property | Type | Description |
---|---|---|
<any> | <unknown> | <no description> |
<list of strings> | <unknown> | <no description> |