Recommend a feature for future StresStimulus versions.
Allow cloning of test case
Brianna Blanchard Posts: 76
7/25/2013
|
***Was developed in v3.0*** Perhaps this is already a feature, but I couldn't not find it: I would love to be able to clone a test case. Just cloning the sessions still forces me to repeat a lot of the set up work. Currently, if I want to create an identical test case with the exception of one or two settings (for example, the datasource use to parametrize a set of requests), I have to redo all my settings like specific think times for pages and Cache Control settings. It would be much better if I could clone the entire test case and tweak it as needed.
|
|
0
link
|
Max @StresStimulus Administrator Posts: 101
7/26/2013
|
We actually do not have the Clone Test Case feature yet. We will try to develop it in v3.0. In the meantime, use this workaround
- Create a copy of the .saz file in the same location, and give it a %name%_1
- Open script editor.
- Clone (copy and paste) the Testcase node, and change the Name to new saz file name %name%_1 and Id to a new Guid.
- Find every node that has an attribute TestCase. Clone it and change the TestCase property to the new Guid.
- Hit save and exit
|
|
0
link
|
Brianna Blanchard Posts: 76
7/26/2013
|
Thanks for the workaround; it looks like it will definitely cut down on the work of replicating a test case. As far as I can tell, that will allow me to "clone" the general test case settings (like %100 new VU and iteration delay time) and the parameter substitutions, but not the page settings (like primary requests and manual think times for each page). Is that correct?
|
|
0
link
|
Max @StresStimulus Administrator Posts: 101
7/26/2013
|
It should preserve all page settings. Let me know if it doesn't.
|
|
0
link
|
Brianna Blanchard Posts: 76
7/29/2013
|
It does! That's fantastic I didn't realize that just importing the .saz file would save all those settings. That's the part that was the most troublesome for me.
|
|
0
link
|
Max @StresStimulus Administrator Posts: 101
7/30/2013
|
I'm glad it helped.
|
|
0
link
|
Copyright © 2025 Stimulus Technology