fids/testing/catcher/tests/auth.test.yaml

14 lines
394 B
YAML

variables:
users:
- email: 'info@lufthansa.com'
password: 'password1234'
steps:
- http:
post:
url: '{{ gateway }}/auth/login'
body: '{{ users[0] }}'
headers: {Content-Type: 'application/json'}
response_code: 2xx
name: 'Login with {{ users[0].email }}'
register: {user_id: '{{ OUTPUT.user_id }}'}