Skip to main content
Version: 16.1 🔚

Pipeline Simulator

Pipeline simulator is designed for verifying pipeline rapidly. It is in frontend only, implemented in Javascript. Limited by Javascript in browser, simulator runs on single process, which is the only different with doll. Be aware of this is very important, simulator is to test and verify the pipeline logic, not concurrency.

Now let's learn about how to test pipeline, by a very simple case in simulator. Firstly, select a pipeline where your test case starts from,

Simulator Pick Pipeline

Also, test case can be started from a topic,

Simulator Pick Topic

Click Next button, pipelines related are list,

Simulator Prepare Data

Click the number button of topic, there is a dialog for topic data,

Simulator Topic Data

Data can be added row by row, or uploaded by file.

tip

Uploaded rows are appended, don't worry about the existing rows.

info

Object/Array will not be split to factor in topic data preparing, simply describe theme by using {} or [], it will be detected automatically.

Select pipelines to be tested,

Simulator Pipeline Selected

In this case, we select one pipeline. You can select any pipeline you want, the only limitation is pipeline cannot be selected when previous one is not selected.

Click Next button, now we are ready to run the test,

Simulator Ready to Test

Before run the test, click Memory Data button to view data in-memory,

Simulator Memory Data

Exactly same as we defined before, now click Play button,

Simulator Run Successfully

Everything seems OK, you can click the Memory Data button to view data in-memory,

Simulator Memory Data after Run

All date changing are list in dialog.

tip

Case data can be exported by click Export Case Data, and it can be run by CLI in your CI, we will discuss this part in Doll.

info

We highly recommend testing every pipeline by simulator before deploy them to environment.

There are more helpful features from pipeline simulator waiting for you to discover and hope enjoy as you wish.