Skip to content

Commit 2cfa1d7

Browse files
Merge pull request #257802 from vikramrajumsft/main
Add start and stop load test faults to chaos-studio-fault-library.md
2 parents 99fb07d + cfb5402 commit 2cfa1d7

File tree

1 file changed

+69
-0
lines changed

1 file changed

+69
-0
lines changed

articles/chaos-studio/chaos-studio-fault-library.md

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1614,3 +1614,72 @@ Currently, only virtual machine scale sets configured with the **Uniform** orche
16141614
]
16151615
}
16161616
```
1617+
1618+
## Start load test (Azure load testing)
1619+
1620+
| Property | Value |
1621+
| ---- | --- |
1622+
| Capability name | Start-1.0 |
1623+
| Target type | Microsoft-AzureLoadTest |
1624+
| Description | Starts a load test (from Azure load testing) based on the provided load test ID. |
1625+
| Prerequisites | A load test with a valid load test ID must be created in the Azure load testing service. |
1626+
| Urn | urn:csci:microsoft:azureLoadTest:start/1.0 |
1627+
| Fault type | Discrete. |
1628+
| Parameters (key, value) | |
1629+
| testID | The ID of a specific load test created in the Azure load testing service. |
1630+
1631+
### Sample JSON
1632+
1633+
```json
1634+
{
1635+
"name": "branchOne",
1636+
"actions": [
1637+
{
1638+
"type": "discrete",
1639+
"name": "urn:csci:microsoft:azureLoadTest:start/1.0",
1640+
"parameters": [
1641+
{
1642+
"key": "testID",
1643+
"value": "0"
1644+
}
1645+
],
1646+
"selectorid": "myResources"
1647+
}
1648+
]
1649+
}
1650+
```
1651+
1652+
## Stop load test (Azure load testing)
1653+
1654+
| Property | Value |
1655+
| ---- | --- |
1656+
| Capability name | Stop-1.0 |
1657+
| Target type | Microsoft-AzureLoadTest |
1658+
| Description | Stops a load test (from Azure load testing) based on the provided load test ID. |
1659+
| Prerequisites | A load test with a valid load test ID must be created in the Azure load testing service. |
1660+
| Urn | urn:csci:microsoft:azureLoadTest:stop/1.0 |
1661+
| Fault type | Discrete. |
1662+
| Parameters (key, value) | |
1663+
| testID | The ID of a specific load test created in the Azure load testing service. |
1664+
1665+
### Sample JSON
1666+
1667+
```json
1668+
{
1669+
"name": "branchOne",
1670+
"actions": [
1671+
{
1672+
"type": "discrete",
1673+
"name": "urn:csci:microsoft:azureLoadTest:stop/1.0",
1674+
"parameters": [
1675+
{
1676+
"key": "testID",
1677+
"value": "0"
1678+
}
1679+
],
1680+
"selectorid": "myResources"
1681+
}
1682+
]
1683+
}
1684+
```
1685+

0 commit comments

Comments
 (0)