version: v0.1
testName: basicAppComponentsTest
displayName: E2E test for app components
testPlan: ../TestFiles/BasicTest.jmx
testType: JMX
description: 'E2E for the build pipeline (JMX)'
autoStop:
  errorPercentage: 10
  timeWindow: 20
appComponents:
- resourceId: "/subscriptions/7c71b563-0dc0-4bc0-bcf6-06f8f0516c7a/resourceGroups/cnt-integration-tests-rg/providers/Microsoft.Web/serverfarms/cnt-integration-tests-server"
  kind: app # Optional
  metrics:
    - name: "CpuPercentage"
      aggregation: "Average"
    - name: "MemoryPercentage"
      aggregation: "Average"
      namespace: Microsoft.Web/serverfarms
- resourceId: "/subscriptions/7c71b563-0dc0-4bc0-bcf6-06f8f0516c7a/resourceGroups/cnt-integration-tests-rg/providers/Microsoft.KeyVault/vaults/cnt-tests-akv"
  metrics:
    - name: "ServiceApiHit"
      aggregation: "Count"
      namespace: microsoft.keyvault/vaults
    - name: "ServiceApiLatency"
      aggregation: "Average"
