svanoort / pyresttest

Python Rest Testing
Apache License 2.0
1.15k stars 326 forks source link

Extract variable binds from a Benchmark #306

Open muralikanagala opened 4 years ago

muralikanagala commented 4 years ago

I am working on a API test where I am performing the below steps 1) Login to the API and get the token 2) Use that token to get some more information from the API

And I want to benchmark both the above API calls. I am able to get this working as the first step as a test and second one as a benchmark but if i make both steps as benchmarks variable extract from the login step is not working. Can we extract a value from a benchmark and use it for further transactions?