2019-08-18 19:16:06 +08:00
2019-08-18 19:16:06 +08:00
2019-07-05 21:46:04 +08:00
2019-08-18 16:26:02 +08:00
2019-07-05 21:46:04 +08:00
2019-07-05 21:46:04 +08:00
2019-08-18 19:07:57 +08:00
2019-08-18 19:16:06 +08:00

SpringBoot 测试样板工程

用途

  • Docker环境测试
  • CICD测试
  • Java环境测试
  • 端口、端口转发测试

用法

默认暴露端口8080

健康检查路径:/actuator/beans/actuator/info

请求样例

 GET http://localhost:8080/actuator/info

返回结果

{
    "app": {
        "author": "F嘉阳",
        "encoding": "UTF-8"
    }
}

样例接口

请求URL

GET/POST/PUT/DELETE  http://localhost:8080/print/{content}

参数:

参数名 类型 必选 内容 说明
content 字符 info 输出内容

请求样例

http://localhost:8080/print/info

返回示例

hello , info
Description
用于接口测试SpringBoot样例工程
Readme 31 KiB
Languages
Java 79.9%
Dockerfile 11.9%
Shell 8.2%