51Testing软件测试论坛

标题: 负载测试时页面打不开,求助 [打印本页]

作者: w236301414    时间: 2013-4-2 20:09
标题: 负载测试时页面打不开,求助
录制脚本的时候,页面可以正常打开,但是一旦开始用controller进行测试的时候,页面就打不开了,结果导致整个测试结果全是错误
此时打开网页提示
“/”应用程序中的服务器错误。

Error activating IFilterProvider using binding from IFilterProvider to NinjectFilterProvider
A cyclical dependency was detected between the constructors of two services.

Activation path:
1) Request for IFilterProvider

Suggestions:
1) Ensure that you have not declared a dependency for IFilterProvider on any implementations of the service.
2) Consider combining the services into a single one to remove the cycle.
3) Use property injection instead of constructor injection, and implement IInitializable
    if you need initialization logic to be run after property values have been injected.
通过IIS管理器重新启动网页后一切又正常了,但是一到测试那一步就又崩溃了,请高手指教一下




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