什么是Context参数和数据绑定之间的区别。我认为两者都做同样的事情,不是吗? [英] Whats a difference between Context parameter and Data binding. I think both does same stuff, isnt it?

查看:102
本文介绍了什么是Context参数和数据绑定之间的区别。我认为两者都做同样的事情,不是吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在进行webtest性能测试,无法区分数据绑定的目的和上下文参数。两者都提供相同目的的解决方案,为什么我们需要两个单独的参数?

I am working on a webtest performance testing and couldn't distinguish between purpose of data binding and context parameter. both provide solution to same purpose, why do we need two separate parameters?

推荐答案

我不明白你的问题。我没有看到两个不同的东西。

I do not understand your question. I have not seen two different things.

在数据驱动的测试中,从数据源(CVS,XLS,XML等)收集值,并在上下文中保存为名称 - 值对,即作为上下文参数(CP)的值。然后可以在".webtest"中的许多地方使用这些CP。 CPs
也可以在插件中读取(以及创建或覆盖)。 Web测试编辑器中的某些地方提供了"绑定"。命令在其上下文(右键单击)菜单中,这只是访问Web测试编辑器
知道的上下文参数名称的快捷方式。

In a data driven test values are gathered from the data source (CVS, XLS, XML, etc) and saved as name-value pairs in the context, ie as the values of context parameters (CPs). These CPs can then be used in many places in the ".webtest"s. The CPs can also be read (and created or overwritten) in plugins. Some places in the web test editor offer a "bind" command in their context (right click) menu, this is just a quick way of accessing the names of context parameters that the web test editor knows about.

问候

Adrian


这篇关于什么是Context参数和数据绑定之间的区别。我认为两者都做同样的事情,不是吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