SlideShare ist ein Scribd-Unternehmen logo
1 von 16
Isha Training Solutions
To Enroll For The Complete Course Follow The Link
http://ishatrainingsolutions.org/true-client-protocol
How to do Parameterization using
TrueClient Protocol?
To Enroll For The Complete Course Follow The Link
http://ishatrainingsolutions.org/true-client-protocol
Parameterization is passing different values for each virtual user or iteration.
When you record an application using true client protocol in Loadrunner, the
script contains values such as username, password, account number etc.
Suppose if you want to pass different username, password and account
numbers for each iteration that login into the application, then you can use
parameterization.
What is Parameterization?
To Enroll For The Complete Course Follow The Link
http://ishatrainingsolutions.org/true-client-protocol
Steps to create Parameterization in Trueclient script:-
As we can see on below image, User is registering on Website with his personal
phone number. But in real time there will be number of users who will be
registering with their unique personal details including phone number, name,
address etc. So in that we case, we need to parameterize those value in our true
client script.
So let’s start with this approach which is very simple. As shown in below
screenshot, Select the value which you want to parameterize let’s say phone
number (See highlighted field below).
To Enroll For The Complete Course Follow The Link
http://ishatrainingsolutions.org/true-client-protocol
Figure 1.1 :Values highlighted for parameterization
To Enroll For The Complete Course Follow The Link
http://ishatrainingsolutions.org/true-client-protocol
Expand the steps as shown below. Go to
Arguments.
To Enroll For The Complete Course Follow The Link
http://ishatrainingsolutions.org/true-client-protocol
Figure 1.2: Expand the Step.
To Enroll For The Complete Course Follow The Link
http://ishatrainingsolutions.org/true-client-protocol
Select the value as a type of Java script value.
Icon Type
Literal string
JavaScript value
Parameter
To Enroll For The Complete Course Follow The Link
http://ishatrainingsolutions.org/true-client-protocol
Figure 1.3: Select JS in Parameter type.
To Enroll For The Complete Course Follow The Link
http://ishatrainingsolutions.org/true-client-protocol
Figure 1.4: Diagram showing type JS selected in parameter.
To Enroll For The Complete Course Follow The Link
http://ishatrainingsolutions.org/true-client-protocol
Right-click and select Replace with a Parameter.
Figure 1.5:Right click and select ‘Create new parameter for selection’.
To Enroll For The Complete Course Follow The Link
http://ishatrainingsolutions.org/true-client-protocol
In the Enter Parameter Name dialog box, enter the parameter name.
If the parameter does not exist in the Parameter List, it is created and the
default parameter type is set to File.
You can go to the Parameter List to add or delete values for the specified
parameter.
By default, the original value is included in the list of values for the
To Enroll For The Complete Course Follow The Link
http://ishatrainingsolutions.org/true-client-protocol
Figure 1.6: provide parameter name and confirm.
To Enroll For The Complete Course Follow The Link
http://ishatrainingsolutions.org/true-client-protocol
Once you click on Ok, it will create a JS function TC.getParam(“Phonenumber”)
in value. You can also type this JS function in value tab and select parameter type
as JS.
Figure 1.7: After confirming JS code in value will be displayed as
TC.getParam(“PhoneNumber”); .
To Enroll For The Complete Course Follow The Link
http://ishatrainingsolutions.org/true-client-protocol
Figure 1.8: Go to parameters > change the value as per the test.
As You can see Parameterization is done using trueclient protocol in loadrunner.
To Enroll For The Complete Course Follow The Link
http://ishatrainingsolutions.org/true-client-protocol
To Enroll For The Complete Course Follow The Link
http://ishatrainingsolutions.org/true-client-protocol/
Thank You

Weitere ähnliche Inhalte

Was ist angesagt?

Chatter - Salesforce.com
Chatter - Salesforce.comChatter - Salesforce.com
Chatter - Salesforce.com
Paul Lechner
 
Generic test cases guidelines
Generic test cases guidelinesGeneric test cases guidelines
Generic test cases guidelines
krishna kishore
 
Best Practices for Test Case Writing
Best Practices for Test Case WritingBest Practices for Test Case Writing
Best Practices for Test Case Writing
Sarah Goldberg
 

Was ist angesagt? (20)

Boost your App with Gatling
Boost your App with GatlingBoost your App with Gatling
Boost your App with Gatling
 
