Sean Trantalis
05/23/2024, 8:27 PM{{request.baseUrl}}
doesn’t return the correct host or port. Is this expected behavior? For example the container port is mapped to a random port(32811
) on the host with testcontainers but its returning the port(29194
)that wiremock is set to run on.
8080/tcp, 8443/tcp, 0.0.0.0:32811->29194/tcp, :::32811->29194/tcp
Antonio Pérez Dieppa
05/24/2024, 9:11 AM29194
).
A workaround you could set an environment variable and use it:
{{systemValue type='ENVIRONMENT' key='MY_BASE_URL'}}