api-testing-tool
api testing, test api, api, test, tool
Last updated 4 years ago by just4developments .
ISC · Original npm · Tarball · package.json
$ cnpm install api-testing-tool 
SYNC missed versions from official npm registry.

api-testing-tool

api-testing-tool is a testing tool which help you auto test all api with your testcase. You can use hudson... to schedule test it

Features:

  • Create testcase with json config
  • Inject variable in testcase to re-use in api (global, response variable...)
  • Inject api template to re-use in testcase
  • Support debug, validate, re-call api to ensure that your api services are fine
  • Support upload multiple files
  • Calculate execution time to run for each other and all
  • Support to export to html document which is APIs specific document
  • Support smart declare document to re-use, less step when you change or update document. Can update customize type in doc by add <<float>> at the first line in content
  • Update write log version which you updated on new document
  • GUI is beautiful, easy to use
  • You can write and inject your module to check or do something else
  • You can temporary disabled some api without remove it in testcase
  • In case, your data need a time to sync before call the next api, we support it too
  • Can pick browser to open when test

api-testing-tool is testing tool which use javascript is base. So you can write testcase, customize by javascript

Installation

Api-testing-tool requires Node.js v4+ to run.

Download and extract the latest pre-built release.

Install the dependencies and devDependencies and start the server.

$ cd api-testing-tool
$ npm install

open testing server which help response our request

$ npm start

play testcase demo

$ npm test demo

Create new project to use in your project

$ npm run gen "PROJECT NAME"

Todos

  • Write Testcase
  • Run test or debug testcase
  • After test ok, export to HTML doc

Tech

api-testing-tool uses a number of open source projects to work properly:

  • [AngularJS] - HTML enhanced for web apps!
  • [Visual Studio Code] - code editor
  • [node.js] - evented I/O for the backend
  • [ExpressJS] - fast node.js network app framework
  • [unirest] - Lightweight HTTP Request Client Libraries
  • [open] - library which help open a file or url in the user's preferred application
  • [copy-dir] - library which help copy template
  • [async] - Async is a utility module

And of course api-testing-tool itself is open source with a https://github.com/just4developments/api-testing-tool on GitHub.

License

MIT

Free Software, Hell Yeah!

Current Tags

  • 1.0.2                                ...           latest (4 years ago)

2 Versions

  • 1.0.2                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (7)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |