在 z/OS 上测试和模拟规则集

您可以配置 Scenario Service Provider (SSP) 以通过 zRule Execution Server for z/OS® 或 Rule Execution Server on WebSphere® Application Server for z/OS 执行测试和模拟。

Decision Center 用户可以选择使用 Rule Execution Server on WebSphere Application Server for z/OS 或 zRule Execution Server for z/OS 来运行测试和模拟。测试数据的格式可以是缺省 Excel DVS 格式或定制格式。

例如,如果您打算使用 COBOL 客户机来执行最终应用程序,那么最好在测试中使用 COBOL 数据而不是某种其他格式。与在 WebSphere Application Server 上运行测试相比,在 zRule Execution Server for z/OS 上使用定制方案提供程序将为您提供更接近的测试结果。

要在 z/OS 上通过缺省 Excel 格式定制格式来测试和验证规则,您需要以下配置的组合:
  • 已在以下服务器之一上配置的 SSP:
    • Rule Execution Server on WebSphere Application Server for z/OS
    • zRule Execution Server for z/OS

测试和验证了规则后,您便可以将其部署或重新部署到 z/OS 上的所选执行选项。有关更多信息,请参阅规则执行体系结构。

下表概括了在 z/OS 上测试规则所要执行的主要任务。

提示: 部分以下链接指向分布式主题。
表 1. 用于执行测试和模拟的主要任务
任务(task) 描述 参考

创建测试和模拟方案,并且如果需要,请定制 DVS 格式。

将 zRule Execution Server for z/OS 用作测试和模拟执行环境时,可以通过使用定制方案提供程序来直接从 COBOL 数据生成方案。

使用 WebSphere Application Server for z/OS 作为测试和模拟执行环境时,请通过缺省 Excel 格式或定制方案提供程序来创建方案。

测试和模拟规则集

定制测试和模拟

封装和部署 SSP 和 Decision Center 归档,包括 XOM 的辅助功能选项。

根据所选择的执行环境,您必须将用于测试的 SSP 归档重新打包并部署到 WebSphere Application Server for z/OS 或 zRule Execution Server for z/OS。

如果您已定制 DVS 格式,那么还必须将 Decision Center 归档重新打包并部署到 WebSphere Application Server for z/OS。

在 WebSphere Application Server for z/OS 上配置 Rule Execution Server

重新封装 SSP 和 Decision Center 归档

部署 Java™ 执行对象模型 (XOM)

测试并模拟规则。

您可以通过使用测试套件和模拟来测试规则,并管理所生成的报告。

使用测试套件和模拟