Skip to main content

Preview Workbench

Preview runs the draft of a workflow on real source data, without changing production. Use it while you build, to see what each job produces before you publish. Preview results stay in the workflow editor: they never appear in runs, in monitoring, or in reports.

For a first walk-through with pictures, follow Tutorial: build a pipeline from scratch.

An Extract job after a Preview. The response of the request is in the panel at the bottom.
An Extract job after a Preview. The response of the request is in the panel at the bottom.

Start a Preview​

Where you start decides what runs:

Where you startWhat runs
Preview in the toolbar of a job editorThat job and the jobs it depends on
Preview on the Build canvasEvery enabled branch of the workflow
The play icon on a request in an Extract jobThat request and the earlier requests it needs

In an Extract job, Preview asks "Run the complete Extractor?". Select Confirm and run. Each request then shows its own result, for example 200 OK · CSV · 549 items.

Good to know:

  • Preview saves your pending edits first.
  • You can Preview a workflow that was never published.
  • Opening a job editor never starts a Preview. It shows the latest result.
  • An incomplete job in another branch does not block you. It blocks only a Preview that includes it, so a Preview of the whole workflow needs a complete workflow.
  • An Extract job needs at least one valid request. A disabled job cannot be previewed.
  • You can Preview several requests at the same time, but not the same request twice. The Preview of the whole Extract job is unavailable until they finish.
  • While a Preview runs, the button and the result show Preview running. To cancel, select Preview again. Requests that already finished keep their result, and the others are marked as canceled.

Choose a mode​

Open the menu of the Preview button to choose the mode.

ModeWhat it does
SampleGives a quick, limited result. Each request fetches at most two pages and runs the first five variants of a matrix
Full validationRuns over every page and the complete matrix of the selected inputs, within the Preview limits

A Preview keeps at most 10,000 rows and 16 MiB for each Load, Transform, or Charge job. When the output reaches that limit, the Preview keeps the rows that fit and marks the result as incomplete. This is not a failure. Later jobs compute on the rows that were kept.

So a Preview proves the structure: the fields, the types, the joins, the checks of a Transform job, and that data flows through every step. It does not prove totals. Check the totals after the first production run.

In Sample mode, Preview limit reached · more source pages exist on a request is a successful result: the source has more pages than the sample fetched.

Set Preview inputs​

A Preview normally uses the input values that a run would use. To preview with other values, for example a fixed billing month:

  1. Open the menu of the Preview button and select Preview inputs. You can also open Inputs and select Set Preview inputs.
  2. Enter the values. An input that you leave empty keeps its usual value. For a secret input, enter the name of a secret, never the secret itself.
  3. Select Save inputs.

Saved Preview inputs belong to the workflow:

  • Every Preview of the workflow uses them, for every owner, until someone changes them or selects Clear saved. The last save wins.
  • They do not change production runs.
  • The Preview button shows how many saved inputs apply.
  • When they cannot be loaded, Preview does not start.
  • An agent can save them too. The panel then shows the purpose that the agent gave.

For input types and the order in which values apply, see Inputs and parameters.

Say what a request does​

A Preview calls your real source. Before it runs a request, Hypermeter must know whether the request can change data in the source. It does not guess this from the HTTP method. When a request has no answer yet, Preview asks you:

ChoiceWhat happens
Reads or exports dataHypermeter saves the choice and starts the Preview
May change source dataHypermeter saves the choice and does not call the source. Preview never runs such a request against a live source
I am not sureThe request stays Effect unknown. Each live Preview that includes it asks you to confirm first

When a Preview includes a request that is not known as read-only, Hypermeter asks Run live Preview?. The dialog names the requests and says who stands behind each one, for example Confirmed by an owner, Changed by a delegate, not confirmed, or Unknown effect. Select Confirm and run to run the Extract job once.

An agent can also mark a request as read-only for Preview. The timeline of its Task then shows the request, with the rationale and the evidence that the agent gave. See Approve what your agent asks for.

Read the result​

The Data panel at the bottom of the job editor shows the result. Use the controls of the panel to maximize or hide it.

JobTabsWhat you see
Extract jobBody, HeadersThe response of one request. Select Response sample on a request, or use the request picker of the panel, to switch to another request
Load jobResponse, OutputResponse shows the data of an Extract request, so that you can map it. Output shows the loaded rows. See Preview the Loader
Transform jobSources, OutputSources shows the tables that the job can read. Output shows the transformed rows
Charge jobSources, OutputOutput shows the charged result and the dimension tables, also when no cube is connected

A Transform or Charge job that never produced output opens on Sources.

Tables​

Select a table to see sample rows with all columns. The panel always shows a sample, also after Full validation.

What you seeWhat it means
A line such as 8 columns · 10 of 200 rows · Captured 14:06The number of columns, the rows in the sample, and the time of the Preview. Point at the line to see More rows available
Primary or Stable key on a columnThe column is part of the key
nullable on a columnThe column allows empty values
Start, End, Dimension, or Measure on a columnHow a Charge job uses that column of its fact table
Current productionThe table comes from production, not from a Preview
A note that the result is from an earlier versionYou changed the draft after that Preview. Select Preview to see your latest changes

