agentic-qe 3.5.4 → 3.6.0

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.
Files changed (247) hide show
  1. package/.claude/agents/v3/README.md +1 -1
  2. package/.claude/agents/v3/qe-message-broker-tester.md +380 -0
  3. package/.claude/agents/v3/qe-middleware-validator.md +423 -0
  4. package/.claude/agents/v3/qe-odata-contract-tester.md +484 -0
  5. package/.claude/agents/v3/qe-pentest-validator.md +359 -0
  6. package/.claude/agents/v3/qe-qx-partner.md +85 -3
  7. package/.claude/agents/v3/qe-sap-idoc-tester.md +407 -0
  8. package/.claude/agents/v3/qe-sap-rfc-tester.md +357 -0
  9. package/.claude/agents/v3/qe-soap-tester.md +340 -0
  10. package/.claude/agents/v3/qe-sod-analyzer.md +528 -0
  11. package/.claude/agents/v3/templates/qx-report-template.html +437 -0
  12. package/.claude/skills/debug-loop/SKILL.md +61 -0
  13. package/.claude/skills/enterprise-integration-testing/SKILL.md +735 -0
  14. package/.claude/skills/middleware-testing-patterns/SKILL.md +798 -0
  15. package/.claude/skills/observability-testing-patterns/SKILL.md +930 -0
  16. package/.claude/skills/pentest-validation/SKILL.md +268 -0
  17. package/.claude/skills/pentest-validation/evals/pentest-validation.yaml +708 -0
  18. package/.claude/skills/pentest-validation/schemas/output.json +281 -0
  19. package/.claude/skills/pentest-validation/scripts/validate.sh +402 -0
  20. package/.claude/skills/pr-review/SKILL.md +61 -0
  21. package/.claude/skills/qcsd-cicd-swarm/SKILL.md +315 -13
  22. package/.claude/skills/qcsd-development-swarm/SKILL.md +331 -16
  23. package/.claude/skills/qcsd-ideation-swarm/SKILL.md +258 -9
  24. package/.claude/skills/qcsd-refinement-swarm/SKILL.md +344 -22
  25. package/.claude/skills/release/SKILL.md +333 -0
  26. package/.claude/skills/skills-manifest.json +5 -4
  27. package/.claude/skills/wms-testing-patterns/SKILL.md +949 -0
  28. package/README.md +30 -21
  29. package/package.json +2 -2
  30. package/v3/CHANGELOG.md +57 -0
  31. package/v3/README.md +23 -20
  32. package/v3/assets/agents/v3/qe-message-broker-tester.md +380 -0
  33. package/v3/assets/agents/v3/qe-middleware-validator.md +423 -0
  34. package/v3/assets/agents/v3/qe-odata-contract-tester.md +484 -0
  35. package/v3/assets/agents/v3/qe-pentest-validator.md +359 -0
  36. package/v3/assets/agents/v3/qe-qx-partner.md +90 -12
  37. package/v3/assets/agents/v3/qe-sap-idoc-tester.md +407 -0
  38. package/v3/assets/agents/v3/qe-sap-rfc-tester.md +357 -0
  39. package/v3/assets/agents/v3/qe-soap-tester.md +340 -0
  40. package/v3/assets/agents/v3/qe-sod-analyzer.md +528 -0
  41. package/v3/assets/agents/v3/templates/qx-report-template.html +437 -0
  42. package/v3/assets/skills/debug-loop/SKILL.md +61 -0
  43. package/v3/assets/skills/enterprise-integration-testing/SKILL.md +735 -0
  44. package/v3/assets/skills/middleware-testing-patterns/SKILL.md +798 -0
  45. package/v3/assets/skills/observability-testing-patterns/SKILL.md +930 -0
  46. package/v3/assets/skills/pentest-validation/SKILL.md +268 -0
  47. package/v3/assets/skills/pentest-validation/evals/pentest-validation.yaml +708 -0
  48. package/v3/assets/skills/pentest-validation/schemas/output.json +281 -0
  49. package/v3/assets/skills/pentest-validation/scripts/validate.sh +402 -0
  50. package/v3/assets/skills/pr-review/SKILL.md +61 -0
  51. package/v3/assets/skills/qcsd-cicd-swarm/SKILL.md +2206 -0
  52. package/v3/assets/skills/qcsd-development-swarm/SKILL.md +2154 -0
  53. package/v3/assets/skills/qcsd-ideation-swarm/SKILL.md +2008 -1753
  54. package/v3/assets/skills/qcsd-refinement-swarm/SKILL.md +2398 -0
  55. package/v3/assets/skills/security-visual-testing/SKILL.md +223 -0
  56. package/v3/assets/skills/security-visual-testing/evals/security-visual-testing.yaml +163 -0
  57. package/v3/assets/skills/security-visual-testing/schemas/output.json +486 -0
  58. package/v3/assets/skills/security-visual-testing/scripts/validate.sh +748 -0
  59. package/v3/assets/skills/sfdipot-product-factors/SKILL.md +239 -0
  60. package/v3/assets/skills/test-idea-rewriting/SKILL.md +229 -0
  61. package/v3/assets/skills/wms-testing-patterns/SKILL.md +949 -0
  62. package/v3/dist/cli/bundle.js +10816 -4625
  63. package/v3/dist/cli/commands/coverage.d.ts.map +1 -1
  64. package/v3/dist/cli/commands/coverage.js +29 -0
  65. package/v3/dist/cli/commands/coverage.js.map +1 -1
  66. package/v3/dist/cli/commands/learning.d.ts.map +1 -1
  67. package/v3/dist/cli/commands/learning.js +9 -0
  68. package/v3/dist/cli/commands/learning.js.map +1 -1
  69. package/v3/dist/cli/commands/token-usage.d.ts.map +1 -1
  70. package/v3/dist/cli/commands/token-usage.js +6 -2
  71. package/v3/dist/cli/commands/token-usage.js.map +1 -1
  72. package/v3/dist/coordination/protocols/learning-consolidation.d.ts.map +1 -1
  73. package/v3/dist/coordination/protocols/learning-consolidation.js +1 -0
  74. package/v3/dist/coordination/protocols/learning-consolidation.js.map +1 -1
  75. package/v3/dist/domains/coverage-analysis/coordinator.d.ts +8 -0
  76. package/v3/dist/domains/coverage-analysis/coordinator.d.ts.map +1 -1
  77. package/v3/dist/domains/coverage-analysis/coordinator.js +67 -0
  78. package/v3/dist/domains/coverage-analysis/coordinator.js.map +1 -1
  79. package/v3/dist/domains/coverage-analysis/interfaces.d.ts +33 -0
  80. package/v3/dist/domains/coverage-analysis/interfaces.d.ts.map +1 -1
  81. package/v3/dist/domains/coverage-analysis/plugin.d.ts.map +1 -1
  82. package/v3/dist/domains/coverage-analysis/plugin.js +17 -0
  83. package/v3/dist/domains/coverage-analysis/plugin.js.map +1 -1
  84. package/v3/dist/domains/coverage-analysis/services/ghost-coverage-analyzer.d.ts +125 -0
  85. package/v3/dist/domains/coverage-analysis/services/ghost-coverage-analyzer.d.ts.map +1 -0
  86. package/v3/dist/domains/coverage-analysis/services/ghost-coverage-analyzer.js +317 -0
  87. package/v3/dist/domains/coverage-analysis/services/ghost-coverage-analyzer.js.map +1 -0
  88. package/v3/dist/domains/coverage-analysis/services/index.d.ts +1 -0
  89. package/v3/dist/domains/coverage-analysis/services/index.d.ts.map +1 -1
  90. package/v3/dist/domains/coverage-analysis/services/index.js +4 -0
  91. package/v3/dist/domains/coverage-analysis/services/index.js.map +1 -1
  92. package/v3/dist/domains/enterprise-integration/coordinator.d.ts +91 -0
  93. package/v3/dist/domains/enterprise-integration/coordinator.d.ts.map +1 -0
  94. package/v3/dist/domains/enterprise-integration/coordinator.js +672 -0
  95. package/v3/dist/domains/enterprise-integration/coordinator.js.map +1 -0
  96. package/v3/dist/domains/enterprise-integration/index.d.ts +14 -0
  97. package/v3/dist/domains/enterprise-integration/index.d.ts.map +1 -0
  98. package/v3/dist/domains/enterprise-integration/index.js +18 -0
  99. package/v3/dist/domains/enterprise-integration/index.js.map +1 -0
  100. package/v3/dist/domains/enterprise-integration/interfaces.d.ts +376 -0
  101. package/v3/dist/domains/enterprise-integration/interfaces.d.ts.map +1 -0
  102. package/v3/dist/domains/enterprise-integration/interfaces.js +11 -0
  103. package/v3/dist/domains/enterprise-integration/interfaces.js.map +1 -0
  104. package/v3/dist/domains/enterprise-integration/plugin.d.ts +88 -0
  105. package/v3/dist/domains/enterprise-integration/plugin.d.ts.map +1 -0
  106. package/v3/dist/domains/enterprise-integration/plugin.js +515 -0
  107. package/v3/dist/domains/enterprise-integration/plugin.js.map +1 -0
  108. package/v3/dist/domains/enterprise-integration/services/esb-middleware-service.d.ts +67 -0
  109. package/v3/dist/domains/enterprise-integration/services/esb-middleware-service.d.ts.map +1 -0
  110. package/v3/dist/domains/enterprise-integration/services/esb-middleware-service.js +670 -0
  111. package/v3/dist/domains/enterprise-integration/services/esb-middleware-service.js.map +1 -0
  112. package/v3/dist/domains/enterprise-integration/services/index.d.ts +13 -0
  113. package/v3/dist/domains/enterprise-integration/services/index.d.ts.map +1 -0
  114. package/v3/dist/domains/enterprise-integration/services/index.js +13 -0
  115. package/v3/dist/domains/enterprise-integration/services/index.js.map +1 -0
  116. package/v3/dist/domains/enterprise-integration/services/message-broker-service.d.ts +88 -0
  117. package/v3/dist/domains/enterprise-integration/services/message-broker-service.d.ts.map +1 -0
  118. package/v3/dist/domains/enterprise-integration/services/message-broker-service.js +560 -0
  119. package/v3/dist/domains/enterprise-integration/services/message-broker-service.js.map +1 -0
  120. package/v3/dist/domains/enterprise-integration/services/odata-service.d.ts +75 -0
  121. package/v3/dist/domains/enterprise-integration/services/odata-service.d.ts.map +1 -0
  122. package/v3/dist/domains/enterprise-integration/services/odata-service.js +618 -0
  123. package/v3/dist/domains/enterprise-integration/services/odata-service.js.map +1 -0
  124. package/v3/dist/domains/enterprise-integration/services/sap-integration-service.d.ts +73 -0
  125. package/v3/dist/domains/enterprise-integration/services/sap-integration-service.d.ts.map +1 -0
  126. package/v3/dist/domains/enterprise-integration/services/sap-integration-service.js +513 -0
  127. package/v3/dist/domains/enterprise-integration/services/sap-integration-service.js.map +1 -0
  128. package/v3/dist/domains/enterprise-integration/services/soap-wsdl-service.d.ts +84 -0
  129. package/v3/dist/domains/enterprise-integration/services/soap-wsdl-service.d.ts.map +1 -0
  130. package/v3/dist/domains/enterprise-integration/services/soap-wsdl-service.js +639 -0
  131. package/v3/dist/domains/enterprise-integration/services/soap-wsdl-service.js.map +1 -0
  132. package/v3/dist/domains/enterprise-integration/services/sod-analysis-service.d.ts +90 -0
  133. package/v3/dist/domains/enterprise-integration/services/sod-analysis-service.d.ts.map +1 -0
  134. package/v3/dist/domains/enterprise-integration/services/sod-analysis-service.js +389 -0
  135. package/v3/dist/domains/enterprise-integration/services/sod-analysis-service.js.map +1 -0
  136. package/v3/dist/domains/index.d.ts +1 -0
  137. package/v3/dist/domains/index.d.ts.map +1 -1
  138. package/v3/dist/domains/index.js +1 -0
  139. package/v3/dist/domains/index.js.map +1 -1
  140. package/v3/dist/domains/learning-optimization/coordinator.d.ts.map +1 -1
  141. package/v3/dist/domains/learning-optimization/coordinator.js +1 -0
  142. package/v3/dist/domains/learning-optimization/coordinator.js.map +1 -1
  143. package/v3/dist/domains/learning-optimization/services/learning-coordinator.d.ts.map +1 -1
  144. package/v3/dist/domains/learning-optimization/services/learning-coordinator.js +1 -0
  145. package/v3/dist/domains/learning-optimization/services/learning-coordinator.js.map +1 -1
  146. package/v3/dist/domains/learning-optimization/services/transfer-specialist.d.ts.map +1 -1
  147. package/v3/dist/domains/learning-optimization/services/transfer-specialist.js +1 -0
  148. package/v3/dist/domains/learning-optimization/services/transfer-specialist.js.map +1 -1
  149. package/v3/dist/domains/test-execution/coordinator.d.ts.map +1 -1
  150. package/v3/dist/domains/test-execution/coordinator.js +34 -0
  151. package/v3/dist/domains/test-execution/coordinator.js.map +1 -1
  152. package/v3/dist/domains/test-generation/services/test-data-generator.d.ts +7 -1
  153. package/v3/dist/domains/test-generation/services/test-data-generator.d.ts.map +1 -1
  154. package/v3/dist/domains/test-generation/services/test-data-generator.js +116 -98
  155. package/v3/dist/domains/test-generation/services/test-data-generator.js.map +1 -1
  156. package/v3/dist/init/agents-installer.d.ts +4 -0
  157. package/v3/dist/init/agents-installer.d.ts.map +1 -1
  158. package/v3/dist/init/agents-installer.js +32 -3
  159. package/v3/dist/init/agents-installer.js.map +1 -1
  160. package/v3/dist/init/skills-installer.d.ts.map +1 -1
  161. package/v3/dist/init/skills-installer.js +4 -1
  162. package/v3/dist/init/skills-installer.js.map +1 -1
  163. package/v3/dist/init/types.d.ts.map +1 -1
  164. package/v3/dist/init/types.js +1 -0
  165. package/v3/dist/init/types.js.map +1 -1
  166. package/v3/dist/integrations/agentic-flow/model-router/budget-enforcer.d.ts +16 -0
  167. package/v3/dist/integrations/agentic-flow/model-router/budget-enforcer.d.ts.map +1 -1
  168. package/v3/dist/integrations/agentic-flow/model-router/budget-enforcer.js +41 -0
  169. package/v3/dist/integrations/agentic-flow/model-router/budget-enforcer.js.map +1 -1
  170. package/v3/dist/integrations/ruvector/provider.d.ts.map +1 -1
  171. package/v3/dist/integrations/ruvector/provider.js +1 -0
  172. package/v3/dist/integrations/ruvector/provider.js.map +1 -1
  173. package/v3/dist/kernel/anti-drift-middleware.d.ts +160 -0
  174. package/v3/dist/kernel/anti-drift-middleware.d.ts.map +1 -0
  175. package/v3/dist/kernel/anti-drift-middleware.js +376 -0
  176. package/v3/dist/kernel/anti-drift-middleware.js.map +1 -0
  177. package/v3/dist/kernel/event-bus.d.ts +29 -1
  178. package/v3/dist/kernel/event-bus.d.ts.map +1 -1
  179. package/v3/dist/kernel/event-bus.js +69 -6
  180. package/v3/dist/kernel/event-bus.js.map +1 -1
  181. package/v3/dist/kernel/interfaces.d.ts +35 -0
  182. package/v3/dist/kernel/interfaces.d.ts.map +1 -1
  183. package/v3/dist/kernel/kernel.d.ts.map +1 -1
  184. package/v3/dist/kernel/kernel.js +14 -17
  185. package/v3/dist/kernel/kernel.js.map +1 -1
  186. package/v3/dist/kernel/unified-memory.d.ts +5 -0
  187. package/v3/dist/kernel/unified-memory.d.ts.map +1 -1
  188. package/v3/dist/kernel/unified-memory.js +28 -0
  189. package/v3/dist/kernel/unified-memory.js.map +1 -1
  190. package/v3/dist/learning/asymmetric-learning.d.ts +133 -0
  191. package/v3/dist/learning/asymmetric-learning.d.ts.map +1 -0
  192. package/v3/dist/learning/asymmetric-learning.js +170 -0
  193. package/v3/dist/learning/asymmetric-learning.js.map +1 -0
  194. package/v3/dist/learning/pattern-lifecycle.d.ts +26 -0
  195. package/v3/dist/learning/pattern-lifecycle.d.ts.map +1 -1
  196. package/v3/dist/learning/pattern-lifecycle.js +83 -0
  197. package/v3/dist/learning/pattern-lifecycle.js.map +1 -1
  198. package/v3/dist/learning/qe-patterns.d.ts +8 -0
  199. package/v3/dist/learning/qe-patterns.d.ts.map +1 -1
  200. package/v3/dist/learning/qe-patterns.js.map +1 -1
  201. package/v3/dist/learning/real-qe-reasoning-bank.d.ts +28 -0
  202. package/v3/dist/learning/real-qe-reasoning-bank.d.ts.map +1 -1
  203. package/v3/dist/learning/real-qe-reasoning-bank.js +72 -4
  204. package/v3/dist/learning/real-qe-reasoning-bank.js.map +1 -1
  205. package/v3/dist/learning/token-tracker.d.ts +22 -0
  206. package/v3/dist/learning/token-tracker.d.ts.map +1 -1
  207. package/v3/dist/learning/token-tracker.js +67 -0
  208. package/v3/dist/learning/token-tracker.js.map +1 -1
  209. package/v3/dist/mcp/bundle.js +11099 -4879
  210. package/v3/dist/mcp/tool-registry.d.ts.map +1 -1
  211. package/v3/dist/mcp/tool-registry.js +4 -0
  212. package/v3/dist/mcp/tool-registry.js.map +1 -1
  213. package/v3/dist/mcp/tools/analysis/token-usage.d.ts +1 -1
  214. package/v3/dist/mcp/tools/analysis/token-usage.d.ts.map +1 -1
  215. package/v3/dist/mcp/tools/analysis/token-usage.js +23 -3
  216. package/v3/dist/mcp/tools/analysis/token-usage.js.map +1 -1
  217. package/v3/dist/mcp/tools/base.d.ts.map +1 -1
  218. package/v3/dist/mcp/tools/base.js +1 -15
  219. package/v3/dist/mcp/tools/base.js.map +1 -1
  220. package/v3/dist/mcp/tools/coverage-analysis/index.d.ts +7 -0
  221. package/v3/dist/mcp/tools/coverage-analysis/index.d.ts.map +1 -1
  222. package/v3/dist/mcp/tools/coverage-analysis/index.js +30 -0
  223. package/v3/dist/mcp/tools/coverage-analysis/index.js.map +1 -1
  224. package/v3/dist/optimization/token-optimizer-service.d.ts +7 -0
  225. package/v3/dist/optimization/token-optimizer-service.d.ts.map +1 -1
  226. package/v3/dist/optimization/token-optimizer-service.js +10 -1
  227. package/v3/dist/optimization/token-optimizer-service.js.map +1 -1
  228. package/v3/dist/shared/types/index.d.ts +20 -1
  229. package/v3/dist/shared/types/index.d.ts.map +1 -1
  230. package/v3/dist/shared/types/index.js +1 -0
  231. package/v3/dist/shared/types/index.js.map +1 -1
  232. package/v3/dist/strange-loop/healing-controller.d.ts.map +1 -1
  233. package/v3/dist/strange-loop/healing-controller.js +12 -0
  234. package/v3/dist/strange-loop/healing-controller.js.map +1 -1
  235. package/v3/dist/strange-loop/strange-loop.d.ts +14 -0
  236. package/v3/dist/strange-loop/strange-loop.d.ts.map +1 -1
  237. package/v3/dist/strange-loop/strange-loop.js +24 -0
  238. package/v3/dist/strange-loop/strange-loop.js.map +1 -1
  239. package/v3/dist/strange-loop/types.d.ts +2 -2
  240. package/v3/dist/strange-loop/types.d.ts.map +1 -1
  241. package/v3/dist/strange-loop/types.js.map +1 -1
  242. package/v3/dist/sync/claude-flow-bridge.d.ts.map +1 -1
  243. package/v3/dist/sync/claude-flow-bridge.js +3 -24
  244. package/v3/dist/sync/claude-flow-bridge.js.map +1 -1
  245. package/v3/package.json +12 -9
  246. /package/{v3/assets/skills/sfdipot-product-factors/skill.md → .claude/skills/sfdipot-product-factors/SKILL.md} +0 -0
  247. /package/{v3/assets/skills/test-idea-rewriting/skill.md → .claude/skills/test-idea-rewriting/SKILL.md} +0 -0
