springMvc jmeter 典型请求

来源:互联网 发布:java手机游戏破解版 编辑:程序博客网 时间:2024/06/02 01:19

 方法定义:包含了PathVariable、RequestBody 、RequestParam

 /**     * @描述      * @param stationId     * @return     * @throws BizException     * @throws Exception     */    @RequestMapping(value = "category/page/{id}", method = RequestMethod.GET)    public Response findCategoryByStationIdPage(            @RequestBody LiquidCategoryQueryVo lcq,            @PathVariable Integer id,            @RequestParam(value = "pageIndex", defaultValue = "1")Integer pageIndex,            @RequestParam(value = "pageSize", defaultValue = "10")Integer pageSize) throws BizException,Exception {        return Response.OkResponse(orderFormulaSupport.page(lcq,stationId, pageSize, pageIndex));    }

请求定义:

请求:
这里写图片描述

0 0
原创粉丝点击