Hi,
The APIs we are testing takes a session id which is generated using different API.
Current I have added the API to get session ID as step 1 and passing the session ID to the actual API under test in step2.
Now the problem is in logs or statistics we are getting the response time of both the steps whereas we want only the API under test response time.
So to avoid that i wanted to move the step1 which generates session ID to Initial script and set env variable. Can you provide a sample on how to add this code to Initial script or is there any way to exclude the step1 response time and consider only step2 response time.
I tried to use ajax, fetch code to initial script but on execution runscope throws error.
Thanks & Regards,
Rajendra