Mario Raffaele Lias Pensa
10/31/2023, 2:47 AMOleg Nenashev
10/31/2023, 7:19 AMAlejandro Lorefice
10/31/2023, 10:50 AMUri.https('localhost:8080/2/tweets/search/stream/rules')
2. Once you build your URI correctly you will “hit a wall” cause you’re building an http*s* call without configuring https on your Wiremock instance so you either switch to Uri.http instead or configure Wiremock’s httpsMario Raffaele Lias Pensa
10/31/2023, 2:42 PMAlejandro Lorefice
10/31/2023, 2:43 PMMario Raffaele Lias Pensa
10/31/2023, 3:00 PMAlejandro Lorefice
10/31/2023, 3:13 PMUri.https
por Uri.http
Si querés testear una ruta que sirve HTTPS, tenés que agregar el https-port y apuntar tu request a ese puerto (reemplazar el 8080 en tu llamada por el puerto que le asignes a https). No te puedo decir como hacerlo porque no sé cómo estás corriendo el wiremock
Y aún así puede que te falle por los certificados, ahí no te puedo ayudar tanto porque nunca configuré los certificados para testear endpoints https. Es cuestión de probar todas las alternativas que da la docuMario Raffaele Lias Pensa
10/31/2023, 7:55 PM