XPing365.Availability
1.0.0-rc8
dotnet add package XPing365.Availability --version 1.0.0-rc8
NuGet\Install-Package XPing365.Availability -Version 1.0.0-rc8
<PackageReference Include="XPing365.Availability" Version="1.0.0-rc8" />
paket add XPing365.Availability --version 1.0.0-rc8
#r "nuget: XPing365.Availability, 1.0.0-rc8"
// Install XPing365.Availability as a Cake Addin
#addin nuget:?package=XPing365.Availability&version=1.0.0-rc8&prerelease
// Install XPing365.Availability as a Cake Tool
#tool nuget:?package=XPing365.Availability&version=1.0.0-rc8&prerelease
About The Project
XPing365 SDK provides a set of tools to make it easy to write automated tests for Web Application and Web API, as well as troubleshoot issues that may arise during testing. The library provides a number of features to verify that the Web Application is functioning correctly, such as checking that the correct data is displayed on a page or that the correct error messages are displayed when an error occurs.
The library is called XPing365, which stands for eXternal Pings, and is used to verify the availability of a server and monitor its content.
You can find more information about the library, including documentation and examples, on the official website xping365.com.
Getting Started
The library is distributed as a NuGet packages, which can be installed using the .NET CLI command dotnet add package
. Here are the steps to get started:
Installation using .NET CLI
Open a command prompt or terminal window.
Navigate to the directory where your project is located.
Run the following command to install the XPing365 NuGet package:
dotnet add package XPing365.Availability
Once the package is installed, you can start using the XPing365 library in your project.
using XPing365.Availability.DependencyInjection;
Host.CreateDefaultBuilder()
.ConfigureServices(services =>
{
services.AddHttpClients();
services.AddTestAgent(
name: "TestAgent", builder: (TestAgent agent) =>
{
agent.Container = new Pipeline(
name: "Availability pipeline",
components: [
new DnsLookup(),
new IPAddressAccessibilityCheck(),
new HttpRequestSender()
]);
return agent;
});
});
using XPing365.Availability
var testAgent = _serviceProvider.GetRequiredKeyedService<TestAgent>(serviceKey: "TestAgent");
TestSession session = await testAgent
.RunAsync(
new Uri("www.demoblaze.com"),
TestSettings.DefaultForHttpClient)
.ConfigureAwait(false);
That’s it! You’re now ready to start automating your web application tests and monitoring your server’s content using XPing365.
License
Distributed under the MIT License. See LICENSE
file for more information.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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. |
-
net8.0
- Microsoft.Extensions.Http (>= 8.0.0)
- Microsoft.Extensions.Http.Polly (>= 8.0.1)
- XPing365.Core (>= 1.0.0-rc8)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.