Skip to content

danielarbc/api-tests-csharp-httpclient-restsharp

Repository files navigation

API Tests using Restsharp and HttpClient

About

This is a automated tests project using HttpClient and RestSharp frameworks.

We are using Go Rest APIs for the tests.

You will need

  • Visual Studio Community with C# or similar

Starting

  • Open and build project
  • Install NuGet packages

Create autentication file

Inside Helper folder, add a class called AuthToken

namespace MicroserviceAutomation.Helper
{
    public class AuthToken
    {
        public static string Auth { get; } = "Bearer ACCESS_TOKEN";
    }
}

Insted of ACCESS_TOKEN, put your own token generated at Go Rest API`s site.

Then, build the project again and execute tests

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages