SlideShare a Scribd company logo
1 of 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

More Related Content

What's hot

Leveraging HP Performance Center
Leveraging HP Performance CenterLeveraging HP Performance Center
Leveraging HP Performance Center
Martin Spier
 

What's hot (20)

Postman Introduction
Postman IntroductionPostman Introduction
Postman Introduction
 
POSTMAN.pptx
POSTMAN.pptxPOSTMAN.pptx
POSTMAN.pptx
 
Postman 101 & Office Hours
Postman 101 & Office HoursPostman 101 & Office Hours
Postman 101 & Office Hours
 
Performance Testing using LoadRunner - Kamran Khan [chromeis.com]
Performance Testing using LoadRunner - Kamran Khan [chromeis.com]Performance Testing using LoadRunner - Kamran Khan [chromeis.com]
Performance Testing using LoadRunner - Kamran Khan [chromeis.com]
 
API_Testing_with_Postman
API_Testing_with_PostmanAPI_Testing_with_Postman
API_Testing_with_Postman
 
Bdd and spec flow
Bdd and spec flowBdd and spec flow
Bdd and spec flow
 
Automation testing material by Durgasoft,hyderabad
Automation testing material by Durgasoft,hyderabadAutomation testing material by Durgasoft,hyderabad
Automation testing material by Durgasoft,hyderabad
 
Accelerate Quality with Postman - Basics
Accelerate Quality with Postman - BasicsAccelerate Quality with Postman - Basics
Accelerate Quality with Postman - Basics
 
Loadrunner interview questions and answers
Loadrunner interview questions and answersLoadrunner interview questions and answers
Loadrunner interview questions and answers
 
Load Runner
Load RunnerLoad Runner
Load Runner
 
Selenium Automation Framework
Selenium Automation  FrameworkSelenium Automation  Framework
Selenium Automation Framework
 
Api Testing
Api TestingApi Testing
Api Testing
 
Postman Enterprise Webinar
Postman Enterprise WebinarPostman Enterprise Webinar
Postman Enterprise Webinar
 
Leveraging HP Performance Center
Leveraging HP Performance CenterLeveraging HP Performance Center
Leveraging HP Performance Center
 
REST API testing with SpecFlow
REST API testing with SpecFlowREST API testing with SpecFlow
REST API testing with SpecFlow
 
SAP Performance Testing Using LoadRunner
SAP Performance Testing Using LoadRunnerSAP Performance Testing Using LoadRunner
SAP Performance Testing Using LoadRunner
 
SOA Testing
SOA TestingSOA Testing
SOA Testing
 
API Test Automation Using Karate (Anil Kumar Moka)
API Test Automation Using Karate (Anil Kumar Moka)API Test Automation Using Karate (Anil Kumar Moka)
API Test Automation Using Karate (Anil Kumar Moka)
 
Test automation framework
Test automation frameworkTest automation framework
Test automation framework
 
Postman: An Introduction for Developers
Postman: An Introduction for DevelopersPostman: An Introduction for Developers
Postman: An Introduction for Developers
 

Similar to 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
 

Similar to 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
 
Automation Demystified
Automation DemystifiedAutomation Demystified
Automation Demystified
 
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'
 
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
 

More from Kumar Gupta

NewRelic
NewRelicNewRelic
NewRelic
Kumar Gupta
 
Performance Engineering
Performance EngineeringPerformance Engineering
Performance Engineering
Kumar Gupta
 

More from Kumar Gupta (8)

NewRelic
NewRelicNewRelic
NewRelic
 
Performance Engineering
Performance EngineeringPerformance Engineering
Performance Engineering
 
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
 

Recently uploaded

會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
中 央社
 
SURVEY I created for uni project research
SURVEY I created for uni project researchSURVEY I created for uni project research
SURVEY I created for uni project research
CaitlinCummins3
 
The basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptxThe basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptx
heathfieldcps1
 
Financial Accounting IFRS, 3rd Edition-dikompresi.pdf
Financial Accounting IFRS, 3rd Edition-dikompresi.pdfFinancial Accounting IFRS, 3rd Edition-dikompresi.pdf
Financial Accounting IFRS, 3rd Edition-dikompresi.pdf
MinawBelay
 
