XXX接口测试

请求参数

如果是 POST 方法,这些请求参数会放在 Body 中; 如果是其它方法(如:GET / PUT / DELETE / PATCH 等),则会放在 URL 的 Query 串中。
+

请求Header

+
发送

返回结果


{
  "requestId" : "a22c721867984258846686b89dbf82db",
  "serverTime" : 1524039750370,
  "spendTime" : 5,
  "resultCode" : "success"
}
        

输出日志


  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v1.5.9.RELEASE)

2018-04-26 10:42:19.193  INFO 2328 --- [           main] c.terran4j.demo.api2doc.Api2DocDemoApp   : Starting Api2DocDemoApp on DESKTOP-32DF0L3 with PID 2328 (C:\Users\jiangwei\IdeaProjects\commons\commons-api2doc\target\test-classes started by jiangwei in C:\Users\jiangwei\IdeaProjects\commons)
2018-04-26 10:42:19.200  INFO 2328 --- [           main] c.terran4j.demo.api2doc.Api2DocDemoApp   : No active profile set, falling back to default profiles: default
2018-04-26 10:42:19.479  INFO 2328 --- [           main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@4a22f9e2: startup date [Thu Apr 26 10:42:19 CST 2018]; root of context hierarchy
2018-04-26 10:42:24.188  INFO 2328 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'api2DocService' of type [com.terran4j.commons.api2doc.impl.Api2DocService] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-04-26 10:42:26.506  INFO 2328 --- [           main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 8080 (http)
2018-04-26 10:42:26.529  INFO 2328 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2018-04-26 10:42:26.531  INFO 2328 --- [           main] org.apache.catalina.core.StandardEngine  : Starting Servlet Engine: Apache Tomcat/8.5.23
2018-04-26 10:42:27.034  INFO 2328 --- [ost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext