https://gitee.com/prestest/dubboTestTool
flask+kazoo+telnet
git clone https://gitee.com/prestest/dubboTestTool
修改 zk 的地址 [base.py
]
class ZooKeeperUtil(Tool.Tool):
def __init__(self):
super().__init__()
self.zk = KazooClient(hosts='zk.xxxx.cn:2181') # 需要替换zk的地址
self.zk.start()
# flask、kazoo、requests
pip install -r requirements.txt
python start.py
localhost:5000
或者127.0.0.1:5000
# 默认端口为5000,可在start.py中修改
pp.run(host='0.0.0.0', port=5000, debug=True)
Method(String userid,Integer number)
,则只需输入参数为 "userid1",456
"class":"java.util.HashMap"
{
"name":"zhangsan",
"age":12,
"class":"org.apache.dubbo.qos.legacy.service.Person"
}
可以不通过 zk,直接通过 ip 和端口调试或者调用某一 dubbo 接口
http://localhost:5000/local