@Test
    public void postWithQueryString() throws Exception {
        RequestHeaders headers = RequestHeaders.builder(
                HttpMethod.POST, "jsp/query_string.jsp?foo=3").contentType(MediaType.FORM_DATA).build();
        AggregatedHttpResponse response = server().blockingWebClient().execute(headers, "bar=4");
        assertThat(response.status()).isSameAs(HttpStatus.OK);
        assertThat(String.valueOf(response.contentType())).startsWith("text/html");
        String actualContent = CR_OR_LF.matcher(response.contentUtf8())
                                       .replaceAll("");
        assertThat(actualContent).isEqualTo(
                "<html><body>" +
                "<p>foo is 3</p>" +
                "<p>bar is 4</p>" +
                "</body></html>");
        headers = RequestHeaders.builder(
                HttpMethod.POST, "jsp/query_string.jsp?foo=5").contentType(MediaType.FORM_DATA).build();
        response = server().blockingWebClient().execute(headers, "bar=6");
        assertThat(response.status()).isSameAs(HttpStatus.OK);
        assertThat(String.valueOf(response.contentType())).startsWith("text/html");
        actualContent = CR_OR_LF.matcher(response.contentUtf8())
                                       .replaceAll("");
        assertThat(actualContent).isEqualTo(
                "<html><body>" +
                "<p>foo is 5</p>" +
                "<p>bar is 6</p>" +
                "</body></html>");
    }
Returns the {@link ServerExtension} that provides the {@link Server} that serves the {@link Service}s
this test runs against.
testing-internal/src/main/java/com/linecorp/armeria/internal/testing/webapp/WebAppContainerTest.java