Resource icon

System Command Example In Loadrunner 2017-12-05

No permission to download
  • perf-test.com need your contributions to build up a strong repository of performance engineering resources.

admin

Administrator
Staff member
Aug 13, 2014
137
3
18
www.speforums.com
admin submitted a new resource:

System Command Example In Loadrunner - Making a command line (CMD) call through loadrunner

Example Description

In this example we are doing following activities via a loadrunner script

1. Create a direcotry named speforums in your C drive.
2. Execute a ping command and save it as a file inside c://speforums directory.


Sample code

Code:
    char filename[1024], command[1024];

    char new_dir[] = "C:\\speforums";
    // Create a directory under root called xyz and make it the current dir
    if (mkdir(new_dir))
        lr_output_message ("Create...

Read more about this resource...