After a failed Preview, Output does not go back to an older table. Sources still offers the earlier results of the jobs before this one.

Responses of an Extract job​

  • The body is limited in size. Nested objects and arrays stay collapsed until you select them.
  • The summary shows the status, the time taken, the retries, and the pages, when these are known.
  • When a request produced more than one response, choose one with the Page selector.
  • Headers shows an approved selection of the response headers. Sensitive values are hidden, and you cannot copy them.
  • A signed link in a body, such as an Azure blob link with a SAS signature, shows with its signature masked (sig=******). The workflow still uses the real link.
  • Copy body copies the body. The menu of a value offers Copy value and Copy path.
  • A request shows a sample also when Load is turned off for it.
  • A request that you add after a Preview of the whole Extract job shows No response sample until you Preview it.
  • While a new Preview runs, the earlier response stays on screen until the new one is ready.

To use a value of a response in another request, or to set up pagination from it, see Extractors.

When a Preview fails​

What you seeWhat it meansWhat to do
A warning icon on PreviewThe Preview failed or is incompleteSelect Preview to read the explanation. Expand Diagnostics for field errors and technical details. Select Retry Preview to try again, or Dismiss to close the notice
Open with the name of another jobA job before this one failed, so this job did not runOpen that job and correct it
Open SQL errorThe SQL of a Transform job has an errorSelect it to go to the error
Incomplete on a requestA setting of the request is missing or wrong. The tooltip names the section and the fieldCorrect that field
A request that is blockedAn earlier request that it needs failedCorrect the failed request first
A blocked Preview that names a request and a fieldPreview does not start with a blank or invalid URL, an incomplete output selector, or a matrix above the Preview limitCorrect the field and select Preview again
The source refused the request, with an HTTP status such as 400, 404, 412, or 422The source did not accept the requestRead the response of the source on the request card. It says what to change
The result says that execution stoppedThe Preview stopped before the request finishedSelect Run Preview again. Hypermeter can reuse the results that completed
Preview could not start because the server response had an unexpected format.No Preview startedTry again later. If it continues, give support the technical details from the message. They contain none of your values or data
A message that the workflow runtime needs an updateThe cause is not in your settingsAsk your administrator. Keep your Load settings as they are
An error in place of a completed resultHypermeter could not read the resultSelect Preview with the warning icon, then Retry loading result. This does not run the jobs again
An expired resultThe result passed its retention periodStart a new Preview

A Preview can fail after some jobs succeeded. Tables from earlier jobs do not mean that the selected job produced output.

Failure details are safe to share. Hypermeter removes secret values before it stores a response of the source, and shows the response only when that worked. Copy error details and Copy redacted response copy only what you see. For a database or storage source, the message names the kind of failure, such as connection, authentication, permission, query, timeout, or a missing object. It never shows SQL, credentials, or paths.

For failures of production runs, see Troubleshooting run failures.

Where a Preview gets its data​

The Preview of one job needs the results of the jobs before it. Hypermeter takes them from an earlier Preview that still fits the draft, or runs those jobs again in the same Preview.

  • An Extract job that is part of a Preview always calls its source.
  • An earlier result stays usable as long as the requests and inputs that the job reads are unchanged. The result of a Preview of the whole workflow also counts for the Preview of one job.
  • A result of a Preview goes before a production table with the same data.
  • An incomplete result can be the source of another Preview, so a new test does not download the data again.
  • Jobs that use the same template keep separate results.

Preview workflows that read each other​

A workflow can read a table that another workflow has not written to production yet. Preview the other workflow first. The Preview of the reading workflow then uses the rows that the first Preview kept, so you can follow the same data through both. To publish and run the reading workflow, the table must exist in production.

Preview history and retention​

Hypermeter keeps the latest successful Preview result of each job for seven days. After that, the job shows as if it was never previewed, and you start a new Preview.

To see the results or keep one longer, open the ⋮ menu of a job and select Preview history. The table lists the results by job, the current job first, with the time, the rows, the size, and how long each result is kept. An incomplete sample is marked. You can search for a job name and filter by job kind, result, or retention.

To...Do this
Keep a resultSelect the pin at the end of its row in Preview history, or the pin beside a table or an Extract response in the Data panel. A filled pin marks a result that you keep
Stop keeping itSelect the pin again. The result follows the normal retention again, so an older result can expire soon after

Pins count toward a quota of the organization, and the table says when the quota is reached. The automatic seven days are not a pin, so you cannot remove them. Production tables have no pin.

Compare a result with production​

When a table has a Preview result and also rows in production, the Data panel shows a switch beside the name of the table, for example on the Sources tab of a Charge job.

The Sources tab of a Charge job. The switch beside the table name shows the Preview result or the production table.
The Sources tab of a Charge job. The switch beside the table name shows the Preview result or the production table.
SelectTo see
PreviewThe rows that the latest Preview kept, with the time of the Preview, such as Captured 15:13
ProductionThe rows that are in production now. The line above the rows starts with Current production and shows when Hypermeter read the table, such as Observed 11:56

Each side shows its own columns, number of rows, and a sample of the rows. Switch between the two to compare them.

If you see Table sample unavailable, select Retry result.

See Production data.