What are Software Testing Methodologies | Software Testing Techniques | Edureka
What are Software Testing Methodologies | Software Testing Techniques | EdurekaWhat are Software Testing Methodologies | Software Testing Techniques | Edureka
What are Software Testing Methodologies | Software Testing Techniques | Edureka
 
Chatter - Salesforce.com
Chatter - Salesforce.comChatter - Salesforce.com
Chatter - Salesforce.com
 
How Salesforce Uses Salesforce for Sales
How Salesforce Uses Salesforce for SalesHow Salesforce Uses Salesforce for Sales
How Salesforce Uses Salesforce for Sales
 
Managing Change With A Sensible Sandbox Architecture
Managing Change With A Sensible Sandbox ArchitectureManaging Change With A Sensible Sandbox Architecture
Managing Change With A Sensible Sandbox Architecture
 
Customer Success Manager Portfolio
Customer Success Manager PortfolioCustomer Success Manager Portfolio
Customer Success Manager Portfolio
 
Resume & Cover Letter Presentation
Resume & Cover Letter PresentationResume & Cover Letter Presentation
Resume & Cover Letter Presentation
 
How to create a 'Master Test Plan'
How to create a 'Master Test Plan'How to create a 'Master Test Plan'
How to create a 'Master Test Plan'
 
Salesforce talk
Salesforce talkSalesforce talk
Salesforce talk
 
6 Ways to Measure the ROI of Automated Testing
6 Ways to Measure the ROI of Automated Testing6 Ways to Measure the ROI of Automated Testing
6 Ways to Measure the ROI of Automated Testing
 
Expert Blog PPT: Salesforce High-Velocity Sales for Opportunities
Expert Blog PPT: Salesforce High-Velocity Sales for OpportunitiesExpert Blog PPT: Salesforce High-Velocity Sales for Opportunities
Expert Blog PPT: Salesforce High-Velocity Sales for Opportunities
 
JMeter vs LoadRunner | Edureka
JMeter vs LoadRunner | EdurekaJMeter vs LoadRunner | Edureka
JMeter vs LoadRunner | Edureka
 
What is-smoke-testing ?
What is-smoke-testing ?What is-smoke-testing ?
What is-smoke-testing ?
 
Generic test cases guidelines
Generic test cases guidelinesGeneric test cases guidelines
Generic test cases guidelines
 
Sample Gallery: Reference Code and Best Practices for Salesforce Developers
Sample Gallery: Reference Code and Best Practices for Salesforce DevelopersSample Gallery: Reference Code and Best Practices for Salesforce Developers
Sample Gallery: Reference Code and Best Practices for Salesforce Developers
 
Salesforce.com Sandbox management
Salesforce.com Sandbox management Salesforce.com Sandbox management
Salesforce.com Sandbox management
 
Test Strategy and Planning
Test Strategy and PlanningTest Strategy and Planning
Test Strategy and Planning
 
Performance Testing using LoadRunner
Performance Testing using LoadRunnerPerformance Testing using LoadRunner
Performance Testing using LoadRunner
 
Best Practices for Test Case Writing
Best Practices for Test Case WritingBest Practices for Test Case Writing
Best Practices for Test Case Writing
 
Salesforce Service Cloud Training | Salesforce Training For Beginners - Servi...
Salesforce Service Cloud Training | Salesforce Training For Beginners - Servi...Salesforce Service Cloud Training | Salesforce Training For Beginners - Servi...
Salesforce Service Cloud Training | Salesforce Training For Beginners - Servi...
 

Ähnlich wie Parametrization using TruClient Protocol

Open sap ui51_week_2_unit_3_acdt_exercises
Open sap ui51_week_2_unit_3_acdt_exercisesOpen sap ui51_week_2_unit_3_acdt_exercises
Open sap ui51_week_2_unit_3_acdt_exercises
vikram sukumar
 
Oracle hfm beginner's guide part ii
Oracle hfm beginner's guide  part iiOracle hfm beginner's guide  part ii
Oracle hfm beginner's guide part ii
Amit Sharma
 
S-Controls for Dummies
S-Controls for DummiesS-Controls for Dummies
S-Controls for Dummies
dreamforce2006
 
S-Controls for Dummies
S-Controls for DummiesS-Controls for Dummies
S-Controls for Dummies
dreamforce2006
 
AcceptCriteria_TestCases_TestScripts
AcceptCriteria_TestCases_TestScriptsAcceptCriteria_TestCases_TestScripts
AcceptCriteria_TestCases_TestScripts
Russell Pannone
 
