1 year ago
#374137
atg
Using Response Headers in First Response for Request Headers in Second Request
I'm migrating from postman to rspec/rswag for API documentation and testing.
I can get a simple example working that requires no auth, but for endpoints that require a login I'm unsure how to proceed.
In postman, I would create a test which extracted the values from the response json and set the global/collection variable to that value
How would I do the same in rspec? The README doesn't have any examples of this pattern.
rspec
swagger-2.0
rswag
0 Answers
Your Answer