Petals ANT Tasks 2.10.0+

Version 1 by Christophe DENEUX
on Jul 05, 2024 12:17.

compared with
Current by Christophe DENEUX
on Jul 05, 2024 12:22.

Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (1)

View Page History
</waitfor>
{code}

h2. Condition {{isResponseTimeMetricAvailable}}

The condition '{{isResponseTimeMetricAvailable}}' verifies that response time metrics are available for the given component.

|| Attribute || Description || Default ||Required ? ||
| {{host}} | the hostname of a Petals container | {{localhost}} | No |
| {{port}} | JMX port of the Petals container | {{7700}} | No |
| {{username}} | JMX username of the Petals container | - | No |
| {{password}} | JMX password of the Petals container | - | No |
| {{componentName}} | the component identifier for which we want verify that response time metrics are available | - | Yes |

h3. Example

{code}
<waitfor maxwait="${monitoring-sampling-period}"
maxwaitunit="second"
checkevery="1"
checkeveryunit="second"
timeoutproperty="metricsNotAvailable">
<isResponseTimeMetricAvailable componentName="${bc-soap-name}" />
</waitfor>
{code}