那我的是System.Data.OracleClient,应该是什么协议呢? 用过C/Soracle结构,也是.NET开发,不过当时用的是windows sockets 百度了下,oracle数据库的,应该用oralce协议,我用oracle(2-Tier)录制,没录制到脚本。
用socket可以录制,但是回放时就卡死了,请高手分析下,或者,我应该怎么去定位问题呢,万分感谢 回复 23# mymagic
非常感谢mymagic的持续跟进与指点 任务管理器显示如下:
Virtual User Generater已经没有响应了。试过几次都是这样 two_way_comm_create_connector 以前遇到这个问题是因为发生器不支持太多的虚拟用户,增加发生器能解决!另外你在runtime_setting中设置以线程方式运行虚拟用户这种消耗的资源比较小。协议选择你可以用protocol advisor这个工具。脚本生成器自带的工具 关注,我不会了。 非常感谢各位的帮助,现在是用socket协议,至于回放时卡死的问题,已经在网上找到相同问题的解决方法,是将机器的区域和语言设置为英文。
不过我设置完了,由于公司网络问题,暂时没能做下试验。等有结果了我会在这里说明,希望各位大虾继续关注,谢谢:) :victory:将区域和语言设置为英文后,回放卡死的问题确实就解决了 OK,太好了 我今天也报了,不过我的是因为360 新问题又出现了,还是用socket协议,录制的时候,在打开被测软件时自动录制了20个event然后被测软件自动关闭。试过把Vugen.exe加进我的电脑->属性-> 高级-> 性能-> 数据执行保护,重启后再录还是会自动关闭。
一下是Recording log:
/* WSAStartup(): process 828 using flags 0 */
/* ReadCommWindowInfo: HttpInterceptMode = 0 */
/* socket(): created with handle: 828:1048, address format 2, type 2, protocol 0. */
/* setsockopt failed */
/* closesocket(): socket 828:1048 closed successfully */
/* socket(): created with handle: 828:1428, address format 2, type 2, protocol 0. */
/* socket(): created with handle: 828:1556, address format 2, type 2, protocol 0. */
/* socket(): created with handle: 828:1564, address format 2, type 1, protocol 6. */
/* lr_think_time(): wait 21 seconds */
/* connect(): socket 828:1564 tried to connect with family 2, port 80, and address 0x1010101. Return value: -1 */
/* setsockopt(): socket 828:1564, level: 0xffff, optname: 0x80, optval: 1 */
/* closesocket(): socket 828:1564 closed successfully */
/* socket(): created with handle: 828:1564, address format 2, type 1, protocol 6. */
/* connect(): socket 828:1564 tried to connect with family 2, port 80, and address 0x7909dc3b. Return value: 0 */
/* setsockopt(): socket 828:1564, level: 0x6, optname: 0x1, optval: 1 */
/* send(): 249 bytes were sent to socket 828:1564 using flags 0 */
/* setsockopt(): socket 828:1564, level: 0xffff, optname: 0x1006, optval: 38593 */
/* recv(): 25 bytes were received from socket 828:1564 using flags 0 (4096 were asked for) */
/* send(): 296 bytes were sent to socket 828:1564 using flags 0 */
/* recv(): 908 bytes were received from socket 828:1564 using flags 0 (4096 were asked for) */ 关注中…… 本问题我也遇到过:
Error: Failed to deliver a p2p message from parent to child process, reason - communication error.原因:
CPU使用率在100%已经没有其它可以使用的资源,所以会报这种错误 我今天也遇到了这种情况
Error: Two Way Communication Error: Function two_way_comm_post_message / two_way_comm_post_message_ex failed.
求解
页:
1
[2]