Integration · Test management · via REST API
When qTest Launch schedules an automated run, the Universal Agent on your Automation Host sets up the environment, runs the tests and sends results to qTest Manager. Add the Synthesized call to that agent, and every scheduled run starts on freshly masked or synthetic data.
There is no qTest connector; this pattern uses the documented REST API and the Universal Agent's documented fields.
| Where the call goes | The Universal Agent's Execute Command (or its Pre-Execute Script), before the test command. |
|---|---|
| Executors | Shell on Linux and Mac hosts, batch on Windows hosts; Node and Python are also available. |
| Results | Path to Results and Result Parser send test results to qTest Manager as usual. |
| Configuration | GOVERNOR_URL, WORKFLOW_ID and GOVERNOR_ACCESS_KEY as environment variables on the Automation Host. |
| Status | Works through the REST API. qTest isn't named in the Synthesized docs; the API calls are. |
Create the masking, subsetting or generation workflow that fills your test database, and run it once by hand.
Install curl and jq, set the three environment variables, and make sure the host can reach Governor over HTTPS.
Pull your test project in the Pre-Execute Script, and start the Execute Command with the Synthesized script, as below.
Execute the agent manually from qTest Launch to check the refresh and the test results, then schedule it as usual.
For a Linux or Mac host with the shell executor. The test command is an example; keep your own.
Pre-Execute Script
Execute Command
scripts/run-synthesized-workflow.sh
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 Universal Agent on your qTest Automation Host runs the REST API call before the tests, so it works wherever the host can reach Governor over HTTPS.
At the start of the Execute Command, joined to the test command with &&, so the tests run only if the refresh succeeded. The Pre-Execute Script works too; check in a debug run how your Automation Host version handles a failing pre-execute script.
Use the batch executor and call a PowerShell script with Invoke-RestMethod; the calls are the same.
No. qTest Manager receives test results from the agent. The data stays in your test database, written by Synthesized workers.
Use the Tricentis Tosca integration for Tosca execution, and this pattern for other frameworks scheduled through qTest Launch.
Bring one qTest-scheduled suite that waits on test data, and see Synthesized refresh it before the run.
Tricentis, Tosca and qTest are trademarks of Tricentis. All other product names are trademarks of their respective owners.