title: Spring webflux WebTestClient with query parameter
body: <p>In my webflux application, i have this <code>GET</code> endpoint </p>
  
  <pre><code>v3/callback?state=cGF5bWVudGlkPTRiMmZlMG
  </code></pre>
  
  <p>I am trying to write  an integration test using <code>WebTestClient</code> </p>
  
  <pre><code>@Test
  public void happyScenario() {
      webTestClient.get().uri("/v3/callback?state=cGF5bWVudGlkPTRiMmZlMG")
              .exchange()
              .expectStatus()
              .isOk();
  }
  </code></pre>
  
  <p>This test case return <code>404 notFound</code>, if i removed the query parameter it will be called but the <code>state</code> parameter it will be missing</p>
  
  <p>I tried to use <code>attribute</code> </p>
  
  <pre><code>  webTestClient.get().uri("/v3/callback")
              .attribute("state","cGF5bWVudGlkPTRiMmZlMG")
              .exchange()
              .expectStatus()
              .isOk();
  </code></pre>
  
  <p>but still the <code>state</code> parameter is missing, How can i include a query parameter with request when using <code>webTestClient</code> ?</p>