先在jmeter中添加一个线程组。添加好线程组,在右键添加一个http请求。找到一个可用的接口测试一下。上边测试过可以用的网址,拿过来,填充进去。在断言里添加一个监听结果树,在添加一个聚合报告。
assertion英 [əˈsɜːʃn] 美 [əˈsɜːrʃn]n. 声称;使用;主张;明确肯定
名词 n.
1.声称;使用;主张
The assertion of the right to freedom is very important to all peoples.
维护自由权利对各民族来说都是至关重要的。
2.明确肯定;断言
He made an assertion that he was not responsible for it.
他硬说, 他对此事没有责任。
1.He was correct in his assertion that the minister had been lying.
他认定部长说谎,事实果然如此。
2. He made an assertion that he was not responsible for it.
他硬说,他对此事没有责任。
3. He attempts to rebut the assertion made by the prosecution witness.
他试图反驳原告方证人所作的断言。
4. The assertion of the right to freedom is very important to all peoples.
维护自由权利对各民族来说都是至关重要的。
5. The Foreign Minister refuted the assertion that the developing countries are incapable of managing their industries.
外交部长驳斥了发展中国家没有能力管理本国工业的谬论。
断言约束:不必与特定的列绑定,可以理解为能应用于多个表的check约束,因此必须在表定义之外独立创建断言。语法如下:
create
assertion
constraint_name
check
search
condition
例如:
create
assertion
name
check
(emp_sal.emp_id
in(select
emp_id
from
employeeinfo
where
emp_name
is
not
null)
添加断言后,每当试图添加或修改emp_sal表中的数据时,就对断言中的搜索条件求值,如果为false,则取消执行,给出提示。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)