如何找到当前测试运行的 DataDog 综合测试位置
我们在不同的位置同时运行相同的测试,目前测试重复使用单个用户,问题是它们无法同时在两个位置登录。当测试运行位置非默认时,我们希望使用替代用户。
因此,我们试图找到一种方法来识别 UI 综合测试中执行的位置,以便我们可以在运行时将变量替换为用户名/密码。
有人对如何实现这一目标有任何建议吗?我希望有一些标准的运行配置设置可供我们查询,但找不到有关它们的任何文档?
We have the same test running concurrently in different locations, currently the tests re-use a single user and the problem is they cannot be logged in in both locations at the same time. We would like to have an alternative user used when the location of the test run is non default.
So we are trying to find the way to identify the location used for execution in the UI synthetic test, so we can swap out the variable for the username/password at runtime.
Has anyone got any advice on how to achieve this? I was hoping there would be some standard run configuration settings populated that we could query, but can't find any documentation about them?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论