Skip to content

scenarigo

scenarigo is a scenario-based API testing tool with gRPC and HTTP support. It offers a Go plugin system and JUnit XML report generation.

Installation

bash
go install github.com/scenarigo/scenarigo/cmd/scenarigo@latest

Example: gRPC Test

yaml
title: Greeter gRPC test
steps:
  - title: SayHello
    protocol: grpc
    request:
      method: greeter.v1.GreeterService/SayHello
      body:
        name: Alice
    expect:
      code: OK
      body:
        message: "Hello, Alice!"

Example: HTTP Test

yaml
title: Greeter HTTP test
steps:
  - title: SayHello via ConnectRPC
    protocol: http
    request:
      method: POST
      url: "http://localhost:5000/greeter.v1.GreeterService/SayHello"
      header:
        Content-Type: application/json
      body:
        name: Bob
    expect:
      code: OK
      body:
        message: "Hello, Bob!"

Key Differences: runn vs scenarigo

Featurerunnscenarigo
InstallationSingle binary (brew, aqua, Docker)Go install or binary
gRPC reflectionBuilt-inRequires proto files
Assertionsexpr-lang expressionsTemplate-based + assert functions
StreamingClient + server streamingLimited
Plugin systemNoGo plugins
ReportsText outputJUnit XML, JSON
DockerOfficial imageNo
Database testingBuilt-inVia plugins