Integration · Test automation · via REST API

Masked and synthetic test data for Worksoft Certify

Certify tests end-to-end business processes in SAP and other enterprise applications, so every run needs the right master and transaction data in the test system. Add a stage to the pipeline that starts your Certify suite: it runs a Synthesized workflow through the REST API, waits for the data, and only then asks Continuous Testing Manager to run the processes.

Worksoft Certify and Synthesized at a glance

There's no Worksoft plugin to install: the pipeline that starts your Certify suite calls the Synthesized REST API first.

Where the call goesA pipeline stage before the one that runs the Certify suite, in Jenkins, Azure DevOps, GitLab or any CI server.
Running CertifyWorksoft's Continuous Testing Manager plugin for Jenkins runs a predefined CTM suite with the execMan step. CTM also has a REST API, and Certify.exe runs a single process from the command line.
Where tests runCertify processes run on your CTM agents, as before. The data stage needs only curl, jq and HTTPS access to Governor.
SAP dataSynthesized connects to SAP S/4HANA and ECC through OData services or directly to SAP HANA.

Set it up

1. Build the workflow in Governor

Create the masking, subsetting or generation workflow for the systems your Certify processes touch, and run it once by hand. Note its workflow ID.

2. Add the credentials

Store an access key for a dedicated Governor user in Jenkins as a Secret text credential, for example synthesized-access-key. Set the CTM plugin's Portal URL and credentials under Manage Jenkins.

3. Commit the script

Add run-synthesized-workflow.sh to the repository. It exits non-zero if the run fails, which stops the pipeline before CTM starts.

4. Add the stages

Prepare the test data first, then run the CTM suite, as in the Jenkinsfile below.

Example Jenkinsfile

A declarative pipeline: refresh the data, then run a predefined CTM suite with Worksoft's Continuous Testing Manager plugin, which lists suites as Tenant / Suite. Replace the Governor URL, workflow ID and suite name with your own.

Jenkinsfile

pipeline {
agent any
options { disableConcurrentBuilds() }
environment {
GOVERNOR_URL = 'https://governor.example.internal'
WORKFLOW_ID = '42'
}
stages {
stage('Prepare test data') {
steps {
withCredentials([string(credentialsId: 'synthesized-access-key', variable: 'GOVERNOR_ACCESS_KEY')]) {
sh 'sh ./scripts/run-synthesized-workflow.sh'
}
}
}
stage('Run Certify suite') {
steps {
execMan(
requestType: 'request',
request: [name: 'SAP QA / Order to cash regression'],
waitConfig: [pollInterval: '60', maxRunTime: '7200']
)
}
}
}
}

scripts/run-synthesized-workflow.sh

#!/bin/sh
# run-synthesized-workflow.sh: start a Synthesized workflow and wait for it.
# Needs GOVERNOR_URL, WORKFLOW_ID and GOVERNOR_ACCESS_KEY; uses curl and jq.
set -eu
API="$GOVERNOR_URL/external/api/v1"
AUTH="X-Access-Key: $GOVERNOR_ACCESS_KEY"
TIMEOUT_SEC="${TIMEOUT_SEC:-1800}"
 
RUN=$(curl -sSf -X POST -H "$AUTH" "$API/workflow/$WORKFLOW_ID/run")
RUN_ID=$(printf '%s' "$RUN" | jq -r '.workflow_run_id')
echo "Started workflow run $RUN_ID"
 
WAITED=0
while [ "$WAITED" -lt "$TIMEOUT_SEC" ]; do
RUN=$(curl -sSf -H "$AUTH" "$API/workflow-run/$RUN_ID")
STATUS=$(printf '%s' "$RUN" | jq -r '.workflow_run_status')
case "$STATUS" in
COMPLETED) echo "Test data ready"; exit 0 ;;
FAILED|STOPPED)
echo "Run $RUN_ID ended as $STATUS: $(printf '%s' "$RUN" | jq -r '.error_message')"
curl -sS -H "$AUTH" "$API/workflow-run/$RUN_ID/logs" | tail -n 50
exit 1 ;;
esac
sleep 10
WAITED=$((WAITED + 10))
done
echo "Timed out after $TIMEOUT_SEC seconds; stopping workflow $WORKFLOW_ID"
curl -sS -X POST -H "$AUTH" "$API/workflow/$WORKFLOW_ID/stop" || true
exit 1

The plugin writes the suite result to execMan-result.json in the workspace. Without CTM, a Windows agent can run one process with Certify.exe and its /project and /process parameters once the data stage has passed.

Things to know

Use a dedicated key

An access key carries the permissions of the Governor user who generated it. Create a user that can reach only the workflows this pipeline runs, generate the key as that user, and give it a short expiry: keys are chosen from 1 hour to a year, and the docs say they can't yet be revoked.

One output database per environment

Two runs can't write to the same output database at the same time. If parallel pipelines or branches need data, give each environment its own workflow or output database.

Where the data goes

Workers read the source, mask, subset or generate, and write the target. Database contents stay with the workers and aren't sent to Governor, which, like the pipeline, only sees run status, logs and configuration. Run Synthesized on-premises, including air-gapped, and the data never leaves your environment; it is also available as SaaS.

Questions about Worksoft Certify and Synthesized

Is there a Worksoft plugin for Synthesized?

No. The pipeline that starts your Certify suite calls the Synthesized REST API first, so it works with any CI server that can reach your Governor over HTTPS. Worksoft's own Jenkins plugin, the CTM REST API or Certify.exe then runs the tests as usual.

Does it cover SAP?

Yes. Synthesized connects to SAP S/4HANA and ECC through OData services or directly to SAP HANA, so Certify's SAP processes can run on masked or generated SAP data.

Can we keep our Certify recordsets?

Yes. Recordsets still supply the inputs for each process. If they name specific records, such as customer or material numbers, check that the refreshed data contains them.

What if suites run on a CTM schedule, not from a pipeline?

Schedule the pipeline instead, so the refresh always runs first. Or run the refresh on its own schedule, timed to finish before the CTM schedule starts.

Our Jenkins agents run Windows. Does that matter?

No. Use a PowerShell step with Invoke-RestMethod instead of the shell script; the calls are the same. The Certify processes still run on your CTM agents.

Try it on one Certify suite

Bring one Certify suite that waits on SAP test data, and see Synthesized refresh it before the run.

Updated November 2026

Worksoft and Worksoft Certify are trademarks of Worksoft, Inc. All other product names are trademarks of their respective owners.