Forum Discussion
SmartBear_Suppo
Alumni
12 years agoHi Bjornzki,
I don't think you can achieve that easily with the existing components, but you could probably do it easily if you are a programmer by creating your own new component that does that... you can do it by copying and modifying as appropriate the Groovy code (which is very similar to Java code) for the "Ramp Sequence" component. You just need to change it slightly so that instead of gradually increasing/decreasing the rate, to do it abruptly.
The LoadUI components are located in the folder called "script-components" under you LoadUI installation folder. If you create a new groovy file, with a different name from the existing components, LoadUI will understand it as being a new component. The name of the file is the name of the component.
Hope this helps!
If you are a Pro customer we can probably give you hand with that.... open a ticket in the Support menu and refer to this thread.
Regards,
Renato
SmartBear Software
I don't think you can achieve that easily with the existing components, but you could probably do it easily if you are a programmer by creating your own new component that does that... you can do it by copying and modifying as appropriate the Groovy code (which is very similar to Java code) for the "Ramp Sequence" component. You just need to change it slightly so that instead of gradually increasing/decreasing the rate, to do it abruptly.
The LoadUI components are located in the folder called "script-components" under you LoadUI installation folder. If you create a new groovy file, with a different name from the existing components, LoadUI will understand it as being a new component. The name of the file is the name of the component.
Hope this helps!
If you are a Pro customer we can probably give you hand with that.... open a ticket in the Support menu and refer to this thread.
Regards,
Renato
SmartBear Software