Hello Azim,
the error you had means that the server defined in the test suite can not be reached in order to run the test suite.
Either the server set in the test suite does not have a correct settings
or the DecisionRunner app is not working or not properly deployed
Some explanation : in order to run "test and simulations", Decision center forwards run requests to a web server where Decision Runner is deployed along with RES console web app.
If using the sample Server, then DecisionCenter, DecisionRunner and the RES console are deployed on the same Liberty server.
There error you had means that
- DecisionRunner is not running
OR
- the configuration of a TestingAndSimulation server is not correctly set in Decision center.
OR
the TestSuite is not using the correct TestingAndSimulation server
To conduct verification, you need to
- log in login as rtsAdmin in Decision Center
- go to the Administration tab
- go to the Servers section
- in the server list , verify that you have a "Testing and simulation" usage server defined.
If there is not such server, you need to create one, pointing to Decision Runner with the RES server login/password.
- Over the server in the list with the mouse pointer, to show action buttons, then use the server testing button.
If the result is OK, then you need to edit the test suite and make sure to explicitly select the validated "Testing and simulation" server .
If the result is not OK, then edit the server and verify the DecisionRunner URL, and credentials used are correct, and that the DecsionRunner application is deployed correctly
Please let us know if this helps.
------------------------------
Best regards,
Francois Gadrat
------------------------------
Original Message:
Sent: Sat November 28, 2020 11:38 PM
From: Azim MNasir
Subject: Error in Testing Scenario File
Hi there, is there any sources I can refer to understand the error details produced when testing a scenario file of decision model services in decision center?
I have been following step by step the tutorial on decision model services from the following link:
Getting started with decision modeling (Step 5 Testing and Deploying):
https://www.ibm.com/support/knowledgecenter/SSQP76_8.10.x/com.ibm.odm.dcenter.tutorials/tutorials_topics/tut_dc_mod_deploy_lsn.html
When I want to test a scenario file, there are errors produced and result in my testing does not work.
The error produced are:
An error has occurred in preparing the test suite for execution. Contact your administrator.
ilog.rules.teamserver.model.IlrTestingException: Error occurred while starting the job
at ilog.rules.teamserver.ejb.service.validation.IlrTestSuiteService.asynchronousPrepare(IlrTestSuiteService.java:257)
at ilog.rules.teamserver.ejb.service.validation.PrepareArchiveThreadService$1.run(PrepareArchiveThreadService.java:114)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:522)
at java.util.concurrent.FutureTask.run(FutureTask.java:277)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1160)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.lang.Thread.run(Thread.java:818)
Caused by: com.ibm.rules.cdi.client.ClientScenarioSuiteException: Error occurred while starting the job
at com.ibm.rules.cdi.client.CDIClient$CDIHttpClient.executeHttpMethod(CDIClient.java:370)
at com.ibm.rules.cdi.client.CDIClient$CDIHttpClient.invokePostMethod(CDIClient.java:429)
at com.ibm.rules.cdi.client.CDIClient$CDIHttpClient.invokeJobMethod(CDIClient.java:257)
at com.ibm.rules.cdi.client.CDIClient.startJob(CDIClient.java:471)
at ilog.rules.teamserver.ejb.service.validation.IlrTestSuiteService.asynchronousPrepare(IlrTestSuiteService.java:225)
... 6 more
Need help to understand these errors and how to fixed it.
Thank you.
------------------------------
Azim MNasir
------------------------------