MSc Ag Genetics & Plant Breeding: Insights from Previous Year JNKVV Entrance ...
MSc Ag Genetics & Plant Breeding: Insights from Previous Year JNKVV Entrance ...MSc Ag Genetics & Plant Breeding: Insights from Previous Year JNKVV Entrance ...
MSc Ag Genetics & Plant Breeding: Insights from Previous Year JNKVV Entrance ...
Krashi Coaching
 

Recently uploaded (20)

REPRODUCTIVE TOXICITY STUDIE OF MALE AND FEMALEpptx
REPRODUCTIVE TOXICITY  STUDIE OF MALE AND FEMALEpptxREPRODUCTIVE TOXICITY  STUDIE OF MALE AND FEMALEpptx
REPRODUCTIVE TOXICITY STUDIE OF MALE AND FEMALEpptx
 
Mattingly "AI and Prompt Design: LLMs with Text Classification and Open Source"
Mattingly "AI and Prompt Design: LLMs with Text Classification and Open Source"Mattingly "AI and Prompt Design: LLMs with Text Classification and Open Source"
Mattingly "AI and Prompt Design: LLMs with Text Classification and Open Source"
 
Graduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptxGraduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptx
 
demyelinated disorder: multiple sclerosis.pptx
demyelinated disorder: multiple sclerosis.pptxdemyelinated disorder: multiple sclerosis.pptx
demyelinated disorder: multiple sclerosis.pptx
 
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
 
size separation d pharm 1st year pharmaceutics
size separation d pharm 1st year pharmaceuticssize separation d pharm 1st year pharmaceutics
size separation d pharm 1st year pharmaceutics
 
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
 
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
 
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjjStl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
 
Exploring Gemini AI and Integration with MuleSoft | MuleSoft Mysore Meetup #45
Exploring Gemini AI and Integration with MuleSoft | MuleSoft Mysore Meetup #45Exploring Gemini AI and Integration with MuleSoft | MuleSoft Mysore Meetup #45
Exploring Gemini AI and Integration with MuleSoft | MuleSoft Mysore Meetup #45
 
IPL Online Quiz by Pragya; Question Set.
IPL Online Quiz by Pragya; Question Set.IPL Online Quiz by Pragya; Question Set.
IPL Online Quiz by Pragya; Question Set.
 
Dementia (Alzheimer & vasular dementia).
Dementia (Alzheimer & vasular dementia).Dementia (Alzheimer & vasular dementia).
Dementia (Alzheimer & vasular dementia).
 
SURVEY I created for uni project research
SURVEY I created for uni project researchSURVEY I created for uni project research
SURVEY I created for uni project research
 
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
 
Capitol Tech Univ Doctoral Presentation -May 2024
Capitol Tech Univ Doctoral Presentation -May 2024Capitol Tech Univ Doctoral Presentation -May 2024
Capitol Tech Univ Doctoral Presentation -May 2024
 
The basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptxThe basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptx
 
Financial Accounting IFRS, 3rd Edition-dikompresi.pdf
Financial Accounting IFRS, 3rd Edition-dikompresi.pdfFinancial Accounting IFRS, 3rd Edition-dikompresi.pdf
Financial Accounting IFRS, 3rd Edition-dikompresi.pdf
 
Envelope of Discrepancy in Orthodontics: Enhancing Precision in Treatment
 Envelope of Discrepancy in Orthodontics: Enhancing Precision in Treatment Envelope of Discrepancy in Orthodontics: Enhancing Precision in Treatment
Envelope of Discrepancy in Orthodontics: Enhancing Precision in Treatment
 
MSc Ag Genetics & Plant Breeding: Insights from Previous Year JNKVV Entrance ...
MSc Ag Genetics & Plant Breeding: Insights from Previous Year JNKVV Entrance ...MSc Ag Genetics & Plant Breeding: Insights from Previous Year JNKVV Entrance ...
MSc Ag Genetics & Plant Breeding: Insights from Previous Year JNKVV Entrance ...
 
Championnat de France de Tennis de table/
Championnat de France de Tennis de table/Championnat de France de Tennis de table/
Championnat de France de Tennis de table/
 

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