Jacks 发表于 2010-11-8 17:41:11

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)

Jacks 发表于 2010-11-9 10:41:07

回复 1# Jacks


    先自己顶,空脚本什么原因呢?。。。。。

msnshow 发表于 2010-11-9 13:28:05

录制的时候有没有EVENT的

Jacks 发表于 2010-11-9 13:44:08

回复 3# msnshow


    有事件,但没脚本,空的脚本,好郁闷 。。。

xinqidian123 发表于 2010-11-9 14:25:12

关注。。。。。。。。。。。。

Jacks 发表于 2010-11-9 14:33:06

回复 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:33

diung

Jacks 发表于 2010-11-9 15:27:18

自己顶

seeon1 发表于 2010-11-9 16:24:29

关注解决方案

wudibaby 发表于 2010-11-9 16:28:47

学习中

msnshow 发表于 2010-11-10 20:00:31

那就是协议问题了

wuweicoco 发表于 2010-11-11 18:38:04

别成天靠着录制,
我从来不录制的,全部手写。
CS协议不清楚,问设计人员,问开发都可以。

joykao 发表于 2010-11-16 15:23:02

关注中

joykao 发表于 2010-11-16 15:26:51

服务器端应该没有允许哇。。或者是服务没启动?
:dizzy:
页: [1]
查看完整版本: LR测试C/S模式,数据库为SQL