dubbotest
v1.2.1
Published
Please run follow command in Windows GitBash or Linux. Can't use windows Cmd or PowerShell. ```shell npm install -g dubbotest dubbotest ```
Downloads
3
Maintainers
Readme
Document
Install
Please run follow command in Windows GitBash or Linux. Can't use windows Cmd or PowerShell.
npm install -g dubbotest
dubbotest
Description
dubbotest make you use http method invoke dubbo service, and use postman build http request to test dubbo service.
Param Explain
- host: dubbo host
- port: dubbo port
- service: dubbo service name
- method: dubbo service method
- param: dubbo service method param
Invoke Demo
One param
curl --location --request GET 'http://localhost:3000/api' \ --header 'Content-Type: application/json' \ --data-raw '{ "host": "192.168.26.243", "port": "20882", "service": "CbsQuickenCardService", "method": "listValidQuickenTimes", "param": "168880613011" }'
Multi param
curl --location --request GET 'http://localhost:3000/api' \ --header 'Content-Type: application/json' \ --data-raw '{ "host": "192.168.26.243", "port": "20882", "service": "CbsQuickenCardService", "method": "queryRightModuleGoodsUseInfo", "param": "AIQIYI,C832206290000160001" }'
Json Param
curl --location --request GET 'http://localhost:3000/api' \ --header 'Content-Type: application/json' \ --data-raw '{ "host": "192.168.26.243", "port": "20882", "service": "CbsQuickenCardService", "method": "queryQuickenCardGoodsConfig", "param": { "class": "com.smy.cbs.dto.quickenCard.QueryQuickenCardGoodsConfigReq", "cardType": "ZBANK_SY061" } }'