How can we use Postman collection in Nightwatch?

200 Views Asked by At

We have a Postman collection. We want to verify data created from API in web. One way is we can integrate both in jenkins, but we want to perform all verification through nightwatch only. Is there any way to utilise Postman collection in Nightwatch?

1

There are 1 best solutions below

1
On BEST ANSWER

In terms of using postman ‘in’ Nightwatch, you wouldn’t be able to do this I believe and I wouldn’t recommend it if you could.

If what you are saying is you want to be able to make api calls from within Nightwatch, then that is certainly possible and I’d recommend trying something like axios