在 z/OS 上測試和模擬規則集
您可以將「實務服務提供者 (SSP)」配置成利用位於 WebSphere® Application Server for z/OS® 上的 zRule Execution Server for z/OS 或 Rule Execution Server,來執行測試與模擬。
Decision Center 使用者可以選擇使用 WebSphere Application Server for z/OS 上的 Rule Execution Server 或 zRule Execution Server for z/OS 來執行測試與模擬。測試資料的格式可以是預設 Excel DVS 格式或自訂格式。
比方說,如果您打算使用 COBOL 用戶端來執行最終的應用程式,最好在測試中使用 COBOL 資料,而非其他格式。相較於在 WebSphere Application Server 上執行測試,在 zRule Execution Server for z/OS 上使用自訂實務範例提供者,可提供更接近的測試結果。
- 在下列其中一個伺服器上配置 SSP:
- Rule Execution Server on WebSphere Application Server for z/OS
- zRule Execution Server for z/OS
在您測試和驗證規則之後,即可將規則部署或重新部署到 z/OS 上您所選擇的執行選項。如需相關資訊,請參閱規則執行架構。
下表概述在 z/OS 上測試規則時,您要執行的主要作業。
| 作業 | 說明 | 參照 |
|---|---|---|
| 建立測試和模擬實務,必要的話,自訂 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 |
| 測試和模擬您的規則。 |
您可以利用測試套組和模擬來測試規則,以及管理產生的報告。 |