Submit and vote on feature ideas.

Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

Which scripting language is used to develop Loadtest Cli Script ? can I use the shellscript ?

brawal
brawal Posts: 26

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

  • benken_parasoft
    benken_parasoft Posts: 1,228 ✭✭✭
    edited July 2019

    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.