Leverage StandardSetController in Apex and Visualforce
Leverage StandardSetController in Apex and VisualforceLeverage StandardSetController in Apex and Visualforce
Leverage StandardSetController in Apex and Visualforce
Salesforce Developers
 

Ähnlich wie Parametrization using TruClient Protocol (20)

Open sap ui51_week_2_unit_3_acdt_exercises
Open sap ui51_week_2_unit_3_acdt_exercisesOpen sap ui51_week_2_unit_3_acdt_exercises
Open sap ui51_week_2_unit_3_acdt_exercises
 
Oracle hfm beginner's guide part ii
Oracle hfm beginner's guide  part iiOracle hfm beginner's guide  part ii
Oracle hfm beginner's guide part ii
 
AWS Mechanical Turk Office Hours - Jan 2011
AWS Mechanical Turk Office Hours - Jan 2011AWS Mechanical Turk Office Hours - Jan 2011
AWS Mechanical Turk Office Hours - Jan 2011
 
E-Bazaar
E-BazaarE-Bazaar
E-Bazaar
 
Rpt ppt
Rpt pptRpt ppt
Rpt ppt
 
User stories through Five W's technique
User stories through Five W's  techniqueUser stories through Five W's  technique
User stories through Five W's technique
 
Forms With Ajax And Advanced Plugins
Forms With Ajax And Advanced PluginsForms With Ajax And Advanced Plugins
Forms With Ajax And Advanced Plugins
 
S-Controls for Dummies
S-Controls for DummiesS-Controls for Dummies
S-Controls for Dummies
 
S-Controls for Dummies
S-Controls for DummiesS-Controls for Dummies
S-Controls for Dummies
 
AcceptCriteria_TestCases_TestScripts
AcceptCriteria_TestCases_TestScriptsAcceptCriteria_TestCases_TestScripts
AcceptCriteria_TestCases_TestScripts
 
Mike King | SearchLove San Diego, 'Automation Demystified'
Mike King | SearchLove San Diego, 'Automation Demystified'Mike King | SearchLove San Diego, 'Automation Demystified'
Mike King | SearchLove San Diego, 'Automation Demystified'
 
Automation Demystified
Automation DemystifiedAutomation Demystified
Automation Demystified
 
Salesforce Summer 19 Release Overview
Salesforce Summer 19 Release OverviewSalesforce Summer 19 Release Overview
Salesforce Summer 19 Release Overview
 
Inventory management system
Inventory management systemInventory management system
Inventory management system
 
Leverage StandardSetController in Apex and Visualforce
Leverage StandardSetController in Apex and VisualforceLeverage StandardSetController in Apex and Visualforce
Leverage StandardSetController in Apex and Visualforce
 
API and Platform Strategies to Win in Global and Local Markets
API and Platform Strategies to Win in Global and Local MarketsAPI and Platform Strategies to Win in Global and Local Markets
API and Platform Strategies to Win in Global and Local Markets
 
Managing customer complaints
Managing customer complaintsManaging customer complaints
Managing customer complaints
 
Building towards a Composite API Framework in Salesforce
Building towards a Composite API Framework in SalesforceBuilding towards a Composite API Framework in Salesforce
Building towards a Composite API Framework in Salesforce
 
CiviCRM API v3
CiviCRM API v3CiviCRM API v3
CiviCRM API v3
 
Winter24-Welly Release Overview - Stephen Stanley.pdf
Winter24-Welly Release Overview - Stephen Stanley.pdfWinter24-Welly Release Overview - Stephen Stanley.pdf
Winter24-Welly Release Overview - Stephen Stanley.pdf
 

Mehr von Kumar Gupta

NewRelic
NewRelicNewRelic
NewRelic
Kumar Gupta
 
Performance Engineering
Performance EngineeringPerformance Engineering
Performance Engineering
Kumar Gupta
 
TruClient Protocol Using LoadRunner
TruClient Protocol Using LoadRunnerTruClient Protocol Using LoadRunner
TruClient Protocol Using LoadRunner
Kumar Gupta
 

Mehr von Kumar Gupta (10)

NewRelic
NewRelicNewRelic
NewRelic
 
Performance Engineering
Performance EngineeringPerformance Engineering
Performance Engineering
 
TruClient Protocol Using LoadRunner
TruClient Protocol Using LoadRunnerTruClient Protocol Using LoadRunner
TruClient Protocol Using LoadRunner
 
Web services Hand_Out
Web services Hand_OutWeb services Hand_Out
Web services Hand_Out
 
LoadRunner Cloud
LoadRunner CloudLoadRunner Cloud
LoadRunner Cloud
 
