Active TopicsActive Topics  Display List of Forum MembersMemberlist  CalendarCalendar  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin


 One Stop Testing ForumTesting Tools @ OneStopTestingLoadRunner @ OneStopTesting

Message Icon Topic: Scripting on Batch file using LoadRunner

Post Reply Post New Topic
Author Message
rima
Newbie
Newbie
Avatar

Joined: 25Apr2007
Online Status: Offline
Posts: 1
Quote rima Replybullet 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 IP Logged
lalita
Newbie
Newbie
Avatar

Joined: 26Apr2007
Online Status: Offline
Posts: 1
Quote lalita Replybullet 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 IP Logged
papayamilkshake
Newbie
Newbie


Joined: 12Sep2007
Online Status: Offline
Posts: 1
Quote papayamilkshake Replybullet 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 IP Logged
Post Reply Post New Topic
Printable version Printable version

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



This page was generated in 4.906 seconds.
Vyom is an ISO 9001:2000 Certified Organization

© Vyom Technosoft Pvt. Ltd. All Rights Reserved.

Privacy Policy | Terms and Conditions
Job Interview Questions | Placement Papers | Free SMS | Freshers Jobs | MBA Forum | Learn SAP | Web Hosting