Description of problem: When there is any kbase defined with ksession, the test scenarios failed. Test result is: "test : Test scenario runner could not find a stateful knowledge session with the name 'ksession'." No sign of troubles in the server log. The obvious workaround is to add a kbase without ksession, then test pass. Version-Release number of selected component (if applicable): BRMS 6.2 ER3 Steps to Reproduce: 1. Create a new project. Create a test scenario in this project. 2. Run the test scenario. 3. Go to Project editor, Knowledge Base Settings and add a new kbase (optionally make it default) and add ksession(optionally make it default too), save the changes. 4. Go back to the test scenario and run it again. Actual results: Step 2: Test runs fine Step 4: Test failed with message: "Test scenario runner could not find a stateful knowledge session with the name 'ksession'." Expected results: Step 2: Test runs fine Step 4: Test runs fine
I am afraid this is going to be "notabug" or "wontfix". AFAIK if there are any kbases and ksessions defined, then there has to be a single *default stateful* ksession. I am not sure if my description is precisely correct but I can't find the specification. On the other hand the failure message is rather confusing. It would be helpful if it could guide users to resolve the problem.