Need help with StresStimulus? Start here.
Adding a unique GUID to the requests
Unregistered User Posts: 514
12/19/2012
|
I have the problem where I have to supply a unique GUID with every request. Currently, I can upload pre-determined values as a data source, in .csv. However, my server is expecting unique GUID with each request.
Is there a way that I can dynamically create a new GUID at run time, and parameterize some of my POST parameters, using this new GUID? Maybe can I script something to use the .NET runtime GUID.NewGuid().ToString() ?
|
|
0
link
|
Vadim @StresStimulus Administrator Posts: 583
12/19/2012
|
There is no need for scripting, as this result can be achieved much easier. The unique GUID is probably generated on the server and is returned in one of the responses. In this case, you need to create an extractor and then use it to parameterize subsequent requests. The extractors and parameterization are described in this post http://www.stresstimulus.com/blog/post/what-s-new-in-v1-5-part-2-extractors-and-parameterization/ Further enhancements are described in • items 1-5 of this post http://www.stresstimulus.com/blog/post/what-s-new-in-v1-7 • items 1-4 of this post http://www.stresstimulus.com/blog/post/v2-0-update-3-part-2-other-enhancements
Cheers, -Vadim
|
|
0
link
|
Copyright © 2024 Stimulus Technology