记录 Oracle Primavera P6 PPM 时,我应该为 LoadRunner 使用什么协议?
LoadRunner/VUGen 版本:9.5
Oracle Primavera P6 PPM 版本:7.0.0
我已经使用了协议分析器。它推荐 COM/DCOM、LDAP、Win Sockets。
我已经尝试使用以下协议记录我的脚本:
- 所有推荐的协议(组合、单独)。我在 buffer5 上收到错误(在加载时),然后它退出了。
- 所有三个 Oracle 协议(组合的、单独的)都不起作用。有些甚至没有记录任何内容。
- 一种或多种 Oracle 协议与 Win Sockets 的组合(结果与 1 相同)
我查看了 HP.com 网站(知识库、论坛等),但一无所获;一位 HP 代表推荐了 Win Sockets(但这就是给我带来错误的那个,所以我不确定他是否理解了这个问题或研究得太仔细了。)关于
我应该使用哪些协议来记录/重放有任何提示/技巧吗?
提前致谢。
LoadRunner/VUGen version: 9.5
Oracle Primavera P6 PPM version: 7.0.0
I used the protocol analyzer already. It recommends COM/DCOM, LDAP, Win Sockets.
I already tried recording my script using the following protocols:
- All recommended protocols (combined, individually). I get an error on buffer5 (at load time) and it quits.
- All three Oracle protocols (combined, individually) nothing worked. Some didn't even record anything.
- A combination of one or more Oracle protocols with Win Sockets (results were the same as 1)
I looked on the HP.com site (kb, forums, etc) and got nowhere; An HP rep recommended Win Sockets (but that is the one giving me errors so I am not sure he understood the question or looked into it too hard.)
Any hints/tricks of what protocols I should use to record/replay?
Thanks in advance.
培养你的建筑眼光。协议分析器将为您提供选项,但不一定是最佳选项,这需要您的专业知识来辨别。
通过使用协议分析器或检查在纯 winsock 脚本中交换的前几个缓冲区中发生的协议握手,了解客户端和服务器如何进行通信。您还可以通过查看 primavera 安装的架构文档并找出来自客户端的下一个上游组件来找到线索。它是应用程序服务器吗?它是数据库服务器吗?对于胖客户端如何在客户端和服务器之间进行通信,这些选项分别意味着什么?当我将该信息与通过检查套接字缓冲区或从协议分析器中找到的信息结合起来时,我可以为协议类型定义什么路径?
拥有敏锐的架构眼光是性能测试人员的一项关键技能。您可以做的一件事是训练您的眼睛,即下载尽可能多的开源和商业应用程序的不同部署指南。这些通常会记录应用程序部署中的所有层以及应用程序如何在层之间进行通信(即需要打开哪些端口)。
Cultivate your architectural eye. The protocol analyzer will give you options, but not necessarily the best option, that is left to your expertise to discern.
Take a look at how the client and the server are communicating by using either a protocol analyzer or by examining the protocol handshake which takes place in the first handful of buffers exchanged in a pure winsock script. You can also find clues by looking at architectural documents for your primavera installation and figuring out what the next upstream component is from the client. Is it an app server? Is it a database server? What does each of these options mean for how my thick client may be communicating between the client and the server? When I combine that information with what I find by an examination of the sockets buffers or from a protocol analyzer what path can I define for the type of protocol?
Having a keen architectural eye is a critical skill for a performance tester. One thing which you can do to train your eye is to download as many different deployment guides for open source and commercial applications as you can find. These will usually document all of the tiers in a deployment of an application and how the application(s) communicate between the tiers (i.e., which ports will need to be opened).