Skip to content

AnestLarry/WebApiTester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web API Tester

A web API tester with easy use.

Getting Started

import { TestEngine, WebSite, Module, Api, HTTPMethod } from "web-api-tester";
var engine = new TestEngine({});
engine.addWebSites([
  new WebSite({
    path: "https://www.bing.com",
    modules: [
      new Module({
        path: "",
        apis: [
          new Api({
            path: "/",
            method: HTTPMethod.GET,
            success_callbacks: [
              (data) => {
                console.log(data.data.toString());
              },
            ],
          }),
        ],
      }),
    ],
  }),
]);
engine.start();

Installation

You can get Node.js from here.

Then, install the package with the following command:

npm install https://github.com/AnestLarry/WebApiTester

Contributing

If you would like to contribute to this project, please fork the repository and submit a pull request.

License

This project is licensed under the [license].

About

A web API tester with easy use.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors