@capagents/forgeqe 3.3.2 → 3.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/HOW_TO_USE.md +313 -8
- package/dist/docs-site/docs/area-operations/index.html +134 -2
- package/dist/docs-site/docs/area-quality/index.html +159 -3
- package/dist/docs-site/docs/overview/index.html +2 -2
- package/dist/docs-site/docs/search.js +1 -1
- package/dist/forgeqe.js +2144 -1929
- package/dist/web/assets/{3d-force-graph-DDyP5jcf.js → 3d-force-graph-KUdc_88B.js} +3 -3
- package/dist/web/assets/Agent-CPDdNdzX.js +10 -0
- package/dist/web/assets/{AgentWork-Dv0G4bt3.js → AgentWork-DmCMV4YL.js} +1 -1
- package/dist/web/assets/ApiTests-C8XEETqg.js +17 -0
- package/dist/web/assets/{Browse-CBt1JY2E.js → Browse-BjPPdirz.js} +1 -1
- package/dist/web/assets/{Chat-DIWdnIZK.js → Chat-DKOatIXA.js} +1 -1
- package/dist/web/assets/{CommandPalette-DD04oS83.js → CommandPalette-BBGtkkz4.js} +1 -1
- package/dist/web/assets/{Compare-D0Ao8dZ6.js → Compare-BIUv2jE1.js} +1 -1
- package/dist/web/assets/{Cost-BY_8-9Qt.js → Cost-DiCKET0E.js} +1 -1
- package/dist/web/assets/{Data-BC7R_FbW.js → Data-CjWcmOft.js} +1 -1
- package/dist/web/assets/{Desktop-CSQ2xLg0.js → Desktop-ChCPGa4S.js} +1 -1
- package/dist/web/assets/{DesktopReview-CCOhUdeJ.js → DesktopReview-Bg2GEMn0.js} +1 -1
- package/dist/web/assets/{Evidence-9W4pqIkC.js → Evidence-B7iO8OAV.js} +1 -1
- package/dist/web/assets/{Explore-BndXiEf8.js → Explore-VSyrooF_.js} +1 -1
- package/dist/web/assets/{Features-BrfsTC9Q.js → Features-CyL67W6D.js} +1 -1
- package/dist/web/assets/{Flags-DyykkeHU.js → Flags-CTndlZ8W.js} +1 -1
- package/dist/web/assets/{Flaky-C3gj_Brn.js → Flaky-DUztfo-f.js} +1 -1
- package/dist/web/assets/{Impact-Z8nbNhbe.js → Impact-DgJIBG7L.js} +1 -1
- package/dist/web/assets/{Jobs-CJWXAqSy.js → Jobs-DGtR5ObS.js} +1 -1
- package/dist/web/assets/KindPage-BVr4n0ZP.js +6 -0
- package/dist/web/assets/{LiveDevice-DGdLDigO.js → LiveDevice-jFCQ_zeU.js} +1 -1
- package/dist/web/assets/{Migration-QFI5ctp7.js → Migration-DXRwsp94.js} +5 -5
- package/dist/web/assets/{Mobile-CuswZyee.js → Mobile-D5D-DcNd.js} +1 -1
- package/dist/web/assets/{Observability-CknZ_xBN.js → Observability-D0Y8qi2t.js} +1 -1
- package/dist/web/assets/OwnItems-7-j-eCvZ.js +5 -0
- package/dist/web/assets/{PageAgent-B2bmmMaP.js → PageAgent-hlUDoATU.js} +1 -1
- package/dist/web/assets/Product-B3dgOq3I.js +6 -0
- package/dist/web/assets/{Production-BMsytC2i.js → Production-CW8pMuAY.js} +1 -1
- package/dist/web/assets/{Quality-B4Aw6N3_.js → Quality-DCzS_GuJ.js} +1 -1
- package/dist/web/assets/{Readiness-CVIzTFX-.js → Readiness-BQ811zqC.js} +1 -1
- package/dist/web/assets/{Record-B2Ic8Taj.js → Record-Slru4bw9.js} +1 -1
- package/dist/web/assets/{Regression-bCIAE3Ne.js → Regression-BT_dP1xn.js} +1 -1
- package/dist/web/assets/{RelationGraph-kG4YVMzl.js → RelationGraph-CBY9FhUu.js} +1 -1
- package/dist/web/assets/{Reports-NAZ-26Ub.js → Reports-C19TfbRO.js} +1 -1
- package/dist/web/assets/{Requirements-BkpiF-Bt.js → Requirements-ROyC5mNL.js} +1 -1
- package/dist/web/assets/{Responsive-CsaoisJq.js → Responsive-Cwky2L-3.js} +1 -1
- package/dist/web/assets/{RunDiff-BC-3Wg1b.js → RunDiff-BbekEd9C.js} +1 -1
- package/dist/web/assets/Settings-CIEWLuAi.js +21 -0
- package/dist/web/assets/{Steps-DcQxQ4yA.js → Steps-BjV1MGz-.js} +1 -1
- package/dist/web/assets/{TestData-wpUeU9Er.js → TestData-ChL4QzCY.js} +1 -1
- package/dist/web/assets/{TestManagement-D0njkyAT.js → TestManagement-B2oqBgb7.js} +2 -2
- package/dist/web/assets/{WhatsNew-BxIAAwgH.js → WhatsNew-ID__g8MH.js} +1 -1
- package/dist/web/assets/{agentSettingsSheet-BdB7IXah.js → agentSettingsSheet-CCkfMiKg.js} +1 -1
- package/dist/web/assets/api-BsiuHmJq.js +1 -0
- package/dist/web/assets/{coverage-q-ib7wOq.js → coverage-pqIlfEP0.js} +1 -1
- package/dist/web/assets/{dataParts-B2-a-pOD.js → dataParts-_X5zGtE9.js} +1 -1
- package/dist/web/assets/{desktopAppPath-C-p0zU40.js → desktopAppPath-D3mGDKPz.js} +1 -1
- package/dist/web/assets/flowTheme-DKuXe5nP.js +7 -0
- package/dist/web/assets/frame-CgBYYtdw.js +13 -0
- package/dist/web/assets/index-Cq1_-QV9.css +2 -0
- package/dist/web/assets/index-Ctos0-8H.js +55 -0
- package/dist/web/assets/{markdown-dXSsS-mD.js → markdown-CwgDQU8m.js} +5 -5
- package/dist/web/assets/nav-B_68FVw_.js +1 -0
- package/dist/web/assets/{pageBack-BwKT31j3.js → pageBack-CbyKfisx.js} +1 -1
- package/dist/web/assets/{palette-L37b4wTE.js → palette-6YAAmgkD.js} +1 -1
- package/dist/web/assets/{paletteCommands-zqGCORJu.js → paletteCommands-Isq1rLs-.js} +1 -1
- package/dist/web/assets/{parts-3o6HnCp1.js → parts-ClnDV-6r.js} +1 -1
- package/dist/web/assets/{productParts-BDiEg0z6.js → productParts-CmNi_5fy.js} +1 -1
- package/dist/web/assets/{qualityParts--CnSadOZ.js → qualityParts-BzzN4OCT.js} +1 -1
- package/dist/web/assets/{recordTest-D092f975.js → recordTest-7uIZiqOW.js} +1 -1
- package/dist/web/assets/sectionList-B651VPon.js +1 -0
- package/dist/web/assets/{stepper-naqAN_Nb.js → stepper-DdgwJtbU.js} +1 -1
- package/dist/web/assets/{wizardParts-DLlOHVMx.js → wizardParts-C0cNmIK9.js} +1 -1
- package/dist/web/index.html +9 -9
- package/docs/user-guide.html +291 -3
- package/evals/prompts/perf-report/limit-broken.yaml +28 -0
- package/evals/prompts/perf-report/regression-other-load.yaml +28 -0
- package/forgeqe.example.yaml +10 -0
- package/package.json +1 -1
- package/prompts/README.md +4 -0
- package/prompts/brain.md +17 -0
- package/prompts/perf-report.md +41 -0
- package/prompts/perf-strategy.md +45 -0
- package/prompts/perf.md +45 -0
- package/prompts/team-builder.md +50 -0
- package/dist/web/assets/Agent-sLaNlaQo.js +0 -8
- package/dist/web/assets/ApiTests-Bnw2qgWw.js +0 -15
- package/dist/web/assets/KindPage-C45x_cFz.js +0 -6
- package/dist/web/assets/Product-CrtwDiMv.js +0 -12
- package/dist/web/assets/Settings-DyBed-J5.js +0 -21
- package/dist/web/assets/api-6pHfHEgB.js +0 -1
- package/dist/web/assets/frame-CjpZWX_X.js +0 -13
- package/dist/web/assets/index-BH5RbDNY.css +0 -2
- package/dist/web/assets/index-CfGXe_De.js +0 -55
- package/dist/web/assets/nav-BZfNOkhX.js +0 -1
- package/dist/web/assets/sectionList-XiKcJNEK.js +0 -1
- /package/dist/web/assets/{Product-DLioOiRN.css → flowTheme-DLioOiRN.css} +0 -0
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
</nav>
|
|
118
118
|
<main id="main" class="docs-main guide chapter-page">
|
|
119
119
|
<p class="crumbs"><a href="../index.html">Docs</a><span>/</span>Setup and operations</p>
|
|
120
|
-
<div class="page-bar"><details class="bar-menu"><summary>Docs menu</summary><nav class="bar-panel" aria-label="Docs menu"><div class="side-group"><p class="side-head">Start here</p><ul><li><a href="../overview/index.html"><span>What ForgeQE does</span></a></li><li><a href="../get-started/index.html"><span>Get started</span></a></li><li><a href="../using/index.html"><span>Using ForgeQE</span></a></li><li><a href="../web-app/index.html"><span>The web app</span></a></li></ul></div><div class="side-group"><p class="side-head">Features</p><ul><li><a href="../area-browser/index.html#doc-how_to_use-recording-a-web-test-by-hand"><span>Recording a test</span></a></li><li><a href="../area-automated-tests/index.html#doc-how_to_use-test-management"><span>Test management</span></a></li><li><a href="../area-automated-tests/index.html#doc-how_to_use-regression-packs-for-a-release"><span>Regression packs</span></a></li><li><a href="../area-automated-tests/index.html#doc-how_to_use-migrating-a-test-suite"><span>Migrating a suite</span></a></li><li><a href="../area-automated-tests/index.html#doc-how_to_use-converting-tosca-tests"><span>Tosca conversion</span></a></li><li><a href="../area-pull-requests/index.html#doc-how_to_use-what-a-pull-request-impacts-in-the-product"><span>Change impact</span></a></li><li><a href="../area-quality/index.html#doc-how_to_use-responsive-preview"><span>Responsive preview</span></a></li><li><a href="../area-test-cases/index.html#doc-how_to_use-basal-business-testing"><span>Business testing (BASAL)</span></a></li><li><a href="index.html#doc-how_to_use-custom-agents"><span>Custom agents</span></a></li><li><a href="../get-started/index.html#doc-how_to_use-evidence-what-an-agent-did-decided-and-used"><span>AI Assurance</span></a></li><li><a href="../using/index.html#doc-how_to_use-the-web-app"><span>Talk and the web app</span></a></li><li><a href="index.html#doc-how_to_use-the-jobs-service-scheduled-and-long-jobs-apart-from-the-shell"><span>Scheduled jobs</span></a></li></ul></div><div class="side-group"><p class="side-head">Browser and tests</p><ul><li><a href="../area-browser/index.html"><span>Browser testing</span></a></li><li><a href="../area-test-cases/index.html"><span>Test cases</span></a></li><li><a href="../area-automated-tests/index.html"><span>Automated tests</span></a></li><li><a href="../feature-test-prompts/index.html"><span>Feature test prompts</span></a></li><li><a href="../area-api/index.html"><span>API testing</span></a></li><li><a href="../area-quality/index.html"><span>Quality checks</span></a></li></ul></div><div class="side-group"><p class="side-head">Desktop and mobile</p><ul><li><a href="../area-desktop/index.html"><span>Desktop apps</span></a></li><li><a href="../area-mobile/index.html"><span>Mobile apps</span></a></li></ul></div><div class="side-group"><p class="side-head">Setup and operations</p><ul><li><a href="../area-setup/index.html"><span>Setup and configuration</span></a></li><li><a href="index.html" aria-current="page"><span>Operations and monitoring</span></a></li><li><a href="../area-data/index.html"><span>Test data and databases</span></a></li><li><a href="../area-pull-requests/index.html"><span>Pull requests</span></a></li><li><a href="../area-release/index.html"><span>Release and reports</span></a></li></ul></div><div class="side-group"><p class="side-head">Agents and knowledge</p><ul><li><a href="../custom-agents-first-run/index.html"><span>Custom agents: a first run</span></a></li><li><a href="../product-knowledge/index.html"><span>Product knowledge</span></a></li></ul></div><div class="side-group"><p class="side-head">How ForgeQE works</p><ul><li><a href="../area-systems/index.html"><span>Connected systems</span></a></li><li><a href="../architecture/index.html"><span>How ForgeQE works</span></a></li><li><a href="../../architecture-map/index.html"><span>Architecture map</span></a></li><li><a href="../../security/index.html"><span>Security and data flows</span></a></li><li><a href="../guardrails/index.html"><span>Guardrails</span></a></li></ul></div><div class="side-group"><p class="side-head">Look it up</p><ul><li><a href="../reference/index.html"><span>Reference</span></a></li></ul></div><div class="side-group"><p class="side-head">For contributors</p><ul><li><a href="../architecture-reference/index.html"><span>Architecture reference</span></a></li><li><a href="../product-graph/index.html"><span>Product knowledge graph</span></a></li><li><a href="../product-views/index.html"><span>Product views</span></a></li><li><a href="../graphify/index.html"><span>Reading product code</span></a></li><li><a href="../evidence/index.html"><span>Evidence</span></a></li><li><a href="../cost-architecture/index.html"><span>Cost-aware execution</span></a></li></ul></div></nav></details><details class="bar-toc"><summary>On this page</summary><nav class="bar-panel" aria-label="On this page"><ul><li><a href="#cap-containers">Services, mocks, workspace and browser in Docker or Podman</a></li><li><a href="#doc-docs-containers-forgeqe-containers-services-and-mocks-in-docker-or-podman">ForgeQE containers: services and mocks in Docker or Podman</a></li><li><a href="#doc-docs-containers-use">Use</a></li><li><a href="#doc-docs-containers-declaring-services">Declaring services</a></li><li><a href="#doc-docs-containers-compose-files">Compose files</a></li><li><a href="#doc-docs-containers-the-project-network">The project network</a></li><li><a href="#doc-docs-containers-tests-in-a-container">Tests in a container</a></li><li><a href="#doc-docs-containers-the-workspace">The workspace</a></li><li><a href="#doc-docs-containers-the-browser-in-a-container">The browser in a container</a></li><li><a href="#doc-docs-containers-testcontainers-quill">Testcontainers (Quill)</a></li><li><a href="#doc-docs-containers-mocks">Mocks</a></li><li><a href="#doc-docs-containers-lifetime">Lifetime</a></li><li><a href="#doc-docs-containers-security">Security</a></li><li><a href="#cap-production-errors">Production errors and the tests that cover them</a></li><li><a href="#cap-model-cost">Model cost and usage</a></li><li><a href="#cap-forgeqe-health">ForgeQE's own health</a></li><li><a href="#cap-monitoring">Scheduled monitoring with alerts</a></li><li><a href="#cap-jobs">Background jobs on a schedule</a></li><li><a href="#cap-custom-agents">Your team's custom agents</a></li><li><a href="#cap-notifications">Teams and email notifications</a></li><li><a href="#cap-pipelines">CI pipelines</a></li></ul></nav></details></div>
|
|
120
|
+
<div class="page-bar"><details class="bar-menu"><summary>Docs menu</summary><nav class="bar-panel" aria-label="Docs menu"><div class="side-group"><p class="side-head">Start here</p><ul><li><a href="../overview/index.html"><span>What ForgeQE does</span></a></li><li><a href="../get-started/index.html"><span>Get started</span></a></li><li><a href="../using/index.html"><span>Using ForgeQE</span></a></li><li><a href="../web-app/index.html"><span>The web app</span></a></li></ul></div><div class="side-group"><p class="side-head">Features</p><ul><li><a href="../area-browser/index.html#doc-how_to_use-recording-a-web-test-by-hand"><span>Recording a test</span></a></li><li><a href="../area-automated-tests/index.html#doc-how_to_use-test-management"><span>Test management</span></a></li><li><a href="../area-automated-tests/index.html#doc-how_to_use-regression-packs-for-a-release"><span>Regression packs</span></a></li><li><a href="../area-automated-tests/index.html#doc-how_to_use-migrating-a-test-suite"><span>Migrating a suite</span></a></li><li><a href="../area-automated-tests/index.html#doc-how_to_use-converting-tosca-tests"><span>Tosca conversion</span></a></li><li><a href="../area-pull-requests/index.html#doc-how_to_use-what-a-pull-request-impacts-in-the-product"><span>Change impact</span></a></li><li><a href="../area-quality/index.html#doc-how_to_use-responsive-preview"><span>Responsive preview</span></a></li><li><a href="../area-test-cases/index.html#doc-how_to_use-basal-business-testing"><span>Business testing (BASAL)</span></a></li><li><a href="index.html#doc-how_to_use-custom-agents"><span>Custom agents</span></a></li><li><a href="../get-started/index.html#doc-how_to_use-evidence-what-an-agent-did-decided-and-used"><span>AI Assurance</span></a></li><li><a href="../using/index.html#doc-how_to_use-the-web-app"><span>Talk and the web app</span></a></li><li><a href="index.html#doc-how_to_use-the-jobs-service-scheduled-and-long-jobs-apart-from-the-shell"><span>Scheduled jobs</span></a></li></ul></div><div class="side-group"><p class="side-head">Browser and tests</p><ul><li><a href="../area-browser/index.html"><span>Browser testing</span></a></li><li><a href="../area-test-cases/index.html"><span>Test cases</span></a></li><li><a href="../area-automated-tests/index.html"><span>Automated tests</span></a></li><li><a href="../feature-test-prompts/index.html"><span>Feature test prompts</span></a></li><li><a href="../area-api/index.html"><span>API testing</span></a></li><li><a href="../area-quality/index.html"><span>Quality checks</span></a></li></ul></div><div class="side-group"><p class="side-head">Desktop and mobile</p><ul><li><a href="../area-desktop/index.html"><span>Desktop apps</span></a></li><li><a href="../area-mobile/index.html"><span>Mobile apps</span></a></li></ul></div><div class="side-group"><p class="side-head">Setup and operations</p><ul><li><a href="../area-setup/index.html"><span>Setup and configuration</span></a></li><li><a href="index.html" aria-current="page"><span>Operations and monitoring</span></a></li><li><a href="../area-data/index.html"><span>Test data and databases</span></a></li><li><a href="../area-pull-requests/index.html"><span>Pull requests</span></a></li><li><a href="../area-release/index.html"><span>Release and reports</span></a></li></ul></div><div class="side-group"><p class="side-head">Agents and knowledge</p><ul><li><a href="../custom-agents-first-run/index.html"><span>Custom agents: a first run</span></a></li><li><a href="../product-knowledge/index.html"><span>Product knowledge</span></a></li></ul></div><div class="side-group"><p class="side-head">How ForgeQE works</p><ul><li><a href="../area-systems/index.html"><span>Connected systems</span></a></li><li><a href="../architecture/index.html"><span>How ForgeQE works</span></a></li><li><a href="../../architecture-map/index.html"><span>Architecture map</span></a></li><li><a href="../../security/index.html"><span>Security and data flows</span></a></li><li><a href="../guardrails/index.html"><span>Guardrails</span></a></li></ul></div><div class="side-group"><p class="side-head">Look it up</p><ul><li><a href="../reference/index.html"><span>Reference</span></a></li></ul></div><div class="side-group"><p class="side-head">For contributors</p><ul><li><a href="../architecture-reference/index.html"><span>Architecture reference</span></a></li><li><a href="../product-graph/index.html"><span>Product knowledge graph</span></a></li><li><a href="../product-views/index.html"><span>Product views</span></a></li><li><a href="../graphify/index.html"><span>Reading product code</span></a></li><li><a href="../evidence/index.html"><span>Evidence</span></a></li><li><a href="../cost-architecture/index.html"><span>Cost-aware execution</span></a></li></ul></div></nav></details><details class="bar-toc"><summary>On this page</summary><nav class="bar-panel" aria-label="On this page"><ul><li><a href="#cap-containers">Services, mocks, workspace and browser in Docker or Podman</a></li><li><a href="#doc-docs-containers-forgeqe-containers-services-and-mocks-in-docker-or-podman">ForgeQE containers: services and mocks in Docker or Podman</a></li><li><a href="#doc-docs-containers-use">Use</a></li><li><a href="#doc-docs-containers-declaring-services">Declaring services</a></li><li><a href="#doc-docs-containers-compose-files">Compose files</a></li><li><a href="#doc-docs-containers-the-project-network">The project network</a></li><li><a href="#doc-docs-containers-tests-in-a-container">Tests in a container</a></li><li><a href="#doc-docs-containers-the-workspace">The workspace</a></li><li><a href="#doc-docs-containers-the-browser-in-a-container">The browser in a container</a></li><li><a href="#doc-docs-containers-testcontainers-quill">Testcontainers (Quill)</a></li><li><a href="#doc-docs-containers-mocks">Mocks</a></li><li><a href="#doc-docs-containers-lifetime">Lifetime</a></li><li><a href="#doc-docs-containers-security">Security</a></li><li><a href="#cap-production-errors">Production errors and the tests that cover them</a></li><li><a href="#cap-model-cost">Model cost and usage</a></li><li><a href="#cap-forgeqe-health">ForgeQE's own health</a></li><li><a href="#cap-monitoring">Scheduled monitoring with alerts</a></li><li><a href="#cap-jobs">Background jobs on a schedule</a></li><li><a href="#cap-custom-agents">Your team's custom agents</a></li><li><a href="#cap-agent-teams">Teams of custom agents</a></li><li><a href="#cap-notifications">Teams and email notifications</a></li><li><a href="#cap-pipelines">CI pipelines</a></li></ul></nav></details></div>
|
|
121
121
|
<h1 class="topic-h"><svg class="pix pix--title ph" aria-hidden="true" focusable="false"><use href="#ph-network"/></svg>Operations and monitoring</h1>
|
|
122
122
|
<p class="guide-lead">Monitoring and CI pipelines</p>
|
|
123
123
|
<article class="spec feat" id="cap-containers">
|
|
@@ -1252,6 +1252,138 @@ them back on restores everything as it was.</p>
|
|
|
1252
1252
|
</div></div></div>
|
|
1253
1253
|
</section>
|
|
1254
1254
|
</div>
|
|
1255
|
+
<article class="spec feat" id="cap-agent-teams">
|
|
1256
|
+
<div class="hd"><span class="mono">Operations</span><h3>Teams of custom agents</h3></div>
|
|
1257
|
+
<p class="ds">Hands a request to a team of agents (ForgeQE's own, the project's custom agents, or any mix): its lead plans the work and hands each task to the member it fits, each member held to its limits and the team's, and the team answers with one report. Also tries a team's file before it is approved, reading and running only. assign_task, team_note, team_board, ask_lead, team_answer and team_wait are the team's own tools, given only to its agents during its run.</p>
|
|
1258
|
+
<div class="facts">
|
|
1259
|
+
<div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Ask the release-qa team to check release 2.4 on qa</li><li>Which teams do we have?</li><li>Try the payments team on the checkout</li></ul></div>
|
|
1260
|
+
<div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need req">Required</span><span>A live model profile in llms.json (an API key or Microsoft Entra ID sign-in)</span></li></ul></div>
|
|
1261
|
+
<div class="fact"><span class="mono">Limits</span><ul class="plainlist"><li>A team runs only a version a person approved (forgeqe team approve): its lead hands tasks to its members, each held to its own limits and the team's.</li><li>A custom agent cannot start a team; only ForgeQE's agent, a person, a schedule or a trigger can.</li></ul></div>
|
|
1262
|
+
<div class="fact"><span class="mono">Tools</span><p class="tools"><code>team</code> <code>assign_task</code> <code>team_note</code> <code>team_board</code> <code>ask_lead</code> <code>team_answer</code> <code>team_wait</code></p></div>
|
|
1263
|
+
</div>
|
|
1264
|
+
|
|
1265
|
+
</article>
|
|
1266
|
+
<div class="feat-detail"><section class="doc" data-topic id="doc-how_to_use-teams-of-custom-agents">
|
|
1267
|
+
<h4>Teams of custom agents</h4>
|
|
1268
|
+
<div class="prose"><p>A team is a lead and its members for QA work that needs several agents: the lead plans the request and hands each task
|
|
1269
|
+
to the member it fits, and reports one result. Each one is one of ForgeQE's own agents (WebPilot, Quill, Link, Mender,
|
|
1270
|
+
Miner, Atlas and the others) or one of your custom agents, in any mix; Atlas makes a good lead. A member can work as one
|
|
1271
|
+
of your business personas. A team never lets an agent do more than it may: a custom agent stays within its own approved
|
|
1272
|
+
version, cut further by the team's limits (fewer environments or actions, more questions for a person, tools no member
|
|
1273
|
+
uses); one of ForgeQE's own works only with its own capabilities, within the team's environments and actions (reading
|
|
1274
|
+
and running when the team sets none, never production unless the team names it), every change asked of a person, no
|
|
1275
|
+
shell. ForgeQE's agents need no approval of their own: approving the team approves how they work in it.</p>
|
|
1276
|
+
<p>A team is a file, <code>.forgeqe/agents/teams/<id>.yaml</code>:</p>
|
|
1277
|
+
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">id: release-qa
|
|
1278
|
+
</span></span><span class="ln"><span class="cmd">name: Release QA team
|
|
1279
|
+
</span></span><span class="ln"><span class="cmd">version: 1.0.0
|
|
1280
|
+
</span></span><span class="ln"><span class="cmd">description: Checks a release candidate end to end.
|
|
1281
|
+
</span></span><span class="ln"><span class="cmd">purpose: Plan the checks for the release, hand each to the member it fits, and report one verdict.
|
|
1282
|
+
</span></span><span class="ln ln--pair"><span class="cmd">lead: forgeqe</span><span class="pad"> </span><span class="cm"><span class="h">#</span> Atlas, ForgeQE's own; or a custom agent's id
|
|
1283
|
+
</span></span><span class="ln"><span class="cmd">members:
|
|
1284
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> - agent: engine</span><span class="pad"> </span><span class="cm"><span class="h">#</span> WebPilot, ForgeQE's own browser agent
|
|
1285
|
+
</span></span><span class="ln"><span class="cmd"> role: Accessibility checks
|
|
1286
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> - agent: api-tester</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a custom agent; its approved version does each task
|
|
1287
|
+
</span></span><span class="ln"><span class="cmd"> role: API testing
|
|
1288
|
+
</span></span><span class="ln"><span class="cmd"> - agent: ui-tester
|
|
1289
|
+
</span></span><span class="ln"><span class="cmd"> role: UI testing
|
|
1290
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> persona: retail-customer</span><span class="pad"> </span><span class="cm"><span class="h">#</span> optional: a business persona it works as
|
|
1291
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> instances: 2</span><span class="pad"> </span><span class="cm"><span class="h">#</span> optional (1-3): how many tasks it may work on at once
|
|
1292
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> after: [api-tester]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> optional: it works on what api-tester found (a hand-off)
|
|
1293
|
+
</span></span><span class="ln ln--pair"><span class="cmd">knowledge:</span><span class="pad"> </span><span class="cm"><span class="h">#</span> optional: what every agent of the team is given
|
|
1294
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> files: [payments.md]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> ForgeQE's knowledge files (.forgeqe/knowledge)
|
|
1295
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> product: true</span><span class="pad"> </span><span class="cm"><span class="h">#</span> ForgeQE's product knowledge, read only
|
|
1296
|
+
</span></span><span class="ln ln--pair"><span class="cmd">skills: [checkout-flows]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> optional: ForgeQE's skills every agent of the team may use
|
|
1297
|
+
</span></span><span class="ln ln--pair"><span class="cmd">limits:</span><span class="pad"> </span><span class="cm"><span class="h">#</span> optional; each only takes away from every member's own limits
|
|
1298
|
+
</span></span><span class="ln"><span class="cmd"> environments: [qa, staging]
|
|
1299
|
+
</span></span><span class="ln"><span class="cmd"> actions: [read, run]
|
|
1300
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> approve: [run]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> asked of a person first, on top of each member's own
|
|
1301
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> max_tasks: 12</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the most tasks the lead hands out in one run (1-50)
|
|
1302
|
+
</span></span><span class="ln"><span class="cmd"> max_minutes: 120
|
|
1303
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> max_tokens: 400000</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the most model tokens the whole team uses in one run
|
|
1304
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> parallel: 2</span><span class="pad"> </span><span class="cm"><span class="h">#</span> how many members work at once (1-4)
|
|
1305
|
+
</span></span><span class="ln ln--pair"><span class="cmd">schedule: { every: 1d, request: "Check the nightly build on qa" }</span><span class="pad"> </span><span class="cm"><span class="h">#</span> optional: runs by itself
|
|
1306
|
+
</span></span><span class="ln ln--pair"><span class="cmd">triggers: [{ on: suite_failed, request: "Find out why the last suite failed" }]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> optional, as an agent's
|
|
1307
|
+
</span></span><span class="ln"><span class="cmd">starters: [{ label: Release check, text: "Check release 2.4 on qa" }]
|
|
1308
|
+
</span></span></code></pre></div>
|
|
1309
|
+
<p>What runs is a version a person approved, as for an agent. ForgeQE keeps each run's board: which task went to which
|
|
1310
|
+
member, how each ended and the member's own run, the notes they left each other, the tokens used, and the lead's
|
|
1311
|
+
report. It refuses a task past <code>max_tasks</code> or <code>max_tokens</code>, the same task again to a member that did it, and a second
|
|
1312
|
+
task to a member still working.</p>
|
|
1313
|
+
<ul>
|
|
1314
|
+
<li><strong>Working side by side.</strong> With <code>parallel</code> above 1, the lead can hand several tasks at once; up to that many members
|
|
1315
|
+
work at the same time and the results come back together.</li>
|
|
1316
|
+
<li><strong>Several copies of a member.</strong> With <code>instances</code> on a member, it works on up to that many tasks at once, each its
|
|
1317
|
+
own run in its history (within <code>parallel</code> for the whole team).</li>
|
|
1318
|
+
<li><strong>Asking the lead.</strong> A member that cannot go on well without an answer (which account, environment or data to use)
|
|
1319
|
+
asks the lead and waits. The lead hears at once, answers, and goes on waiting for its other tasks. With no answer
|
|
1320
|
+
within ten minutes, the member carries on and says what it assumed. The board keeps every question and answer.</li>
|
|
1321
|
+
<li><strong>Notes.</strong> Any agent of the team can leave a one-line note for the lead, another member or everyone: a finding, a
|
|
1322
|
+
question, that it is blocked, or an answer. ForgeQE keeps it on the board and passes it on as information, never as
|
|
1323
|
+
an instruction: a member gets the notes for it with its next task, the lead with a task's result.</li>
|
|
1324
|
+
<li><strong>Hand-offs.</strong> <code>after</code> on a member makes it work on what another member found: ForgeQE refuses the lead a task for
|
|
1325
|
+
it until each member it waits for has finished a task in the run, and the lead passes their findings on. Members
|
|
1326
|
+
never wait for each other in a circle.</li>
|
|
1327
|
+
<li><strong>Knowledge, shared or this team's only.</strong> <code>knowledge</code> and <code>skills</code> give every agent of the team some of ForgeQE's
|
|
1328
|
+
shared knowledge: its knowledge files, its skills and product knowledge (read only). A team can also keep its own
|
|
1329
|
+
skills, prompts, guardrails and notes, in <code>.forgeqe/agents/teams/<id>/</code> (<code>skills/<name>/SKILL.md</code>,
|
|
1330
|
+
<code>prompts/<name>.md</code>, <code>guardrails/<name>.md</code>, <code>knowledge/<name>.md</code>): only this team's agents get them, while they
|
|
1331
|
+
work in it. A prompt or a set of guardrails can be for every agent of the team, only the lead, or only the members.
|
|
1332
|
+
The team's skills load through the same skill system as ForgeQE's shared ones (a skill outside an agent's list is
|
|
1333
|
+
refused) and cannot take one of their names; its guardrails are one-line rules like ForgeQE's, and add to an agent's
|
|
1334
|
+
limits without lifting any. No agent reads the folder: every agent's file tools and shell commands are refused there,
|
|
1335
|
+
and project-wide searches pass it by. Everything a team gives is fixed when a person approves it: if a file, a skill
|
|
1336
|
+
or the team's own items change after, the team shows <strong>Knowledge changed</strong> and does not run until a person approves
|
|
1337
|
+
it again.
|
|
1338
|
+
You manage them in two places: the team's <strong>Knowledge</strong> box on its canvas (<strong>This team only</strong>), and the <strong>Teams</strong>
|
|
1339
|
+
view of <strong>Settings › Skills</strong>, <strong>Prompts</strong> and <strong>Guardrails</strong>, which lists every team's own items of that kind with
|
|
1340
|
+
Add, change and remove.</li>
|
|
1341
|
+
<li><strong>Budget.</strong> <code>max_tokens</code> counts the lead's and every member's model tokens together; past it the whole team stops.</li>
|
|
1342
|
+
<li><strong>Running by itself.</strong> A <code>schedule</code> and <code>triggers</code> work as a custom agent's: with nobody watching, only the approved
|
|
1343
|
+
version runs, and what a member may not do alone waits for a person. Approving or enabling the team sets its schedule;
|
|
1344
|
+
disabling pauses it. A repository webhook can start a team the same way it starts an agent.</li>
|
|
1345
|
+
</ul>
|
|
1346
|
+
<div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
|
|
1347
|
+
<ol>
|
|
1348
|
+
<li>Open <strong>Agents</strong> (or <strong>Agents › Custom agents</strong>, where your teams are listed under <strong>Teams</strong>) and click <strong>New team</strong>.
|
|
1349
|
+
The new-agent page has a link to it too.</li>
|
|
1350
|
+
<li>Say what the team should do, or pick a starting point (Release check, PR gate, Regression triage…). Captain, the
|
|
1351
|
+
team builder, drafts a team from ForgeQE's agents and your own, using yours where they fit: a lead, members with roles, hand-offs, the knowledge it needs,
|
|
1352
|
+
and the jobs no agent of yours does yet. ForgeQE keeps only agents, files and skills you have, and sets the limits
|
|
1353
|
+
itself (never production). With no model set up, ForgeQE drafts it from what your agents say they do. It is saved
|
|
1354
|
+
as a draft; nothing runs yet.</li>
|
|
1355
|
+
<li>The team opens on a canvas, top to bottom: how it starts, its rules and knowledge, the lead, the members, the
|
|
1356
|
+
person who approves changes, and the report. Click any part to edit it in the panel on the right. Drag parts
|
|
1357
|
+
anywhere (<strong>Tidy up</strong> lays them out again). Draw a line from one member's right dot to another's left dot to make
|
|
1358
|
+
the second work after the first; select a line and press Delete to remove it, or use <strong>Works after</strong> in the
|
|
1359
|
+
member's panel. A dashed box is a job no
|
|
1360
|
+
member does yet: <strong>Choose</strong> an agent for it (filter by <strong>ForgeQE's agents</strong> or <strong>Your custom agents</strong>), or <strong>Build</strong>
|
|
1361
|
+
a new agent for the team (a draft held to the team's rules). <strong>Add member</strong> does the same. ForgeQE's agents carry a
|
|
1362
|
+
ForgeQE mark on the canvas.</li>
|
|
1363
|
+
<li><strong>Knowledge</strong> has two tabs. <strong>This team only</strong>: add skills, prompts, guardrails and notes written for this team
|
|
1364
|
+
(a prompt or guardrails for every agent, the lead or the members); they are saved at once, and the team uses them
|
|
1365
|
+
once a person approves it again. <strong>Shared from ForgeQE</strong>: switch on product knowledge, and pick knowledge files and
|
|
1366
|
+
skills for every agent of the team.</li>
|
|
1367
|
+
<li><strong>Rules</strong> sets where the team may work and what it may do (Careful, Standard or Trusted to start from, never
|
|
1368
|
+
production unless you pick it), how many tasks, how many at once and its token budget. <strong>Code</strong> shows the team file.
|
|
1369
|
+
<strong>Save</strong> keeps your changes; undo and redo are in the toolbar.</li>
|
|
1370
|
+
<li><strong>Preview</strong> tries the team on a request in a chat: it only reads and runs, and you are asked before each run.</li>
|
|
1371
|
+
<li><strong>Publish</strong> approves any new agents first, then the team (type each id). Then ask the team from its page: a chat
|
|
1372
|
+
opens where Atlas hands your request to the team. <strong>Runs</strong> replays a run on the canvas, each member lit by how its
|
|
1373
|
+
tasks went.</li>
|
|
1374
|
+
</ol>
|
|
1375
|
+
<p>On a phone the canvas is a list of the same parts, and the panel opens as a sheet.</p>
|
|
1376
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
1377
|
+
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">forgeqe team list
|
|
1378
|
+
</span></span><span class="ln"><span class="cmd">forgeqe team check release-qa
|
|
1379
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe team approve release-qa</span><span class="pad"> </span><span class="cm"><span class="h">#</span> type the id to confirm
|
|
1380
|
+
</span></span><span class="ln"><span class="cmd">forgeqe team run release-qa "Check release 2.4 on qa"
|
|
1381
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe team board release-qa</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the latest run's tasks
|
|
1382
|
+
</span></span></code></pre></div>
|
|
1383
|
+
<p>Atlas can also ask a team when you name it in a chat ("Ask the release-qa team to check release 2.4 on qa").</p>
|
|
1384
|
+
</div></div></div>
|
|
1385
|
+
</section>
|
|
1386
|
+
</div>
|
|
1255
1387
|
<article class="spec feat" id="cap-notifications">
|
|
1256
1388
|
<div class="hd"><span class="mono">Operations</span><h3>Teams and email notifications</h3></div>
|
|
1257
1389
|
<p class="ds">Tells the team in Microsoft Teams channels or by email when a suite fails or passes, when a release readiness verdict is in, and when the domain evaluation falls below its gate, with the failing cases, their bugs, and links to the report and the CI build. Each channel picks its events; the agent also posts a summary to a channel when asked.</p>
|
|
@@ -1373,7 +1505,7 @@ them back on restores everything as it was.</p>
|
|
|
1373
1505
|
<a class="next" href="../area-data/index.html"><small>Next</small><span>Test data and databases</span></a>
|
|
1374
1506
|
</nav>
|
|
1375
1507
|
</main>
|
|
1376
|
-
<aside class="docs-toc" aria-label="On this page"><p class="side-head">On this page</p><ul><li><a href="#cap-containers">Services, mocks, workspace and browser in Docker or Podman</a></li><li><a href="#doc-docs-containers-forgeqe-containers-services-and-mocks-in-docker-or-podman">ForgeQE containers: services and mocks in Docker or Podman</a></li><li><a href="#doc-docs-containers-use">Use</a></li><li><a href="#doc-docs-containers-declaring-services">Declaring services</a></li><li><a href="#doc-docs-containers-compose-files">Compose files</a></li><li><a href="#doc-docs-containers-the-project-network">The project network</a></li><li><a href="#doc-docs-containers-tests-in-a-container">Tests in a container</a></li><li><a href="#doc-docs-containers-the-workspace">The workspace</a></li><li><a href="#doc-docs-containers-the-browser-in-a-container">The browser in a container</a></li><li><a href="#doc-docs-containers-testcontainers-quill">Testcontainers (Quill)</a></li><li><a href="#doc-docs-containers-mocks">Mocks</a></li><li><a href="#doc-docs-containers-lifetime">Lifetime</a></li><li><a href="#doc-docs-containers-security">Security</a></li><li><a href="#cap-production-errors">Production errors and the tests that cover them</a></li><li><a href="#cap-model-cost">Model cost and usage</a></li><li><a href="#cap-forgeqe-health">ForgeQE's own health</a></li><li><a href="#cap-monitoring">Scheduled monitoring with alerts</a></li><li><a href="#cap-jobs">Background jobs on a schedule</a></li><li><a href="#cap-custom-agents">Your team's custom agents</a></li><li><a href="#cap-notifications">Teams and email notifications</a></li><li><a href="#cap-pipelines">CI pipelines</a></li></ul></aside>
|
|
1508
|
+
<aside class="docs-toc" aria-label="On this page"><p class="side-head">On this page</p><ul><li><a href="#cap-containers">Services, mocks, workspace and browser in Docker or Podman</a></li><li><a href="#doc-docs-containers-forgeqe-containers-services-and-mocks-in-docker-or-podman">ForgeQE containers: services and mocks in Docker or Podman</a></li><li><a href="#doc-docs-containers-use">Use</a></li><li><a href="#doc-docs-containers-declaring-services">Declaring services</a></li><li><a href="#doc-docs-containers-compose-files">Compose files</a></li><li><a href="#doc-docs-containers-the-project-network">The project network</a></li><li><a href="#doc-docs-containers-tests-in-a-container">Tests in a container</a></li><li><a href="#doc-docs-containers-the-workspace">The workspace</a></li><li><a href="#doc-docs-containers-the-browser-in-a-container">The browser in a container</a></li><li><a href="#doc-docs-containers-testcontainers-quill">Testcontainers (Quill)</a></li><li><a href="#doc-docs-containers-mocks">Mocks</a></li><li><a href="#doc-docs-containers-lifetime">Lifetime</a></li><li><a href="#doc-docs-containers-security">Security</a></li><li><a href="#cap-production-errors">Production errors and the tests that cover them</a></li><li><a href="#cap-model-cost">Model cost and usage</a></li><li><a href="#cap-forgeqe-health">ForgeQE's own health</a></li><li><a href="#cap-monitoring">Scheduled monitoring with alerts</a></li><li><a href="#cap-jobs">Background jobs on a schedule</a></li><li><a href="#cap-custom-agents">Your team's custom agents</a></li><li><a href="#cap-agent-teams">Teams of custom agents</a></li><li><a href="#cap-notifications">Teams and email notifications</a></li><li><a href="#cap-pipelines">CI pipelines</a></li></ul></aside>
|
|
1377
1509
|
</div>
|
|
1378
1510
|
<footer class="foot">
|
|
1379
1511
|
<div class="container foot__row">
|
|
@@ -117,16 +117,172 @@
|
|
|
117
117
|
</nav>
|
|
118
118
|
<main id="main" class="docs-main guide chapter-page">
|
|
119
119
|
<p class="crumbs"><a href="../index.html">Docs</a><span>/</span>Browser and tests</p>
|
|
120
|
-
<div class="page-bar"><details class="bar-menu"><summary>Docs menu</summary><nav class="bar-panel" aria-label="Docs menu"><div class="side-group"><p class="side-head">Start here</p><ul><li><a href="../overview/index.html"><span>What ForgeQE does</span></a></li><li><a href="../get-started/index.html"><span>Get started</span></a></li><li><a href="../using/index.html"><span>Using ForgeQE</span></a></li><li><a href="../web-app/index.html"><span>The web app</span></a></li></ul></div><div class="side-group"><p class="side-head">Features</p><ul><li><a href="../area-browser/index.html#doc-how_to_use-recording-a-web-test-by-hand"><span>Recording a test</span></a></li><li><a href="../area-automated-tests/index.html#doc-how_to_use-test-management"><span>Test management</span></a></li><li><a href="../area-automated-tests/index.html#doc-how_to_use-regression-packs-for-a-release"><span>Regression packs</span></a></li><li><a href="../area-automated-tests/index.html#doc-how_to_use-migrating-a-test-suite"><span>Migrating a suite</span></a></li><li><a href="../area-automated-tests/index.html#doc-how_to_use-converting-tosca-tests"><span>Tosca conversion</span></a></li><li><a href="../area-pull-requests/index.html#doc-how_to_use-what-a-pull-request-impacts-in-the-product"><span>Change impact</span></a></li><li><a href="index.html#doc-how_to_use-responsive-preview"><span>Responsive preview</span></a></li><li><a href="../area-test-cases/index.html#doc-how_to_use-basal-business-testing"><span>Business testing (BASAL)</span></a></li><li><a href="../area-operations/index.html#doc-how_to_use-custom-agents"><span>Custom agents</span></a></li><li><a href="../get-started/index.html#doc-how_to_use-evidence-what-an-agent-did-decided-and-used"><span>AI Assurance</span></a></li><li><a href="../using/index.html#doc-how_to_use-the-web-app"><span>Talk and the web app</span></a></li><li><a href="../area-operations/index.html#doc-how_to_use-the-jobs-service-scheduled-and-long-jobs-apart-from-the-shell"><span>Scheduled jobs</span></a></li></ul></div><div class="side-group"><p class="side-head">Browser and tests</p><ul><li><a href="../area-browser/index.html"><span>Browser testing</span></a></li><li><a href="../area-test-cases/index.html"><span>Test cases</span></a></li><li><a href="../area-automated-tests/index.html"><span>Automated tests</span></a></li><li><a href="../feature-test-prompts/index.html"><span>Feature test prompts</span></a></li><li><a href="../area-api/index.html"><span>API testing</span></a></li><li><a href="index.html" aria-current="page"><span>Quality checks</span></a></li></ul></div><div class="side-group"><p class="side-head">Desktop and mobile</p><ul><li><a href="../area-desktop/index.html"><span>Desktop apps</span></a></li><li><a href="../area-mobile/index.html"><span>Mobile apps</span></a></li></ul></div><div class="side-group"><p class="side-head">Setup and operations</p><ul><li><a href="../area-setup/index.html"><span>Setup and configuration</span></a></li><li><a href="../area-operations/index.html"><span>Operations and monitoring</span></a></li><li><a href="../area-data/index.html"><span>Test data and databases</span></a></li><li><a href="../area-pull-requests/index.html"><span>Pull requests</span></a></li><li><a href="../area-release/index.html"><span>Release and reports</span></a></li></ul></div><div class="side-group"><p class="side-head">Agents and knowledge</p><ul><li><a href="../custom-agents-first-run/index.html"><span>Custom agents: a first run</span></a></li><li><a href="../product-knowledge/index.html"><span>Product knowledge</span></a></li></ul></div><div class="side-group"><p class="side-head">How ForgeQE works</p><ul><li><a href="../area-systems/index.html"><span>Connected systems</span></a></li><li><a href="../architecture/index.html"><span>How ForgeQE works</span></a></li><li><a href="../../architecture-map/index.html"><span>Architecture map</span></a></li><li><a href="../../security/index.html"><span>Security and data flows</span></a></li><li><a href="../guardrails/index.html"><span>Guardrails</span></a></li></ul></div><div class="side-group"><p class="side-head">Look it up</p><ul><li><a href="../reference/index.html"><span>Reference</span></a></li></ul></div><div class="side-group"><p class="side-head">For contributors</p><ul><li><a href="../architecture-reference/index.html"><span>Architecture reference</span></a></li><li><a href="../product-graph/index.html"><span>Product knowledge graph</span></a></li><li><a href="../product-views/index.html"><span>Product views</span></a></li><li><a href="../graphify/index.html"><span>Reading product code</span></a></li><li><a href="../evidence/index.html"><span>Evidence</span></a></li><li><a href="../cost-architecture/index.html"><span>Cost-aware execution</span></a></li></ul></div></nav></details><details class="bar-toc"><summary>On this page</summary><nav class="bar-panel" aria-label="On this page"><ul><li><a href="#cap-accessibility-performance">Accessibility and page performance</a></li><li><a href="#cap-accessibility-personas">Accessibility testing with personas</a></li><li><a href="#cap-visual-comparison">Visual comparison with baselines</a></li><li><a href="#cap-defect-intelligence">Defect intelligence: trends and prediction</a></li><li><a href="#cap-security-smoke">Passive security smoke checks</a></li><li><a href="#cap-localization-checks">Localization checks</a></li><li><a href="#cap-responsive-check">Responsive check</a></li></ul></nav></details></div>
|
|
120
|
+
<div class="page-bar"><details class="bar-menu"><summary>Docs menu</summary><nav class="bar-panel" aria-label="Docs menu"><div class="side-group"><p class="side-head">Start here</p><ul><li><a href="../overview/index.html"><span>What ForgeQE does</span></a></li><li><a href="../get-started/index.html"><span>Get started</span></a></li><li><a href="../using/index.html"><span>Using ForgeQE</span></a></li><li><a href="../web-app/index.html"><span>The web app</span></a></li></ul></div><div class="side-group"><p class="side-head">Features</p><ul><li><a href="../area-browser/index.html#doc-how_to_use-recording-a-web-test-by-hand"><span>Recording a test</span></a></li><li><a href="../area-automated-tests/index.html#doc-how_to_use-test-management"><span>Test management</span></a></li><li><a href="../area-automated-tests/index.html#doc-how_to_use-regression-packs-for-a-release"><span>Regression packs</span></a></li><li><a href="../area-automated-tests/index.html#doc-how_to_use-migrating-a-test-suite"><span>Migrating a suite</span></a></li><li><a href="../area-automated-tests/index.html#doc-how_to_use-converting-tosca-tests"><span>Tosca conversion</span></a></li><li><a href="../area-pull-requests/index.html#doc-how_to_use-what-a-pull-request-impacts-in-the-product"><span>Change impact</span></a></li><li><a href="index.html#doc-how_to_use-responsive-preview"><span>Responsive preview</span></a></li><li><a href="../area-test-cases/index.html#doc-how_to_use-basal-business-testing"><span>Business testing (BASAL)</span></a></li><li><a href="../area-operations/index.html#doc-how_to_use-custom-agents"><span>Custom agents</span></a></li><li><a href="../get-started/index.html#doc-how_to_use-evidence-what-an-agent-did-decided-and-used"><span>AI Assurance</span></a></li><li><a href="../using/index.html#doc-how_to_use-the-web-app"><span>Talk and the web app</span></a></li><li><a href="../area-operations/index.html#doc-how_to_use-the-jobs-service-scheduled-and-long-jobs-apart-from-the-shell"><span>Scheduled jobs</span></a></li></ul></div><div class="side-group"><p class="side-head">Browser and tests</p><ul><li><a href="../area-browser/index.html"><span>Browser testing</span></a></li><li><a href="../area-test-cases/index.html"><span>Test cases</span></a></li><li><a href="../area-automated-tests/index.html"><span>Automated tests</span></a></li><li><a href="../feature-test-prompts/index.html"><span>Feature test prompts</span></a></li><li><a href="../area-api/index.html"><span>API testing</span></a></li><li><a href="index.html" aria-current="page"><span>Quality checks</span></a></li></ul></div><div class="side-group"><p class="side-head">Desktop and mobile</p><ul><li><a href="../area-desktop/index.html"><span>Desktop apps</span></a></li><li><a href="../area-mobile/index.html"><span>Mobile apps</span></a></li></ul></div><div class="side-group"><p class="side-head">Setup and operations</p><ul><li><a href="../area-setup/index.html"><span>Setup and configuration</span></a></li><li><a href="../area-operations/index.html"><span>Operations and monitoring</span></a></li><li><a href="../area-data/index.html"><span>Test data and databases</span></a></li><li><a href="../area-pull-requests/index.html"><span>Pull requests</span></a></li><li><a href="../area-release/index.html"><span>Release and reports</span></a></li></ul></div><div class="side-group"><p class="side-head">Agents and knowledge</p><ul><li><a href="../custom-agents-first-run/index.html"><span>Custom agents: a first run</span></a></li><li><a href="../product-knowledge/index.html"><span>Product knowledge</span></a></li></ul></div><div class="side-group"><p class="side-head">How ForgeQE works</p><ul><li><a href="../area-systems/index.html"><span>Connected systems</span></a></li><li><a href="../architecture/index.html"><span>How ForgeQE works</span></a></li><li><a href="../../architecture-map/index.html"><span>Architecture map</span></a></li><li><a href="../../security/index.html"><span>Security and data flows</span></a></li><li><a href="../guardrails/index.html"><span>Guardrails</span></a></li></ul></div><div class="side-group"><p class="side-head">Look it up</p><ul><li><a href="../reference/index.html"><span>Reference</span></a></li></ul></div><div class="side-group"><p class="side-head">For contributors</p><ul><li><a href="../architecture-reference/index.html"><span>Architecture reference</span></a></li><li><a href="../product-graph/index.html"><span>Product knowledge graph</span></a></li><li><a href="../product-views/index.html"><span>Product views</span></a></li><li><a href="../graphify/index.html"><span>Reading product code</span></a></li><li><a href="../evidence/index.html"><span>Evidence</span></a></li><li><a href="../cost-architecture/index.html"><span>Cost-aware execution</span></a></li></ul></div></nav></details><details class="bar-toc"><summary>On this page</summary><nav class="bar-panel" aria-label="On this page"><ul><li><a href="#cap-load-testing">Load testing with JMeter</a></li><li><a href="#cap-accessibility-performance">Accessibility and page performance</a></li><li><a href="#cap-accessibility-personas">Accessibility testing with personas</a></li><li><a href="#cap-visual-comparison">Visual comparison with baselines</a></li><li><a href="#cap-defect-intelligence">Defect intelligence: trends and prediction</a></li><li><a href="#cap-security-smoke">Passive security smoke checks</a></li><li><a href="#cap-localization-checks">Localization checks</a></li><li><a href="#cap-responsive-check">Responsive check</a></li></ul></nav></details></div>
|
|
121
121
|
<h1 class="topic-h"><svg class="pix pix--title ph" aria-hidden="true" focusable="false"><use href="#ph-result"/></svg>Quality checks</h1>
|
|
122
122
|
<p class="guide-lead">Accessibility, page performance, and visual changes</p>
|
|
123
|
+
<article class="spec feat" id="cap-load-testing">
|
|
124
|
+
<div class="hd"><span class="mono">Quality</span><h3>Load testing with JMeter</h3></div>
|
|
125
|
+
<p class="ds">Load, stress, soak and spike tests with Apache JMeter: the coding agent writes a .jmx plan from your words, ForgeQE checks and smoke-runs it, then runs your load headless on a test environment and reports response times, throughput and errors per request against your limits, with JMeter's HTML report and junit.xml. Teams' own .jmx plans run too.</p>
|
|
126
|
+
<div class="facts">
|
|
127
|
+
<div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Write a load test for checkout with 200 users over 10 minutes</li><li>Run the checkout.jmx load test with 50 users</li><li>Did the search load test get slower than last week?</li><li>Write an executive report of the last checkout load test</li><li>Import results/loadrunner.xlsx as checkout-lr and compare it with our baseline</li><li>Convert the LoadRunner script in lr/Checkout to JMeter</li><li>How many users can checkout take before p95 passes 800 ms?</li><li>Why was search slow in the last load test? Check Application Insights</li><li>Plan the performance tests for Black Friday: 500 users on checkout and search</li></ul></div>
|
|
128
|
+
<div class="fact"><span class="mono">What it needs</span><p class="muted">Nothing beyond ForgeQE itself.</p></div>
|
|
129
|
+
<div class="fact"><span class="mono">Limits</span><ul class="plainlist"><li>Runs only on a test environment of env.yaml, never production; more users than perf.max_users asks a person first.</li><li>A plan runs only when every element is on ForgeQE's list: no JSR223 or BeanShell scripts, OS Process, Java, JDBC or other non-HTTP samplers, includes or file access.</li><li>Load comes from this computer (or the CI agent): no distributed or cloud load yet.</li></ul></div>
|
|
130
|
+
<div class="fact"><span class="mono">Tools</span><p class="tools"><code>perf_plans</code> <code>perf_check</code> <code>perf_run</code> <code>perf_write</code> <code>perf_compare</code> <code>perf_report</code> <code>perf_analyse</code> <code>perf_predict</code> <code>perf_convert</code> <code>perf_import</code> <code>perf_results</code> <code>perf_strategy</code></p></div>
|
|
131
|
+
</div>
|
|
132
|
+
|
|
133
|
+
</article>
|
|
134
|
+
<div class="feat-detail"><section class="doc" data-topic id="doc-how_to_use-load-testing-with-jmeter">
|
|
135
|
+
<h4>Load testing with JMeter</h4>
|
|
136
|
+
<div class="prose"><p>Load, stress, soak and spike tests run on <strong>Apache JMeter 5.6.3</strong>, headless, on a test environment of env.yaml. A
|
|
137
|
+
plan is an ordinary JMeter <code>.jmx</code> file in the plans folder (<code>perf.folder</code>, default <code>perf/</code> in the test repository), so
|
|
138
|
+
the team opens and edits it in JMeter's own GUI. ForgeQE's coding agent writes plans from your words; your existing
|
|
139
|
+
plans run too.</p>
|
|
140
|
+
<p><strong>What a run gives you.</strong> For each request (label) and in all: samples, error rate, mean, p50, p90, p95 and p99
|
|
141
|
+
response time, maximum, requests per second, and a timeline of each second. Each limit is checked: p95, p99 or mean
|
|
142
|
+
response time, error rate, and minimum throughput. The run folder (<code><reports>/perf/<plan>/<time>/</code>) holds <code>summary.md</code>,
|
|
143
|
+
<code>perf.json</code>, <code>junit.xml</code> (each limit a test case, so a pipeline fails on a broken one), JMeter's results (<code>results.jtl</code>)
|
|
144
|
+
and log, and <strong>JMeter's own HTML dashboard</strong> (<code>report/index.html</code>).</p>
|
|
145
|
+
<p><strong>Setting it up.</strong> JMeter and a Java 21 runtime (about 150 MB, pinned by SHA-256) are downloaded into ForgeQE's tools
|
|
146
|
+
folder only when you agree: <code>forgeqe perf setup</code>, the <strong>Set up JMeter</strong> button on the Performance page, or the agent's
|
|
147
|
+
question the first time it runs a plan.</p>
|
|
148
|
+
<p><strong>Writing a plan.</strong> Ask the agent ("Write a load test for checkout with 200 users over 10 minutes, p95 under 800 ms"),
|
|
149
|
+
press <strong>Write a plan</strong> on the Performance page's Load tests tab, or run <code>forgeqe perf write "<what to load test>"</code>. The
|
|
150
|
+
coding agent writes the plan in the plans folder only (anything else it changes is put back), with no shell. ForgeQE
|
|
151
|
+
checks it and runs it once with one user and one loop; each problem goes back to the agent until the plan passes.</p>
|
|
152
|
+
<p><strong>How a plan says where it goes and how much load.</strong> ForgeQE passes the environment's apps as JMeter properties, so
|
|
153
|
+
one plan runs on any test environment:</p>
|
|
154
|
+
<ul>
|
|
155
|
+
<li><code>${__P(protocol)}</code>, <code>${__P(host)}</code>, <code>${__P(port)}</code> and <code>${__P(base_path)}</code>: the environment's API app (else its
|
|
156
|
+
start app); <code>${__P(app.NAME.host)}</code> and so on for each web or API app of env.yaml.</li>
|
|
157
|
+
<li><code>${__P(users,N)}</code>, <code>${__P(ramp,N)}</code>, <code>${__P(duration,N)}</code> and <code>${__P(loops,N)}</code>: the load, which a run can change
|
|
158
|
+
(<code>--users</code>, <code>--ramp</code>, <code>--duration</code>, <code>--loops</code>, or the page's fields).</li>
|
|
159
|
+
<li><code>${__P(secret.NAME)}</code>: a secret the environment lists under <code>secrets</code> in env.yaml. Its value reaches JMeter only in
|
|
160
|
+
a private properties file removed after the run, never on a command line, and is taken out of every message kept.</li>
|
|
161
|
+
</ul>
|
|
162
|
+
<p><strong>What ForgeQE does not run.</strong> A <code>.jmx</code> can run code, so ForgeQE reads every element before it starts JMeter, and
|
|
163
|
+
refuses a plan with:</p>
|
|
164
|
+
<ul>
|
|
165
|
+
<li>a JSR223 or BeanShell element, the OS Process, Java, JUnit, JDBC, JMS, TCP, SMTP, FTP or LDAP sampler, an Include
|
|
166
|
+
Controller, DNS Cache Manager, Keystore Config, Backend Listener, Debug sampler, or an element JMeter plugins add;</li>
|
|
167
|
+
<li>a JMeter function that runs a script or reads or writes a file (<code>__groovy</code>, <code>__javaScript</code>, <code>__jexl3</code>,
|
|
168
|
+
<code>__BeanShell</code>, <code>__eval</code>, <code>__FileToString</code>, <code>__StringToFile</code>, <code>__CSVRead</code> and the like);</li>
|
|
169
|
+
<li>a request to an address that is not an app of the environment (or one it cannot work out), a proxy, an upload, a
|
|
170
|
+
custom classpath, or a listener that writes its own file;</li>
|
|
171
|
+
<li>a CSV data file outside the plan's folder or reached through a link, or a credential written in the plan;</li>
|
|
172
|
+
<li>an If Controller that runs its condition as JavaScript, or a thread group that loops forever with no duration.</li>
|
|
173
|
+
</ul>
|
|
174
|
+
<p><code>forgeqe perf check <plan></code> (or <strong>Check</strong> on the page) lists every reason. ForgeQE runs a frozen copy of the plan and
|
|
175
|
+
its CSV files, so what was checked is what runs.</p>
|
|
176
|
+
<p><strong>Limits on load.</strong> Never on an environment named like production. More users than <code>perf.max_users</code> (default 50) need
|
|
177
|
+
a person's yes; one computer runs at most 5,000; a run stops after <code>perf.max_minutes</code> (default 30). The load comes
|
|
178
|
+
from this computer or your CI agent: distributed and cloud load are not supported yet. A request JMeter is redirected
|
|
179
|
+
to another host, or a page's embedded resources (<strong>Retrieve All Embedded Resources</strong>), can reach other hosts: the
|
|
180
|
+
check warns about the second.</p>
|
|
181
|
+
<p><strong>Settings.</strong></p>
|
|
182
|
+
<p><strong>Web app:</strong> <strong>Settings › Quality</strong>, under <strong>Load tests</strong>: the plans folder, the users a person confirms above, the
|
|
183
|
+
longest run, JMeter's memory and the limits.</p>
|
|
184
|
+
<p><strong>Terminal:</strong> in forgeqe.yaml:</p>
|
|
185
|
+
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">perf:
|
|
186
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> folder: perf</span><span class="pad"> </span><span class="cm"><span class="h">#</span> plans, in the test repository (code.repo) or else the project
|
|
187
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> max_users: 50</span><span class="pad"> </span><span class="cm"><span class="h">#</span> above this, a person confirms the run
|
|
188
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> max_minutes: 30</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a run is stopped after this
|
|
189
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> heap: 1g</span><span class="pad"> </span><span class="cm"><span class="h">#</span> JMeter's memory
|
|
190
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> limits:</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a run fails when one is broken (perf_run's or --p95-ms … override them)
|
|
191
|
+
</span></span><span class="ln"><span class="cmd"> p95_ms: 800
|
|
192
|
+
</span></span><span class="ln"><span class="cmd"> error_rate: 0.01
|
|
193
|
+
</span></span></code></pre></div>
|
|
194
|
+
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">forgeqe perf setup
|
|
195
|
+
</span></span><span class="ln"><span class="cmd">forgeqe perf write "Browse products and add one to the cart, 100 users for 5 minutes"
|
|
196
|
+
</span></span><span class="ln"><span class="cmd">forgeqe perf check checkout.jmx
|
|
197
|
+
</span></span><span class="ln"><span class="cmd">forgeqe perf run checkout.jmx --env qa --users 100 --duration 300 --p95-ms 800
|
|
198
|
+
</span></span><span class="ln"><span class="cmd">forgeqe perf results checkout.jmx
|
|
199
|
+
</span></span></code></pre></div>
|
|
200
|
+
<p><code>forgeqe perf run</code> exits 1 when a limit breaks, so a pipeline can gate on it; publish <code>junit.xml</code> and the HTML report
|
|
201
|
+
as build artifacts.</p>
|
|
202
|
+
<p><strong>Baselines and comparing runs.</strong> Each run is compared with its plan's <strong>baseline</strong>, else with the run before it. A
|
|
203
|
+
request is <strong>slower</strong> when its p95 rose by more than 10% and more than 20 ms (so noise in fast requests is not a
|
|
204
|
+
regression), and <strong>fails more</strong> when its error rate rose by more than half a percentage point; new and gone requests are
|
|
205
|
+
listed. Runs of another load or environment are compared too, with that said. A baseline is chosen only by a person:
|
|
206
|
+
<strong>Set as baseline</strong> on a run of the Load tests tab, or <code>forgeqe perf baseline <plan> <run></code>. <code>forgeqe perf compare <plan></code> exits 1 when a request got worse, for a pipeline that gates on the trend rather than fixed limits.</p>
|
|
207
|
+
<p><strong>Executive report.</strong> <strong>Write report</strong> on a run (or <code>forgeqe perf report <plan></code>, or ask the agent) writes
|
|
208
|
+
<code>executive.html</code> and <code>executive.md</code> beside the run: the headline, the totals, limits, the comparison, observations, risks
|
|
209
|
+
and next steps, a chart of each request's p95 against the compared run, the response time over the run, the trend across
|
|
210
|
+
the plan's runs, and every request. ForgeQE works out every number and chart. The words come from its model, which gets
|
|
211
|
+
only those numbers and has no tools; a sentence is kept only when every number in it is one of the run's and every
|
|
212
|
+
request it names is the run's, so the report cannot invent a figure. With no model (or <code>--no-model</code>), ForgeQE writes the
|
|
213
|
+
words itself. The HTML page runs no script and loads nothing from outside, so it can be mailed or attached as it is.</p>
|
|
214
|
+
<p><strong>Importing results made elsewhere.</strong> <strong>Import</strong> on the Load tests tab, <code>forgeqe perf import <file> --name <name></code>, or
|
|
215
|
+
the agent's perf_import bring in results as a run, to compare and report on like ForgeQE's own:</p>
|
|
216
|
+
<ul>
|
|
217
|
+
<li>a JMeter results file (<code>.jtl</code> or CSV with JMeter's columns), read as ForgeQE reads its own;</li>
|
|
218
|
+
<li>a summary table of per-request numbers (CSV, TSV or <code>.xlsx</code>), as LoadRunner Analysis or a team's own sheet lays them
|
|
219
|
+
out. Columns are found by their headings: the request (Transaction Name, Label…), Average, 90 Percent / 95% Line /
|
|
220
|
+
p99, Pass and Fail or # Samples and Error %, Throughput or TPS. Times are taken as seconds when a heading says so
|
|
221
|
+
(<code>Average (s)</code>), else milliseconds; <code>--unit s|ms</code> (or the page's choice) says it outright.</li>
|
|
222
|
+
</ul>
|
|
223
|
+
<p>The file is a path inside the project (no hidden folder, nothing named like a credential). Results are kept under a
|
|
224
|
+
plan's name, to compare them with its runs, or under a new name in lower case (<code>checkout-loadrunner</code>); results from an
|
|
225
|
+
environment named like production are not kept. When the table has no total row, the totals' p50, p90, p95 and p99 are
|
|
226
|
+
estimated from each request's own percentiles, weighted by its samples (within about 10% of the true values on mixed
|
|
227
|
+
fast and slow requests); the run says they are estimates.</p>
|
|
228
|
+
<p>To check how well your model writes a report's words, run <code>forgeqe prompts eval perf-report</code>: two cases (a broken
|
|
229
|
+
limit, a regression at another load) are scored on whether every sentence survives ForgeQE's check of the numbers.</p>
|
|
230
|
+
<p><strong>A test strategy before the plans (PlanGenAI).</strong> <strong>Strategy</strong> on the Load tests tab, <code>forgeqe perf strategy "<what the tests are for>"</code>, or asking the agent drafts a performance test strategy: objectives, the user journeys and each
|
|
231
|
+
one's share of the load, the workload (users, ramp-up, think time), the tests to run (baseline, load, stress, soak,
|
|
232
|
+
spike) with their users and minutes, the limits, entry and exit criteria, risks, what to monitor and the test data
|
|
233
|
+
needed. The model sees your words and what the project has (its test environments and apps, the plans and their
|
|
234
|
+
requests, the loads earlier runs reached, the settings), and ForgeQE keeps only what the project has: a test
|
|
235
|
+
environment of env.yaml, never one named like production; a plan only one the folder has (else "to write"); numbers
|
|
236
|
+
within ForgeQE's bounds; no text that reads as an instruction or holds a credential. With no model, ForgeQE drafts it
|
|
237
|
+
from your words (the users, minutes and p95 you give; soak and spike tests when you say so). It is kept as
|
|
238
|
+
<code><perf.folder>/strategies/<id>.json</code> and <code>.md</code>. Nothing is written or run from it until a person approves it by typing
|
|
239
|
+
its id (on the page, or <code>forgeqe perf strategy approve <id></code> at a terminal); the approval holds only for the very
|
|
240
|
+
content approved, so a change since needs approving again. Then <strong>Write N plans</strong> (or <code>forgeqe perf strategy write <id></code>) has the coding agent write, check and smoke-run a plan for each journey that has none.</p>
|
|
241
|
+
<p><strong>Converting LoadRunner scripts (ScriptBridge).</strong> <strong>Convert</strong> on the Load tests tab, <code>forgeqe perf convert <vugen-folder> --name <name></code>, or the agent's perf_convert turns a LoadRunner VuGen <strong>Web (HTTP/HTML)</strong> script into a
|
|
242
|
+
JMeter plan, by code: <code>web_url</code>, <code>web_submit_data</code> and <code>web_custom_request</code> become requests (<code>web_add_header</code> and
|
|
243
|
+
<code>web_add_auto_header</code> their headers), <code>web_reg_save_param</code> and <code>_ex</code>/<code>_regexp</code> extractors, <code>web_reg_find</code> text checks,
|
|
244
|
+
<code>lr_start_transaction</code> Transaction Controllers, <code>lr_think_time</code> timers and <code>lr_save_string</code> variables. Parameters
|
|
245
|
+
(<code>.prm</code> and their <code>.dat</code> tables) become CSV Data Sets, the tables copied beside the plan. <code>vuser_init</code> runs once per
|
|
246
|
+
user and <code>vuser_end</code> after the test. Each recorded host becomes an app of the environment: the start app's own host
|
|
247
|
+
as it is, others with <code>--map https://old.host=APP</code>. A password, an <code>lr_decrypt</code> value or a credential written in a
|
|
248
|
+
header becomes <code>${__P(secret.LR_NAME)}</code>, a secret you add to env.yaml. The script is read as data and never compiled
|
|
249
|
+
or run; C logic, <code>web_link</code>, binary bodies and protocols other than Web are listed as not converted in
|
|
250
|
+
<code><name>.conversion.md</code>, and <strong>Finish</strong> (or <code>forgeqe perf write "Finish <plan>…" --plan <plan></code>) has the coding agent
|
|
251
|
+
convert them. The plan then passes the same check as any other before it runs.</p>
|
|
252
|
+
<p><strong>Forecasting loads not run (PerfPredictModel).</strong> Run a plan at three or more loads (<code>forgeqe perf steps <plan> --users 10,25,50,100</code>, one run each), then <strong>Forecast</strong> on the plan (or <code>forgeqe perf predict <plan></code>). ForgeQE fits
|
|
253
|
+
the Universal Scalability Law to the newest run at each load (throughput against users, with the think time from the
|
|
254
|
+
runs) and the response time law, and gives for other loads the requests per second and p95 with a range, the peak (the
|
|
255
|
+
load where throughput stops rising) and the most users within the p95 limit. Each forecast says how far to trust it:
|
|
256
|
+
within the loads run, near (up to 1.5x the highest), far (up to 2x), or direction only beyond. A fit that does not hold
|
|
257
|
+
(R² under 0.8, too few loads) is said, not hidden. This is a model of the runs, on that environment: confirm the load
|
|
258
|
+
that matters with a run.</p>
|
|
259
|
+
<p><strong>What the servers saw (LogAnalyser).</strong> <strong>Servers</strong> on a run (or <code>forgeqe perf analyse <plan> [run]</code>, or the agent's
|
|
260
|
+
perf_analyse) reads the project's APM for the run's window, a minute either side: Application Insights
|
|
261
|
+
(<code>integrations.appinsights</code>) or Datadog (<code>integrations.datadog</code>). It reads the server operations (count, failures, p50,
|
|
262
|
+
p95), the dependencies by type and target (databases, HTTP calls, queues), and the exceptions by type and operation;
|
|
263
|
+
each JMeter request is matched to its operation by method and path shape (ids and variables as wildcards), and a slow
|
|
264
|
+
request says where its time went: in the service, or before it (network, gateway, load balancer). The queries carry only
|
|
265
|
+
the run's window, are sent only to the provider's own https address with no redirect, and what comes back is read as
|
|
266
|
+
untrusted text; the result is kept as <code>apm.json</code> beside the run and shown in the executive report. APM data arrives a
|
|
267
|
+
few minutes late: a run that just ended says so.</p>
|
|
268
|
+
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">forgeqe perf strategy "Black Friday: checkout and search must hold 500 users with p95 under 1 s"
|
|
269
|
+
</span></span><span class="ln"><span class="cmd">forgeqe perf strategy approve black-friday-checkout-and-search
|
|
270
|
+
</span></span><span class="ln"><span class="cmd">forgeqe perf strategy write black-friday-checkout-and-search
|
|
271
|
+
</span></span><span class="ln"><span class="cmd">forgeqe perf convert loadrunner/Checkout --name checkout --map https://shop.old.test=shop
|
|
272
|
+
</span></span><span class="ln"><span class="cmd">forgeqe perf steps checkout.jmx --users 10,25,50,100
|
|
273
|
+
</span></span><span class="ln"><span class="cmd">forgeqe perf predict checkout.jmx --users 200,400 --p95-ms 800
|
|
274
|
+
</span></span><span class="ln"><span class="cmd">forgeqe perf analyse checkout.jmx
|
|
275
|
+
</span></span></code></pre></div>
|
|
276
|
+
</div>
|
|
277
|
+
</section>
|
|
278
|
+
</div>
|
|
123
279
|
<article class="spec feat" id="cap-accessibility-performance">
|
|
124
280
|
<div class="hd"><span class="mono">Quality</span><h3>Accessibility and page performance</h3></div>
|
|
125
281
|
<p class="ds">Checks every page a run visits against WCAG rules and measures its Core Web Vitals, against budgets, with trends over time per page.</p>
|
|
126
282
|
<div class="facts">
|
|
127
283
|
<div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Is the checkout page accessible?</li><li>Did page performance get worse this week?</li></ul></div>
|
|
128
284
|
<div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need input">You give</span><span>a browser run (from browser_run or run_test_cases); new runs need a live model</span></li></ul></div>
|
|
129
|
-
<div class="fact"><span class="mono">Limits</span><ul class="plainlist"><li>Per-page Core Web Vitals, not load testing under many users.</li></ul></div>
|
|
285
|
+
<div class="fact"><span class="mono">Limits</span><ul class="plainlist"><li>Per-page Core Web Vitals, not load testing under many users (that is load-testing, with JMeter).</li></ul></div>
|
|
130
286
|
<div class="fact"><span class="mono">Tools</span><p class="tools"><code>quality_report</code> <code>quality_trends</code></p></div>
|
|
131
287
|
</div>
|
|
132
288
|
|
|
@@ -518,7 +674,7 @@ has.</p>
|
|
|
518
674
|
<a class="next" href="../area-desktop/index.html"><small>Next</small><span>Desktop apps</span></a>
|
|
519
675
|
</nav>
|
|
520
676
|
</main>
|
|
521
|
-
<aside class="docs-toc" aria-label="On this page"><p class="side-head">On this page</p><ul><li><a href="#cap-accessibility-performance">Accessibility and page performance</a></li><li><a href="#cap-accessibility-personas">Accessibility testing with personas</a></li><li><a href="#cap-visual-comparison">Visual comparison with baselines</a></li><li><a href="#cap-defect-intelligence">Defect intelligence: trends and prediction</a></li><li><a href="#cap-security-smoke">Passive security smoke checks</a></li><li><a href="#cap-localization-checks">Localization checks</a></li><li><a href="#cap-responsive-check">Responsive check</a></li></ul></aside>
|
|
677
|
+
<aside class="docs-toc" aria-label="On this page"><p class="side-head">On this page</p><ul><li><a href="#cap-load-testing">Load testing with JMeter</a></li><li><a href="#cap-accessibility-performance">Accessibility and page performance</a></li><li><a href="#cap-accessibility-personas">Accessibility testing with personas</a></li><li><a href="#cap-visual-comparison">Visual comparison with baselines</a></li><li><a href="#cap-defect-intelligence">Defect intelligence: trends and prediction</a></li><li><a href="#cap-security-smoke">Passive security smoke checks</a></li><li><a href="#cap-localization-checks">Localization checks</a></li><li><a href="#cap-responsive-check">Responsive check</a></li></ul></aside>
|
|
522
678
|
</div>
|
|
523
679
|
<footer class="foot">
|
|
524
680
|
<div class="container foot__row">
|
|
@@ -163,12 +163,12 @@ set one up. A run that passes becomes a test in your repository, written by <str
|
|
|
163
163
|
<div class="area"><a href="../area-setup/index.html" class="area-name"><span class="mono">Setup</span></a><ul class="tiles"><li><a href="../area-setup/index.html#cap-test-apps" class="tile"><b>Test environments and their apps</b><span>Place an order in the shop, then check its invoice in Billing, in UAT</span></a></li><li><a href="../area-setup/index.html#cap-generated-code" class="tile"><b>What ForgeQE wrote</b><span>How much of the code ForgeQE wrote is still there?</span></a></li><li><a href="../area-setup/index.html#cap-forgeqe-commands" class="tile"><b>Every forgeqe command from the shell</b><span>Show me the context budget</span></a></li><li><a href="../area-setup/index.html#cap-product-knowledge" class="tile"><b>Product knowledge from the product's repositories</b><span>How does the product cancel an order? Show the endpoints and tables involved</span></a></li><li><a href="../area-setup/index.html#cap-knowledge-agent" class="tile"><b>Librarian: what ForgeQE understood, and your corrections</b><span>What do you know about refunds?</span></a></li><li><a href="../area-setup/index.html#cap-document-search" class="tile"><b>Search the project's documents, without vectors</b><span>What does the payments spec say about refund limits?</span></a></li><li><a href="../area-setup/index.html#cap-web-search" class="tile"><b>Search the web</b><span>Search the web for the latest Playwright release</span></a></li><li><a href="../area-setup/index.html#cap-setup-help" class="tile"><b>Setup, skills, and documentation</b><span>What can you do?</span></a></li></ul></div>
|
|
164
164
|
<div class="area"><a href="../area-desktop/index.html" class="area-name"><span class="mono">Desktop</span></a><ul class="tiles"><li><a href="../area-desktop/index.html#cap-desktop-apps" class="tile"><b>Automate Windows desktop apps</b><span>Create an invoice for Contoso in the Billing app and save it as a test</span></a></li></ul></div>
|
|
165
165
|
<div class="area"><a href="../area-mobile/index.html" class="area-name"><span class="mono">Mobile</span></a><ul class="tiles"><li><a href="../area-mobile/index.html#cap-mobile-apps" class="tile"><b>Automate Android and iOS apps</b><span>Sign in to the courier app and accept the first delivery, and save it as a test</span></a></li></ul></div>
|
|
166
|
-
<div class="area"><a href="../area-operations/index.html" class="area-name"><span class="mono">Operations</span></a><ul class="tiles"><li><a href="../area-operations/index.html#cap-containers" class="tile"><b>Services, mocks, workspace and browser in Docker or Podman</b><span>Start the database and the queue in Docker</span></a></li><li><a href="../area-operations/index.html#cap-production-errors" class="tile"><b>Production errors and the tests that cover them</b><span>Which production errors have no test?</span></a></li><li><a href="../area-operations/index.html#cap-model-cost" class="tile"><b>Model cost and usage</b><span>What did ForgeQE cost this month?</span></a></li><li><a href="../area-operations/index.html#cap-forgeqe-health" class="tile"><b>ForgeQE's own health</b><span>How has ForgeQE been doing this week?</span></a></li><li><a href="../area-operations/index.html#cap-monitoring" class="tile"><b>Scheduled monitoring with alerts</b><span>Check the login flow every 15 minutes and alert Teams</span></a></li><li><a href="../area-operations/index.html#cap-jobs" class="tile"><b>Background jobs on a schedule</b><span>Run the release-2.3 pack every weekday at 2am in the background</span></a></li><li><a href="../area-operations/index.html#cap-custom-agents" class="tile"><b>Your team's custom agents</b><span>Ask our custom agent checkout-guard to check the basket on QA</span></a></li><li><a href="../area-operations/index.html#cap-notifications" class="tile"><b>Teams and email notifications</b><span>Post the results to the QA channel</span></a></li><li><a href="../area-operations/index.html#cap-pipelines" class="tile"><b>CI pipelines</b><span>Add a GitHub Actions workflow that runs tests/cases.yaml on every PR, and make it green</span></a></li></ul></div>
|
|
166
|
+
<div class="area"><a href="../area-operations/index.html" class="area-name"><span class="mono">Operations</span></a><ul class="tiles"><li><a href="../area-operations/index.html#cap-containers" class="tile"><b>Services, mocks, workspace and browser in Docker or Podman</b><span>Start the database and the queue in Docker</span></a></li><li><a href="../area-operations/index.html#cap-production-errors" class="tile"><b>Production errors and the tests that cover them</b><span>Which production errors have no test?</span></a></li><li><a href="../area-operations/index.html#cap-model-cost" class="tile"><b>Model cost and usage</b><span>What did ForgeQE cost this month?</span></a></li><li><a href="../area-operations/index.html#cap-forgeqe-health" class="tile"><b>ForgeQE's own health</b><span>How has ForgeQE been doing this week?</span></a></li><li><a href="../area-operations/index.html#cap-monitoring" class="tile"><b>Scheduled monitoring with alerts</b><span>Check the login flow every 15 minutes and alert Teams</span></a></li><li><a href="../area-operations/index.html#cap-jobs" class="tile"><b>Background jobs on a schedule</b><span>Run the release-2.3 pack every weekday at 2am in the background</span></a></li><li><a href="../area-operations/index.html#cap-custom-agents" class="tile"><b>Your team's custom agents</b><span>Ask our custom agent checkout-guard to check the basket on QA</span></a></li><li><a href="../area-operations/index.html#cap-agent-teams" class="tile"><b>Teams of custom agents</b><span>Ask the release-qa team to check release 2.4 on qa</span></a></li><li><a href="../area-operations/index.html#cap-notifications" class="tile"><b>Teams and email notifications</b><span>Post the results to the QA channel</span></a></li><li><a href="../area-operations/index.html#cap-pipelines" class="tile"><b>CI pipelines</b><span>Add a GitHub Actions workflow that runs tests/cases.yaml on every PR, and make it green</span></a></li></ul></div>
|
|
167
167
|
<div class="area"><a href="../area-data/index.html" class="area-name"><span class="mono">Data</span></a><ul class="tiles"><li><a href="../area-data/index.html#cap-databases" class="tile"><b>Ask a database in plain language</b><span>Which customers in India have paid orders? Ask the orders database</span></a></li><li><a href="../area-data/index.html#cap-test-data" class="tile"><b>Test data on demand</b><span>Generate test data: 20 customers with 1 to 3 orders each in the shop database</span></a></li><li><a href="../area-data/index.html#cap-data-flows" class="tile"><b>Data flows between systems</b><span>Check that customers from the digital database reach the CRM correctly</span></a></li></ul></div>
|
|
168
168
|
<div class="area"><a href="../area-automated-tests/index.html" class="area-name"><span class="mono">Automated tests</span></a><ul class="tiles"><li><a href="../area-automated-tests/index.html#cap-write-tests" class="tile"><b>Turn a passed run into an automated test</b><span>Write a Playwright test for that run in ../app</span></a></li><li><a href="../area-automated-tests/index.html#cap-heal-tests" class="tile"><b>Heal failing tests</b><span>Heal the failing tests in ../app</span></a></li><li><a href="../area-automated-tests/index.html#cap-migrate-tests" class="tile"><b>Migrate a test suite</b><span>Migrate the Selenium tests in tests/ to Playwright TypeScript</span></a></li><li><a href="../area-automated-tests/index.html#cap-tosca-convert" class="tile"><b>Convert Tosca test cases</b><span>Convert the Tosca export tosca/checkout.tsu to Playwright TypeScript</span></a></li><li><a href="../area-automated-tests/index.html#cap-find-run-tests" class="tile"><b>Find and run existing tests</b><span>Run the checkout tests</span></a></li><li><a href="../area-automated-tests/index.html#cap-regression-packs" class="tile"><b>Regression packs for a release</b><span>Build a regression pack for sprint 12 and run it on TestMu</span></a></li><li><a href="../area-automated-tests/index.html#cap-flaky-tests" class="tile"><b>Flaky test detection and quarantine</b><span>Which tests are flaky?</span></a></li><li><a href="../area-automated-tests/index.html#cap-run-diff" class="tile"><b>Compare two runs step by step</b><span>It passed yesterday and fails today: why?</span></a></li><li><a href="../area-automated-tests/index.html#cap-test-debt" class="tile"><b>Test debt and coverage gaps</b><span>What has no test?</span></a></li><li><a href="../area-automated-tests/index.html#cap-test-management" class="tile"><b>Test management</b><span>Show the test inventory</span></a></li></ul></div>
|
|
169
169
|
<div class="area"><a href="../area-pull-requests/index.html" class="area-name"><span class="mono">Pull requests</span></a><ul class="tiles"><li><a href="../area-pull-requests/index.html#cap-pr-review" class="tile"><b>Review pull requests</b><span>Review PR 42 and focus on error handling</span></a></li><li><a href="../area-pull-requests/index.html#cap-pr-impact" class="tile"><b>Pull request impact and test selection</b><span>What does PR 42 impact?</span></a></li></ul></div>
|
|
170
170
|
<div class="area"><a href="../area-api/index.html" class="area-name"><span class="mono">API</span></a><ul class="tiles"><li><a href="../area-api/index.html#cap-api-testing" class="tile"><b>API and contract testing</b><span>Turn the last run's API calls into tests</span></a></li><li><a href="../area-api/index.html#cap-api-calls" class="tile"><b>An API's calls and collections</b><span>Import our Postman collection and send its calls</span></a></li><li><a href="../area-api/index.html#cap-api-load-security" class="tile"><b>API load and security checks</b><span>Load test the orders API with 20 users for a minute</span></a></li></ul></div>
|
|
171
|
-
<div class="area"><a href="../area-quality/index.html" class="area-name"><span class="mono">Quality</span></a><ul class="tiles"><li><a href="../area-quality/index.html#cap-accessibility-performance" class="tile"><b>Accessibility and page performance</b><span>Is the checkout page accessible?</span></a></li><li><a href="../area-quality/index.html#cap-accessibility-personas" class="tile"><b>Accessibility testing with personas</b><span>Act as a blind person and use the website to find accessibility issues</span></a></li><li><a href="../area-quality/index.html#cap-visual-comparison" class="tile"><b>Visual comparison with baselines</b><span>What changed visually since the last run?</span></a></li><li><a href="../area-quality/index.html#cap-defect-intelligence" class="tile"><b>Defect intelligence: trends and prediction</b><span>Which defects keep coming back?</span></a></li><li><a href="../area-quality/index.html#cap-security-smoke" class="tile"><b>Passive security smoke checks</b><span>Any security problems in the last checkout run?</span></a></li><li><a href="../area-quality/index.html#cap-localization-checks" class="tile"><b>Localization checks</b><span>Is the German checkout fully translated?</span></a></li><li><a href="../area-quality/index.html#cap-responsive-check" class="tile"><b>Responsive check</b><span>Does the checkout page work on phones?</span></a></li></ul></div>
|
|
171
|
+
<div class="area"><a href="../area-quality/index.html" class="area-name"><span class="mono">Quality</span></a><ul class="tiles"><li><a href="../area-quality/index.html#cap-load-testing" class="tile"><b>Load testing with JMeter</b><span>Write a load test for checkout with 200 users over 10 minutes</span></a></li><li><a href="../area-quality/index.html#cap-accessibility-performance" class="tile"><b>Accessibility and page performance</b><span>Is the checkout page accessible?</span></a></li><li><a href="../area-quality/index.html#cap-accessibility-personas" class="tile"><b>Accessibility testing with personas</b><span>Act as a blind person and use the website to find accessibility issues</span></a></li><li><a href="../area-quality/index.html#cap-visual-comparison" class="tile"><b>Visual comparison with baselines</b><span>What changed visually since the last run?</span></a></li><li><a href="../area-quality/index.html#cap-defect-intelligence" class="tile"><b>Defect intelligence: trends and prediction</b><span>Which defects keep coming back?</span></a></li><li><a href="../area-quality/index.html#cap-security-smoke" class="tile"><b>Passive security smoke checks</b><span>Any security problems in the last checkout run?</span></a></li><li><a href="../area-quality/index.html#cap-localization-checks" class="tile"><b>Localization checks</b><span>Is the German checkout fully translated?</span></a></li><li><a href="../area-quality/index.html#cap-responsive-check" class="tile"><b>Responsive check</b><span>Does the checkout page work on phones?</span></a></li></ul></div>
|
|
172
172
|
<div class="area"><a href="../area-release/index.html" class="area-name"><span class="mono">Release</span></a><ul class="tiles"><li><a href="../area-release/index.html#cap-release-readiness" class="tile"><b>Requirement coverage and release readiness</b><span>Are we ready to release?</span></a></li><li><a href="../area-release/index.html#cap-release-verdict" class="tile"><b>One release verdict from everything measured</b><span>Can we ship release-2.3?</span></a></li><li><a href="../area-release/index.html#cap-feature-flags" class="tile"><b>Regression across feature-flag combinations</b><span>Run the release pack across the new-checkout feature flag on and off</span></a></li><li><a href="../area-release/index.html#cap-reports" class="tile"><b>Reports you can share</b><span>Create a release report for all projects</span></a></li></ul></div>
|
|
173
173
|
<div class="area"><a href="../area-systems/index.html" class="area-name"><span class="mono">Systems</span></a><ul class="tiles"><li><a href="../area-systems/index.html#cap-systems" class="tile"><b>Work with Azure DevOps, Jira, GitHub, and Confluence</b><span>Show the open bugs in this sprint</span></a></li><li><a href="../area-systems/index.html#cap-system-data" class="tile"><b>Read any data in Azure DevOps, Jira, Xray, and Confluence, and open Azure DevOps pull requests</b><span>Are there open pull requests in any repository of QI-Claims?</span></a></li></ul></div>
|
|
174
174
|
<h3 class="band-title">Not supported</h3>
|