Verify a step in TrueClient Protocol
Verify a step in TrueClient ProtocolVerify a step in TrueClient Protocol
Verify a step in TrueClient Protocol
 
Neoload
Neoload Neoload
Neoload
 
Webservices
WebservicesWebservices
Webservices
 
SAP Performance Testing Using LoadRunner
SAP Performance Testing Using LoadRunnerSAP Performance Testing Using LoadRunner
SAP Performance Testing Using LoadRunner
 
SAP Performance Testing Using LoadRunner
SAP Performance Testing Using LoadRunnerSAP Performance Testing Using LoadRunner
SAP Performance Testing Using LoadRunner
 

Kürzlich hochgeladen

Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
MateoGardella
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
Chris Hunter
 

Kürzlich hochgeladen (20)

psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 

Parametrization using TruClient Protocol

  • 1. Isha Training Solutions To Enroll For The Complete Course Follow The Link http://ishatrainingsolutions.org/true-client-protocol
  • 2. How to do Parameterization using TrueClient Protocol? To Enroll For The Complete Course Follow The Link http://ishatrainingsolutions.org/true-client-protocol
  • 3. Parameterization is passing different values for each virtual user or iteration. When you record an application using true client protocol in Loadrunner, the script contains values such as username, password, account number etc. Suppose if you want to pass different username, password and account numbers for each iteration that login into the application, then you can use parameterization. What is Parameterization? To Enroll For The Complete Course Follow The Link http://ishatrainingsolutions.org/true-client-protocol
  • 4. Steps to create Parameterization in Trueclient script:- As we can see on below image, User is registering on Website with his personal phone number. But in real time there will be number of users who will be registering with their unique personal details including phone number, name, address etc. So in that we case, we need to parameterize those value in our true client script. So let’s start with this approach which is very simple. As shown in below screenshot, Select the value which you want to parameterize let’s say phone number (See highlighted field below). To Enroll For The Complete Course Follow The Link http://ishatrainingsolutions.org/true-client-protocol
  • 5. Figure 1.1 :Values highlighted for parameterization To Enroll For The Complete Course Follow The Link http://ishatrainingsolutions.org/true-client-protocol
  • 6. Expand the steps as shown below. Go to Arguments. To Enroll For The Complete Course Follow The Link http://ishatrainingsolutions.org/true-client-protocol
  • 7. Figure 1.2: Expand the Step. To Enroll For The Complete Course Follow The Link http://ishatrainingsolutions.org/true-client-protocol
  • 8. Select the value as a type of Java script value. Icon Type Literal string JavaScript value Parameter To Enroll For The Complete Course Follow The Link http://ishatrainingsolutions.org/true-client-protocol
  • 9. Figure 1.3: Select JS in Parameter type. To Enroll For The Complete Course Follow The Link http://ishatrainingsolutions.org/true-client-protocol
  • 10. Figure 1.4: Diagram showing type JS selected in parameter. To Enroll For The Complete Course Follow The Link http://ishatrainingsolutions.org/true-client-protocol
  • 11. Right-click and select Replace with a Parameter. Figure 1.5:Right click and select ‘Create new parameter for selection’. To Enroll For The Complete Course Follow The Link http://ishatrainingsolutions.org/true-client-protocol
  • 12. In the Enter Parameter Name dialog box, enter the parameter name. If the parameter does not exist in the Parameter List, it is created and the default parameter type is set to File. You can go to the Parameter List to add or delete values for the specified parameter. By default, the original value is included in the list of values for the To Enroll For The Complete Course Follow The Link http://ishatrainingsolutions.org/true-client-protocol
  • 13. Figure 1.6: provide parameter name and confirm. To Enroll For The Complete Course Follow The Link http://ishatrainingsolutions.org/true-client-protocol
  • 14. Once you click on Ok, it will create a JS function TC.getParam(“Phonenumber”) in value. You can also type this JS function in value tab and select parameter type as JS. Figure 1.7: After confirming JS code in value will be displayed as TC.getParam(“PhoneNumber”); . To Enroll For The Complete Course Follow The Link http://ishatrainingsolutions.org/true-client-protocol
  • 15. Figure 1.8: Go to parameters > change the value as per the test. As You can see Parameterization is done using trueclient protocol in loadrunner. To Enroll For The Complete Course Follow The Link http://ishatrainingsolutions.org/true-client-protocol
  • 16. To Enroll For The Complete Course Follow The Link http://ishatrainingsolutions.org/true-client-protocol/ Thank You