DEV Community

Discussion on: Automated API testing with Karate

Collapse
 
apolayo27 profile image
Apolayo27

How to pass an access token that answered the first service and use it in the header of the second service and use the access token that answered the second service in the header of the third service and the same with the fourth, fifth ...

Collapse
 
dwwhalen profile image
Dennis Whalen
Collapse
 
apolayo27 profile image
Apolayo27

more or less, but I need to do them in different scenarios, karate could not handle this as global variables

Thread Thread
 
dwwhalen profile image
Dennis Whalen

I would also suggest you take a look at the documentation on the Karate page github.com/intuit/karate. I have not run into a problem yet that was not answered somewhere there. The doco is very mature and complete.

Thread Thread
 
dwwhalen profile image
Dennis Whalen • Edited

You might also want to check out this informative talk from the creator of Karate. It was just recorded today. youtube.com/watch?v=yu3uupBZyxc&fe...