# Test your integration

Once everything's set up, check whether it works as supposed to. There are several ways to test sending messages to your app or website subscribers.

## Preview your push notification on a test device 

Test devices are intended to preview how push notifications look on a device before sending them to the app users. To test out your push notifications, register your device (with your app installed) as a Test Device, and then use the **Test push notification** button in the [Push Preset](/product/content/presets/#preview-and-save-push-content) form.

[Learn more about setting up test devices](/developer/first-steps/test-your-integration/test-devices)


## Test a journey with a test segment

To accurately test a [journey](/product/customer-journey/pushwoosh-journey-overview/), you must first create a test Segment that includes users meeting specific conditions.

Steps to test a journey:

1. Create a **Segment** by either:
   * Uploading a CSV file with the necessary conditions. [Learn more](/product/audience-data-and-segmentation/segmentation/segments/#import-segment)
   * Assigning a unique Tag value to your test devices by calling the [`/setTags`](/developer/api-reference/device-api#settags) API method. Then, [create a segment](/developer/api-reference/segmentation-filters-api/#createfilter) using this Tag value.
2. Navigate to **Campaigns → Create Campaign → Build a journey from scratch** or use one of the pre-built customer journey templates.
3. Add the [Audience-based entry element](/product/customer-journey/journey-elements/#audience-based-entry) to the canvas and select the **Segment** you created.
4. Add a message element such as [push](/product/customer-journey/journey-elements/#push), [SMS](/product/customer-journey/journey-elements/#sms), or [email](/product/customer-journey/journey-elements/#email).
5. Select content from previously created content or create custom content.
6. Configure the remaining journey elements as needed.
7. Click **Launch Campaign** to start the test.