VOOZH about

URL: https://www.nuget.org/packages/TestAny.Essentials.Api.Lite/

⇱ NuGet Gallery | TestAny.Essentials.Api.Lite 2.0.6




👁 Image
TestAny.Essentials.Api.Lite 2.0.6

dotnet add package TestAny.Essentials.Api.Lite --version 2.0.6
 
 
NuGet\Install-Package TestAny.Essentials.Api.Lite -Version 2.0.6
 
 
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="TestAny.Essentials.Api.Lite" Version="2.0.6" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TestAny.Essentials.Api.Lite" Version="2.0.6" />
 
Directory.Packages.props
<PackageReference Include="TestAny.Essentials.Api.Lite" />
 
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 TestAny.Essentials.Api.Lite --version 2.0.6
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: TestAny.Essentials.Api.Lite, 2.0.6"
 
 
#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 TestAny.Essentials.Api.Lite@2.0.6
 
 
#: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=TestAny.Essentials.Api.Lite&version=2.0.6
 
Install as a Cake Addin
#tool nuget:?package=TestAny.Essentials.Api.Lite&version=2.0.6
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Lightweight API testing framework with essential features for simple integration tests. A streamlined version of TestAny.Essentials.Api focused on core functionality with minimal dependencies.

Overview
TestAny.Essentials.Api.Lite is a lightweight version of the full API testing framework, designed for projects that need basic API testing capabilities without the overhead of advanced features. It provides the core functionality for making HTTP requests and validating responses in a simple, easy-to-use package.

Key Features:
- Lightweight Design: Minimal dependencies and reduced footprint
- Core HTTP Operations: Support for GET, POST, PUT, DELETE, and PATCH requests
- Fluent API: Clean, readable syntax for building API tests
- Response Validation: Basic response handling and content validation
- Simple Configuration: Easy setup with minimal configuration requirements
- Essential Extensions: Core extension methods for common operations

What's Included:
- Basic HTTP client functionality
- Request/response handling
- Core validation methods
- Essential extension methods
- Simple configuration options

What's NOT Included (compared to full Api package):
- Advanced retry mechanisms
- Complex authentication options
- Extensive middleware support
- Advanced logging and monitoring
- Excel data integration (available in Extensions package)
- Complex proxy and certificate handling

Ideal For:
- Simple integration tests
- Lightweight testing scenarios
- Projects with minimal API testing requirements
- Quick prototyping and proof-of-concepts
- Environments where minimal dependencies are preferred

Example:
   return new TestApiHttp()
               .SetEnvironment("http://api.openweathermap.org/")
               .PrepareRequest("/data/2.5/forecast")
               .Get()
               .ResponseBody
               .ContentJson;

For advanced features like Excel data transformation, retry mechanisms, and complex authentication, consider using TestAny.Essentials.Api with TestAny.Essentials.Api.Extensions.

Product Versions Compatible and additional computed target framework versions.
.NET net5.0 net5.0 was computed.  net5.0-windows net5.0-windows was computed.  net6.0 net6.0 was computed.  net6.0-android net6.0-android was computed.  net6.0-ios net6.0-ios was computed.  net6.0-maccatalyst net6.0-maccatalyst was computed.  net6.0-macos net6.0-macos was computed.  net6.0-tvos net6.0-tvos was computed.  net6.0-windows net6.0-windows was computed.  net7.0 net7.0 was computed.  net7.0-android net7.0-android was computed.  net7.0-ios net7.0-ios was computed.  net7.0-maccatalyst net7.0-maccatalyst was computed.  net7.0-macos net7.0-macos was computed.  net7.0-tvos net7.0-tvos was computed.  net7.0-windows net7.0-windows was computed.  net8.0 net8.0 was computed.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net9.0 net9.0 was computed.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 was computed.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed. 
.NET Core netcoreapp2.0 netcoreapp2.0 was computed.  netcoreapp2.1 netcoreapp2.1 was computed.  netcoreapp2.2 netcoreapp2.2 was computed.  netcoreapp3.0 netcoreapp3.0 was computed.  netcoreapp3.1 netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 netstandard2.0 is compatible.  netstandard2.1 netstandard2.1 was computed. 
.NET Framework net461 net461 was computed.  net462 net462 was computed.  net463 net463 was computed.  net47 net47 was computed.  net471 net471 was computed.  net472 net472 was computed.  net48 net48 was computed.  net481 net481 was computed. 
MonoAndroid monoandroid monoandroid was computed. 
MonoMac monomac monomac was computed. 
MonoTouch monotouch monotouch was computed. 
Tizen tizen40 tizen40 was computed.  tizen60 tizen60 was computed. 
Xamarin.iOS xamarinios xamarinios was computed. 
Xamarin.Mac xamarinmac xamarinmac was computed. 
Xamarin.TVOS xamarintvos xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos xamarinwatchos 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
2.0.6 118 5/4/2026
2.0.5 134 2/10/2026
2.0.4 317 11/30/2025
2.0.3 258 11/3/2025
2.0.2 255 12/7/2024
2.0.1 255 8/12/2024
1.0.7 222 7/25/2024
1.0.6 289 5/1/2024
1.0.5.28 280 3/10/2024
1.0.5.27 265 3/10/2024
1.0.5.26 283 11/22/2023
1.0.5.25 259 10/18/2023
1.0.5.24 231 10/17/2023
1.0.5.23 240 10/17/2023
1.0.5.22 235 10/16/2023
1.0.5.21 232 10/16/2023

Release 1.0.5.9
- Retry on every action [Get, Post, Delete, Put] has now additional parameter to control the timeout error from server. retryOnRequestTimeout, can be set to true/false to fail when the request timeout or to retry
- AddingCookies is renamed to AddCookies under TestApiRequest
- Option to control
-- Set Timeout
-- Auto Redirection on the server for a request
-- Extract Domain cookies
-- No Cache

Release 1.0.5.4
- Api Request can now accept SetQueryParameter and SetJsonBody with any object passed

Release 1.0.5.2
- Api Retry option now has ability to control on which httpstatuscode the retry should occur

Release 1.0.5.2
- Introduce Api framework with PUT PATCH commands
-- WithRetry option with time on interval
-- Response contains cookies extracted from domains
-- Cookie extension to merge and contact cookies
-- Introducing Proxy for API request based on the user data
-- Introducing Certificates to be passed on the request
-- Response has more request details from headers to cookies
- Tests are now upgraded to .NET 6

Release 1.0.5.1
- Bug fix when loading ApiResponse as HtmlContent

Release 1.0.5
- Introduce TestAny.Essentials.Core
- Introduce TestAny.Essentials.Api. All Api related functionality are moved into this new package
- There are some breaking changes
-- SeAppConfig is renamed to TestAnyAppConfig
-- TestAnyAppConfig is now moved into TestAny.Essentials.Core
-- TestContextHelper is renamed to TestAnyTestContextHelper
-- TestAnyTestContextHelper is now moved into TestAny.Essentials.Core
-- Dtos models are now moved into the Core project

Release 1.0.4
- Introduction of Selenium.Essentials.Api for Api testing
- Usage of utilities from Pj.Library
- Remove Utility class from Selenium Essentials
- Move properties from Utility class to SeAppConfig class
- Move InitializeFramework(..) from Utility to SeAppConfig class