When I create a request mapping for an endpoint that should redirect to http:localhost:4200/?token=someTokenValue the browser is not redirected to the localhost:4200/ and the query parameter token is lost.
I use the standalone WireMock server with the following mapping:
{
"request": {
"method": "GET",
"url": "/someContextRoot/login"
},
"response": {
}
}
This does work when I create a similar mock server with SOAP-UI, but I would really like to use WireMock in our project as SOAP-UI is not the greatest tool, and WireMock seems to be exactly what we need in our project, except that it does not do the redirect as we would like. Is there a way to force this query parameter on the response to be sent? I have not found any documentation on that and any help would be greatly appreciated