We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Below the features to implement to release the first version:
Yaml Target:
x-headers: &headers headers: - Content-Type: "application/json" - Accept: "*/*" x-requests: &req tasks: t1: data: users: csv: path options: random products: json: path options: circular requests: - name: req1 method: "POST" protocol: https url: https://reqres.in/authent <<: *headers body: '{ "user": "batman", "password": "password", "tag":"${ swp.REQUEST_ID}"}' assertions: body: - jsonpath: $.token variable: token code: - 200 t2: needs: - t1 requests: - name: req1 method: "POST" protocol: https url: https://reqres.in/api/users <<: *headers body: '{ "name": "${data.users.name}", "job": "${data.users.job}"}' assertions: headers: - Access-Control-Allow-Origin: ["*"] - Content-Type: [application/json; charset=utf-8] body: - jsonpath: $.id variable: id - regex: '(\d{4,})' variable: date code: - 201 - name: req2 method: GET url: https://${env.HOST}/api/users/${var.id} headers: - Authorization: "Bearer ${var.token}" - Accept: "*/*" assertions: body: - jsonpath: $.id variable: id t3: needs: - t1 requests: - name: req3 method: GET url: https://reqres.in/api/users assertions: code: - 200 volume: - wait: 5 - rps: 5 during: 60s
The text was updated successfully, but these errors were encountered:
feat(templateString): use file for body templateString #15
b005119
No branches or pull requests
Below the features to implement to release the first version:
Yaml Target:
The text was updated successfully, but these errors were encountered: