RestAssured.Net 4.8.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package RestAssured.Net --version 4.8.0
                    
NuGet\Install-Package RestAssured.Net -Version 4.8.0
                    
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="RestAssured.Net" Version="4.8.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="RestAssured.Net" Version="4.8.0" />
                    
Directory.Packages.props
<PackageReference Include="RestAssured.Net" />
                    
Project file
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 RestAssured.Net --version 4.8.0
                    
#r "nuget: RestAssured.Net, 4.8.0"
                    
#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 RestAssured.Net@4.8.0
                    
#: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=RestAssured.Net&version=4.8.0
                    
Install as a Cake Addin
#tool nuget:?package=RestAssured.Net&version=4.8.0
                    
Install as a Cake Tool

RestAssured.Net

github-actions-ci Nuget Nuget

RestAssured.Net brings the power of <a href="https://rest-assured.io" target="_blank">REST Assured</a> to the C# / .NET ecosystem.

With RestAssured.Net, writing tests for your HTTP APIs is as simple as

using static RestAssured.Dsl;

[Test]
public void DemonstrateRestAssuredNetEaseOfUse()
{
    Given()
    .When()
    .Get("http://api.zippopotam.us/us/90210")
    .Then()
    .StatusCode(200)
    .And()
    .Body("$.places[0].state", NHamcrest.Is.EqualTo("California"));
}

All features of the library are described and demonstrated in the RestAssured.Net Usage Guide.

Where can I get RestAssured.Net?

You can add RestAssured.Net to your project using NuGet:

dotnet add package RestAssured.Net or nuget install RestAssured.Net

RestAssured.Net is also available through GitHub Packages.

Want to contribute?

That's awesome! Before you get to work and submit a Pull Request, though, I'd appreciate you telling me a little more about your idea.

Oh, and if you find a bug, or think something is missing from RestAssured.Net, feel free to submit an issue.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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.

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
4.11.0-beta.1 223 12/17/2025
4.10.0 3,671 11/12/2025
4.9.0 1,939 10/29/2025
4.8.0 2,356 9/26/2025
4.8.0-beta.1 114 9/26/2025
4.7.1 9,738 6/13/2025
4.7.0 17,855 2/4/2025
4.7.0-beta.1 114 1/28/2025
4.6.0 12,582 12/9/2024
4.6.0-beta.1 129 12/8/2024
4.5.1 34,503 11/20/2024
4.5.0 633 11/19/2024
4.4.0 6,708 10/21/2024
4.4.0-beta.1 142 10/19/2024
4.3.1 15,490 8/22/2024
4.3.0 378 8/16/2024
4.3.0-beta.1 141 8/13/2024
4.2.2 44,791 4/23/2024
4.2.1 41,568 12/31/2023
4.2.0 2,506 11/22/2023
4.2.0-beta.4 137 11/18/2023
4.2.0-beta.3 203 11/18/2023
4.2.0-beta.2 148 11/12/2023
4.2.0-beta.1 152 11/5/2023
4.1.0 7,706 8/15/2023
4.0.0 6,006 7/11/2023
3.0.0 1,020 7/4/2023
2.8.1 8,460 5/23/2023
2.8.0 373 5/15/2023
2.7.0 491 5/10/2023
2.6.0 347 5/8/2023
2.5.0 2,742 4/3/2023
2.4.0 1,099 3/20/2023
2.3.0 523 3/2/2023
2.2.2 4,324 1/31/2023
2.2.1 2,067 1/10/2023
2.2.0 843 12/31/2022
2.1.0 639 11/30/2022
2.0.0 2,669 11/20/2022
1.2.0 584 11/17/2022
1.1.1 559 11/12/2022
1.0.0 1,524 11/3/2022