Quantcast
Channel: [Q&A - FAQ Neotys] Last questions
Viewing all articles
Browse latest Browse all 2283

Share an extracted value across multiple User Paths

$
0
0

When writing test for API framework, I'll looking to reuse the API session key.

User Path 1
call https://mytesturl.com/api-1.4/services/rest/login/createS...
This hands me a key back in the response.
I toss that in a shared queue.

User Path 2

call https://mytesturl.com/api-1.4/services/rest/emp/getEMP

I pluck the session key from the queue and I get my response

So No I create a run time

it runs User Path 1 once
then runs User Path 2 ten times....
the first one works and the other 9 fail

I get a blank value back from my shared queue.

How can I make the shared queue be persistent? I add one value and the stays there?


Viewing all articles
Browse latest Browse all 2283

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>