LR测试C/S模式,数据库为SQL
本帖最后由 Jacks 于 2010-11-9 15:27 编辑各位仁兄,我用LR测试客户端为:C#开发,服务器是SQL2005,
1.我选择的协议是:windows sockets+ODBC录制,录制成功后,数据库也有数据了,但脚本是空的?什么原因呢?哭了。。
2.我选择windows sockets+MS SQL Server还是空脚本,什么原因呢?
求救。。。
日志:问了开发人员,他说所有服务都开了,搞不定啊。。。。
------------------------------------------------------------------------------------------
Load Network Traffic Analyzers:
Analyzer Module: ODBC (value=)
+ Exclude Interception for DLLs: odbc32.dll
Analyzer Module: WPLUS (value=)
Analyzer Module: WinSock (value=GetRawProtocolAnalyzer:api_sock_proxy.dll)
+ Network Analyzer: api_sock_proxy.dll @ GetRawProtocolAnalyzer Loaded!
Analyzer Module: local_server (value=)
------------------------------------------------------------------------------------------
Address lookup for SGY = 192.168.0.122
Address lookup for SGY = 192.168.0.122
Request Connection: Remote Server @ 192.168.0.18:9098 (Service=) Failed attempt #1. Unable to connect to remote server: rc = -1 , le = 0)
Request Connection: Remote Server @ 192.168.0.18:9098 (Service=) Failed attempt #2. Unable to connect to remote server: rc = -1 , le = 0)
Request Connection: Remote Server @ 192.168.0.18:9098 (Service=) Failed attempt #3. Unable to connect to remote server: rc = -1 , le = 0)
Request Connection: Remote Server @ 192.168.0.18:9098 (Service=)NOT PROXIED! (REASON: Unable to connect to remote server: rc = -1 , le = 0)
Address lookup for SGY = 192.168.0.122
Request Connection: Remote Server @ 192.168.0.18:9098 (Service=) Failed attempt #1. Unable to connect to remote server: rc = -1 , le = 0)
Request Connection: Remote Server @ 192.168.0.18:9098 (Service=) Failed attempt #2. Unable to connect to remote server: rc = -1 , le = 0)
Request Connection: Remote Server @ 192.168.0.18:9098 (Service=) Failed attempt #3. Unable to connect to remote server: rc = -1 , le = 0)
Request Connection: Remote Server @ 192.168.0.18:9098 (Service=)NOT PROXIED! (REASON: Unable to connect to remote server: rc = -1 , le = 0)
Address lookup for SGY = 192.168.0.122
Request Connection: Remote Server @ 192.168.0.18:9098 (Service=) Failed attempt #1. Unable to connect to remote server: rc = -1 , le = 0)
Request Connection: Remote Server @ 192.168.0.18:9098 (Service=) Failed attempt #2. Unable to connect to remote server: rc = -1 , le = 0)
Request Connection: Remote Server @ 192.168.0.18:9098 (Service=) Failed attempt #3. Unable to connect to remote server: rc = -1 , le = 0)
Request Connection: Remote Server @ 192.168.0.18:9098 (Service=)NOT PROXIED! (REASON: Unable to connect to remote server: rc = -1 , le = 0)
Address lookup for SGY = 192.168.0.122
Request Connection: Remote Server @ 192.168.0.18:9098 (Service=) Failed attempt #1. Unable to connect to remote server: rc = -1 , le = 0)
Request Connection: Remote Server @ 192.168.0.18:9098 (Service=) Failed attempt #2. Unable to connect to remote server: rc = -1 , le = 0)
Request Connection: Remote Server @ 192.168.0.18:9098 (Service=) Failed attempt #3. Unable to connect to remote server: rc = -1 , le = 0)
Request Connection: Remote Server @ 192.168.0.18:9098 (Service=)NOT PROXIED! (REASON: Unable to connect to remote server: rc = -1 , le = 0)
Address lookup for SGY = 192.168.0.122
Request Connection: Remote Server @ 192.168.0.18:9098 (Service=) Failed attempt #1. Unable to connect to remote server: rc = -1 , le = 0)
Request Connection: Remote Server @ 192.168.0.18:9098 (Service=) Failed attempt #2. Unable to connect to remote server: rc = -1 , le = 0)
Request Connection: Remote Server @ 192.168.0.18:9098 (Service=) Failed attempt #3. Unable to connect to remote server: rc = -1 , le = 0)
Request Connection: Remote Server @ 192.168.0.18:9098 (Service=)NOT PROXIED! (REASON: Unable to connect to remote server: rc = -1 , le = 0)
Address lookup for SGY = 192.168.0.122
Request Connection: Remote Server @ 192.168.0.18:9098 (Service=) Failed attempt #1. Unable to connect to remote server: rc = -1 , le = 0)
Request Connection: Remote Server @ 192.168.0.18:9098 (Service=) Failed attempt #2. Unable to connect to remote server: rc = -1 , le = 0)
Request Connection: Remote Server @ 192.168.0.18:9098 (Service=) Failed attempt #3. Unable to connect to remote server: rc = -1 , le = 0)
Request Connection: Remote Server @ 192.168.0.18:9098 (Service=)NOT PROXIED! (REASON: Unable to connect to remote server: rc = -1 , le = 0) 回复 1# Jacks
先自己顶,空脚本什么原因呢?。。。。。 录制的时候有没有EVENT的 回复 3# msnshow
有事件,但没脚本,空的脚本,好郁闷 。。。 关注。。。。。。。。。。。。 回复 5# xinqidian123
看了日志提示:
Request Connection: Remote Server @ 192.168.0.18:9098 (Service=)NOT PROXIED! (REASON: Unable to connect to remote server: rc = -1 , le = 0),服务都开了,为什么呢? diung 自己顶 关注解决方案 学习中 那就是协议问题了 别成天靠着录制,
我从来不录制的,全部手写。
CS协议不清楚,问设计人员,问开发都可以。 关注中 服务器端应该没有允许哇。。或者是服务没启动?
:dizzy:
页:
[1]