Can anyone provide suggestion on What is the difference between "Think Time spec" and "Think Scale"
Think Time Spec is the time in milliseconds (default) that VSE delays a response to a request. Think Time Scale is the percentage that VSE applies to the Think Time Spec value to delay the response effectively:
effective Response Delay = Think Time Spec * Think Time Scale.
Think Time Spec
Think Time Scale
Effective Response Delay
Please see other comments in DevTest community, such as https://communities.ca.com/thread/241770228, and review product documentation at Deploy Virtual Services, or at Update Responses.
Thank you for your explanation. I have a requirement now to use this feature, I have created simple R and R pair and I want response wait time to 100 S.
In the R & R configuration, I have used think time spec as "s: 10000" and while deploying I have given as "1%".
Is my understanding correct that I should response by 100 sec?
If yes, I am getting response immediately, tried to delete cookies and history.
If No, please suggest on how this can be achieved
Your understanding is correct. Which DevTest version are you running? There was a defect in versions prior to 10.1. As a workaround, restarting the VSE service after you have deployed the virtual service may help.
I am running 10.1 and tried to restart, but no luck.
Well, just tested Think Time settings in my 10.1 env and it works as expected. Please let us know, how you measure the response time, how you created the VS (Workstation/Portal), and share the RR pair, if possible.
Sorry for the delayed response. I am using portal to create virtual service.
Req --> GET /restfulproj/webapi/users/1
User [ssnID=1, fullName=User-1, city=loc-1]
Response time I measure is after VSE deployment, after I hit url, it should wait for some time ( specified in think time ) and then provide response. Basically, to check how system behaves if dependent system is unavailable.
Sorry, my fault. I misread your 'Think Time specification', which has a typo.
By default, the value you enter in the 'Think time spec' field is milliseconds. If you want to specify 10000 seconds, you might want to enter '10000s', not 's: 10000'.
it worked, Thank you very much for your help and support.
Retrieving data ...