这个是loadrunner官方的协议配置sdk,可以进行二次开发和使用。Documentation UpdatesThe title page of this document contains the following identifying informationSoftware version number which indicates the software versionDocument Release Date, which changes each time the document is updatedSoftware release date. which indicates the release date of this version of the softwareTo check for recent updates, or to verify that you are using the most recent edition of adocument, go tohttp://h20230.www2.hp.com/selfsolve/manualsThis site requires that you register for an hP Passport and sign- in. To register for an hPPassport ID, go tohttp://h20229.www2.hp.com/passport-registration.htmlOr click the New users-please register link on the HP Passport login pageYou will also receive updated or new editions if you subscribe to the appropriate productsupport service. Contact your hP sales representative for details3SOppoVisit the HP Software Support web site athttp://www.hp.com/go/hpsoftwaresupportThis web site provides contact information and details about the products, services, andsupport that hP Software offersHP Software online support provides customer self-solve capabilities. It provides a fast andefficient way to access interactive technical support tools needed to manage your businessAs a valued support customer, you can benefit by using the support web site to:Search for knowledge documents of interestSubmit and track support cases and enhancement requestsDownload software patchesManage support contractsLook up HP support contactsReview information about available servicesEnter into discussions with other software customersResearch and register for software trainingMost of the support areas require that you register as an HP Passport user and sign in.Many also require a support contract. To register for an HP Passport iD, go tohttp://h20229.www2.hp.com/passport-registration.htmlTo find more information about access levels, go tohttp://h20280.www2.hp.com/new_access_levelsijspTable of contentsPART NTRODUCTIONChapter 1: HP Performance validation SDK Overview.........11How this book is o12about loadrunner protocols .............................................................13How Protocols work within a test run14How Protocols Work During recording……………16How Protocols Work During Code Generation…………1Features Supported by the SDK…………,,…,…,…………20Features Not Supported by the SDK22What's New22Limitations23Installation23Chapter2: SDK Quick Start.…….………,…………25PaRT PROTOCOL IMPLEMENTATIONChapter3: Before Implementation…………,…,…,…………31Prerequisite Knowledge.··31Recommended development environment……,,…,…,32What You need to get from hpInformation Required before Implementation………33Design...............35Setting Up Your environment41Chapter 4: Implementing Test Run........45Coding the API Functions…………45Test Run utilities: The PRotocol Extension Class55Implementing the C Language API Function Interfaces58Implementing registration of the protocol. .......................................60Defining error and warning messages)……,,…,……,161Virtualuserdatawwwwwwwwwwwww.66Run-time settings68Table of ContentsChapter5: Implementing Recording…………….….….…………..71Choosing a Recording Technique…………….71C/C++ API Hooking.……········74Socket-Based recording81Http-basEd and web- Based recording……83Chapter6: Implementing Code Generation……………185Filters86Handling All Types of Events87Handling Socket Level Events……,…,,…,…,…,…………,…91Handling Http Events………,…,…,…,…,…,……,…,……….93Handling WEB Events94Handling API Hooking events……The Code generation api94Correlated steps95Chapter7: Events……………D··音非,·自·4·非自···看。自自自鲁非97About events∴97Declaring Event Types98Supporting Complex Function Data Types……….….….…….100gistering Event type103Events from the loadRunner recording infrastructure.………104Recording and Generation Logs…….…112Viewing Recorded Events.............................115Chapter8: Documenting the protocol………….17Documenting the apls118Documenting the use of the protocol.....m................120The readme file120Chapter9: Testing and Debugging………123Setting Up Your Protocol for Use with LoadRunner…………….123Debugging test run.…124Testing Test run………….125Debugging recording........:.....····128Testing Recording129Debugging Code generation………130Testing Code generation………,…,…,,…,…130General Testing………132Table of contentsChapter10: API Functions with positiona| Arguments……………133part: PROTOCOL CONFIGURATIONChapter 11: Using HP Performance Validation SDKConfiguration Builder……….….….….….…......139The Protocol Information Dialog.….….……………141The Template Files dialog…….142The Additional Settings Dialog.·:..···.····142The API Functions Dialog…,…,,,…,…,…,…,…143The Supported platforms Dialog146The run-time settings dialog........................146The recording methods Dialog.,,…,…,,,…147The Code Generation Dialog………,…,…,…,,…,,……150The Recording and Regeneration Dialog………….…151The Recording Settings Dialog…….…….……………………152The summary……………Chapter1z: Configuration Files…………………………55The Template Folder.…∴156Header files………5Script settings: The USR File····················158Permitted function calls: The asl file...............158Runtime Environment Settings: The MDRV Data File159Step Display: The Steps Data File160IntelliSense; The runtimes Cpp. h File…………………163Highlighting;: The vlX file….….,…,,…,…,165Protocol con figuration the lrp file166Protocol- Specific User Settings………………………179PART V: NSTALLATION BUILDERChapter13: Using the Installation Builder∴………….….…191About the installation builde191Getting started195Configuring Installation Package Properties200Configuring Patch Package Properties……,…,……203Generating a Build....204Table of ContentsPART V: REFERENCE MATERIAL AND APPENDICESAppendix A: Glossary………………209Appendix B: Protocol add- on certification……………215Certification checklist2158PartIntroduction10