Code Monkey home page Code Monkey logo

dubbo-postman's Introduction

DUBBO-POSTMAN

dubbo postman logo

DUBBO-POSTMAN: 一个用于通过web-ui页面访问dubbo接口的工具,灵感源于 postman

介绍

DUBBO-POSTMAN 是一个通过web页面访问dubbo接口的开源工具,包括零代码创建一个dubbo consumer,保存访问用例,构建场景测试. 核心功能如下.

  • 通过添加一个api的maven dependency即可创建一个dubbo consumer
  • webui页面自动生成dto的各个参数
  • 保存常用的请求作为用例
  • 根据保存的用例即可构建复杂的场景测试,极大减少回归测试的工作量
  • 开箱即用

DUBBO-POSTMAN UI

开发

基于vue+ element-ui+ vue-element-admin.

准备

下载源码到本地

git clone https://github.com/everythingbest/dubbo-postman.git
npm install --registry=https://registry.npm.taobao.org

本地调试

npm run dev

发布

npm run build

默认的ui地址是 http://localhost:9528/. 后台服务地址是 http://localhost:8080/.

DUBBO-POSTMAN BACKEND

首先需要确保代码已经下载到本地,后台的所有配置在项目的src/resource/application.properties文件里面

启动

在项目根目录下执行 maven clean package ,然后在命令行执行 java -jar target/dubbo-postman.jar

application.properties

项目的所有核心配置都在这个文件里面.

application.properties有三个主要配置.

  1. dubbo.api.jar.dir: maven-embedder构建的目录.
  2. nexus.url: 私服仓库地址.
  3. nodex.ip: redis哨兵配置.

使用演示

dubbo demo创建 face

创建服务 face

场景测试 face

注册中心添加 face

赞赏

如果你觉得这个项目帮助到了你,你可以帮作者买一杯果汁表示鼓励 🍹

AliPay WechatPay

dubbo-postman's People

Contributors

everythingbest avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.