重命名visual studio负载测试解决方案不会在负载测试中加载Web测试 [英] Renaming visual studio load test solution does not load web tests in load test
问题描述
创建了一个新的负载测试解决方案
从另一个解决方案导入编码的webtest
导入一个引用上述编码webtest的负载测试来自同一解决方案
更新了webtest中的命名空间以使用新解决方案的命名空间
构建解决方案
打开负载测试 - >负载测试中出现的场景不会列出webtest的名称 - 而是只显示.dll文件名。
有没有人遇到过这个 - 除了删除对webtest的引用并重新添加它之外,是否有一个已知的解决方案?
嗨朋友,
我试图在我身边重复你的问题,但是 scenario 中的网络测试名称没有改变。
请指出我错过的地方。
我的所作所为:
在我的本地磁盘中创建两个Web性能和负载测试解决方案A和B(解决方案和项目在下面共享相同的名称)。
在解决方案A中:
我在项目A中添加了 loadtest1和webtest1 ,并在其中引用了
webtest1 。
关闭解决方案A.
打开解决方案B.
添加现有项目( webtest1 ),将现有项目( loadtest1 )添加到方案B中的项目B.
更改的命名空间名称webtest1 ,然后构建整个解决方案B.
并且webtest1仍在 loadtest方案中显示其名称:
<我正在使用VS2017企业版,我可能会错过一些东西。
无论如何,如果我误解,请随时告诉我。
祝你好运,
Fletcher
Created a new loadtest solution
Imported a coded webtest from another solution
Imported a loadtest that referred to the above coded webtest from the same solution
Updated the namespaces in the webtest to use the new solution’s namespace
Built the solution
Open the loadtest -> the scenarios present in the load test will not list the name of the webtest – instead it just says the .dll file name.
Has anyone come across this – and is there a known solution other than removing the reference to the webtest and re-adding it ?
Hi friend,
I was trying to repro your issue in my side, however the name of webtests in scenarios are not changed.
Please point me where I missed.
What I did is below:
create two Web performance and load test solutions A and B (solution and project share the same name in the below)in my local disk.
In solution A:
I added loadtest1 and webtest1 in the project A, and reference webtest1 inside of it.
Close solution A.
Open solution B.
Add existing item(webtest1) , add existing item(loadtest1), to project B in side solution B.
Change namespace name of the webtest1, then build the whole solution B.
and the webtest1 still show its name in loadtest scenarios:
I am using VS2017 Enterprise edition, and I might miss something.
Anyway, please feel free to let me know me if I misunderstood.
Best regards,
Fletcher
这篇关于重命名visual studio负载测试解决方案不会在负载测试中加载Web测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!