@capagents/forgeqe 3.3.6 → 3.3.7
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 +56 -7
- package/dist/docs-site/docs/area-mobile/index.html +33 -7
- package/dist/docs-site/docs/area-operations/index.html +41 -7
- package/dist/docs-site/docs/area-quality/index.html +15 -2
- package/dist/docs-site/docs/area-test-cases/index.html +41 -27
- package/dist/docs-site/docs/mobile/index.html +33 -7
- package/dist/docs-site/docs/overview/index.html +1 -1
- package/dist/docs-site/docs/search.js +1 -1
- package/dist/forgeqe.js +3743 -3559
- package/dist/web/assets/{3d-force-graph-Dzh7nZHB.js → 3d-force-graph-Bsispdm1.js} +1 -1
- package/dist/web/assets/Agent-39FbaH7G.js +10 -0
- package/dist/web/assets/{AgentWork-CHC16tCh.js → AgentWork-BugEUl60.js} +1 -1
- package/dist/web/assets/ApiTests-B9rtwCbe.js +17 -0
- package/dist/web/assets/{Browse-BT4NwFlf.js → Browse-Dl2Lneca.js} +1 -1
- package/dist/web/assets/Chat-DocT7FlH.js +3 -0
- package/dist/web/assets/{CommandPalette-D2T-HldB.js → CommandPalette-B7YPDCOk.js} +1 -1
- package/dist/web/assets/{Compare-CVId7eRu.js → Compare-D6XsFmmb.js} +1 -1
- package/dist/web/assets/Cost-DvbuXS6u.js +1 -0
- package/dist/web/assets/Data-BmZHJkfj.js +6 -0
- package/dist/web/assets/Desktop-DD3F69ih.js +1 -0
- package/dist/web/assets/{DesktopReview-CfozOqkA.js → DesktopReview-BR0LtVFw.js} +2 -2
- package/dist/web/assets/Evidence-OqAiYzrl.js +1 -0
- package/dist/web/assets/Explore-QNyusEFo.js +2 -0
- package/dist/web/assets/Features-N3_77mz-.js +1 -0
- package/dist/web/assets/Flags-Yv4Ttmmh.js +2 -0
- package/dist/web/assets/Flaky-Bg2f2K1U.js +1 -0
- package/dist/web/assets/Impact-CpxvVnKj.js +3 -0
- package/dist/web/assets/Jobs-_gZTxoaG.js +5 -0
- package/dist/web/assets/KindPage-Amr6R7Ym.js +6 -0
- package/dist/web/assets/{LiveDevice-DdzQmJat.js → LiveDevice-j7NZXIJZ.js} +1 -1
- package/dist/web/assets/Migration-DfPYzTfk.js +8 -0
- package/dist/web/assets/Mobile-fIhhQPsp.js +1 -0
- package/dist/web/assets/Observability-13DkrRp2.js +1 -0
- package/dist/web/assets/{OwnItems-D-GGL7l6.js → OwnItems-BdiPfdTw.js} +3 -3
- package/dist/web/assets/PageAgent-CC8Ha6vu.js +1 -0
- package/dist/web/assets/Product-CnXkqwQm.js +6 -0
- package/dist/web/assets/Production-5mTIt4sr.js +1 -0
- package/dist/web/assets/Quality-DbLcbP1X.js +1 -0
- package/dist/web/assets/Readiness-BG1xmC09.js +1 -0
- package/dist/web/assets/Record-sFth-2I1.js +1 -0
- package/dist/web/assets/Regression-Dd4y8I1z.js +5 -0
- package/dist/web/assets/{RelationGraph-Icd1HaVO.js → RelationGraph-Blfs7PhK.js} +1 -1
- package/dist/web/assets/Reports-HQkTX4Kr.js +2 -0
- package/dist/web/assets/Requirements-DmhUNCIP.js +2 -0
- package/dist/web/assets/Responsive-D18eYdCh.js +3 -0
- package/dist/web/assets/RunDiff-75a-smeg.js +1 -0
- package/dist/web/assets/{Settings-COjVzBnC.js → Settings-BaodIliH.js} +15 -15
- package/dist/web/assets/{Steps-p2mtjaQd.js → Steps-ZPH_rTJh.js} +1 -1
- package/dist/web/assets/TestData-DUlTo5qt.js +2 -0
- package/dist/web/assets/TestManagement-DUMGdHDw.js +4 -0
- package/dist/web/assets/{WhatsNew-BsUPo-AN.js → WhatsNew-BrVNacPl.js} +1 -1
- package/dist/web/assets/{agentSettingsSheet-BYfhgj6t.js → agentSettingsSheet-UCqUtdjq.js} +1 -1
- package/dist/web/assets/{api-BUoHbp5V.js → api-D8-lxyQi.js} +1 -1
- package/dist/web/assets/{dataParts-DbfDDph_.js → dataParts-C0C67bVQ.js} +3 -3
- package/dist/web/assets/{desktopAppPath-CRwtH7Mm.js → desktopAppPath-B89LKvjx.js} +1 -1
- package/dist/web/assets/{flowTheme-DM9ULk-2.js → flowTheme-BNKwRxun.js} +1 -1
- package/dist/web/assets/frame-C8sL1yo-.js +13 -0
- package/dist/web/assets/index-BFG13fbg.js +55 -0
- package/dist/web/assets/index-DBnWgocz.css +2 -0
- package/dist/web/assets/{markdown-BhteivTy.js → markdown-CxsWgpYs.js} +1 -1
- package/dist/web/assets/{nav-DE7YMNUI.js → nav-DYgvAJu-.js} +1 -1
- package/dist/web/assets/{pageBack-D89f9SN4.js → pageBack-BefA2rh7.js} +1 -1
- package/dist/web/assets/{palette-DLNRH9CW.js → palette-BgJTq_Ot.js} +1 -1
- package/dist/web/assets/parts-BNpm4gXC.js +1 -0
- package/dist/web/assets/{productParts-CiA1iUMC.js → productParts-ZEi0sPIk.js} +1 -1
- package/dist/web/assets/{qualityParts-BSRlONZr.js → qualityParts-DtsD70Qh.js} +1 -1
- package/dist/web/assets/{recordTest-DQFAYzce.js → recordTest-Bz5ryzpS.js} +1 -1
- package/dist/web/assets/{stepper-DbGnuiC8.js → stepper-CONWT_tv.js} +1 -1
- package/dist/web/assets/{wizardParts-D6YJXD6A.js → wizardParts-CulZqqjz.js} +1 -1
- package/dist/web/index.html +8 -8
- package/docs/MOBILE.md +35 -7
- package/docs/user-guide.html +130 -43
- package/env.example.yaml +2 -0
- package/package.json +1 -1
- package/py/forgeqe_mobile/service.py +9 -1
- package/dist/web/assets/Agent-TMDBO05H.js +0 -10
- package/dist/web/assets/ApiTests-BhmPtlha.js +0 -17
- package/dist/web/assets/Chat-5kT-DaOX.js +0 -3
- package/dist/web/assets/Cost-BcGPKNts.js +0 -1
- package/dist/web/assets/Data-BoZOA_H9.js +0 -6
- package/dist/web/assets/Desktop-dYRmoU_-.js +0 -1
- package/dist/web/assets/Evidence-BseJLe3S.js +0 -1
- package/dist/web/assets/Explore-2g74_R0C.js +0 -2
- package/dist/web/assets/Features-DgJqPa-3.js +0 -1
- package/dist/web/assets/Flags-C9Vli2I6.js +0 -2
- package/dist/web/assets/Flaky-BHoLVcnp.js +0 -1
- package/dist/web/assets/Impact-vNOLMC--.js +0 -3
- package/dist/web/assets/Jobs-BXJHiDme.js +0 -5
- package/dist/web/assets/KindPage-CAlLQ-wX.js +0 -6
- package/dist/web/assets/Migration-D1uvBaBZ.js +0 -8
- package/dist/web/assets/Mobile-DUW4OwBK.js +0 -1
- package/dist/web/assets/Observability-BstgIeKO.js +0 -1
- package/dist/web/assets/PageAgent-sAuAp86u.js +0 -1
- package/dist/web/assets/Product-BaV0xHXM.js +0 -6
- package/dist/web/assets/Production-B2O4o_2w.js +0 -1
- package/dist/web/assets/Quality-B-4lwa5s.js +0 -1
- package/dist/web/assets/Readiness-DYEhtv3L.js +0 -1
- package/dist/web/assets/Record-DJtJ5lHo.js +0 -1
- package/dist/web/assets/Regression-Dl74mLPk.js +0 -5
- package/dist/web/assets/Reports-BEgu0hEa.js +0 -2
- package/dist/web/assets/Requirements-BGrUE42Y.js +0 -2
- package/dist/web/assets/Responsive-CE1Mk2v1.js +0 -3
- package/dist/web/assets/RunDiff-CL_5y-Qe.js +0 -1
- package/dist/web/assets/TestData-B6h_wMZg.js +0 -2
- package/dist/web/assets/TestManagement-CmwX5zHH.js +0 -4
- package/dist/web/assets/frame-DW-Hx3fC.js +0 -13
- package/dist/web/assets/index-CsEmZt6_.js +0 -55
- package/dist/web/assets/index-DVlmTifI.css +0 -2
- package/dist/web/assets/parts-CuY97ZCG.js +0 -1
package/docs/user-guide.html
CHANGED
|
@@ -401,7 +401,7 @@ forgeqe docs --copy ./docs # copy the guide, the architecture page, the refere
|
|
|
401
401
|
</div>
|
|
402
402
|
<h3 class="band-title">Every feature</h3>
|
|
403
403
|
<div class="area"><a class="area-name" href="#area-browser"><span class="mono">Browser</span></a><ul class="tiles"><li><a class="tile" href="#cap-browser-goals"><b>Run any goal in a real browser</b><span>Go to booking.com and search hotels in Mumbai for next weekend</span></a></li><li><a class="tile" href="#cap-logins"><b>Saved logins for the application under test</b><span>Sign in to the admin site and keep the session</span></a></li><li><a class="tile" href="#cap-record-web"><b>Record a web test by hand</b><span>I'll show you the checkout steps in the shop: record them</span></a></li></ul></div>
|
|
404
|
-
<div class="area"><a class="area-name" href="#area-test-cases"><span class="mono">Test cases</span></a><ul class="tiles"><li><a class="tile" href="#cap-run-test-cases"><b>Run manual test cases in browsers</b><span>Run SHOP-12 and SHOP-14 from Jira, two browsers at once</span></a></li><li><a class="tile" href="#cap-test-case-quality"><b>Check and improve test cases</b><span>Are the cases in test plan 12 good enough to run?</span></a></li><li><a class="tile" href="#cap-write-test-cases"><b>Write test cases from a story</b><span>Write test cases for story 1234 and save them</span></a></li><li><a class="tile" href="#cap-domain-compliance"><b>Domain and regulatory test design</b><span>Write test cases for story 1234, covering our DORA and PSD2 obligations</span></a></li><li><a class="tile" href="#cap-exploratory-testing"><b>Exploratory testing of a story</b><span>Explore story 1234 and find bugs</span></a></li><li><a class="tile" href="#cap-business-personas"><b>Business personas for testing</b><span>Create a persona of an SME in payments</span></a></li><li><a class="tile" href="#cap-basal"><b>BASAL: business testing that acts</b><span>Should we launch saved cards with a fee? Test how merchants, shoppers and support would really be affected</span></a></li></ul></div>
|
|
404
|
+
<div class="area"><a class="area-name" href="#area-test-cases"><span class="mono">Test cases</span></a><ul class="tiles"><li><a class="tile" href="#cap-run-test-cases"><b>Run manual test cases in browsers</b><span>Run SHOP-12 and SHOP-14 from Jira, two browsers at once</span></a></li><li><a class="tile" href="#cap-test-case-quality"><b>Check and improve test cases</b><span>Are the cases in test plan 12 good enough to run?</span></a></li><li><a class="tile" href="#cap-requirements-review"><b>Review a requirement</b><span>Review the requirement for refunds before we build it</span></a></li><li><a class="tile" href="#cap-write-test-cases"><b>Write test cases from a story</b><span>Write test cases for story 1234 and save them</span></a></li><li><a class="tile" href="#cap-domain-compliance"><b>Domain and regulatory test design</b><span>Write test cases for story 1234, covering our DORA and PSD2 obligations</span></a></li><li><a class="tile" href="#cap-exploratory-testing"><b>Exploratory testing of a story</b><span>Explore story 1234 and find bugs</span></a></li><li><a class="tile" href="#cap-business-personas"><b>Business personas for testing</b><span>Create a persona of an SME in payments</span></a></li><li><a class="tile" href="#cap-basal"><b>BASAL: business testing that acts</b><span>Should we launch saved cards with a fee? Test how merchants, shoppers and support would really be affected</span></a></li></ul></div>
|
|
405
405
|
<div class="area"><a class="area-name" href="#area-setup"><span class="mono">Setup</span></a><ul class="tiles"><li><a class="tile" href="#cap-test-apps"><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 class="tile" href="#cap-generated-code"><b>What ForgeQE wrote</b><span>How much of the code ForgeQE wrote is still there?</span></a></li><li><a class="tile" href="#cap-forgeqe-commands"><b>Every forgeqe command from the shell</b><span>Show me the context budget</span></a></li><li><a class="tile" href="#cap-product-knowledge"><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 class="tile" href="#cap-knowledge-agent"><b>Librarian: what ForgeQE understood, and your corrections</b><span>What do you know about refunds?</span></a></li><li><a class="tile" href="#cap-document-search"><b>Search the project's documents, without vectors</b><span>What does the payments spec say about refund limits?</span></a></li><li><a class="tile" href="#cap-web-search"><b>Search the web</b><span>Search the web for the latest Playwright release</span></a></li><li><a class="tile" href="#cap-setup-help"><b>Setup, skills, and documentation</b><span>What can you do?</span></a></li></ul></div>
|
|
406
406
|
<div class="area"><a class="area-name" href="#area-desktop"><span class="mono">Desktop</span></a><ul class="tiles"><li><a class="tile" href="#cap-desktop-apps"><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>
|
|
407
407
|
<div class="area"><a class="area-name" href="#area-mobile"><span class="mono">Mobile</span></a><ul class="tiles"><li><a class="tile" href="#cap-mobile-apps"><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>
|
|
@@ -2531,31 +2531,6 @@ forgeqe run "run SHOP-12 and SHOP-14" # in plain words
|
|
|
2531
2531
|
<p><strong>Addresses as given.</strong> URLs the case gives are opened exactly as given: when the model adds a trailing slash (<code>/login/</code>, a 404 on many sites), ForgeQE opens and records the URL from the case.</p>
|
|
2532
2532
|
<p><strong>Fixing a case that does not fit.</strong> When a run finds a test case does not fit the application, the agent drafts the steps as they should be, from what the run found, and offers to save them. It shows the current and the new steps and asks before it changes the Azure DevOps Test Case. The reason goes into the work item's history, where the old steps stay.</p>
|
|
2533
2533
|
</div></section>
|
|
2534
|
-
<section class="doc sub" id="doc-how_to_use-requirement-reviews"><h5>Requirement reviews</h5><div class="prose"><p>The <strong>Requirements Agent</strong> (the <code>Requirement_Agent</code> package, shipped inside ForgeQE) reviews a requirement before it is
|
|
2535
|
-
built and tested. Eight specialist roles (analyst, product manager, product owner, architect, developer, QA, scrum
|
|
2536
|
-
master and a coordinator) and the <strong>business personas</strong> you pick each review it, with what ForgeQE knows about the
|
|
2537
|
-
product:</p>
|
|
2538
|
-
<ul>
|
|
2539
|
-
<li>the sections of <code>.forgeqe/knowledge</code> and of the documents added in Settings that are about it;</li>
|
|
2540
|
-
<li>the <code>rag:</code> search (a service, a command, an MCP server's tool or the project's documents), when one is set;</li>
|
|
2541
|
-
<li>the product knowledge graph's flows, screens, endpoints and tables it touches;</li>
|
|
2542
|
-
<li><strong>review memory</strong>: what earlier reviews decided (<code>.forgeqe/requirements/memory</code>), kept to and never asked again.</li>
|
|
2543
|
-
</ul>
|
|
2544
|
-
<p>It scores the requirement on six dimensions (completeness, clarity, testability, risk and NFRs, traceability,
|
|
2545
|
-
dependencies), lists its gaps and open questions, and writes the Spec Circuit report and a requirements report with ids
|
|
2546
|
-
(<code>FR-001</code>, <code>NFR-001</code>) and <code>requirements.json</code>, which test cases trace to. For each gap or question it proposes a change
|
|
2547
|
-
to the section it is about; you keep it (and the decision is remembered), leave it, or answer and ask again.</p>
|
|
2548
|
-
<p>On the web app's <strong>Requirements</strong> page (Quality Engineering › Test design), or in a terminal:</p>
|
|
2549
|
-
<pre><code class="language-bash">forgeqe requirements review --title "Card refunds" --design-file story.md --persona payments-sme,retail-customer
|
|
2550
|
-
forgeqe requirements show <id>
|
|
2551
|
-
forgeqe requirements fix <id> 3 --answer "p95 under 300 ms"
|
|
2552
|
-
forgeqe requirements accept <id> --rescore
|
|
2553
|
-
forgeqe requirements undo <id>
|
|
2554
|
-
forgeqe requirements export <id>
|
|
2555
|
-
</code></pre>
|
|
2556
|
-
<p>Reviews are kept in <code>.forgeqe/requirements/reviews/<id>/</code>. The agent runs in the engine's Python on the model ForgeQE
|
|
2557
|
-
uses (<code>forgeqe setup</code> adds its libraries); everything it reads is handed to the model as data in blocks it cannot close.</p>
|
|
2558
|
-
</div></section>
|
|
2559
2534
|
<section class="doc sub" id="doc-how_to_use-when-a-case-fails"><h5>When a case fails</h5><div class="prose"><p>The browser run of a test case is the test, so when a case does not pass, ForgeQE works out what kind of failure it was and acts on it. The browser agent reports a cause for each failed step (it saw the page). Clear evidence in the run, such as an unreachable site or a 503 page, overrides "I could not operate it".</p>
|
|
2560
2535
|
<div class="tbl"><table>
|
|
2561
2536
|
<thead>
|
|
@@ -3021,6 +2996,45 @@ forgeqe suite cases.yaml --no-code --no-write-back --out .forgeqe/reports/smoke
|
|
|
3021
2996
|
</section>
|
|
3022
2997
|
</div>
|
|
3023
2998
|
</article>
|
|
2999
|
+
<article class="spec feat" id="cap-requirements-review">
|
|
3000
|
+
<div class="hd"><span class="mono">Test cases</span><h3>Review a requirement</h3></div>
|
|
3001
|
+
<p class="ds">The Requirements Agent's specialists and the business personas named read a requirement with what ForgeQE knows about the product, score it on six dimensions and list its gaps and questions. A person fixes or accepts each on the Requirements page; the tool never does.</p>
|
|
3002
|
+
<div class="facts">
|
|
3003
|
+
<div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Review the requirement for refunds before we build it</li><li>Is this requirement testable? Review it</li></ul></div>
|
|
3004
|
+
<div class="fact"><span class="mono">What it needs</span><p class="muted">Nothing beyond ForgeQE itself.</p></div>
|
|
3005
|
+
<div class="fact"><span class="mono">Tools</span><p class="tools"><code>review_requirement</code></p></div>
|
|
3006
|
+
</div>
|
|
3007
|
+
<div class="detail"><span class="mono">In detail</span>
|
|
3008
|
+
<section class="doc" id="doc-how_to_use-requirement-reviews">
|
|
3009
|
+
<h4>Requirement reviews</h4>
|
|
3010
|
+
<div class="prose"><p>The <strong>Requirements Agent</strong> (the <code>Requirement_Agent</code> package, shipped inside ForgeQE) reviews a requirement before it is
|
|
3011
|
+
built and tested. Eight specialist roles (analyst, product manager, product owner, architect, developer, QA, scrum
|
|
3012
|
+
master and a coordinator) and the <strong>business personas</strong> you pick each review it, with what ForgeQE knows about the
|
|
3013
|
+
product:</p>
|
|
3014
|
+
<ul>
|
|
3015
|
+
<li>the sections of <code>.forgeqe/knowledge</code> and of the documents added in Settings that are about it;</li>
|
|
3016
|
+
<li>the <code>rag:</code> search (a service, a command, an MCP server's tool or the project's documents), when one is set;</li>
|
|
3017
|
+
<li>the product knowledge graph's flows, screens, endpoints and tables it touches;</li>
|
|
3018
|
+
<li><strong>review memory</strong>: what earlier reviews decided (<code>.forgeqe/requirements/memory</code>), kept to and never asked again.</li>
|
|
3019
|
+
</ul>
|
|
3020
|
+
<p>It scores the requirement on six dimensions (completeness, clarity, testability, risk and NFRs, traceability,
|
|
3021
|
+
dependencies), lists its gaps and open questions, and writes the Spec Circuit report and a requirements report with ids
|
|
3022
|
+
(<code>FR-001</code>, <code>NFR-001</code>) and <code>requirements.json</code>, which test cases trace to. For each gap or question it proposes a change
|
|
3023
|
+
to the section it is about; you keep it (and the decision is remembered), leave it, or answer and ask again.</p>
|
|
3024
|
+
<p>On the web app's <strong>Requirements</strong> page (Quality Engineering › Test design), or in a terminal:</p>
|
|
3025
|
+
<pre><code class="language-bash">forgeqe requirements review --title "Card refunds" --design-file story.md --persona payments-sme,retail-customer
|
|
3026
|
+
forgeqe requirements show <id>
|
|
3027
|
+
forgeqe requirements fix <id> 3 --answer "p95 under 300 ms"
|
|
3028
|
+
forgeqe requirements accept <id> --rescore
|
|
3029
|
+
forgeqe requirements undo <id>
|
|
3030
|
+
forgeqe requirements export <id>
|
|
3031
|
+
</code></pre>
|
|
3032
|
+
<p>Reviews are kept in <code>.forgeqe/requirements/reviews/<id>/</code>. The agent runs in the engine's Python on the model ForgeQE
|
|
3033
|
+
uses (<code>forgeqe setup</code> adds its libraries); everything it reads is handed to the model as data in blocks it cannot close.</p>
|
|
3034
|
+
</div>
|
|
3035
|
+
</section>
|
|
3036
|
+
</div>
|
|
3037
|
+
</article>
|
|
3024
3038
|
<article class="spec feat" id="cap-write-test-cases">
|
|
3025
3039
|
<div class="hd"><span class="mono">Test cases</span><h3>Write test cases from a story</h3></div>
|
|
3026
3040
|
<p class="ds">Writes test cases from an understanding of the feature, not only a story's acceptance criteria: it reads the feature and epic above the story, their other stories, linked Confluence pages, the RAG service, product knowledge, the app's pages and flows in page memory, and the area's past defects (from earlier runs and the tracker's bugs), then analyses each criterion before it designs cases. Each case names what it covers, and nothing is saved while a criterion has no case or reason. Saves them in Azure DevOps or Jira, linked to the story. Reads the cases already linked first, so asking again adds only what is missing and updates cases in place instead of duplicating them; plans end-to-end journeys from the existing cases.</p>
|
|
@@ -3667,7 +3681,7 @@ Signing in stays <code>/auth</code> and <code>forgeqe login</code>; <code>forgeq
|
|
|
3667
3681
|
<tr><td><code>forgeqe report <file|folder>... [--title T] [--out DIR]</code>, <code>forgeqe report setup [--repo DIR]</code></td><td>report.html from JUnit XML or TRX run outside ForgeQE (see <a href="#doc-how_to_use-reports-for-tests-run-outside-forgeqe">Reports for tests run outside ForgeQE</a>)</td></tr>
|
|
3668
3682
|
<tr><td><code>forgeqe a11y "<goal>" --persona a,b [--url URL] [--engine E] [--standard S] [--best-practice]</code>, <code>forgeqe a11y personas</code></td><td>Accessibility testing as personas (see <a href="#doc-how_to_use-accessibility-testing-with-personas">Accessibility testing with personas</a>)</td></tr>
|
|
3669
3683
|
<tr><td><code>forgeqe persona [list] | show | create | export | import</code></td><td>Business personas (see <a href="#doc-how_to_use-business-personas">Business personas</a>)</td></tr>
|
|
3670
|
-
<tr><td><code>forgeqe requirements review | list | show | fix | accept | skip | undo | export</code></td><td>Requirement reviews (see <a href="
|
|
3684
|
+
<tr><td><code>forgeqe requirements review | list | show | fix | accept | skip | undo | export</code></td><td>Requirement reviews (see <a href="#doc-how_to_use-requirement-reviews">Requirement reviews</a>)</td></tr>
|
|
3671
3685
|
<tr><td><code>forgeqe flags list [--env NAME]</code>, <code>forgeqe flags run <pack> <flag=v1,v2> --env NAME</code></td><td>A regression pack once per feature-flag combination (see <a href="#doc-how_to_use-feature-flag-matrix">Feature-flag matrix</a>)</td></tr>
|
|
3672
3686
|
<tr><td><code>forgeqe defects [--folder DIR]</code>, <code>forgeqe defects predict [--repo DIR] [--base REF] [--head REF]</code></td><td>Defect trends, and where a change is likely to cause defects</td></tr>
|
|
3673
3687
|
<tr><td><code>forgeqe api load|mock|security|heal|list [SET] …</code></td><td>Load and latency, a mock server, OWASP API checks, re-learn failing contracts, the saved sets</td></tr>
|
|
@@ -5805,9 +5819,18 @@ environments:
|
|
|
5805
5819
|
app_id: com.contoso.courier # Android package or iOS bundle id
|
|
5806
5820
|
activity: .MainActivity # Android only, optional
|
|
5807
5821
|
app: /builds/courier-qa.apk # optional: install this build (.apk/.aab/.ipa/.app/.zip, https URL, bs://…)
|
|
5822
|
+
testmu_app: lt://APP1016 # optional: TestMu AI's upload of it, installed on TestMu's devices
|
|
5823
|
+
browserstack_app: bs://f00dfeed # optional: BrowserStack's upload of it, installed on BrowserStack's devices
|
|
5808
5824
|
description: Driver app that confirms delivery
|
|
5809
5825
|
secrets: [COURIER_PASSWORD_QA]
|
|
5810
5826
|
</code></pre>
|
|
5827
|
+
<p><strong>Builds per cloud.</strong> A device cloud installs only its own upload (TestMu AI an <code>lt://</code> id, BrowserStack a <code>bs://</code> id)
|
|
5828
|
+
or an https address, and this computer only a file here. So one app can have a build for each: <code>app</code> (the file, an
|
|
5829
|
+
https address or one cloud's upload), <code>testmu_app</code> and <code>browserstack_app</code>. Each run installs the build for where it
|
|
5830
|
+
goes: a cloud's own key when it has one, else <code>app</code>. That is what lets one recording replay on TestMu's and
|
|
5831
|
+
BrowserStack's devices in the same run (<strong>Replay on › Pick now</strong>). Each cloud key takes only that cloud's upload id or an
|
|
5832
|
+
https address; anything else stops env.yaml or the run with the key's name. An upload with an app saves its id in that
|
|
5833
|
+
cloud's key, so the other places keep their builds.</p>
|
|
5811
5834
|
<pre><code class="language-yaml"># forgeqe.yaml
|
|
5812
5835
|
mobile:
|
|
5813
5836
|
driver: appium # appium | maestro: the default for replays
|
|
@@ -5922,13 +5945,26 @@ mobile:
|
|
|
5922
5945
|
<ul>
|
|
5923
5946
|
<li><strong>Which devices run.</strong> Every device with <code>enabled</code> on (the default), of the app's platform: an Android workflow
|
|
5924
5947
|
skips the iOS devices. <code>--devices pixel8,galaxy</code> (or the agent's <code>devices</code>) names some for one run.</li>
|
|
5948
|
+
<li><strong>Devices picked now.</strong> A recording replays on the device it was recorded on (its <code>device.json</code>). To replay it on
|
|
5949
|
+
others without listing them first, pick them from the devices a place has now, as Record's page does: on the Mobile
|
|
5950
|
+
page's Replay sheet, <strong>Replay on › Pick now</strong>, then tick devices of TestMu AI, BrowserStack or this computer (several,
|
|
5951
|
+
and from more than one place); in a terminal, <code>forgeqe mobile devices --place testmu --app NAME</code> prints each device's
|
|
5952
|
+
id and <code>forgeqe mobile replay --pick ID,ID login.yaml</code> replays on them. Each id is found again in its place's list when
|
|
5953
|
+
the replay starts, for the workflow's app (its build must install there: a TestMu device takes an <code>lt://</code> build, a
|
|
5954
|
+
BrowserStack one a <code>bs://</code> build), and a device no longer listed stops the replay before any starts. At most 20 at a
|
|
5955
|
+
time, <code>mobile.parallel</code> of them at once. <strong>Keep in Settings</strong> writes the ticked devices to <code>mobile.devices</code>, so later
|
|
5956
|
+
replays pick them by name.</li>
|
|
5925
5957
|
<li><strong>At once.</strong> <code>mobile.parallel</code> of them at a time (<strong>Devices at once</strong> in Settings › Mobile). Devices on this computer
|
|
5926
5958
|
running at once get their own ports on the one Appium server. On TestMu, <code>mobile.parallel</code> also caps HyperExecute's concurrency.</li>
|
|
5927
5959
|
<li><strong>Maestro</strong> runs on each device on this computer, and as one HyperExecute job for TestMu's real devices (and one
|
|
5928
5960
|
for its emulators). It does not run on BrowserStack here: replay those with Appium.</li>
|
|
5929
5961
|
<li><strong>Results.</strong> Each device's run is in a folder of its own inside the run's folder, with <code>devices.json</code> listing each
|
|
5930
|
-
one's result and report, and a failed device's first failed step. The run
|
|
5931
|
-
|
|
5962
|
+
one's result, steps and report, and a failed device's first failed step. The run's <code>report.html</code> is a grid of each
|
|
5963
|
+
step on each device (✓, ✗, – not reached), with each device's failure, its own report, and its session page on
|
|
5964
|
+
TestMu AI or BrowserStack, where the cloud keeps the session's video and logs. On the Mobile page, a run on several
|
|
5965
|
+
devices is one row of <strong>Runs</strong> ("1 of 3"), and <strong>See each device</strong> opens the same grid. The run passes only when every
|
|
5966
|
+
device passes; <code>--junit</code> has one case per device, and the terminal prints each device's session page. Each step line
|
|
5967
|
+
and log line names its device (<code>[pixel8] ✓ 3 tap Sign in</code>).</li>
|
|
5932
5968
|
<li><strong>The cloud check.</strong> Before a run, ForgeQE asks each cloud whether it has the real devices the run goes on (those of
|
|
5933
5969
|
the app's platform; for explore, the first); for one it does not, it offers the most similar (in a terminal) and
|
|
5934
5970
|
swaps only that device, this run only. TestMu's list changes through the day (a model's OS versions come and go),
|
|
@@ -5983,8 +6019,9 @@ forgeqe mobile devices --like "Google Pixel 7-13.0" # the 15 most li
|
|
|
5983
6019
|
</code></pre>
|
|
5984
6020
|
<p><strong>How a run on BrowserStack goes.</strong></p>
|
|
5985
6021
|
<ul>
|
|
5986
|
-
<li>The app's build must be one BrowserStack has:
|
|
5987
|
-
|
|
6022
|
+
<li>The app's build must be one BrowserStack has: upload it (<code>forgeqe mobile upload courier.apk --to browserstack --app courier</code>, or <strong>Upload a build</strong> on the Mobile page with BrowserStack picked), which saves its <code>bs://</code> id as the app's
|
|
6023
|
+
<code>browserstack_app</code>. The upload goes to BrowserStack's fixed address with the sign-in its variables hold, following no
|
|
6024
|
+
redirect.</li>
|
|
5988
6025
|
<li>Before a run, ForgeQE checks BrowserStack's device list and offers the most similar device for one it does not have
|
|
5989
6026
|
(see <a href="#doc-docs-mobile-testmu-ai-formerly-lambdatest">TestMu AI</a>, "Devices are checked first"; it works the same here).</li>
|
|
5990
6027
|
<li>Each session is named after the device, in a project called ForgeQE on BrowserStack's dashboard.</li>
|
|
@@ -6174,13 +6211,16 @@ Maestro gets it:</p>
|
|
|
6174
6211
|
</section>
|
|
6175
6212
|
<section class="doc" id="doc-docs-mobile-testmu-ai-formerly-lambdatest">
|
|
6176
6213
|
<h4>TestMu AI (formerly LambdaTest)</h4>
|
|
6177
|
-
<div class="prose"><p>Both drivers run on TestMu's devices. Upload the app once
|
|
6214
|
+
<div class="prose"><p>Both drivers run on TestMu's devices. Upload the app once; its <code>lt://</code> id is the app's <code>testmu_app</code> (see "Builds per
|
|
6215
|
+
cloud").</p>
|
|
6178
6216
|
<p><strong>Uploading a build.</strong></p>
|
|
6179
6217
|
<p><strong>Web app</strong></p>
|
|
6180
6218
|
<p>In a chat, ask in words ("upload builds/courier.apk to TestMu for courier"). The agent asks first, uploads the build (it
|
|
6181
|
-
must be inside the working folder), and saves the <code>lt://</code> id as that app's <code>
|
|
6219
|
+
must be inside the working folder), and saves the <code>lt://</code> id as that app's <code>testmu_app:</code> in forgeqe.yaml ("to
|
|
6220
|
+
BrowserStack" saves a <code>bs://</code> id as its <code>browserstack_app:</code>).</p>
|
|
6182
6221
|
<p><strong>Terminal</strong></p>
|
|
6183
|
-
<pre><code class="language-bash">forgeqe mobile upload courier.apk
|
|
6222
|
+
<pre><code class="language-bash">forgeqe mobile upload courier.apk --app courier # → lt://APP…, saved as courier's testmu_app (--virtual for TestMu's emulators)
|
|
6223
|
+
forgeqe mobile upload courier.apk --to browserstack --app courier # → bs://…, saved as courier's browserstack_app
|
|
6184
6224
|
</code></pre>
|
|
6185
6225
|
<p><strong>Signing in to TestMu AI.</strong> The user and key come from <code>LT_USERNAME</code> and <code>LT_ACCESS_KEY</code> (or the variables the config names), for example in a
|
|
6186
6226
|
<code>.env</code> file in the project folder (in the web app, <strong>TestMu AI user</strong> and <strong>TestMu AI key</strong> in Settings › Mobile name
|
|
@@ -7397,19 +7437,20 @@ them back on restores everything as it was.</p>
|
|
|
7397
7437
|
</article>
|
|
7398
7438
|
<article class="spec feat" id="cap-agent-teams">
|
|
7399
7439
|
<div class="hd"><span class="mono">Operations</span><h3>Teams of custom agents</h3></div>
|
|
7400
|
-
<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>
|
|
7440
|
+
<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, share_file, team_files, read_shared, ask_lead, ask_teammate, team_answer and team_wait are the team's own tools, given only to its agents during its run.</p>
|
|
7401
7441
|
<div class="facts">
|
|
7402
7442
|
<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>
|
|
7403
7443
|
<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>
|
|
7404
7444
|
<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>
|
|
7405
|
-
<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>
|
|
7445
|
+
<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>share_file</code> <code>team_files</code> <code>read_shared</code> <code>ask_lead</code> <code>ask_teammate</code> <code>team_answer</code> <code>team_wait</code></p></div>
|
|
7406
7446
|
</div>
|
|
7407
7447
|
<div class="detail"><span class="mono">In detail</span>
|
|
7408
7448
|
<section class="doc" id="doc-how_to_use-teams-of-custom-agents">
|
|
7409
7449
|
<h4>Teams of custom agents</h4>
|
|
7410
7450
|
<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
|
|
7411
7451
|
to the member it fits, and reports one result. Each one is one of ForgeQE's own agents (WebPilot, Quill, Link, Mender,
|
|
7412
|
-
Miner, Atlas and the others) or one of your custom agents, in any mix;
|
|
7452
|
+
Miner, Atlas, the Requirements Agent, Mover, Mask, BASAL and the others) or one of your custom agents, in any mix;
|
|
7453
|
+
Atlas makes a good lead. A member can work as one
|
|
7413
7454
|
of your business personas. A team never lets an agent do more than it may: a custom agent stays within its own approved
|
|
7414
7455
|
version, cut further by the team's limits (fewer environments or actions, more questions for a person, tools no member
|
|
7415
7456
|
uses); one of ForgeQE's own works only with its own capabilities, within the team's environments and actions (reading
|
|
@@ -7432,10 +7473,12 @@ members:
|
|
|
7432
7473
|
persona: retail-customer # optional: a business persona it works as
|
|
7433
7474
|
instances: 2 # optional (1-3): how many tasks it may work on at once
|
|
7434
7475
|
after: [api-tester] # optional: it works on what api-tester found (a hand-off)
|
|
7476
|
+
asks: [api-tester] # optional: teammates it may ask for help while it works, or [all]
|
|
7435
7477
|
knowledge: # optional: what every agent of the team is given
|
|
7436
7478
|
files: [payments.md] # ForgeQE's knowledge files (.forgeqe/knowledge)
|
|
7437
7479
|
product: true # ForgeQE's product knowledge, read only
|
|
7438
7480
|
skills: [checkout-flows] # optional: ForgeQE's skills every agent of the team may use
|
|
7481
|
+
systems: [jira, azure_devops] # optional: other systems the project set up that the team uses
|
|
7439
7482
|
limits: # optional; each only takes away from every member's own limits
|
|
7440
7483
|
environments: [qa, staging]
|
|
7441
7484
|
actions: [read, run]
|
|
@@ -7462,7 +7505,33 @@ asks the lead and waits. The lead hears at once, answers, and goes on waiting fo
|
|
|
7462
7505
|
within ten minutes, the member carries on and says what it assumed. The board keeps every question and answer.</li>
|
|
7463
7506
|
<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
|
|
7464
7507
|
question, that it is blocked, or an answer. ForgeQE keeps it on the board and passes it on as information, never as
|
|
7465
|
-
an instruction:
|
|
7508
|
+
an instruction, once: an agent at work gets it with the result of its next step, and a member not at work with its
|
|
7509
|
+
next task. A member working as several copies gets it once in each copy. No agent of a team can be named <code>all</code> or
|
|
7510
|
+
<code>lead</code>: notes and <code>asks</code> use those words.</li>
|
|
7511
|
+
<li><strong>Asking a teammate.</strong> <code>asks</code> on a member lets it ask the teammates it names (or <code>all</code>) for help while it works:
|
|
7512
|
+
Quill asks the data agent for test users, or the performance agent for a load test. The teammate does it as a task of
|
|
7513
|
+
its own, on the board as "helping Quill", within its own limits and the team's, counted in <code>max_tasks</code>, and its
|
|
7514
|
+
reply goes back to the member that asked. A member helping someone asks nobody in turn, so two members never wait on
|
|
7515
|
+
each other; each member asks at most five times in a run. Without <code>asks</code>, a member asks only the lead.</li>
|
|
7516
|
+
<li><strong>Sharing files.</strong> Any agent of the team can share a text file with the others: test data, a load test plan, ids,
|
|
7517
|
+
an API description. It is a plain name of a text kind (<code>checkout-users.csv</code>), from the agent's own text or a file it
|
|
7518
|
+
made in the project or the test repository, never a hidden file or one named like credentials. ForgeQE takes saved
|
|
7519
|
+
logins, its own secrets and anything shaped like a key out of it, keeps it with the run, and refuses to read back one
|
|
7520
|
+
changed since. Up to 256 KB a file, 30 a run and 10 an agent; one agent never replaces another's. What a file holds
|
|
7521
|
+
is another agent's work: information, never instructions.</li>
|
|
7522
|
+
<li><strong>Other systems.</strong> <code>systems</code> names the other systems the project set up (Settings › Integrations, or <code>mcp:</code> in
|
|
7523
|
+
forgeqe.yaml) that the team uses. ForgeQE's own agents in the team get those; a custom agent keeps only the ones both
|
|
7524
|
+
it and the team have (with <code>systems</code> left out, its own). Their tools work as they do for a custom agent: reading goes
|
|
7525
|
+
ahead, and a change there (an issue created, a work item updated) needs the team's rules to allow changes to other
|
|
7526
|
+
systems and is asked of a person each time.</li>
|
|
7527
|
+
<li><strong>What ForgeQE's agents do in a team.</strong> Each brings only the work it is for: WebPilot runs checks in a browser,
|
|
7528
|
+
passive security checks and saved logins included; Quill writes test cases from a story, checks them, records a
|
|
7529
|
+
web test and writes automated tests; Mender runs and heals packs and keeps the test inventory and test debt; Patch
|
|
7530
|
+
reviews pull requests and says whether a release is ready; Sleuth explains failures, production errors included, and
|
|
7531
|
+
writes reports; the Requirements Agent reviews a requirement (it never accepts a change: a person does that on the
|
|
7532
|
+
Requirements page); Mover migrates a Selenium, Cypress or Tosca suite; Mask drafts business personas; BASAL plays a
|
|
7533
|
+
business question as the people it affects. CI pipelines, notifications, monitoring, schedules and containers stay
|
|
7534
|
+
with Atlas: make Atlas the lead when the team needs them.</li>
|
|
7466
7535
|
<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
|
|
7467
7536
|
it until each member it waits for has finished a task in the run, and the lead passes their findings on. Members
|
|
7468
7537
|
never wait for each other in a circle.</li>
|
|
@@ -7498,7 +7567,9 @@ as a draft; nothing runs yet.</li>
|
|
|
7498
7567
|
person who approves changes, and the report. Click any part to edit it in the panel on the right. Drag parts
|
|
7499
7568
|
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
|
|
7500
7569
|
the second work after the first; select a line and press Delete to remove it, or use <strong>Works after</strong> in the
|
|
7501
|
-
member's panel.
|
|
7570
|
+
member's panel. <strong>Can ask</strong> in the same panel picks the teammates it may ask for help, or <strong>Any member</strong>; its card
|
|
7571
|
+
then says whom it can ask, and a dashed line runs to each teammate it names (it is changed in the panel, not on the
|
|
7572
|
+
canvas). A dashed box is a job no
|
|
7502
7573
|
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>
|
|
7503
7574
|
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
|
|
7504
7575
|
ForgeQE mark on the canvas.</li>
|
|
@@ -7507,12 +7578,15 @@ ForgeQE mark on the canvas.</li>
|
|
|
7507
7578
|
once a person approves it again. <strong>Shared from ForgeQE</strong>: switch on product knowledge, and pick knowledge files and
|
|
7508
7579
|
skills for every agent of the team.</li>
|
|
7509
7580
|
<li><strong>Rules</strong> sets where the team may work and what it may do (Careful, Standard or Trusted to start from, never
|
|
7510
|
-
production unless you pick it),
|
|
7581
|
+
production unless you pick it), the <strong>Other systems</strong> the team uses (when the project has some set up), how many
|
|
7582
|
+
tasks, how many at once and its token budget. <strong>Code</strong> shows the team file.
|
|
7511
7583
|
<strong>Save</strong> keeps your changes; undo and redo are in the toolbar.</li>
|
|
7512
7584
|
<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>
|
|
7513
7585
|
<li><strong>Publish</strong> approves any new agents first, then the team (type each id). Then ask the team from its page: a chat
|
|
7514
7586
|
opens where Atlas hands your request to the team. <strong>Runs</strong> replays a run on the canvas, each member lit by how its
|
|
7515
|
-
tasks went
|
|
7587
|
+
tasks went. A run's board shows who did what (help one member asked another for is marked "helping"), what they
|
|
7588
|
+
said to each other, the files they shared (<strong>Show the file</strong> opens one as plain text, refused if it changed since
|
|
7589
|
+
it was shared), and the lead's report.</li>
|
|
7516
7590
|
<li><strong>Give it a look.</strong> Click the team's name at the top: under <strong>Icon or picture</strong>, upload a picture (PNG, JPEG, WebP
|
|
7517
7591
|
or GIF, made into a small square in your browser) or pick an icon. Click a lead or member: under <strong>In this team</strong>,
|
|
7518
7592
|
give it a name for this team (its own name stays everywhere else and shows under the new one) and its own icon or
|
|
@@ -10492,10 +10566,10 @@ DevOps test case's Associated Automation when write-back is on.</li>
|
|
|
10492
10566
|
<div class="hd"><span class="mono">Quality</span><h3>Load testing with JMeter</h3></div>
|
|
10493
10567
|
<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>
|
|
10494
10568
|
<div class="facts">
|
|
10495
|
-
<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>
|
|
10569
|
+
<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>Export checkout.jmx as LoadRunner scripts</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>
|
|
10496
10570
|
<div class="fact"><span class="mono">What it needs</span><p class="muted">Nothing beyond ForgeQE itself.</p></div>
|
|
10497
10571
|
<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>
|
|
10498
|
-
<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>
|
|
10572
|
+
<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_export_loadrunner</code> <code>perf_import</code> <code>perf_results</code> <code>perf_strategy</code></p></div>
|
|
10499
10573
|
</div>
|
|
10500
10574
|
<div class="detail"><span class="mono">In detail</span>
|
|
10501
10575
|
<section class="doc" id="doc-how_to_use-load-testing-with-jmeter">
|
|
@@ -10616,6 +10690,18 @@ header becomes <code>${__P(secret.LR_NAME)}</code>, a secret you add to env.yaml
|
|
|
10616
10690
|
or run; C logic, <code>web_link</code>, binary bodies and protocols other than Web are listed as not converted in
|
|
10617
10691
|
<code><name>.conversion.md</code>, and <strong>Finish</strong> (or <code>forgeqe perf write "Finish <plan>…" --plan <plan></code>) has the coding agent
|
|
10618
10692
|
convert them. The plan then passes the same check as any other before it runs.</p>
|
|
10693
|
+
<p><strong>Exporting a plan to LoadRunner.</strong> <strong>Export to LoadRunner</strong> on a plan, <code>forgeqe perf export <plan> [--env E]</code>, or the
|
|
10694
|
+
agent's perf_export_loadrunner writes a JMeter plan as LoadRunner VuGen <strong>Web (HTTP/HTML)</strong> scripts, by code (no model
|
|
10695
|
+
writes C): one script per thread group, in <code><perf.folder>/loadrunner/<plan>/</code>, each a folder VuGen opens (<code>.usr</code>,
|
|
10696
|
+
<code>vuser_init.c</code>, <code>Action.c</code>, <code>vuser_end.c</code>, <code>.prm</code>, run-time settings). Requests become <code>web_url</code>, <code>web_submit_data</code> or
|
|
10697
|
+
<code>web_custom_request</code>, Transaction Controllers <code>lr_start_transaction</code>, regular expression, boundary and JSON extractors
|
|
10698
|
+
<code>web_reg_save_param_*</code>, text assertions <code>web_reg_find</code>, timers <code>lr_think_time</code>, a loop of a fixed number a <code>for</code> loop,
|
|
10699
|
+
and CSV Data Sets parameters with their <code>.dat</code> tables. Only a plan ForgeQE's check passes is exported, on a test
|
|
10700
|
+
environment: addresses are that environment's apps (<code>{app_NAME}</code>, set at the start of <code>vuser_init.c</code>), and a secret is
|
|
10701
|
+
a run-time attribute of its name, read when the script runs, never its value. Every value is a C string literal
|
|
10702
|
+
escaped by code, so nothing in a plan can add a statement. Other control logic, functions and checks are listed in the
|
|
10703
|
+
export's <code>README.md</code> with the scenario settings (users, ramp-up, duration) for the Controller. ForgeQE does not run the
|
|
10704
|
+
scripts; export again with <code>--force</code> (or <strong>Replace</strong>) to write over its own earlier export, never over another folder.</p>
|
|
10619
10705
|
<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
|
|
10620
10706
|
the Universal Scalability Law to the newest run at each load (throughput against users, with the think time from the
|
|
10621
10707
|
runs) and the response time law, and gives for other loads the requests per second and p95 with a range, the peak (the
|
|
@@ -10636,6 +10722,7 @@ few minutes late: a run that just ended says so.</p>
|
|
|
10636
10722
|
forgeqe perf strategy approve black-friday-checkout-and-search
|
|
10637
10723
|
forgeqe perf strategy write black-friday-checkout-and-search
|
|
10638
10724
|
forgeqe perf convert loadrunner/Checkout --name checkout --map https://shop.old.test=shop
|
|
10725
|
+
forgeqe perf export checkout.jmx --env qa
|
|
10639
10726
|
forgeqe perf steps checkout.jmx --users 10,25,50,100
|
|
10640
10727
|
forgeqe perf predict checkout.jmx --users 200,400 --p95-ms 800
|
|
10641
10728
|
forgeqe perf analyse checkout.jmx
|
package/env.example.yaml
CHANGED
|
@@ -47,6 +47,8 @@ environments:
|
|
|
47
47
|
app_id: com.contoso.courier
|
|
48
48
|
activity: .MainActivity # Android: the activity to start (optional)
|
|
49
49
|
# app: /builds/courier-qa.apk # optional: installs this build first (an .apk/.ipa, an https URL, or bs://…)
|
|
50
|
+
# testmu_app: lt://APP1016 # optional: TestMu AI's upload, installed on its devices instead
|
|
51
|
+
# browserstack_app: bs://f00dfeed # optional: BrowserStack's upload, installed on its devices instead
|
|
50
52
|
description: Driver app that confirms delivery
|
|
51
53
|
variables:
|
|
52
54
|
company: Contoso QA
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capagents/forgeqe",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.7",
|
|
4
4
|
"description": "ForgeQE: a browser agent CLI that runs goals and test cases in local Chrome or Chromium, or BrowserStack and TestMu AI/LambdaTest when configured, and turns passing runs into tests in your repo",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"repository": {
|
|
@@ -203,8 +203,15 @@ def run_replay(req: Mapping[str, Any], events: Events, stop: threading.Event, dr
|
|
|
203
203
|
a11y = ScreenChecks(wf["app"], log=events.log) if mobile.get("accessibility") is not False else None
|
|
204
204
|
|
|
205
205
|
live = _appium_live(req, out, driver, mobile, len(wf["steps"]), wf["steps"])
|
|
206
|
+
# The cloud's own page of this session (its video and logs), kept in run.json: only a link watch_link builds.
|
|
207
|
+
url = str(getattr(driver, "url", "") or "")
|
|
208
|
+
session: Dict[str, str] = {}
|
|
206
209
|
|
|
207
210
|
def on_step(res: Any) -> None:
|
|
211
|
+
if not session:
|
|
212
|
+
link = watch_link(url, getattr(driver, "session", None))
|
|
213
|
+
if link:
|
|
214
|
+
session["link"] = link
|
|
208
215
|
if live:
|
|
209
216
|
st = wf["steps"][res.index - 1] if 0 < res.index <= len(wf["steps"]) else {}
|
|
210
217
|
live.step(res.index, res.op, res.ok, res.healed_target or st.get("target"), typed_note(st), res.error or "")
|
|
@@ -223,7 +230,8 @@ def run_replay(req: Mapping[str, Any], events: Events, stop: threading.Event, dr
|
|
|
223
230
|
finally:
|
|
224
231
|
if live:
|
|
225
232
|
live.close()
|
|
226
|
-
|
|
233
|
+
done = _replayed(base, result, wf, out, heal, _write_a11y(a11y, out, events))
|
|
234
|
+
return {**done, "session": session["link"]} if session else done
|
|
227
235
|
|
|
228
236
|
|
|
229
237
|
def _replay_live(wf: Mapping[str, Any], driver: Any, apps: Mapping[str, Any], req: Mapping[str, Any], names: List[str], heal: Any, on_step: Callable[[Any], None], stop: threading.Event, workflow_file: str, out: Path) -> Any:
|