Integration · Test automation · via REST API
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.
There's no Worksoft plugin to install: the pipeline that starts your Certify suite calls the Synthesized REST API first.
| Where the call goes | A pipeline stage before the one that runs the Certify suite, in Jenkins, Azure DevOps, GitLab or any CI server. |
|---|---|
| Running Certify | Worksoft'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 run | Certify processes run on your CTM agents, as before. The data stage needs only curl, jq and HTTPS access to Governor. |
| SAP data | Synthesized connects to SAP S/4HANA and ECC through OData services or directly to SAP HANA. |
Create the masking, subsetting or generation workflow for the systems your Certify processes touch, and run it once by hand. Note its workflow ID.
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.
Add run-synthesized-workflow.sh to the repository. It exits non-zero if the run fails, which stops the pipeline before CTM starts.
Prepare the test data first, then run the CTM suite, as in the Jenkinsfile below.
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
scripts/run-synthesized-workflow.sh
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.
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.
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.
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.
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.
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.
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.
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.
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.
Bring one Certify suite that waits on SAP test data, and see Synthesized refresh it before the run.
Worksoft and Worksoft Certify are trademarks of Worksoft, Inc. All other product names are trademarks of their respective owners.