Skip to content

Python module to test Moleculer Services endpoints (or any REST API)

Notifications You must be signed in to change notification settings

RancaguaInnova/ms-request-tester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ms-request-tester

Python module to test Moleculer Services endpoints (or any REST API)

Using a JSON configurarion file, test your REST API endpoints.

Resources Correspond to API endpoints. Ex: https://some-domain/api/ Nested inside resources, set the REST actions and the data they need to be tested. Ex: create, update, etc.

Example file:

{
  "api_url": "<api-root-url>",
  "headers": {
    "<header-key>": "<header-value>"
  },
  "resources": {
    "<resource-name>": {
      "<action-name>": {
        "<action-param-1>": "<action-parama-value-1",
        "<action-param-2>": "<action-parama-value-3"
      }
    }
  }
}

About

Python module to test Moleculer Services endpoints (or any REST API)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages