Using Stateless KieSession in Test Scenario ends up in error

Solution Verified - Updated -

Issue

When any test case is run from business central, following error can be observed:

TestCustScenario : Test scenario runner could not find a stateful knowledge session with the name 'defaultSession'.

Why is it looking for a STATEFUL session when there is a DEFAULT stateless session?

Environment

  • Red Hat JBoss BRMS
    • 6.2.0
  • Red Hat JBoss BPM Suite
    • 6.2.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content