`
jedichou
  • 浏览: 20493 次
  • 性别: Icon_minigender_1
  • 来自: 武汉
最近访客 更多访客>>
社区版块
存档分类
最新评论

20080408-Loadrunner-COM Vuser Functions (LRC)

阅读更多
Creating Instances
lrc_CoCreateInstance:  Creates an instance of an object and returns the unknown interface. 
lrc_CreateInstanceEx:  Creates an instance of an object on a remote machine and can return multiple interfaces. 
lrc_CoGetClassObject:  Fetches the class factory for the specified class. The class factory can then be used to create multiple objects of that class. 
lrc_Release_Object:  Releases a COM object no longer in use. 

IDispatch Interface Calls
lrc_DispMethod:  Invokes a method of an interface using the IDispatch:Invoke method. 
lrc_DispMethod1:  Invokes a method and gets a property of the same name using the IDispatch interface. 
lrc_DispPropertyGet:  Gets a property using the IDispatch interface. 
lrc_DispPropertyPut:  Sets a property using the IDispatch interface. 
lrc_DispPropertyPutRef:  Sets a property by reference using the IDispatch interface. 

Type Conversion From String
lrc_ascii_BSTR:  Converts a string into an ascii BSTR. 
lrc_ascii_BSTR_by_ref:  Converts a string into an ascii BSTR reference. 
lrc_bool:  Converts a string into a Boolean variant. 
lrc_bool_by_ref:  Converts a string into a Boolean variant reference 
lrc_BSTR:  Converts a string into a BSTR. 
lrc_BYTE:  Converts a string into a byte. 
lrc_char:  Converts a string into a char. 
lrc_char_by_ref:  Converts a string into a char reference. 
lrc_currency:  Converts a string into a currency value. 
lrc_currency_by_ref:  Converts a string into a currency value reference. 
lrc_date:  Converts a string into a date. 
lrc_date_by_ref:  Converts a string into a date reference. 
lrc_double:  Converts a string into a double. 
lrc_double_by_ref:  Converts a string into a double reference. 
lrc_dword:  Converts a string into a double word (dword). 
lrc_float:  Converts a string into a floating point number. 
lrc_float_by_ref:  Converts a string into a floating point number reference. 
lrc_GUID:  Returns the GUID of a named object. 
lrc_GUID_by_ref:  Returns the GUID of a named object. 
lrc_hyper:  Converts a string into a hyper integer. 
lrc_hyper_by_ref:  Converts a string into a hyper reference. 
lrc_int:  Converts a string into an integer. 
lrc_int_by_ref:  Converts a string into an integer reference. 

lrc_long:  Converts a string into a long integer. 
lrc_long_by_ref:  Converts a string into a long integer reference. 
lrc_short:  Converts a string into a short integer. 
lrc_short_by_ref:  Converts a string into a short integer reference. 
lrc_uhyper:  Converts a string to an unsigned 64 bit hyper integer. 
lrc_uhyper_by_ref:  Converts a string to an unsigned 64 bit hyper reference. 
lrc_uint:  Converts a string into an unsigned integer. 
lrc_unsigned_int:  Converts a string into an unsigned integer. 
lrc_uint_by_ref:  Converts a string into an unsigned integer reference. 
lrc_ulong:  Converts a string into an unsigned long. 
lrc_unsigned_long:  Converts a string into an unsigned long. 
lrc_ulong_by_ref:  Converts a string into an unsigned long reference 
lrc_ushort:  Converts a string into a short integer. 
lrc_unsigned_short  Converts a string into a short integer. 
lrc_ushort_by_ref:  Converts a string into a short reference. 

Assignment to Variants
lrc_variant_<Type-Name>Array:  Assigns an array of Type-Name to a variant.
lrc_variant_ascii_BSTR:  Assigns a string to an ascii BSTR value in a variant.
lrc_variant_bool:  Assigns a string to a Boolean value in a variant.
lrc_variant_BSTR:  Assigns a string to a BSTR in a variant. 
lrc_variant_BYTE:  Assigns a string to an unsigned char (byte) value stored in a variant. 
lrc_variant_char:  Assigns a string to a char type in a variant. 
lrc_variant_CoObject:  Assigns an IUnknown interface pointer to a variant. 
lrc_variant_currency:  Assigns a string to a currency value in a variant. 
lrc_variant_date:  Assigns a string to a date value in a variant. 
lrc_variant_DispObject:  Assigns an IDispatch interface pointer to a variant. 
lrc_variant_double:  Assigns a string into a double-type value in a variant. 
lrc_variant_float:  Assigns a string to a float-type value stored in a variant. 
lrc_variant_int:  Assigns a string to an integer in a variant. 
lrc_variant_long:  Assigns a string to a long integer stored in a variant. 
lrc_variant_scode:  Assigns a string to an error code value in a variant. 
lrc_variant_short:  Assigns a string to a short integer in a variant. 
lrc_variant_uint:  Assigns a string into an unsigned integer in a variant. 
lrc_variant_ulong:  Assigns a string to an unsigned long integer in a variant. 
lrc_variant_ushort:  Assigns a string to an unsigned short integer in a variant. 

Create New Variants                       
lrc_variant_empty:  Creates an empty variant. 
lrc_variant_null:  Creates a NULL variant. 
lrc_variant_variant_by_ref:  Creates a new variant containing an existing variant. 
lrc_variant_null_by_variant:  Converts a string to a null variant stored by another variant. 
lrc_variant_empty_by_variant:  Converts a string to a empty variant stored by another variant.

Assignment to Variants - By Reference and By Variant
lrc_variant_<Type-Name>Array_ by_ref: Returns a reference to an array of Type-Name in a variant.
lrc_variant_ascii_BSTR_by_ref:  Assigns a string to an ascii BSTR value stored by reference in a variant.
lrc_variant_BSTR_by_variant:  Assigns a string to an ascii BSTR value stored by a variant to a variant.
lrc_variant_bool_by_ref:  Assigns a string to a Boolean value stored by reference in a variant.
lrc_variant_bool_by_variant:  Assigns a string to a Boolean value stored by a variant to a variant.
lrc_variant_BSTR_by_ref:  Assigns a string to a BSTR value stored by reference in a variant.
lrc_variant_BYTE_by_ref  Assigns a string to a char (byte) stored by reference in a variant. 
lrc_variant_BYTE_by_variant:  Assigns a string to a char (byte) stored by a variant to a variant.
lrc_variant_char_by_ref:  Assigns a string to a char stored by reference in a variant.
lrc_variant_CoObject_by_ref:  Assigns an IUnknown interface pointer to a variant.
lrc_variant_CoObject_by_variant:  Assigns an IUnknown interface pointer to a variant of a variant.
lrc_variant_currency_by_ref:  Converts a string into a currency type value stored by reference in a variant.
lrc_variant_currency_by_variant:  Converts a string into a currency type value stored by a variant to a variant.
lrc_variant_date_by_ref:  Assigns a string to a date type value stored by reference in a variant.
lrc_variant_date_by_variant:  Assigns a string to a date type value stored by a variant to a variant.
lrc_variant_DispObject_by_ref:  Assigns an IDispatch interface pointer to a variant.
lrc_variant_DispObject_by_variant:  Assigns an IDispatch interface pointer to a variant of a variant.
lrc_variant_double_by_ref:  Assigns a string to a double-type value by reference into a variant.
lrc_variant_double_by_variant:  Converts a string to a double type value stored by a variant to a variant.
lrc_variant_float_by_ref:  Assigns a string to a float-type value stored by reference in a variant.
lrc_variant_float_by_variant:  Assigns a string to a float-type value stored by a variant to a variant.
lrc_variant_from_variant_by_ref:  Gets a variant from within a variant.
lrc_variant_int_by_ref:  Assigns a string to an integer stored by reference in a variant.
lrc_variant_long_by_ref:  Assigns a string to a long integer stored by reference in a variant.
lrc_variant_long_by_variant:  Assigns a string to a long integer stored by a variant to a variant.
lrc_variant_scode_by_ref:  Assigns a string to an error code value stored by reference in a variant.
lrc_variant_scode_by_variant:  Assigns a string to an error code value stored by a variant to a variant.
lrc_variant_short_by_ref:  Assigns a string to a short integer stored by reference in a variant.
lrc_variant_short_by_variant:  Assigns a string to a short integer stored by a variant to a variant.
lrc_variant_uint_by_ref:  Assigns a string to an unsigned integer stored by reference in a variant.
lrc_variant_ulong_by_ref:  Assigns a string to an unsigned long integer stored by reference in a variant.
lrc_variant_ushort_by_ref:  Assigns a string to an unsigned short integer stored by reference in a variant.

分享到:
评论
1 楼 higkoo 2010-09-15  
贴出来有何用?

帮助文档上不是有吗?

相关推荐

    LoadRunner详解(vuser/controller/analysis)之vuser

    ### LoadRunner vuser详解 #### 一、LoadRunner与Vuser概述 LoadRunner是一种软件性能测试工具,由Mercury Interactive Corporation开发,后被惠普收购。该工具主要用于预测系统行为和性能,特别是在高负载下。它...

    性能测试进阶指南--LoadRunner 9.1实战

    2. **VU脚本**:LoadRunner使用Vuser脚本来定义用户行为。Vuser脚本可以通过录制、回放、编辑和增强来创建。例如,你可以先录制一个用户在网页上浏览、登录、搜索的会话,然后回放这些脚本以模拟多个用户同时执行...

    测试软件使用手册-LoadRunner12.55

    LoadRunner是通过先记录并保存用户的实际操作过程、再模拟用户操作过程来测试系统性能的自动化负载测试工具。 它适用于各种体系架构,主要用于测试并发程序的性能(从软件配置主要测试用户数就可以看出)。它能自动...

    MI-Loadrunner中文教程

    MI-LoadRunner中文教程是一份全面介绍如何使用HP LoadRunner进行性能测试的专业资料。LoadRunner是业界广泛使用的性能测试工具,能够模拟大量用户并发访问应用系统,以评估系统的性能和稳定性。以下是对教程中各部分...

    IP欺骗-loadrunner高级教程专篇

    IP欺骗-loadrunner高级教程专篇

    Micro-Focus-LoadRunner-2023-Community-Edition-Language-Packs.exe

    LoadRunner是性能测试中最常见的性能测试工具,也是软件测试实验室申请相关资质一定需要采购的一款工具。今年它更新了新版本2023,其中有几个功能与之前的版本相比有了很大的突破,本文我们就为大家分析一下...

    性能测试-LoadRunner.pptx

    性能测试-LoadRunner.pptx

    软件测试-LOAdrunnER

    软件测试-loadrunner破解版,很好啊。

    Micro-Focus-LoadRunner-2023-Community-Edition.exe

    LoadRunner是性能测试中最常见的性能测试工具,也是软件测试实验室申请相关资质一定需要采购的一款工具。今年它更新了新版本2023,其中有几个功能与之前的版本相比有了很大的突破,本文我们就为大家分析一下...

    Micro-Focus-LoadRunner-2022-Community-Edition.exe

    LoadRunner是一款专业级别的应用负载测试工具,它可以模拟上千万用户对企业应用进行真实的负载测试,通过大量实时监测器和精确的分析来得到最真实的数据。

    HETF-LoadRunner使用入门手册.zip

    **HETF-LoadRunner使用入门手册** LoadRunner是一款强大的负载测试工具,由HP(现已被Micro Focus收购)开发,用于模拟大量并发用户执行业务流程,从而测试应用系统的性能和稳定性。在“HETF-LoadRunner使用入门...

    loadrunner7.8Controller、vuser、Analysis使用指南

    《LoadRunner 7.8 Controller、Vuser、Analysis 使用指南》是针对HP LoadRunner这款强大的性能测试工具的一份详尽教程。LoadRunner是一款业界广泛使用的性能测试工具,它能够模拟大量用户并发执行业务流程,以此来...

    IP欺骗-LOADRUNNER高级教程专篇.ppt

    IP欺骗-LOADRUNNER高级教程专篇

    性能测试从零开始--loadrunner脚本

    LoadRunner是一款由Micro Focus公司开发的业界广泛使用的性能测试工具,它能够模拟大量用户并发执行任务,以此来评估系统在负载下的性能表现。本教程将带你从零开始了解如何使用LoadRunner进行性能测试,特别是关于...

    软件测试(性能测试--loadrunner+讲稿)

    LoadRunner是一款由Micro Focus公司推出的强大性能测试工具,它允许开发者和测试人员模拟大量用户并发访问应用系统,以此来评估系统在高负载下的表现、稳定性和资源利用率。 "软件测试(性能测试--loadrunner+讲稿...

    Fundamentals-of-LoadRunner.zip_Fundamentals_LoadRunner

    【标题】"LoadRunner基础教程",这是一份关于HP LoadRunner的基础教学资料,主要针对初学者,旨在帮助他们理解并掌握LoadRunner的基本概念和操作。LoadRunner是一款强大的负载测试工具,广泛应用于软件性能测试中,...

    loadrunner 创建 vuser 脚本指南(一)

    【LoadRunner创建VUser脚本指南(一)】 在IT性能测试领域,LoadRunner是一款备受推崇的工具,它能够模拟大量虚拟用户(VUser)来对应用系统进行压力测试,从而评估系统的性能和稳定性。本指南将深入探讨如何使用...

    Web应用的压力测试-loadrunner(好资料收藏).ppt

    Web应用的压力测试-loadrunner(好资料收藏)

Global site tag (gtag.js) - Google Analytics