# Testing a Value Stream

When you create or edit a value stream, you have two possibilities as the next actions: test or publish.

* **Test** - allows you to test the draft version of the process, which means all the triggers and steps that you constructed in the value stream can be checked before you publish them
* **Publish** - creates a production version of the value stream

To test the value stream before publishing, choose the **Test** button.

<figure><img src="/files/1Lmar2lse3oU2SRQUfEo" alt="" width="553"><figcaption></figcaption></figure>

You can test the value stream in two ways:

* Copy the curl request sample - you can use it for sending a request and checking if it starts the process (for instance in Postman)

  <figure><img src="/files/JL63T6gyUq5MapYhRuv7" alt=""><figcaption></figcaption></figure>
* Test directly in the UI - when the process is not published yet, you can test it directly from the UI, using the exiting payload example or adding your own. If it's successful, you get the notification in the same window.

  <figure><img src="/files/0wl61x2uzARSuc4OgrCi" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developer.emporix.io/oe/value-streams/working-with-value-streams/testing-value-stream.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
