本文介绍了VSTS上的Salesforce性能测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试使用VSTS 2012在我的项目中为Salesforce Lightning Web应用程序录制和回放网页测试。到目前为止,即使在登录页面上,我也没有成功地使webtest无错误地播放。我已尝试使用和
没有fiddler,并尝试关联多个参数,如sessionid,但有太多的动态参数,我无法理解每个的重要性(例如aura.token)和它在哪里可以从...中提取...

I have been trying to record and playback webtests using VSTS 2012 for a Salesforce Lightning Web Application in my project. So far, I have been unsuccessful in getting the webtest to playback without errors even at the login page. I have tried with and without fiddler as well and have tried correlating multiple parameters like sessionid, but there are way too many dynamic parameters and I am not able to understand the significance of each (e.g. aura.token) and where it can be extracted from...

VSTS是否甚至支持Salesforce性能测试?有没有人成功过这个? 

Does VSTS even support Salesforce performance testing? Has anyone been successful with this? 

任何建议/提示都将受到高度赞赏。谢谢

Any suggestions/tips would highly be appreciated. Thanks

Pradeep Mirchandani

Pradeep Mirchandani

推荐答案

感谢您的支持。

>>但是有太多的动态参数,我无法理解每个的重要性(例如aura.token)以及它可以从哪里提取......

根据您的描述,您创建了一个VSTS Web性能测试项目来测试Salesforce Lightning Web应用程序。而且,由于动态参数太多,播放失败。

According to your description, you created a VSTS web performance test project to test Salesforce Lightning Web Application. And, it playback failed because of too many dynamic parameters.

据我所知,动态参数是一个最常见的参数随会话而变化的参数。它可以是会话参数,隐藏字段,动态生成的控件名称等。当您记录脚本时,这些值将被捕获并直接绑定到webtest参数
。 VS运行"动态参数检测"。在每次执行脚本后找出哪些值发生变化的机制(所以要命名它 - 哪些值是动态的)。本文介绍了
如何在Web性能测试中修复不可检测的动态参数,请查看它。

As I know, dynamic parameter is a parameter which most commonly changes with your session. It could be a session parameter, hidden field, control name dynamically generated, etc. When you record your script, those values are captured and bounded directly to you webtest parameters. VS runs the "dynamic parameters detection" mechanism to find out which values change after each execution of the script (so to name it - which of the values are dynamic). This article describeshow to fix non-detectable dynamic parameters in a web performance test, please have a look at it.

https://msdn.microsoft.com/en-us/library/ff460245.aspx?f = 255& MSPPError = -2147217396

>> VSTS甚至支持Salesforce性能测试吗?

我建议你发帖您的问题是为了获得更多专业答案。

https://developer.salesforce.com/forums#!/feedtype=RECENT&criteria=ALLQUESTIONS&

此外,请查看以下指南可能有帮助对你而言。

感谢您的理解与合作。

希望它有所帮助。

 

问候,

Fletcher


这篇关于VSTS上的Salesforce性能测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-11 08:05