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/response файл #143

Open
keyclaim opened this issue Apr 20, 2022 · 1 comment

Comments

@keyclaim
Copy link
Contributor

Чтобы не ломать обратную совместимость можно добавить новые нотации, либо все же переработать старые.
Эта фича имеет смысл после реализации #142.
Тогда можно будет избавиться от больших json внутри yaml-сценария.

requestFromFile:
  file: some_request.json
  overrideParams:
    order[0].amount: 1000.01 
respinseFromFile:
  file: some_respinse.json
  overrideParams:
    order[0].amount: 1000.01 
@AlexSkyBell
Copy link

Голосую за фичу, очень надо.
В качестве workaround сделал env-file с переменной, в которую загнал содержимое файла и в самом кейсе прописал

request: |
  {{ $REQUEST }}

Но хочу нормальной реализации 😁

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

2 participants