@@ -0,0 +1,735 @@
1
+ ---
2
+ name: enterprise-integration-testing
3
+ description: "Orchestration skill for enterprise integration testing across SAP, middleware, WMS, and backend systems. Covers E2E enterprise flows, SAP-specific patterns (RFC, BAPI, IDoc, OData, Fiori), cross-system data validation, and enterprise quality gates."
4
+ category: enterprise-integration
5
+ priority: high
6
+ tokenEstimate: 2000
7
+ agents: [qe-soap-tester, qe-message-broker-tester, qe-sap-rfc-tester, qe-middleware-validator, qe-sap-idoc-tester, qe-odata-contract-tester, qe-sod-analyzer]
8
+ implementation_status: optimized
9
+ optimization_version: 1.0
10
+ last_optimized: 2026-02-04
11
+ dependencies: [api-testing-patterns, contract-testing, chaos-engineering-resilience]
12
+ quick_reference_card: true
13
+ tags: [enterprise, sap, esb, middleware, integration, e2e, order-to-cash]
14
+ trust_tier: 3
15
+ validation:
16
+ schema_path: schemas/output.json
17
+ validator_path: scripts/validate.sh
18
+ eval_path: evals/enterprise-integration-testing.yaml
19
+ ---
20
+
21
+ # Enterprise Integration Testing
22
+
23
+ <default_to_action>
24
+ When testing enterprise integrations or SAP-connected systems:
25
+ 1. MAP the end-to-end flow (web -> API -> middleware -> backend -> response)
26
+ 2. IDENTIFY integration points and protocols (REST, SOAP, RFC, IDoc, OData, EDI)
27
+ 3. SELECT the right agent for each integration type
28
+ 4. TEST each integration boundary with contract and data validation
29
+ 5. VALIDATE cross-system data consistency (SAP <-> WMS <-> middleware)
30
+ 6. EXERCISE enterprise error handling (compensation, retry, alerting)
31
+ 7. GATE releases with enterprise-specific quality criteria
32
+
33
+ **Agent Selection Guide:**
34
+ - SAP RFC/BAPI calls -> `qe-sap-rfc-tester`
35
+ - SAP IDoc flows -> `qe-sap-idoc-tester`
36
+ - OData/Fiori services -> `qe-odata-contract-tester`
37
+ - SOAP/ESB endpoints -> `qe-soap-tester`
38
+ - Message broker flows -> `qe-message-broker-tester`
39
+ - Middleware routing/transformation -> `qe-middleware-validator`
40
+ - Authorization / SoD conflicts -> `qe-sod-analyzer`
41
+
42
+ **Critical Success Factors:**
43
+ - Enterprise testing is cross-system: no system is tested in isolation
44
+ - Data consistency across systems is the primary quality signal
45
+ - Environment access and test data are the biggest bottlenecks
46
+ </default_to_action>
47
+
48
+ ## Quick Reference Card
49
+
50
+ ### When to Use
51
+ - Testing SAP-connected enterprise systems (S/4HANA, ECC, BW)
52
+ - Validating end-to-end business processes (Order-to-Cash, Procure-to-Pay)
53
+ - Testing middleware/ESB integrations (IIB, MuleSoft, SAP PI/PO)
54
+ - Cross-system data reconciliation (SAP <-> WMS <-> CRM)
55
+ - Enterprise release readiness assessment
56
+
57
+ ### Enterprise Integration Types
58
+ | Integration | Protocol | Agent | Typical Use |
59
+ |-------------|----------|-------|-------------|
60
+ | SAP RFC/BAPI | RFC | qe-sap-rfc-tester | Real-time SAP function calls |
61
+ | SAP IDoc | ALE/EDI | qe-sap-idoc-tester | Asynchronous document exchange |
62
+ | SAP OData | REST/OData | qe-odata-contract-tester | Fiori apps, external APIs |
63
+ | SOAP/ESB | SOAP/HTTP | qe-soap-tester | Legacy service integration |
64
+ | Message Broker | AMQP/JMS | qe-message-broker-tester | Async messaging (MQ, Kafka) |
65
+ | Middleware | Various | qe-middleware-validator | Routing, transformation |
66
+ | Authorization | SAP Auth | qe-sod-analyzer | SoD conflicts, role testing |
67
+
68
+ ### Critical Test Scenarios
69
+ | Scenario | Must Test | Example |
70
+ |----------|----------|---------|
71
+ | E2E Order Flow | Full order lifecycle | Web order -> SAP Sales Order -> WMS Pick -> Ship -> Invoice |
72
+ | Data Consistency | Cross-system match | SAP inventory = WMS inventory |
73
+ | IDoc Processing | Inbound/outbound | Purchase order IDoc -> SAP PO creation |
74
+ | Authorization | SoD compliance | User cannot create AND approve PO |
75
+ | Error Recovery | Compensation | Failed payment -> reverse inventory reservation |
76
+ | Master Data Sync | Replication accuracy | Material master in SAP = Product in WMS |
77
+
78
+ ### Tools
79
+ - **SAP**: SAP GUI, Transaction codes (SE37, WE19, SEGW), Eclipse ADT
80
+ - **Middleware**: IBM IIB/ACE, MuleSoft, SAP PI/PO/CPI
81
+ - **Testing**: SoapUI, Postman, Playwright, custom harnesses
82
+ - **Monitoring**: SAP Solution Manager, Splunk, Dynatrace
83
+ - **Data**: SAP LSMW, SECATT, eCATT
84
+
85
+ ### Agent Coordination
86
+ - `qe-sap-rfc-tester`: SAP RFC/BAPI function module testing
87
+ - `qe-sap-idoc-tester`: IDoc inbound/outbound processing validation
88
+ - `qe-odata-contract-tester`: OData service contract and Fiori app testing
89
+ - `qe-soap-tester`: SOAP/WSDL contract validation and WS-Security
90
+ - `qe-message-broker-tester`: Message broker flows, DLQ, ordering
91
+ - `qe-middleware-validator`: ESB routing, transformation, EIP patterns
92
+ - `qe-sod-analyzer`: Segregation of Duties and authorization testing
93
+
94
+ ---
95
+
96
+ ## E2E Enterprise Flow Testing
97
+
98
+ ### Order-to-Cash Flow
99
+ ```javascript
100
+ describe('Order-to-Cash E2E Flow', () => {
101
+ it('processes web order through SAP to warehouse fulfillment', async () => {
102
+ // Step 1: Create order via web API
103
+ const webOrder = await api.post('/orders', {
104
+ customerId: 'CUST-1000',
105
+ items: [{ materialNumber: 'MAT-500', quantity: 10 }],
106
+ shippingAddress: { city: 'Portland', state: 'OR' }
107
+ });
108
+ expect(webOrder.status).toBe(201);
109
+ const webOrderId = webOrder.body.orderId;
110
+
111
+ // Step 2: Verify SAP Sales Order created via middleware
112
+ const sapOrder = await sapClient.call('BAPI_SALESORDER_GETLIST', {
113
+ CUSTOMER_NUMBER: 'CUST-1000',
114
+ SALES_ORGANIZATION: '1000'
115
+ });
116
+ const matchingSapOrder = sapOrder.find(o => o.PURCHASE_ORDER_NO === webOrderId);
117
+ expect(matchingSapOrder).toBeDefined();
118
+ const sapOrderId = matchingSapOrder.SD_DOC;
119
+
120
+ // Step 3: Verify WMS received pick instruction
121
+ const wmsPickTask = await wmsApi.get(`/pick-tasks?externalRef=${sapOrderId}`);
122
+ expect(wmsPickTask.status).toBe(200);
123
+ expect(wmsPickTask.body.status).toBe('PENDING');
124
+
125
+ // Step 4: Complete pick in WMS
126
+ await wmsApi.post(`/pick-tasks/${wmsPickTask.body.taskId}/complete`, {
127
+ pickedItems: [{ sku: 'MAT-500', quantity: 10, location: 'A-01-03' }]
128
+ });
129
+
130
+ // Step 5: Verify SAP delivery created (via IDoc confirmation)
131
+ await waitFor(async () => {
132
+ const delivery = await sapClient.call('BAPI_DELIVERYPROCESSING_GETLIST', {
133
+ SALES_ORDER: sapOrderId
134
+ });
135
+ return delivery.length > 0 && delivery[0].DELVRY_STATUS === 'C';
136
+ }, { timeout: 30000, interval: 3000 });
137
+
138
+ // Step 6: Verify invoice posted in SAP
139
+ await waitFor(async () => {
140
+ const invoice = await sapClient.call('BAPI_BILLINGDOC_GETLIST', {
141
+ REFDOCNUMBER: sapOrderId
142
+ });
143
+ return invoice.length > 0;
144
+ }, { timeout: 30000, interval: 3000 });
145
+ });
146
+ });
147
+ ```
148
+
149
+ ### Procure-to-Pay Flow
150
+ ```javascript
151
+ describe('Procure-to-Pay E2E Flow', () => {
152
+ it('creates purchase requisition through to vendor payment', async () => {
153
+ // Step 1: Create Purchase Requisition
154
+ const prResult = await sapClient.call('BAPI_PR_CREATE', {
155
+ PRHEADER: { PR_TYPE: 'NB', CTRL_IND: '' },
156
+ PRHEADERX: { PR_TYPE: 'X' },
157
+ PRITEMS: [{ MATERIAL: 'MAT-RAW-100', QUANTITY: 500, UNIT: 'EA', PLANT: '1000' }]
158
+ });
159
+ expect(prResult.NUMBER).toBeDefined();
160
+ const prNumber = prResult.NUMBER;
161
+
162
+ // Step 2: Verify PR triggers sourcing (ME57 equivalent)
163
+ const sourcingResult = await sapClient.call('BAPI_PR_GETDETAIL', {
164
+ NUMBER: prNumber
165
+ });
166
+ expect(sourcingResult.PRITEM[0].PREQ_NO).toBe(prNumber);
167
+
168
+ // Step 3: Create Purchase Order from PR
169
+ const poResult = await sapClient.call('BAPI_PO_CREATE1', {
170
+ POHEADER: { COMP_CODE: '1000', DOC_TYPE: 'NB', VENDOR: 'VEND-500' },
171
+ POITEMS: [{ PO_ITEM: '00010', MATERIAL: 'MAT-RAW-100', QUANTITY: 500, PLANT: '1000' }]
172
+ });
173
+ expect(poResult.PO_NUMBER).toBeDefined();
174
+
175
+ // Step 4: Verify PO IDoc sent to vendor
176
+ const idocStatus = await sapClient.call('IDOC_STATUS_READ', {
177
+ DOCNUM: poResult.IDOC_NUMBER
178
+ });
179
+ expect(idocStatus.STATUS).toBe('03'); // Successfully sent
180
+ });
181
+ });
182
+ ```
183
+
184
+ ---
185
+
186
+ ## SAP-Specific Testing Patterns
187
+
188
+ ### RFC/BAPI Testing
189
+ ```javascript
190
+ describe('SAP RFC/BAPI Testing', () => {
191
+ it('validates BAPI return structure and error handling', async () => {
192
+ // Test with valid input
193
+ const result = await sapClient.call('BAPI_MATERIAL_GETDETAIL', {
194
+ MATERIAL: 'MAT-EXIST'
195
+ });
196
+ expect(result.RETURN.TYPE).not.toBe('E');
197
+ expect(result.MATERIAL_GENERAL_DATA.MATL_DESC).toBeDefined();
198
+
199
+ // Test with invalid material
200
+ const errorResult = await sapClient.call('BAPI_MATERIAL_GETDETAIL', {
201
+ MATERIAL: 'MAT-NONEXIST'
202
+ });
203
+ expect(errorResult.RETURN.TYPE).toBe('E');
204
+ expect(errorResult.RETURN.MESSAGE).toContain('does not exist');
205
+ });
206
+
207
+ it('handles BAPI commit correctly', async () => {
208
+ const createResult = await sapClient.call('BAPI_SALESORDER_CREATEFROMDAT2', {
209
+ ORDER_HEADER_IN: {
210
+ DOC_TYPE: 'OR',
211
+ SALES_ORG: '1000',
212
+ DISTR_CHAN: '10',
213
+ DIVISION: '00'
214
+ },
215
+ ORDER_PARTNERS: [{ PARTN_ROLE: 'AG', PARTN_NUMB: 'CUST-1000' }],
216
+ ORDER_ITEMS_IN: [{ MATERIAL: 'MAT-500', TARGET_QTY: 10 }]
217
+ });
218
+
219
+ // Must call BAPI_TRANSACTION_COMMIT to persist
220
+ await sapClient.call('BAPI_TRANSACTION_COMMIT', { WAIT: 'X' });
221
+
222
+ // Verify order exists after commit
223
+ const getResult = await sapClient.call('BAPI_SALESORDER_GETDETAIL', {
224
+ SALESDOCUMENT: createResult.SALESDOCUMENT
225
+ });
226
+ expect(getResult.ORDER_HEADER_OUT.SD_DOC_CAT).toBe('C');
227
+ });
228
+ });
229
+ ```
230
+
231
+ ### IDoc Testing
232
+ ```javascript
233
+ describe('SAP IDoc Processing', () => {
234
+ it('validates inbound IDoc creates correct SAP document', async () => {
235
+ // Send IDoc via middleware
236
+ const idocPayload = {
237
+ IDOCTYP: 'ORDERS05',
238
+ MESTYP: 'ORDERS',
239
+ SNDPOR: 'SAPEXT',
240
+ SNDPRT: 'LS',
241
+ SNDPRN: 'EXTERN',
242
+ RCVPOR: 'SAPSI1',
243
+ RCVPRT: 'LS',
244
+ RCVPRN: 'SAPCLNT100',
245
+ segments: {
246
+ E1EDK01: { BELNR: 'EXT-PO-001' },
247
+ E1EDK14: [{ QUESSION: '001', ORGID: '1000' }],
248
+ E1EDP01: [{ POSEX: '000010', MENGE: '100', MENEE: 'EA', MATNR: 'MAT-500' }]
249
+ }
250
+ };
251
+
252
+ const idocNumber = await middlewareClient.sendIDoc(idocPayload);
253
+
254
+ // Wait for IDoc processing in SAP
255
+ await waitFor(async () => {
256
+ const status = await sapClient.call('IDOC_STATUS_READ', { DOCNUM: idocNumber });
257
+ return status.STATUS === '53'; // Application document posted successfully
258
+ }, { timeout: 60000, interval: 5000 });
259
+
260
+ // Verify SAP document was created
261
+ const sapDoc = await sapClient.call('BAPI_SALESORDER_GETLIST', {
262
+ PURCHASE_ORDER_NO: 'EXT-PO-001'
263
+ });
264
+ expect(sapDoc).toHaveLength(1);
265
+ });
266
+
267
+ it('handles IDoc error status correctly', async () => {
268
+ // Send IDoc with invalid material
269
+ const idocPayload = buildIdocPayload({ materialNumber: 'INVALID-MAT' });
270
+ const idocNumber = await middlewareClient.sendIDoc(idocPayload);
271
+
272
+ await waitFor(async () => {
273
+ const status = await sapClient.call('IDOC_STATUS_READ', { DOCNUM: idocNumber });
274
+ return ['51', '56'].includes(status.STATUS); // Error statuses
275
+ }, { timeout: 60000 });
276
+
277
+ const status = await sapClient.call('IDOC_STATUS_READ', { DOCNUM: idocNumber });
278
+ expect(status.STATUS_TEXT).toContain('Material');
279
+ });
280
+ });
281
+ ```
282
+
283
+ ### OData Service Testing
284
+ ```javascript
285
+ describe('SAP OData Service Testing', () => {
286
+ it('validates OData entity CRUD operations', async () => {
287
+ // CREATE
288
+ const createResponse = await odataClient.post('/sap/opu/odata/sap/API_SALES_ORDER_SRV/A_SalesOrder', {
289
+ SalesOrderType: 'OR',
290
+ SalesOrganization: '1000',
291
+ DistributionChannel: '10',
292
+ OrganizationDivision: '00',
293
+ SoldToParty: 'CUST-1000'
294
+ });
295
+ expect(createResponse.status).toBe(201);
296
+ const salesOrder = createResponse.body.d.SalesOrder;
297
+
298
+ // READ with $expand
299
+ const readResponse = await odataClient.get(
300
+ `/sap/opu/odata/sap/API_SALES_ORDER_SRV/A_SalesOrder('${salesOrder}')?$expand=to_Item`
301
+ );
302
+ expect(readResponse.status).toBe(200);
303
+ expect(readResponse.body.d.SalesOrder).toBe(salesOrder);
304
+
305
+ // READ collection with $filter
306
+ const listResponse = await odataClient.get(
307
+ `/sap/opu/odata/sap/API_SALES_ORDER_SRV/A_SalesOrder?$filter=SoldToParty eq 'CUST-1000'&$top=10`
308
+ );
309
+ expect(listResponse.status).toBe(200);
310
+ expect(listResponse.body.d.results.length).toBeGreaterThan(0);
311
+ });
312
+
313
+ it('validates OData $metadata contract', async () => {
314
+ const metadata = await odataClient.get(
315
+ '/sap/opu/odata/sap/API_SALES_ORDER_SRV/$metadata'
316
+ );
317
+ expect(metadata.status).toBe(200);
318
+
319
+ const parsedMetadata = parseEdmx(metadata.body);
320
+ expect(parsedMetadata.entityTypes).toContain('A_SalesOrder');
321
+ expect(parsedMetadata.entityTypes).toContain('A_SalesOrderItem');
322
+
323
+ // Validate required properties exist
324
+ const salesOrderType = parsedMetadata.getEntityType('A_SalesOrder');
325
+ expect(salesOrderType.properties).toContain('SalesOrder');
326
+ expect(salesOrderType.properties).toContain('SalesOrderType');
327
+ expect(salesOrderType.navigationProperties).toContain('to_Item');
328
+ });
329
+ });
330
+ ```
331
+
332
+ ### Fiori Launchpad Testing
333
+ ```javascript
334
+ describe('Fiori Launchpad App Testing', () => {
335
+ it('validates Fiori tile loads and displays correct data', async () => {
336
+ await page.goto(`${fioriLaunchpadUrl}#SalesOrder-manage`);
337
+
338
+ // Wait for OData call to complete
339
+ await page.waitForResponse(resp =>
340
+ resp.url().includes('API_SALES_ORDER_SRV') && resp.status() === 200
341
+ );
342
+
343
+ // Verify smart table loaded with data
344
+ const tableRows = await page.locator('table tbody tr');
345
+ expect(await tableRows.count()).toBeGreaterThan(0);
346
+
347
+ // Verify filter bar is functional
348
+ await page.fill('[data-sap-ui="filterField-SalesOrder"]', '1000000');
349
+ await page.click('[data-sap-ui="btnGo"]');
350
+
351
+ await page.waitForResponse(resp =>
352
+ resp.url().includes("$filter=SalesOrder eq '1000000'")
353
+ );
354
+ });
355
+ });
356
+ ```
357
+
358
+ ---
359
+
360
+ ## Cross-System Data Validation
361
+
362
+ ```javascript
363
+ describe('Cross-System Data Consistency', () => {
364
+ it('SAP inventory matches WMS inventory', async () => {
365
+ const materials = ['MAT-100', 'MAT-200', 'MAT-300'];
366
+
367
+ for (const material of materials) {
368
+ // Get SAP stock
369
+ const sapStock = await sapClient.call('BAPI_MATERIAL_STOCK_REQ_LIST', {
370
+ MATERIAL: material,
371
+ PLANT: '1000'
372
+ });
373
+ const sapQuantity = parseFloat(sapStock.TOTAL_STOCK);
374
+
375
+ // Get WMS inventory
376
+ const wmsInventory = await wmsApi.get(`/inventory/${material}`);
377
+ const wmsQuantity = wmsInventory.body.availableQuantity;
378
+
379
+ expect(wmsQuantity).toBe(sapQuantity);
380
+ }
381
+ });
382
+
383
+ it('customer master data is consistent across systems', async () => {
384
+ const customerId = 'CUST-1000';
385
+
386
+ const sapCustomer = await sapClient.call('BAPI_CUSTOMER_GETDETAIL', {
387
+ CUSTOMERNO: customerId
388
+ });
389
+
390
+ const crmCustomer = await crmApi.get(`/customers/${customerId}`);
391
+ const wmsCustomer = await wmsApi.get(`/customers/${customerId}`);
392
+
393
+ // Core fields must match
394
+ expect(crmCustomer.body.name).toBe(sapCustomer.CUSTOMER_GENERAL_DATA.NAME);
395
+ expect(wmsCustomer.body.name).toBe(sapCustomer.CUSTOMER_GENERAL_DATA.NAME);
396
+ expect(crmCustomer.body.taxId).toBe(sapCustomer.CUSTOMER_GENERAL_DATA.TAX_NUMBER);
397
+ });
398
+
399
+ it('order status is synchronized across all systems', async () => {
400
+ const orderId = 'ORD-SYNC-TEST';
401
+
402
+ // Create order and wait for propagation
403
+ await api.post('/orders', { orderId, customerId: 'CUST-1000', items: [{ sku: 'MAT-100', qty: 5 }] });
404
+ await sleep(10000); // Allow for async propagation
405
+
406
+ const webStatus = (await api.get(`/orders/${orderId}`)).body.status;
407
+ const sapStatus = (await sapClient.call('BAPI_SALESORDER_GETDETAIL', {
408
+ SALESDOCUMENT: orderId
409
+ })).ORDER_HEADER_OUT.DOC_STATUS;
410
+ const wmsStatus = (await wmsApi.get(`/orders/${orderId}`)).body.status;
411
+
412
+ // All systems should reflect same logical status
413
+ expect(mapSapStatus(sapStatus)).toBe(webStatus);
414
+ expect(mapWmsStatus(wmsStatus)).toBe(webStatus);
415
+ });
416
+ });
417
+ ```
418
+
419
+ ---
420
+
421
+ ## Enterprise Test Data Management
422
+
423
+ ```javascript
424
+ describe('Enterprise Test Data Strategy', () => {
425
+ // Master data setup - reusable across test suites
426
+ const masterDataFixture = {
427
+ async setup() {
428
+ // Create customer in SAP (source of truth)
429
+ const customer = await sapClient.call('BAPI_CUSTOMER_CREATE', {
430
+ PI_COPYREFERENCE: { SALESORG: '1000', DISTR_CHAN: '10' },
431
+ PI_PERSONALDATA: { FIRSTNAME: 'Test', LASTNAME: `Customer-${Date.now()}` }
432
+ });
433
+ await sapClient.call('BAPI_TRANSACTION_COMMIT', { WAIT: 'X' });
434
+
435
+ // Wait for replication to downstream systems
436
+ await waitFor(async () => {
437
+ const wms = await wmsApi.get(`/customers/${customer.CUSTOMERNO}`);
438
+ return wms.status === 200;
439
+ }, { timeout: 60000 });
440
+
441
+ return { customerId: customer.CUSTOMERNO };
442
+ },
443
+
444
+ async teardown(customerId) {
445
+ // Mark customer for deletion (SAP does not hard delete)
446
+ await sapClient.call('BAPI_CUSTOMER_CHANGEFROMDATA', {
447
+ CUSTOMERNO: customerId,
448
+ PI_PERSONALDATA: { DELETION_FLAG: 'X' }
449
+ });
450
+ await sapClient.call('BAPI_TRANSACTION_COMMIT', { WAIT: 'X' });
451
+ }
452
+ };
453
+
454
+ let testCustomer;
455
+
456
+ beforeAll(async () => {
457
+ testCustomer = await masterDataFixture.setup();
458
+ });
459
+
460
+ afterAll(async () => {
461
+ await masterDataFixture.teardown(testCustomer.customerId);
462
+ });
463
+
464
+ it('uses properly replicated test customer', async () => {
465
+ const order = await api.post('/orders', {
466
+ customerId: testCustomer.customerId,
467
+ items: [{ sku: 'MAT-100', qty: 1 }]
468
+ });
469
+ expect(order.status).toBe(201);
470
+ });
471
+ });
472
+ ```
473
+
474
+ ---
475
+
476
+ ## Environment Strategy
477
+
478
+ ### Enterprise Environment Matrix
479
+ | Environment | Purpose | Data | SAP Client | Access |
480
+ |-------------|---------|------|------------|--------|
481
+ | Sandbox (SBX) | Developer exploration | Sample data | 100 | Open |
482
+ | Development (DEV) | Feature development | Synthetic | 200 | Dev team |
483
+ | Integration (INT) | Cross-system testing | Controlled sets | 300 | QE + Dev |
484
+ | Quality (QAS) | Release validation | Production-like | 400 | QE only |
485
+ | Pre-Production (PRE) | Final verification | Masked production copy | 500 | Release team |
486
+ | Production (PRD) | Live system | Real data | 600 | Operations |
487
+
488
+ ```javascript
489
+ // Environment-aware test configuration
490
+ const envConfig = {
491
+ INT: {
492
+ sapClient: '300',
493
+ sapHost: 'sap-int.company.com',
494
+ wmsHost: 'wms-int.company.com',
495
+ middlewareHost: 'esb-int.company.com',
496
+ testDataStrategy: 'synthetic', // Create and teardown
497
+ maxParallelTests: 5
498
+ },
499
+ QAS: {
500
+ sapClient: '400',
501
+ sapHost: 'sap-qas.company.com',
502
+ wmsHost: 'wms-qas.company.com',
503
+ middlewareHost: 'esb-qas.company.com',
504
+ testDataStrategy: 'reserved-sets', // Pre-allocated test data
505
+ maxParallelTests: 3
506
+ }
507
+ };
508
+
509
+ function getTestConfig() {
510
+ const env = process.env.TEST_ENVIRONMENT || 'INT';
511
+ return envConfig[env];
512
+ }
513
+ ```
514
+
515
+ ---
516
+
517
+ ## Enterprise Quality Gates
518
+
519
+ ### QCSD Flags for Enterprise Systems
520
+ ```javascript
521
+ const enterpriseFlags = {
522
+ HAS_MIDDLEWARE: true, // ESB/middleware in the flow
523
+ HAS_SAP_INTEGRATION: true, // SAP RFC/BAPI/IDoc/OData calls
524
+ HAS_AUTHORIZATION: true, // SoD and role-based access
525
+ HAS_CROSS_SYSTEM_DATA: true, // Data replicated across systems
526
+ HAS_ASYNC_PROCESSING: true, // IDoc, message queue, batch jobs
527
+ HAS_LEGACY_PROTOCOL: true // SOAP, RFC, flat-file, EDI
528
+ };
529
+ ```
530
+
531
+ ### Release Readiness Criteria
532
+ ```javascript
533
+ describe('Enterprise Release Readiness', () => {
534
+ it('passes all enterprise quality gates', async () => {
535
+ const gates = [
536
+ {
537
+ name: 'Cross-System Data Consistency',
538
+ check: async () => {
539
+ const results = await runDataReconciliation(['MAT-100', 'MAT-200']);
540
+ return results.every(r => r.consistent);
541
+ }
542
+ },
543
+ {
544
+ name: 'IDoc Processing Success Rate',
545
+ check: async () => {
546
+ const stats = await sapClient.call('IDOC_STATUS_SUMMARY', { PERIOD: 'LAST_24H' });
547
+ const successRate = stats.SUCCESS / stats.TOTAL;
548
+ return successRate >= 0.99; // 99% threshold
549
+ }
550
+ },
551
+ {
552
+ name: 'Middleware Error Rate',
553
+ check: async () => {
554
+ const errors = await middlewareMonitor.getErrorCount({ period: '24h' });
555
+ return errors < 10; // Less than 10 errors in 24h
556
+ }
557
+ },
558
+ {
559
+ name: 'SoD Violations',
560
+ check: async () => {
561
+ const violations = await sodAnalyzer.scan({ scope: 'changed-roles' });
562
+ return violations.critical === 0;
563
+ }
564
+ },
565
+ {
566
+ name: 'E2E Order Flow',
567
+ check: async () => {
568
+ const result = await runE2EOrderFlow();
569
+ return result.allStepsCompleted && result.duration < 120000; // Under 2 minutes
570
+ }
571
+ }
572
+ ];
573
+
574
+ for (const gate of gates) {
575
+ const passed = await gate.check();
576
+ expect(passed).toBe(true);
577
+ }
578
+ });
579
+ });
580
+ ```
581
+
582
+ ---
583
+
584
+ ## Best Practices
585
+
586
+ ### Do This
587
+ - Map the full E2E flow before writing any tests
588
+ - Test each integration boundary separately AND end-to-end
589
+ - Use SAP-aware test data management (create, use, teardown with BAPIs)
590
+ - Validate data consistency across all systems after each integration event
591
+ - Include IDoc status monitoring in your test assertions
592
+ - Test authorization (SoD) as part of every enterprise release gate
593
+ - Use service virtualization for systems that are hard to provision
594
+
595
+ ### Avoid This
596
+ - Testing SAP only through the UI (Fiori/SAP GUI) without API-level tests
597
+ - Ignoring IDoc error statuses (51, 56) and only checking happy path
598
+ - Sharing test data between teams without reservation mechanisms
599
+ - Testing enterprise flows only in sandbox environments
600
+ - Skipping BAPI_TRANSACTION_COMMIT after create/update BAPIs
601
+ - Assuming cross-system data is immediately consistent (allow for async propagation)
602
+ - Deploying without verifying SoD compliance for changed authorization roles
603
+
604
+ ---
605
+
606
+ ## Agent-Assisted Enterprise Testing
607
+
608
+ ```typescript
609
+ // SAP RFC/BAPI function testing
610
+ await Task("SAP BAPI Validation", {
611
+ bapis: ['BAPI_SALESORDER_CREATEFROMDAT2', 'BAPI_SALESORDER_GETDETAIL'],
612
+ testScenarios: ['valid-input', 'missing-required', 'invalid-customer', 'commit-rollback'],
613
+ validateReturnStructure: true
614
+ }, "qe-sap-rfc-tester");
615
+
616
+ // IDoc processing validation
617
+ await Task("IDoc Flow Validation", {
618
+ idocType: 'ORDERS05',
619
+ direction: 'inbound',
620
+ testStatuses: ['53-success', '51-application-error', '56-syntax-error'],
621
+ validateSapDocument: true
622
+ }, "qe-sap-idoc-tester");
623
+
624
+ // OData contract testing
625
+ await Task("OData Service Contract Test", {
626
+ serviceUrl: '/sap/opu/odata/sap/API_SALES_ORDER_SRV',
627
+ validateMetadata: true,
628
+ testCrud: true,
629
+ testFilters: ['$filter', '$expand', '$orderby', '$top', '$skip'],
630
+ checkBackwardCompatibility: true
631
+ }, "qe-odata-contract-tester");
632
+
633
+ // SOAP service validation
634
+ await Task("SOAP Service Validation", {
635
+ wsdl: 'services/OrderService.wsdl',
636
+ operations: ['CreateOrder', 'GetOrderStatus'],
637
+ testWsSecurity: true,
638
+ testFaultCodes: true
639
+ }, "qe-soap-tester");
640
+
641
+ // Middleware flow validation
642
+ await Task("Middleware Integration Test", {
643
+ flow: 'order-to-cash',
644
+ stages: ['web-api', 'esb-routing', 'sap-rfc', 'wms-api'],
645
+ testDLQ: true,
646
+ testCompensation: true,
647
+ validateCorrelationIds: true
648
+ }, "qe-middleware-validator");
649
+
650
+ // Message broker testing
651
+ await Task("Message Broker Validation", {
652
+ broker: 'ibm-mq',
653
+ queues: ['orders.inbound', 'orders.sap', 'orders.wms', 'orders.dlq'],
654
+ testOrdering: true,
655
+ testRetry: true
656
+ }, "qe-message-broker-tester");
657
+
658
+ // Segregation of Duties analysis
659
+ await Task("SoD Conflict Analysis", {
660
+ scope: 'changed-roles',
661
+ ruleSet: 'sap-standard',
662
+ criticalTransactions: ['ME21N', 'ME29N', 'MIRO', 'FB60'],
663
+ reportFormat: 'matrix'
664
+ }, "qe-sod-analyzer");
665
+ ```
666
+
667
+ ---
668
+
669
+ ## Agent Coordination Hints
670
+
671
+ ### Memory Namespace
672
+ ```
673
+ aqe/enterprise-integration/
674
+ flows/ - E2E flow definitions and test results
675
+ sap/
676
+ rfc-results/ - RFC/BAPI test outcomes
677
+ idoc-results/ - IDoc processing validation
678
+ odata-contracts/ - OData $metadata snapshots and diffs
679
+ middleware/
680
+ routing/ - ESB routing test results
681
+ transforms/ - Transformation validation
682
+ cross-system/
683
+ reconciliation/ - Data consistency reports
684
+ master-data/ - Master data sync validation
685
+ authorization/
686
+ sod-reports/ - SoD conflict analysis results
687
+ role-testing/ - Role and permission test results
688
+ quality-gates/ - Enterprise release gate results
689
+ ```
690
+
691
+ ### Fleet Coordination
692
+ ```typescript
693
+ const enterpriseFleet = await FleetManager.coordinate({
694
+ strategy: 'enterprise-integration',
695
+ agents: [
696
+ 'qe-sap-rfc-tester', // SAP function module testing
697
+ 'qe-sap-idoc-tester', // IDoc processing validation
698
+ 'qe-odata-contract-tester', // OData/Fiori service testing
699
+ 'qe-soap-tester', // SOAP/ESB endpoint testing
700
+ 'qe-message-broker-tester', // Message broker flows
701
+ 'qe-middleware-validator', // Middleware routing/transformation
702
+ 'qe-sod-analyzer' // Authorization and SoD
703
+ ],
704
+ topology: 'hierarchical'
705
+ });
706
+
707
+ await enterpriseFleet.execute({
708
+ flow: 'order-to-cash',
709
+ phases: [
710
+ { name: 'contract-validation', agents: ['qe-odata-contract-tester', 'qe-soap-tester'] },
711
+ { name: 'integration-testing', agents: ['qe-sap-rfc-tester', 'qe-sap-idoc-tester', 'qe-middleware-validator'] },
712
+ { name: 'e2e-validation', agents: ['qe-message-broker-tester'] },
713
+ { name: 'authorization-check', agents: ['qe-sod-analyzer'] }
714
+ ]
715
+ });
716
+ ```
717
+
718
+ ---
719
+
720
+ ## Related Skills
721
+ - [api-testing-patterns](../api-testing-patterns/) - REST/GraphQL API testing fundamentals
722
+ - [contract-testing](../contract-testing/) - Consumer-driven contract testing with Pact
723
+ - [middleware-testing-patterns](../middleware-testing-patterns/) - ESB, routing, transformation, DLQ
724
+ - [wms-testing-patterns](../wms-testing-patterns/) - Warehouse management system testing
725
+ - [chaos-engineering-resilience](../chaos-engineering-resilience/) - Fault injection for enterprise systems
726
+ - [database-testing](../database-testing/) - Database integrity and migration testing
727
+ - [security-testing](../security-testing/) - Security and authorization testing
728
+
729
+ ---
730
+
731
+ ## Remember
732
+
733
+ Enterprise integration testing is about verifying that independently correct systems work correctly together. No system is an island. Test each integration boundary with protocol-appropriate tools, validate cross-system data consistency, and always include authorization and SoD checks. The biggest risks are in the seams between systems, not within them.
734
+
735
+ **With Agents:** Use specialized agents for each integration type (RFC, IDoc, OData, SOAP, messaging). Orchestrate them hierarchically: contract validation first, then integration testing, then E2E flows, then authorization. The enterprise fleet catches cross-system inconsistencies that single-system testing misses entirely.