Request Path Testing
Path Variable
mockMvc.perform(get("/path/{id}", "code"))Query Parameters
mockMvc.perform(get("/path").param("id", "code"))Last updated
mockMvc.perform(get("/path/{id}", "code"))mockMvc.perform(get("/path").param("id", "code"))Last updated