API-Testing

module
v0.0.0-...-b7fb845 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2025 License: MIT

README

API testing

This package has the ability to test APIs, API testing at different levels.

[!IMPORTANT] This package is currently in Alpha.

Levels that the package can test:

  • Simple test sending a json file to the api
  • Test sending token with Jason to API

The names of the packages used along with the licenses for each are as follows:


Well, after fully understanding this package, now it's time to learn how to use it:

Package features:


Installation

[!IMPORTANT] It is definitely recommended to install the packages mentioned above separately and then install the package below.

To install the package, simply enter the following command:

go get -u github.com/Mreza2020/API-Testing

API-1-test

[!IMPORTANT] This test is simple.

API-1-test consists of several parts:

  • TestPostApi

TestPostApi:

  • The method type is post.
  • And to use it, you need to store the destination address in env.(Address)

API-2-Concurrency

API-2-Concurrency consists of several parts:

  • Concurrency1
  • The method type is post.
  • And to use it, you need to store the destination address in env.(Address)
  • To use it, you need to send Concurrency along with the content, like this example:
{
  "name" : "admin",
  "Concurrency" : "1"

}

Concurrency : Number of cycles or number of simultaneous file transfers

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL