51Testing软件测试论坛

标题: LR测试C/S模式,数据库为SQL [打印本页]

作者: Jacks    时间: 2010-11-8 17:41
标题: LR测试C/S模式,数据库为SQL
本帖最后由 Jacks 于 2010-11-9 15:27 编辑

各位仁兄,我用LR测试客户端为:C#开发,服务器是SQL2005,
1.我选择的协议是:windows sockets+ODBC录制,录制成功后,数据库也有数据了,但脚本是空的?什么原因呢?哭了。。
2.我选择windows sockets+MS SQL Server还是空脚本,什么原因呢?
求救。。。

日志:问了开发人员,他说所有服务都开了,搞不定啊。。。。
[Network Analyzer ( ccc: ea8)] ------------------------------------------------------------------------------------------
[Network Analyzer ( ccc: ea8)] Load Network Traffic Analyzers:
[Network Analyzer ( ccc: ea8)]     Analyzer Module: ODBC (value=)
[Network Analyzer ( ccc: ea8)]     + Exclude Interception for DLLs: odbc32.dll
[Network Analyzer ( ccc: ea8)]     Analyzer Module: WPLUS (value=)
[Network Analyzer ( ccc: ea8)]     Analyzer Module: WinSock (value=GetRawProtocolAnalyzer:api_sock_proxy.dll)
[Network Analyzer ( ccc: ea8)]     + Network Analyzer: api_sock_proxy.dll @ GetRawProtocolAnalyzer Loaded!
[Network Analyzer ( ccc: ea8)]     Analyzer Module: local_server (value=)
[Network Analyzer ( ccc: ea8)] ------------------------------------------------------------------------------------------
[Network Analyzer ( ccc: da8)] Address lookup for SGY = 192.168.0.122
[Network Analyzer ( ccc: ea8)] Address lookup for SGY = 192.168.0.122
[Net An. Warning  ( ccc: ea8)] Request Connection: Remote Server @ 192.168.0.18:9098 (Service=) Failed attempt #1. Unable to connect to remote server: rc = -1 , le = 0)
[Net An. Warning  ( ccc: ea8)] Request Connection: Remote Server @ 192.168.0.18:9098 (Service=) Failed attempt #2. Unable to connect to remote server: rc = -1 , le = 0)
[Net An. Warning  ( ccc: ea8)] Request Connection: Remote Server @ 192.168.0.18:9098 (Service=) Failed attempt #3. Unable to connect to remote server: rc = -1 , le = 0)
[Net An. Error    ( ccc: ea8)] Request Connection: Remote Server @ 192.168.0.18:9098   (Service=)  NOT PROXIED! (REASON: Unable to connect to remote server: rc = -1 , le = 0)
[Network Analyzer ( ccc: ea8)] Address lookup for SGY = 192.168.0.122
[Net An. Warning  ( ccc: ea8)] Request Connection: Remote Server @ 192.168.0.18:9098 (Service=) Failed attempt #1. Unable to connect to remote server: rc = -1 , le = 0)
[Net An. Warning  ( ccc: ea8)] Request Connection: Remote Server @ 192.168.0.18:9098 (Service=) Failed attempt #2. Unable to connect to remote server: rc = -1 , le = 0)
[Net An. Warning  ( ccc: ea8)] Request Connection: Remote Server @ 192.168.0.18:9098 (Service=) Failed attempt #3. Unable to connect to remote server: rc = -1 , le = 0)
[Net An. Error    ( ccc: ea8)] Request Connection: Remote Server @ 192.168.0.18:9098   (Service=)  NOT PROXIED! (REASON: Unable to connect to remote server: rc = -1 , le = 0)
[Network Analyzer ( ccc: ea8)] Address lookup for SGY = 192.168.0.122
[Net An. Warning  ( ccc: ea8)] Request Connection: Remote Server @ 192.168.0.18:9098 (Service=) Failed attempt #1. Unable to connect to remote server: rc = -1 , le = 0)
[Net An. Warning  ( ccc: ea8)] Request Connection: Remote Server @ 192.168.0.18:9098 (Service=) Failed attempt #2. Unable to connect to remote server: rc = -1 , le = 0)
[Net An. Warning  ( ccc: ea8)] Request Connection: Remote Server @ 192.168.0.18:9098 (Service=) Failed attempt #3. Unable to connect to remote server: rc = -1 , le = 0)
[Net An. Error    ( ccc: ea8)] Request Connection: Remote Server @ 192.168.0.18:9098   (Service=)  NOT PROXIED! (REASON: Unable to connect to remote server: rc = -1 , le = 0)
[Network Analyzer ( ccc: ea8)] Address lookup for SGY = 192.168.0.122
[Net An. Warning  ( ccc: ea8)] Request Connection: Remote Server @ 192.168.0.18:9098 (Service=) Failed attempt #1. Unable to connect to remote server: rc = -1 , le = 0)
[Net An. Warning  ( ccc: ea8)] Request Connection: Remote Server @ 192.168.0.18:9098 (Service=) Failed attempt #2. Unable to connect to remote server: rc = -1 , le = 0)
[Net An. Warning  ( ccc: ea8)] Request Connection: Remote Server @ 192.168.0.18:9098 (Service=) Failed attempt #3. Unable to connect to remote server: rc = -1 , le = 0)
[Net An. Error    ( ccc: ea8)] Request Connection: Remote Server @ 192.168.0.18:9098   (Service=)  NOT PROXIED! (REASON: Unable to connect to remote server: rc = -1 , le = 0)
[Network Analyzer ( ccc: ea8)] Address lookup for SGY = 192.168.0.122
[Net An. Warning  ( ccc: ea8)] Request Connection: Remote Server @ 192.168.0.18:9098 (Service=) Failed attempt #1. Unable to connect to remote server: rc = -1 , le = 0)
[Net An. Warning  ( ccc: ea8)] Request Connection: Remote Server @ 192.168.0.18:9098 (Service=) Failed attempt #2. Unable to connect to remote server: rc = -1 , le = 0)
[Net An. Warning  ( ccc: ea8)] Request Connection: Remote Server @ 192.168.0.18:9098 (Service=) Failed attempt #3. Unable to connect to remote server: rc = -1 , le = 0)
[Net An. Error    ( ccc: ea8)] Request Connection: Remote Server @ 192.168.0.18:9098   (Service=)  NOT PROXIED! (REASON: Unable to connect to remote server: rc = -1 , le = 0)
[Network Analyzer ( ccc: ea8)] Address lookup for SGY = 192.168.0.122
[Net An. Warning  ( ccc: ea8)] Request Connection: Remote Server @ 192.168.0.18:9098 (Service=) Failed attempt #1. Unable to connect to remote server: rc = -1 , le = 0)
[Net An. Warning  ( ccc: ea8)] Request Connection: Remote Server @ 192.168.0.18:9098 (Service=) Failed attempt #2. Unable to connect to remote server: rc = -1 , le = 0)
[Net An. Warning  ( ccc: ea8)] Request Connection: Remote Server @ 192.168.0.18:9098 (Service=) Failed attempt #3. Unable to connect to remote server: rc = -1 , le = 0)
[Net An. Error    ( ccc: ea8)] Request Connection: Remote Server @ 192.168.0.18:9098   (Service=)  NOT PROXIED! (REASON: Unable to connect to remote server: rc = -1 , le = 0)
作者: Jacks    时间: 2010-11-9 10:41
回复 1# Jacks


    先自己顶,空脚本什么原因呢?。。。。。
作者: msnshow    时间: 2010-11-9 13:28
录制的时候有没有EVENT的
作者: Jacks    时间: 2010-11-9 13:44
回复 3# msnshow


    有事件,但没脚本,空的脚本,好郁闷 。。。
作者: xinqidian123    时间: 2010-11-9 14:25
关注。。。。。。。。。。。。
作者: Jacks    时间: 2010-11-9 14:33
回复 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),服务都开了,为什么呢?
作者: Jacks    时间: 2010-11-9 15:10
diung
作者: Jacks    时间: 2010-11-9 15:27
自己顶
作者: seeon1    时间: 2010-11-9 16:24
关注解决方案
作者: wudibaby    时间: 2010-11-9 16:28
学习中
作者: msnshow    时间: 2010-11-10 20:00
那就是协议问题了
作者: wuweicoco    时间: 2010-11-11 18:38
别成天靠着录制,
我从来不录制的,全部手写。
CS协议不清楚,问设计人员,问开发都可以。
作者: joykao    时间: 2010-11-16 15:23
关注中
作者: joykao    时间: 2010-11-16 15:26
服务器端应该没有允许哇。。或者是服务没启动?





欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2