Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/spring/12.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
负载测试服务层,带LoadRunner thru Spring Remote_Spring_Service_Layer_Loadrunner - Fatal编程技术网

负载测试服务层,带LoadRunner thru Spring Remote

负载测试服务层,带LoadRunner thru Spring Remote,spring,service,layer,loadrunner,Spring,Service,Layer,Loadrunner,我有N层应用程序;表示层通过SpringRemoteoverHTTP远程连接到服务层。企业使用Mercury LoadRunner进行负载测试。我的问题是如何使用LoadRunner和Spring Remote单独测试服务层??我环顾四周,找不到关于如何这样做的文档。请分享你的经验。谢谢 我已经很久没有使用这种方法了,所以我不知道它是否仍然有效 记录一个web脚本并查看代理设置,您将看到web浏览器指向端口7777上的localhost。将Spring远程计算机的代理服务器设置为端口7777上的

我有N层应用程序;表示层通过SpringRemoteoverHTTP远程连接到服务层。企业使用Mercury LoadRunner进行负载测试。我的问题是如何使用LoadRunner和Spring Remote单独测试服务层??我环顾四周,找不到关于如何这样做的文档。请分享你的经验。谢谢

我已经很久没有使用这种方法了,所以我不知道它是否仍然有效

记录一个web脚本并查看代理设置,您将看到web浏览器指向端口7777上的localhost。将Spring远程计算机的代理服务器设置为端口7777上的VUGen计算机,它应该可以正常录制,但您必须调整运行时设置以正确模拟服务器

如果这不起作用,那么您必须使用数据包捕获库(winpcap、pcap或Wireshark)记录网络流量,并手动编写脚本。如果您理解HTTP,这并不难