castlemock
castlemock copied to clipboard
Request Query match Get args Error 500
Hello, I need to return a different response based on a GET url param
http://mymockaddress/service?param1={valuetest}
If valuetest=value1 -> response1, if valuetest=value2 other response etc...
After configuring Response strategy=Parameter query match One response 1 configure my Parameter Query with
- Parameter = valuetest
- query = value1
- Match Case X One response 2 configure my Parameter Query with
- Parameter = valuetest
- query = value2
- Match Case X
With Postman test i alwayse get an return 500
When i dont use ?something={valuetest} but /{valuetest} it's works
In docker container, i see nothing in catalina log :/
Can you investigate what is wrong please? Thanks, Regards,