Forum Discussion
erikmollerberg
11 years agoNew Contributor
Hi,
Thank you for your answer.
The thing is that this is a key api that I am testning.
The first test is to create a key. The response body returns a api key for a specific method.
next test to set a new profil for The key and so on.
In this case it I want to take The response body key from test1 and use in test 2.
how to do this ?
Thank you for your answer.
The thing is that this is a key api that I am testning.
The first test is to create a key. The response body returns a api key for a specific method.
next test to set a new profil for The key and so on.
In this case it I want to take The response body key from test1 and use in test 2.
how to do this ?
nmrao
Champion Level 1
11 years agoThats what I was exactly saying. Either have the step to get the key in the same test case as a test step. Or use it as pre-requisite(you use Events for the same) before starting execution of test cases i.e., get the key and store it in suite level and that should not actually be a test case as you say.