Active Topics Memberlist Calendar Search Help | |
Register Login |
One Stop Testing Forum : Testing Tools @ OneStopTesting : LoadRunner @ OneStopTesting |
Topic: Scripting on Batch file using LoadRunner |
|
Author | Message |
rima
Newbie Joined: 25Apr2007 Online Status: Offline Posts: 1 |
Topic: Scripting on Batch file using LoadRunner Posted: 25Apr2007 at 11:25pm |
Hi,
I need to perform one load test, using the Load Runner on a batch file. This how it looks like I need to execute below type of command in MS-DOC command window that will execute some java files. Ex: C:> abc.bat 20, 30 <Enter> Then I need to parameterize those 20 and 30 values So please tell me which protocol need to use and procedure to achieve this task. Please help me out in this. Post Resume: Click here to Upload your Resume & Apply for Jobs |
|
IP Logged | |
lalita
Newbie Joined: 26Apr2007 Online Status: Offline Posts: 1 |
Posted: 26Apr2007 at 3:26am |
Perhaps you could detail for the audience here how this would be quite
contrary? As a fellow professional you owe it to the audience to
clarify your statement.
It should be apparent from my previous answer that there is no protocol for batch files. LoadRunner cannot record interaction with a batch file on the same PC where the recording is taking place - unless using Citrix or equivalent. The solution Siva arrived at is not unusual. Nothing in previous posts here ruled out a LoadRunner "system" call. The point you apparently missed is that one does not need LoadRunner to execute a batch file. Batch files existed long before LoadRunner. People executed batch files long before LoadRunner! People used batch files to time code components long before LoadRunner or any commercially equivalent tool was available! This is intended to be a professional forum where misinformation is discouraged. It is trusted that you will support that concept. Your statement "just any protocol is suitable for your task using the C system call for that purpose. " is flawed. There are many protocols available in LR that are not "C". Therefore "system" is not a valid "C system call" in VB or VBScript, etc. Also, "not just any protocol" is suitable for Siva's task. The good thing is that Siva was resourceful, found a way, and then shared it. There are a couple ingredients in that statement we fully support here - "resourceful" and "shared". |
|
IP Logged | |
papayamilkshake
Newbie Joined: 12Sep2007 Online Status: Offline Posts: 1 |
Posted: 12Sep2007 at 9:28am |
Client side activity will not be recorded. If you are profiling on the local machine, then use QTP or Winrunner. LoadRunner is a wrong tool to look at. You may have to share with us what the Java is doing in order to get help. Not much advise can be provided at this point.
|
|
-papayamilkshake
LoadRunner TnT @ http://loadrunnertnt.com |
|
IP Logged | |
Forum Jump |
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
© Vyom Technosoft Pvt. Ltd. All Rights Reserved.