TestAny.Essentials.Api.Lite
2.0.4
dotnet add package TestAny.Essentials.Api.Lite --version 2.0.4
NuGet\Install-Package TestAny.Essentials.Api.Lite -Version 2.0.4
<PackageReference Include="TestAny.Essentials.Api.Lite" Version="2.0.4" />
<PackageVersion Include="TestAny.Essentials.Api.Lite" Version="2.0.4" />
<PackageReference Include="TestAny.Essentials.Api.Lite" />
paket add TestAny.Essentials.Api.Lite --version 2.0.4
#r "nuget: TestAny.Essentials.Api.Lite, 2.0.4"
#:package TestAny.Essentials.Api.Lite@2.0.4
#addin nuget:?package=TestAny.Essentials.Api.Lite&version=2.0.4
#tool nuget:?package=TestAny.Essentials.Api.Lite&version=2.0.4
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 was computed. net5.0-windows was computed. net6.0 was computed. 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 was computed. 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 was computed. 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 was computed. 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. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Pj.Library (>= 1.0.5.2)
- TestAny.Essentials.Core (>= 2.0.4)
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.4 | 249 | 11/30/2025 |
| 2.0.3 | 199 | 11/3/2025 |
| 2.0.2 | 190 | 12/7/2024 |
| 2.0.1 | 191 | 8/12/2024 |
| 1.0.7 | 168 | 7/25/2024 |
| 1.0.6 | 210 | 5/1/2024 |
| 1.0.5.28 | 211 | 3/10/2024 |
| 1.0.5.27 | 197 | 3/10/2024 |
| 1.0.5.26 | 232 | 11/22/2023 |
| 1.0.5.25 | 216 | 10/18/2023 |
| 1.0.5.24 | 196 | 10/17/2023 |
| 1.0.5.23 | 197 | 10/17/2023 |
| 1.0.5.22 | 192 | 10/16/2023 |
| 1.0.5.21 | 189 | 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