Answer Posted / sksy
Use this piece of code
Action()
{
char command[1024]; // declare a cahar val
sprintf(command, "C:\testshilpa\batfile.bat");// mention the path of the file with full path details
system(command); // it will execute the command
return 0;
}
Note: batfile may contains command for batch job.You can try with "ping localhost -n 10"
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Suppose ur app server is .net server. In that connection pool is related to memory ?explain how?
What is the difference between performance testing and performance engineering?
Which components have you used in loadrunner ?
what is remote performance monitering?
What is vugen recording and scripting?
What are the documents your using ,and how your distibute the users
What is report viewer?
What is the difference in running the vuser as a process and as a thread? Which is more advantageous way of running vuser?
While scripting you created correlation rules for automatic correlation. If you want to share the correlation rules with your team member working on the same application so that he/she can use the same on his workstation, how will you do that?
What are the element in the loadrunner controller?
How to identify what to correlate and what to parameterize?
What do you mean by remote command launcher(rcl)?
What are the advantages of load runner?
During the load test, what is the optimum setting for logs?
When loadrunner is used?