分享一个比较好用的RESTFUL API 自动化测试工具

1.工具地址:

 

https://github.com/Wisdom-Projects/rest-client

 

WisdomTool RESTClient自动化测试工具源代码:

https://github.com/Wisdom-Projects/rest-client

 

2.工具使用:

 

# Automation-Test-Tool

Automation Test Tool for RESTful API


Author	:  Yu Dong Wang (Dom Wang)

Version	:  1.0

Date	:  Feb 8, 2017

Email	:  wangyudongwyd@126.com

-------------------------------------------------------------------------------
Operation steps:

You should first make a directory with name 'autotest'.

Copy file 'autotest-1.0.jar' and directory 'conf.zip' to 'autotest'

Unzip 'conf.zip' to 'autotest'

*Note*: You must put 'autotest-1.0.jar' and 'conf' in the same directory.

You should write your test cases in directory 'conf' with reference to the demo and the document ‘AutomationTest.doc’.

After that, run this runnable JAR 'autotest-1.0.jar', double click it to run the cases.

Directory tree:

autotest
├── autotest-1.0.jar
└── conf
    ├── assertions
    │   ├── assert_case_http_get.json
    │   ├── assert_case_http_post.json
    │   └── assert_case_http_put.json
    ├── AT_Tasks.json
    ├── body
    │   ├── body_case_http_post.json
    │   └── body_case_http_put.json
    └── cases
        ├── case_http_delete.json
        ├── case_http_get.json
        ├── case_http_post.json
        └── case_http_put.json

You can see the document ‘AutomationTest.doc’ to know more about the automation test tool.  

 

3.示例图

 

启动工具

 



运行测试用例




输出测试报告

 

 

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值