Skip to main content

Simulate calls to data page and connector rule types when unit testing (8.4)

Suggest edit Updated on May 3, 2021

You can now configure your test environment to use simulated data for testing connector and data page rules.

Create tests that are independent of third-party connections

If you want to test a rule that makes a call to an external database, your test is dependent on that database's availability.

To avoid this dependency, you can now configure the rules that you want to test to use simulated data, instead of making actual connections to external data sources. By simulating data, you are not dependent on any third party when running your tests.

Simulating connections to data pages and third parties
Simulating connections to data pages and third parties

Connector and data page rule types

You can set up simulated data for the following rule types:

  • Data page
  • Connect-Cassandra
  • Connect-CMIS
  • Connect-dotNet
  • Connect-EJB
  • Connect-HBase
  • Connect-HTTP
  • Connect-Java
  • Connect-JMS
  • Connect-MQ
  • Connect-REST
  • Connect-SAP
  • Connect-SAPJCo
  • Connect-SOAP

For more information about simulating connections to data pages and third-parties, see Simulating data pages and third-party connections.

  • Previous topic Monitor branch quality with the new branch quality dashboard (8.4)
  • Next topic Troubleshoot pipelines in Deployment Manager with improved diagnostics (8.3)
Did you find this content helpful? YesNo

100% found this useful

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us