QaaS.Mocker
2.0.0-alpha.11
This is a prerelease version of QaaS.Mocker.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package QaaS.Mocker --version 2.0.0-alpha.11
NuGet\Install-Package QaaS.Mocker -Version 2.0.0-alpha.11
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="QaaS.Mocker" Version="2.0.0-alpha.11" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="QaaS.Mocker" Version="2.0.0-alpha.11" />
<PackageReference Include="QaaS.Mocker" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add QaaS.Mocker --version 2.0.0-alpha.11
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: QaaS.Mocker, 2.0.0-alpha.11"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package QaaS.Mocker@2.0.0-alpha.11
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=QaaS.Mocker&version=2.0.0-alpha.11&prerelease
#tool nuget:?package=QaaS.Mocker&version=2.0.0-alpha.11&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
QaaS.Mocker
Configurable mock runtime for QaaS protocol workloads.
Contents
Overview
This repository contains one solution: QaaS.Mocker.sln.
QaaS.Mocker is published as a single NuGet package and composes internal runtime modules for stubs, protocol servers, and optional Redis controller operations.
Packages
| Package | Latest Version | Total Downloads |
|---|---|---|
| QaaS.Mocker |
Functionalities
QaaS.Mocker
- Parses CLI options and loads YAML configuration with overwrite files/arguments and optional environment resolution.
- Builds and validates execution context, data sources, stubs, server runtime, and optional controller runtime.
- Supports execution modes:
Run,Lint, andTemplate.
QaaS.Mocker.Stubs
- Builds transaction stubs from configured processors and data source bindings.
- Executes request/response transformation through configurable serializer/deserializer pairs.
- Includes default status-code stubs for not-found and internal-error flows.
QaaS.Mocker.Servers
- Hosts protocol runtimes for
HTTP/HTTPS,gRPC/gRPCs, andSocket. - Routes actions/RPC methods to transaction stubs through state objects.
- Caches input/output payloads for controller consume operations.
QaaS.Mocker.Controller
- Initializes optional Redis-backed runtime controller when configured.
- Handles
PingandCommandchannels. - Supports runtime commands such as action-to-stub switch, trigger, and consume.
QaaS.Mocker.Example
- Provides runnable HTTP and gRPC mocker configurations, sample processors, protobuf schema, and sample data assets.
Protocol Support
Supported protocol/runtime families in QaaS.Mocker:
| Family | Implementations |
|---|---|
| HTTP / RPC | HTTP, HTTPS, gRPC, gRPCs |
| Streaming / Socket | Socket (broadcast and collect modes) |
| Runtime Control | Redis-backed controller channels (ping and command) |
Quick Start
Install package:
dotnet add package QaaS.Mocker
Upgrade package:
dotnet add package QaaS.Mocker --version <target-version>
dotnet restore
Build and Test
dotnet restore QaaS.Mocker.sln
dotnet build QaaS.Mocker.sln -c Release --no-restore
dotnet test QaaS.Mocker.sln -c Release --no-build
Documentation
- Official docs: thesmoketeam.github.io/qaas-docs
- CI workflow:
.github/workflows/ci.yml - NuGet package: QaaS.Mocker on NuGet
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- CommandLineParser (>= 2.9.1)
- QaaS.Framework.Executions (>= 1.1.1-alpha.3)
- QaaS.Mocker.Controller (>= 2.0.0-alpha.11)
- QaaS.Mocker.Servers (>= 2.0.0-alpha.11)
- System.IO.Abstractions (>= 22.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.2.2 | 78 | 4/15/2026 |
| 2.2.1 | 93 | 4/13/2026 |
| 2.2.0 | 97 | 3/31/2026 |
| 2.1.1 | 151 | 3/28/2026 |
| 2.1.0 | 90 | 3/25/2026 |
| 2.0.6 | 107 | 3/23/2026 |
| 2.0.6-alpha.1 | 42 | 3/22/2026 |
| 2.0.5 | 135 | 3/21/2026 |
| 2.0.5-alpha.4 | 37 | 3/22/2026 |
| 2.0.5-alpha.3 | 40 | 3/21/2026 |
| 2.0.5-alpha.1 | 41 | 3/21/2026 |
| 2.0.4 | 89 | 3/21/2026 |
| 2.0.3 | 86 | 3/17/2026 |
| 2.0.2 | 80 | 3/17/2026 |
| 2.0.1 | 91 | 3/16/2026 |
| 2.0.0 | 89 | 3/16/2026 |
| 2.0.0-alpha.12 | 46 | 3/15/2026 |
| 2.0.0-alpha.11 | 44 | 3/15/2026 |
| 2.0.0-alpha.7 | 50 | 3/11/2026 |
| 2.0.0-alpha.6 | 41 | 3/6/2026 |
Loading failed