Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

SystemLink Enterprise API Examples

This directory holds self-contained example projects for the SystemLink Enterprise APIs.

Running an Example

Unless otherwise specified by the example's README, each example is run in the same way:

  1. Clone this repo or download and extract the repository source.
  2. Install the .NET Core SDK.
  3. Navigate to the example's directory and use the dotnet run command.

To run the example with a different configuration, use the following commands instead:

dotnet run --server <url> <api_key>

For example: dotnet run --server https://my_server api_key.

How to generate API key

Please refer to this link for generating the API key

Solution File

For convenience, the NISystemLinkEnterpriseExamples.sln solution file can be used to build all example projects at once. Some development environments such as Visual Studio also support using the solution file to view and run all example projects at once. Note that the dotnet run command used to run an example requires referencing individual projects and does not support the solution file.

API Examples

  • CreateResultsAndSteps: Demonstrates how to use the SystemLink Test Monitor API to publish test results to the server.
  • DeleteResults: Demonstrates how to use the SystemLink Test Monitor API to create and delete test results.