Process Testing

Run a Process Test using a configured scenario that tests workflow using mock Request data without affecting production instances or logs of that Process.

What is Process Testing?

Test your processes easily and safely before publishing to ensure proper functionality. The process testing feature provides the following benefits:

  • Automate testing: Eliminate manual, repetitive testing and automate multiple tests runs against a series of test data. Tasks in each test are completed automatically and validation requirements within Screens for Form Task are ignored.

  • Reduce time to delivery: Greatly accelerate the time to design and deliver sophisticated, complex Processes to production.

  • Increase the quality of solution delivery: Automate multiple test runs with different sets of test data. Rapidly evaluate, identify, and debug specific behaviors in the business solution.

  • Test without starting Requests: Process Testing mocks Requests using mock Request data. Therefore, Process Testing does not trigger log events nor affect Save Search results.

  • Specify the scope of the Process Test: You have the flexibility to either run processes from start to finish, or begin and conclude testing from a midway point, based on your specific testing requirements

Test runs of a process do not count towards application counters and metrics. This ensures that your testing activities won't skew or impact the data you rely on for system analytics.

Running a Process Test is a two step procedure:

  1. Create a Scenario to use for the test.

What is a Process Scenario?

A Process Scenario contains the scope of a Process Test run using mock Request data. Create Scenarios from that Process's configuration, and then run them from the Process model in Process Modeler.

Process Testing can automate multiple runs against a series of test data in the Scenario. Tasks in each test automatically simulate completion using the mock Request data.

Scenarios can be created from current requests and test with real-time data.

View Scenarios for a Process

ProcessMaker Platform displays all saved Scenarios for a Process. See What is Process Testing? for more information about how Scenarios work in Process Testing.

Permissions

Your user account or group membership must have the following permissions to view Scenarios for a Process unless your user account has the Make this user a Super Admin setting selected:

  • Processes: Edit Processes

  • Processes: View Processes

See the Processes permissions or ask your Administrator for assistance.

Follow these steps to view all Scenarios for a Process:

  1. Configure general settings for the Process. The Configuration tab displays.

  2. Click the Scenarios tab. Testing Scenarios display.

The Scenarios tab displays the following information in tabular format for the selected Process:

  • Name: The Name column displays the Scenario name for the Process.

  • Description: The Description column displays the Scenario description.

  • Created: The Created column displays the date and time the Scenario was created. The time zone setting to display the time is according to the ProcessMaker Platform instance unless your user profile's Time zone setting is specified.

  • Modified: The Modified column displays the date and time the Scenario was last modified. The time zone setting to display the time is according to the ProcessMaker Platform instance unless your user profile's Time zone setting is specified.

View Tests for a Process

ProcessMaker Platform displays all Process Tests for completed and in-progress test runs.

Permissions

Your user account or group membership must have the following permissions to view Tests for a Process unless your user account has the Make this user a Super Admin setting selected:

  • Processes: Edit Processes

  • Processes: View Processes

See the Processes permissions or ask your Administrator for assistance.

Follow these steps to view all Tests for a Process:

  1. Configure general settings for the Process. The Configuration tab displays.

  2. Click the Test Run/Scenarios tab, and then select the Test Run tab.

The Test Run tab displays the following information in tabular format for the selected Process:

  • Test #: The Test # column displays the test number.

  • Status: The Status column displays if the test is active, canceled, or completed.

  • Created: The Created column displays the date and time when the test was created. The time zone setting to display the time is according to the ProcessMaker Platform instance unless your user profile's Time zone setting is specified.

  • Completed: The Completed column displays the date and time the test was completed. The time zone setting to display the time is according to the ProcessMaker Platform instance unless your user profile's Time zone setting is specified.

Last updated

© Copyright 2000-2024 ProcessMaker Inc. All rights reserved.