---
title: "Discussion on \"Scenario testing for REST APIs: writing user-journey tests from OpenAPI\" | Hashnode"
description: "Discussion on \"Scenario testing for REST APIs: writing user-journey tests from OpenAPI\". A folder of requests that each return 200 is not a test suite. A scenario chains requests the way a user walks the product: create, capture, poll, act, assert. Here is how to derive scenarios from an OpenAPI spec and run them against mock then staging."
url: "https://hashnode.com/posts/openapi-scenario-testing-user-journeys/6aca07c4645a621880c234f9"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Scenario testing for REST APIs: writing user-journey tests from OpenAPI](https://blogs.powerduck.com/openapi-scenario-testing-user-journeys?utm_source=hashnode&utm_medium=feed)

A folder of requests that each return 200 is not a test suite. A scenario chains requests the way a user walks the product: create, capture, poll, act, assert. Here is how to derive scenarios from an OpenAPI spec and run them against mock then staging.

Sep 14 · 6 min read · blogs.powerduck.com  
Read the article

-   [#testing](https://hashnode.com/tag/testing)
-   [#workflow](https://hashnode.com/tag/workflow)

## Written by

[Powerduck](https://hashnode.com/@powerduck)

@powerduck · hon

  
[View profile](https://hashnode.com/@powerduck)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
