loadrunner 是用哪种语言构建的?
HP Loadrunner 支持许多协议,如 http/https、SAOP、Oracle NCA 等。它还具有服务器监视器,能够为许多不同的服务器生成服务器统计信息。 Loadrunner 背后的技术是什么? Loadrunner VUgen 和 Loadrunner 控制器之间的远程调用使用什么协议?
HP Loadrunner support many protocols like http/https, SAOP, Oracle NCA etc. It also has server monitors which are able to produce server statistics for many different servers. what is the technology behind Loadrunner? What protocol is used for remote calls between Loadrunner VUgen and Loadrunner controller?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
控制器似乎是用 Delphi 或 Borland 的古老(现已消失)的 C 变体编写的。
VUgen 似乎是一个本机 C 应用程序,编辑器是 SlickEdit(请参阅 http://en.wikipedia.org /wiki/SlickEdit)。
VUGen 中的 C 解释器不一定是 SlickEdit 的 Slick-C,但我很确定它是一个授权的商业产品。
控制器和 VUGen 创建的 LR 测试之间的在线通信协议可能是专有的,我认为是基于 RPC 的。您可以深入研究管理文档,其中记录了所需的开放端口,这可能会提供足够的提示来猜测协议。
Controller seems to be written in Delphi, or Borland's ancient (now-vanished) C variant of it.
VUgen appears to be a native C application, with the editor being SlickEdit (see http://en.wikipedia.org/wiki/SlickEdit).
The C interpreter in VUGen is not neccessarly SlickEdit's Slick-C, but I am pretty sure it is a licensed commercial product.
The protocol for the online communication between controller and a VUGen-created LR tests probably is proprietary, I think RPC-based. You could dig through the admin documentation where the open ports required are documented, that might give enough hints to guess the protocol.
C/C++
VUGEN 和控制器不通信:Load Generator 和控制器通信。它是一个自定义协议,支持测试窗口期间控制器和负载生成器之间的文件传输以及握手。
如果深入挖掘 LoadRunner 的内部,您会发现许多有趣的部分,包括那些与 VUGEN 前端的 SlickEdit 相关的部分。查看文件、自述文件和许可证文档,它将告诉您有关 LoadRunner 构建于其之上的架构组件的大量信息。
C/C++
VUGEN and Controller do not communicate: The Load Generator and the controller communicate. It is a custom protocol which supports both file transfer as well as handshake between controller and load generator during the test window.
If you dig deep into the bowels of LoadRunner you can find many interesting bits, including those which tie back to SlickEdit on the VUGEN front. Look through the files, the readme's the license docs and it will tell you quite a bit about the architectural components that LoadRunner is built on top of.
您指的是基于不同技术构建的不同产品/应用程序。
对您所问问题的一些评论
我认为 VUGen 和控制器之间没有任何调用。 VUGen 在协议级别工作,它的输出是带有资源的脚本(静态 zip 文件)。 Controller 将 zip 文件作为输入并执行 Controller 本身定义的场景。当您在 Controller 中运行测试时,不需要任何 API 调用,甚至不需要安装 VUGen
从服务器收集统计信息通常是通过 SiteScope for Loadrunner 完成的。通过查看文件夹和文件,您可以轻松了解它是用哪种语言开发的。
You're referring to different products/applications that are built on different technology.
A few comments to what you're asking
I don't think that there are any calls between VUGen and Controller. VUGen works on protocol level and it's output is a script with resources (static zip file). Controler takes zip file as an input and executes scenario that's defined in Controller itself. There's no need in any API calls or even in having VUGen installed when you're running tests in Controller
Collecting stats from servers is usually done via SiteScope for Loadrunner. You may easily understand which language is it developed in by looking at folders and files.
它是闭源的,因此实际上没有任何类似的公开证据。我最好的猜测是 C(#?)。
It's closed source, so there isn't really any public proof of stuff like that. My best guess would be C(#?) though.