Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request Query match Get args Error 500 #754

Open
LeCoqGildas opened this issue Apr 30, 2024 · 0 comments
Open

Request Query match Get args Error 500 #754

LeCoqGildas opened this issue Apr 30, 2024 · 0 comments

Comments

@LeCoqGildas
Copy link

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

methodeConf

parameterQueries

postmanTest

In docker container, i see nothing in catalina log :/

Can you investigate what is wrong please?
Thanks,
Regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant