Which scripting language is used to develop Loadtest Cli Script ? can I use the shellscript ?
var scenario = "Steady Load"
var base = tests/loadtester/accuracytest/tests
var category = Accuracy
var test-name = 1-Profile-HPS
open ${base}/${test-name}.lt
loadtest -minutes ${minutes} -allReports ${report-home}/%d/${category}/${test-name} ${scenario}
Does parasoft loadtest works with shell script? Is anyone develop script in shellscript?
Comments
-
It is not a shell script like "bash" or some other scripting language. The Load Test script is just a list of commands and arguments that are understood internally by Load Test, where each command just sits on its own line in the file. This is why it is also sometimes referred to as a command script or command file.
In case this helps you, the script can have an "execpythonfile" command that takes the path to a python script as an argument. I've seen this used in Load Test command scripts to take some custom action before or after the "loadtest" command, for example.
0