Файл конфигурации: var config = {env: env, baseurl: 'https: //*inggateway.**ls.com', имя пользователя: 'r 567@mai*** ator.com ', пароль:' **** we12! ',
Post request in feature file:
Given url baseurl + '/gateway/user/login'
And header sessionkey = sessionkey
And request '{"emailAddress": username ,"password": password}'
When method POST
Then status 200
It gives error :
Invalid grant or invalid username/password
I have tried many ways but nothing works.
Can somebody tell me how can I make it work? What is the correct way of passing config variables in
Post request body.