title: How to mock response with dynamic host using MockWebServer, OkHttpClient
body: <p>Now Im using Retrofit2, OkHttpClient and MockWebServer and Im replacing <code>baseUrl</code> to MockWebServer host (ex. &quot;localhost:XXXX&quot;)</p>
  <p>However, when using dynamic url api(with <code>@Url</code> annotation), it replaces <code>baseUrl</code> to it's own host.</p>
  <p>Is there a provided way to mock api with unpredictable url?</p>
  <pre><code>@GET
  fun trackingBanner(@Url url: String): Observable&lt;ChResponse&lt;Nothing&gt;&gt;
  </code></pre>
  <pre><code>fun getApiService(): Retrofit {
      return Retrofit.Builder()
          .baseUrl(baseUrl)
          .client(OkHttpClient)
          .build()
  }
  </code></pre>