repchain/scripts/api_req
2019-03-22 16:09:20 +08:00
..
changeState 添加部分接口测试xml文件,具体介绍在/scripts/api_req/README.md 2019-03-22 16:09:20 +08:00
deploy 添加部分接口测试xml文件,具体介绍在/scripts/api_req/README.md 2019-03-22 16:09:20 +08:00
transfer 添加部分接口测试xml文件,具体介绍在/scripts/api_req/README.md 2019-03-22 16:09:20 +08:00
assets1.xml Update Copyright 2018-11-28 18:50:13 +08:00
assets2.xml Update Copyright 2018-11-28 18:50:13 +08:00
assets3.xml Update Copyright 2018-11-28 18:50:13 +08:00
assets4.xml Update Copyright 2018-11-28 18:50:13 +08:00
assets5.xml Update Copyright 2018-11-28 18:50:13 +08:00
README.md 添加部分接口测试xml文件,具体介绍在/scripts/api_req/README.md 2019-03-22 16:09:20 +08:00
req1.json commit dev_supply 2018-07-11 22:21:39 +08:00
req2.json commit dev_supply 2018-07-11 22:21:39 +08:00
req3.txt commit dev_supply 2018-07-11 22:21:39 +08:00

RepChain1.0.0, API测试用例文件的介绍


通过接口postTranxml方式

  1. 转账的测试用例(transfer/) Invoke
    • assets6.xml assets6.json 正确转账
    • assets7.xml 目标账户不存在
    • assets8.xml 只能从本账户中转出
    • assets8.xml 自己给自己转账
  2. 部署合约测试用例(deploy/) Deploy
    • ContractAssetsTPL_deploy.xml 部署同一合约
  3. 部署合约测试用例(changeState/) setState
    • ContractAssetsTPL_changeState 禁用/启用合约
  4. TODO 未完待续