change: add StartTransaction/EndTransaction method

This commit is contained in:
debugtalk
2021-12-23 09:32:53 +08:00
parent 745a29a379
commit c65b020548
6 changed files with 110 additions and 1 deletions
+8
View File
@@ -8,6 +8,10 @@ config:
varFoo1: ${gen_random_string($n)}
varFoo2: ${max($a, $b)}
teststeps:
- name: transaction 1 start
transaction:
name: tran1
type: start
- name: get with params
request:
method: GET
@@ -43,6 +47,10 @@ teststeps:
assert: equals
expect: "34.5"
msg: check args foo2
- name: transaction 1 end
transaction:
name: tran1
type: end
- name: post json data
request:
method: POST