title: Is it possible to use gatling to test rsocket protocol over websocket?
body: <p>I want to create performance test in <strong>gatling</strong> which check my server in spring. I use <strong>rsocket</strong> protocol(over <strong>websocket</strong>). I don't know how to <strong>establish connection</strong> and <strong>send</strong> any data through this protocol. Is gatling support it? If it isn't possible using gatling how can i simulate specific number of connection to my server. (maybe different library)</p>
  <p>Server code</p>
  <pre><code>@Bean
  public Mono&lt;RSocketRequester&gt; rSocketRequester(
          RSocketStrategies rSocketStrategies,
          RSocketProperties rSocketProps) {
      return RSocketRequester.builder()
              .rsocketStrategies(rSocketStrategies)
              .connectWebSocket(getURI(rSocketProps));
  }
  private URI getURI(RSocketProperties rSocketProps) {
      return URI.create(String.format(&quot;ws://localhost:%d%s&quot;,
              rSocketProps.getServer().getPort(), rSocketProps.getServer().getMappingPath()));
  }
  </code></pre>
  <p>properties file:</p>
  <pre><code>spring.rsocket.server.port=8080
  spring.rsocket.server.transport=websocket
  spring.rsocket.server.mapping-path=/rsocket
  </code></pre>
  <p>Examples endpoints where i want to send message:</p>
  <pre><code>@ConnectMapping
  void joinToGame(RSocketRequester rSocketRequester) {
    
  }
  
  @MessageMapping(&quot;exampleEndpoint&quot;)
  public void disconnect() {
     
  }
  </code></pre>
  <p>maven dependency:</p>
  <pre><code>&lt;dependency&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-starter-rsocket&lt;/artifactId&gt;
      &lt;/dependency&gt;
  </code></pre>